zevairouter 1.1.70 → 1.1.72
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/CHANGELOG.md +11 -0
- package/cli/app/.next-cli-build/BUILD_ID +1 -1
- package/cli/app/.next-cli-build/app-path-routes-manifest.json +32 -32
- package/cli/app/.next-cli-build/build-manifest.json +2 -2
- package/cli/app/.next-cli-build/prerender-manifest.json +3 -3
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/pricing/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/terminal/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/terminal/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.html +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found.html +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cache/stats/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/changelog/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +5 -5
- package/cli/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-gateway/accounts/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/dsh-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/dsh-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/openbot-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/openbot-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/combos/presets/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/bulk/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/chat/completions/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/cli-tools/keys/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/media/[operation]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/media/videos/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/enable/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/health/ready/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/[id]/rotate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/metrics/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-token/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/quota-cookie/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-token/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/quota-cookie/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-token/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/json-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/aistudio/helper/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/aistudio/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/bulk-delete/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/cloudflare-ai/discover-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/codebuddy/discover-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/codebuddy-cn/discover-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/codebuddy-intl/discover-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/flow/import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/flow/login/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/flow/login/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/kiro/discover-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/kiro/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/opencode/discover-models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/opencode/discover-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/openrouter/discover-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/web-login/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/setup/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/unlock/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/input/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/resize/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/stream/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/aggregate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/quota-stream/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/routing-stream/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/music/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/videos/[id]/content/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/callback.html +1 -1
- package/cli/app/.next-cli-build/server/app/callback.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/automation.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/automation.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk/dashboard/automation/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/combos.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/context.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/context.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/!KGRhc2hib2FyZCk/dashboard/context/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/playground.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/playground.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/!KGRhc2hib2FyZCk/dashboard/playground/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/profile.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/quota.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/!KGRhc2hib2FyZCk/dashboard/settings/pricing/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/skills.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/translator.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/usage.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/index.html +1 -1
- package/cli/app/.next-cli-build/server/app/index.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/landing.html +1 -1
- package/cli/app/.next-cli-build/server/app/landing.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/login.html +1 -1
- package/cli/app/.next-cli-build/server/app/login.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/provider-icons/[provider]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/skills/[skill]/SKILL.md/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app-paths-manifest.json +32 -32
- package/cli/app/.next-cli-build/server/chunks/1350.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/1757.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/24.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/267.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/3184.js +188 -8
- package/cli/app/.next-cli-build/server/chunks/412.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/4128.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/4177.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/5330.js +7 -7
- package/cli/app/.next-cli-build/server/chunks/5626.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/5744.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/6060.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/6166.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/7135.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/7319.js +198 -18
- package/cli/app/.next-cli-build/server/chunks/7364.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/9548.js +1 -1
- package/cli/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/middleware.js +1 -1
- package/cli/app/.next-cli-build/server/pages/404.html +1 -1
- package/cli/app/.next-cli-build/server/pages/500.html +1 -1
- package/cli/app/.next-cli-build/server/preview-props.json +3 -3
- package/cli/app/.next-cli-build/server/server-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/server-reference-manifest.json +1 -1
- package/cli/app/.next-cli-build/static/chunks/{5497-4d168d9cd210bd34.js → 5497-71a02c6639ddb92b.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/{620-6882d9a6db953d31.js → 620-8a41eb30d7d6d733.js} +1 -1
- package/cli/app/.next-cli-build/static/css/a0638083939bf113.css +1 -0
- package/cli/app/CHANGELOG.md +11 -0
- package/cli/app/package.json +1 -1
- package/cli/package.json +1 -1
- package/package.json +1 -1
- package/cli/app/.next-cli-build/static/css/7a10846ca034238f.css +0 -1
- /package/cli/app/.next-cli-build/static/{gqtow15kHUbnU28HDnl13 → L0x5Ks4CQl7b_2QKBRbOP}/_buildManifest.js +0 -0
- /package/cli/app/.next-cli-build/static/{gqtow15kHUbnU28HDnl13 → L0x5Ks4CQl7b_2QKBRbOP}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=5626,exports.ids=[5626],exports.modules={15626:(a,b,c)=>{c.d(b,{buildClineHeaders:()=>f,resolveClineCredential:()=>e});let d=c(39006).version||"0.0.0";function e(a){let b="string"==typeof a?.apiKey?a.apiKey.trim():"";return b?{token:b,isApiKey:!0}:{token:a?.accessToken,isApiKey:!1}}function f(a,b={},c={}){let e=function(a,b={}){let c=function(a,{isApiKey:b=!1}={}){if("string"!=typeof a)return"";let c=a.trim();return c?b||c.startsWith("workos:")?c:`workos:${c}`:""}(a,b);return c?`Bearer ${c}`:""}(a,c),g={"HTTP-Referer":"https://cline.bot","X-Title":"Cline","User-Agent":`ZevaiRouter/${d}`,"X-PLATFORM":process.platform||"unknown","X-PLATFORM-VERSION":process.version||"unknown","X-CLIENT-TYPE":"zevairouter","X-CLIENT-VERSION":d,"X-CORE-VERSION":d,"X-IS-MULTIROOT":"false",...b};return e&&(g.Authorization=e),g}},39006:a=>{a.exports=JSON.parse('{"name":"zevairouter","version":"1.1.
|
|
1
|
+
"use strict";exports.id=5626,exports.ids=[5626],exports.modules={15626:(a,b,c)=>{c.d(b,{buildClineHeaders:()=>f,resolveClineCredential:()=>e});let d=c(39006).version||"0.0.0";function e(a){let b="string"==typeof a?.apiKey?a.apiKey.trim():"";return b?{token:b,isApiKey:!0}:{token:a?.accessToken,isApiKey:!1}}function f(a,b={},c={}){let e=function(a,b={}){let c=function(a,{isApiKey:b=!1}={}){if("string"!=typeof a)return"";let c=a.trim();return c?b||c.startsWith("workos:")?c:`workos:${c}`:""}(a,b);return c?`Bearer ${c}`:""}(a,c),g={"HTTP-Referer":"https://cline.bot","X-Title":"Cline","User-Agent":`ZevaiRouter/${d}`,"X-PLATFORM":process.platform||"unknown","X-PLATFORM-VERSION":process.version||"unknown","X-CLIENT-TYPE":"zevairouter","X-CLIENT-VERSION":d,"X-CORE-VERSION":d,"X-IS-MULTIROOT":"false",...b};return e&&(g.Authorization=e),g}},39006:a=>{a.exports=JSON.parse('{"name":"zevairouter","version":"1.1.72","description":"Self-hosted AI router: many providers, one OpenAI-compatible /v1 endpoint and dashboard","bin":{"zevai":"cli/cli.js"},"files":["cli/cli.js","cli/app/","!cli/app/.next-cli-build/cache/","!cli/app/.next-cli-build/server/route-cache/","cli/hooks/","cli/src/","cli/package.json","cli/README.md","cli/LICENSE","scripts/start-standalone.mjs","scripts/gflow-reply-capture.py","scripts/flow-vps-setup.sh","vendor/aistudio-waa/","skills/","README.md","README.zh-CN.md","DOCKER.md","LICENSE","CHANGELOG.md"],"scripts":{"dev":"next dev --webpack --port 1997","build":"node scripts/build-app.mjs","start":"node ./scripts/start-standalone.mjs","dev:bun":"bun --bun next dev --webpack --port 1997","build:bun":"bun --bun next build --webpack","start:bun":"bun ./.next/standalone/server.js","lint":"eslint .","test":"vitest run --config tests/vitest.config.js","build:cli":"node cli/scripts/build-cli.js","audit:package":"node cli/scripts/audit-package.mjs","smoke:package":"node cli/scripts/smoke-package.mjs","verify:mobile-scroll":"node cli/scripts/verify-dashboard-mobile-scroll.mjs","candidate:build":"node cli/scripts/local-candidate.mjs build","candidate:install":"node cli/scripts/local-candidate.mjs install","candidate:status":"node cli/scripts/local-candidate.mjs status","candidate:rollback":"node cli/scripts/local-candidate.mjs rollback","release":"node cli/scripts/release.js","prepack":"npm run build:cli && npm run audit:package","postinstall":"node cli/hooks/postinstall.js"},"dependencies":{"confbox":"0.2.4","node-machine-id":"1.1.12","react":"19.2.4","react-dom":"19.2.4"},"comment_published_runtime":"npm install -g must not download next or @next/swc. Those, plus sql.js, yaml, and @node-saml/node-saml, stay devDependencies so local dev and build:cli can trace them into cli/app. The published tarball already ships that standalone server. confbox stays here because the CLI imports it directly.","comment_optional_runtime":"Optional packages are installed into ~/.zevai/runtime instead of the published tarball. Automation uses CloakBrowser with playwright-core; ZEVAI_MINIMAL_POSTINSTALL=1 skips its browser download. Other lazy runtimes are better-sqlite3, node-pty, and systray2.","overrides":{"body-parser":"^2.3.0","brace-expansion":"5.0.12","dompurify":"^3.4.12","ip-address":"^10.4.0","js-yaml":"4.3.2","nanoid":"^3.3.18","postcss":"^8.5.10","sharp":"0.35.5"},"comment_overrides":"Security floors for transitive dependencies. ESLint\'s legacy minimatch is a private, source-pinned 3.1.5 compatibility package backed by brace-expansion 5.0.9; modern minimatch and nanoid use fixed floors directly. Monaco still pins an old DOMPurify; Express, Next, ESLint, and image processing dependencies may resolve vulnerable body-parser, js-yaml, or sharp releases. Recheck and remove overrides once parent packages require fixed versions.","devDependencies":{"@dnd-kit/core":"^6.3.1","@dnd-kit/modifiers":"^9.0.0","@dnd-kit/sortable":"^10.0.0","@dnd-kit/utilities":"^3.2.2","@monaco-editor/react":"^4.7.0","@node-saml/node-saml":"5.1.0","@tailwindcss/postcss":"^4.1.18","@xterm/addon-fit":"^0.11.0","@xterm/addon-web-links":"^0.12.0","@xterm/xterm":"^6.0.0","@xyflow/react":"^12.10.1","bcryptjs":"^3.0.3","better-sqlite3":"^12.6.2","chalk":"^4.1.2","dompurify":"^3.4.12","esbuild":"^0.28.1","eslint":"^9","eslint-config-next":"16.4.2","express":"^5.2.1","jose":"^6.1.3","marked":"^18.0.1","material-symbols":"^0.45.1","minimatch":"file:vendor/minimatch3-secure","monaco-editor":"^0.55.1","next":"16.4.2","node-forge":"^1.4.2","open":"^11.0.0","ora":"^9.1.0","postcss":"^8.5.10","prop-types":"^15.8.1","react-is":"^19.2.7","recharts":"^3.7.0","selfsigned":"^5.5.0","socks":"^2.8.9","socks-proxy-agent":"^10.1.0","sql.js":"1.14.1","tailwindcss":"^4","typescript":"6.0.3","undici":"^8.10.0","uuid":"^14.0.1","vitest":"4.1.12","yaml":"2.9.0","zustand":"^5.0.10"},"engines":{"node":">=22.5.0"},"keywords":["zevairouter","zevai","ai","router","proxy","kiro","codebuddy","claude","openai","api","quota","automation"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Verifiedlabs/zevairouter.git"},"bugs":{"url":"https://github.com/Verifiedlabs/zevairouter/issues"},"homepage":"https://github.com/Verifiedlabs/zevairouter"}')}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use strict";exports.id=5744,exports.ids=[5744],exports.modules={25744:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>F,GET:()=>C,PATCH:()=>E,POST:()=>D});var d=c(49796),e=c(23211),f=c(79984),g=c(35175),h=c(36074),i=c(61860);let j=Object.freeze({input:["text","image"],output:["text"]}),k=Object.freeze({thinking:"high"}),l=a=>!!a&&"object"==typeof a&&!Array.isArray(a);var m=c(79748),n=c.n(m),o=c(33873),p=c.n(o),q=c(21820),r=c.n(q),s=c(24424);let t="zevai",u=`${t}/`,v=()=>p().join(r().homedir(),".config","opencode"),w=async()=>{let a=p().join(v(),"opencode.json"),b=p().join(v(),"opencode.jsonc");try{return await n().access(a),a}catch{try{return await n().access(b),b}catch{return a}}},x=async a=>{try{return await n().access(a),!0}catch{return!1}},y=async()=>{let a=await (0,g.hA)("opencode");return a?{installed:!0,binaryPath:a}:{installed:await x(await w()),binaryPath:null}},z=async(a,b)=>{let c=await n().realpath(a).catch(()=>a);await (0,h.Pl)(c,`${JSON.stringify(b,null,2)}
|
|
2
|
-
`)},A=async a=>{let b=a||await w();try{let a=await n().readFile(b,"utf-8");if(!a.trim())return null;let c=function(a){try{return JSON.parse(a)}catch{return JSON.parse(function(a){let b=String(a??"").replace(/^\uFEFF/,""),c="",d=0;for(;d<b.length;){let a=b[d],e=b[d+1];if('"'===a){let a=d+1;for(;a<b.length&&'"'!==b[a];)a+="\\"===b[a]?2:1;c+=b.slice(d,a+1),d=a+1}else if("/"===a&&"/"===e)for(;d<b.length&&"\n"!==b[d];)d+=1;else if("/"===a&&"*"===e){let a=b.indexOf("*/",d+2);d=-1===a?b.length:a+2}else c+=a,d+=1}let e="";for(let a=0;a<c.length;a+=1){let b=c[a];if('"'===b){let b=a+1;for(;b<c.length&&'"'!==c[b];)b+="\\"===c[b]?2:1;e+=c.slice(a,b+1),a=b;continue}if(","===b){let b=a+1;for(;b<c.length&&/\s/.test(c[b]);)b+=1;if("}"===c[b]||"]"===c[b])continue}e+=b}return e}(a))}}(a);if(!l(c))throw Error("OpenCode config is not a JSON object");return c}catch(a){if("ENOENT"===a.code)return null;throw a}},B=a=>"string"==typeof a&&a.startsWith(u)?a.slice(u.length):null;async function C(){try{var a;let{installed:b,binaryPath:c}=await y();if(!b)return e.NextResponse.json({installed:!1,config:null,message:"OpenCode CLI is not installed"});let d=await w(),f=null,h=null;try{f=await A(d)}catch{h=`Could not parse ${p().basename(d)}. Fix the file or remove it before applying settings.`}let i=f?.provider?.[t],j=l(i?.models)?i.models:{},k=c?await (0,g.be)(c):null;return e.NextResponse.json({installed:!0,binaryPath:c,version:k,config:f,configError:h,hasZevai:(a=f,!!a?.provider&&!!a.provider[t]),configPath:d,opencode:{models:Object.keys(j),activeModel:B(f?.model),baseURL:i?.options?.baseURL||null,variants:Object.fromEntries(Object.entries(j).map(([a,b])=>[a,l(b?.variants)?Object.keys(b.variants):[]]))}})}catch(a){return console.log("Error checking opencode settings:",a),e.NextResponse.json({error:"Failed to check opencode settings"},{status:500})}}async function D(a){try{let b,{baseUrl:c,apiKey:d,model:g,models:m,activeModel:n,subagentModel:o}=await a.json(),q=Array.isArray(m)?m:"string"==typeof g?[g]:[],r=[...new Set(q.filter(a=>"string"==typeof a&&a.trim()).map(a=>a.trim()))];if(!c||0===r.length)return e.NextResponse.json({error:"baseUrl and at least one model are required"},{status:400});let s=(0,h.hq)(c);if(!s)return e.NextResponse.json({error:"baseUrl must be an http(s) URL"},{status:400});let v=await w();try{b=await A(v)||{}}catch{return e.NextResponse.json({error:`Could not parse ${p().basename(v)}; fix or remove it before applying settings`},{status:422})}let x=await (0,f.k7)(d),y="string"==typeof o&&o.trim()||r[0],B=""===n?"":"string"==typeof n&&n.trim()||r[0],C=[...r];for(let a of[B,y])a&&!C.includes(a)&&C.push(a);l(b.provider)||(b.provider={});let D=l(b.provider[t])?{...b.provider[t]}:{};D.npm=D.npm||"@ai-sdk/openai-compatible",D.options={...l(D.options)?D.options:{},baseURL:s,apiKey:x},D.models=l(D.models)?{...D.models}:{};let E=await (0,i.M)(C);for(let a of C)D.models[a]=function(a,b,c){let d=l(a)?{...a}:{},e={...d,name:"string"==typeof d.name&&d.name.trim()?d.name:b,modalities:l(d.modalities)?d.modalities:{input:[...j.input],output:[...j.output]}};return void 0===c?e:{...e,...function(a,b=null){if(!Array.isArray(a)||0===a.length)return{reasoning:!1,variants:{}};let c=l(b)?b:{},d={};for(let b of a){if("string"!=typeof b||!b)continue;let a=l(c[b])?c[b]:{};d[b]={...a,reasoningEffort:k[b]||b}}return{reasoning:!0,variants:d}}(c,d.variants)}}(D.models[a],a,E.get(a));b.provider[t]=D,b.model=B?`${u}${B}`:"",l(b.agent)||(b.agent={});let F=l(b.agent.explorer)?b.agent.explorer:{};return b.agent.explorer={description:"Fast explorer subagent for codebase exploration",mode:"subagent",...F,model:`${u}${y}`},await z(v,b),e.NextResponse.json({success:!0,message:"OpenCode settings applied successfully!",configPath:v,variants:Object.fromEntries(C.map(a=>[a,Object.keys(D.models[a]?.variants||{})]))})}catch(a){return console.log("Error applying opencode settings:",a),e.NextResponse.json({error:"Failed to apply settings"},{status:500})}}async function E(a){try{let b,{clearActiveModel:c}=await a.json(),d=await w();try{b=await A(d)}catch{return e.NextResponse.json({error:`Could not parse ${p().basename(d)}`},{status:422})}if(!b)return e.NextResponse.json({success:!0,message:"No OpenCode config to update"});let f=!1;return!0===c&&null!==B(b.model)&&(b.model="",f=!0),f&&await z(d,b),e.NextResponse.json({success:!0,message:"Settings updated"})}catch(a){return console.log("Error patching opencode settings:",a),e.NextResponse.json({error:"Failed to patch settings"},{status:500})}}async function F(a){try{let b,{searchParams:c}=new URL(a.url),d=c.get("model"),f=await w();try{b=await A(f)}catch{return e.NextResponse.json({error:`Could not parse ${p().basename(f)}`},{status:422})}if(!b)return e.NextResponse.json({success:!0,message:"No OpenCode config to reset"});let g=l(b.provider?.[t])?b.provider[t]:null,h=()=>{l(b.provider)&&(delete b.provider[t],0===Object.keys(b.provider).length&&delete b.provider),null!==B(b.model)&&delete b.model,null!==B(b.agent?.explorer?.model)&&(delete b.agent.explorer,0===Object.keys(b.agent).length&&delete b.agent)};if(d){if(l(g?.models)){delete g.models[d];let a=Object.keys(g.models);if(0===a.length)h();else{let c=`${u}${a[0]}`;b.model===`${u}${d}`&&(b.model=c),b.agent?.explorer?.model===`${u}${d}`&&(b.agent.explorer.model=B(b.model)?b.model:c)}}}else h();return await z(f,b),e.NextResponse.json({success:!0,message:d?`Model "${d}" removed`:"ZevaiRouter settings removed from OpenCode"})}catch(a){return console.log("Error resetting opencode settings:",a),e.NextResponse.json({error:"Failed to reset opencode settings"},{status:500})}}(0,s.D)([C,D,E,F]),(0,d.A)(C,"
|
|
2
|
+
`)},A=async a=>{let b=a||await w();try{let a=await n().readFile(b,"utf-8");if(!a.trim())return null;let c=function(a){try{return JSON.parse(a)}catch{return JSON.parse(function(a){let b=String(a??"").replace(/^\uFEFF/,""),c="",d=0;for(;d<b.length;){let a=b[d],e=b[d+1];if('"'===a){let a=d+1;for(;a<b.length&&'"'!==b[a];)a+="\\"===b[a]?2:1;c+=b.slice(d,a+1),d=a+1}else if("/"===a&&"/"===e)for(;d<b.length&&"\n"!==b[d];)d+=1;else if("/"===a&&"*"===e){let a=b.indexOf("*/",d+2);d=-1===a?b.length:a+2}else c+=a,d+=1}let e="";for(let a=0;a<c.length;a+=1){let b=c[a];if('"'===b){let b=a+1;for(;b<c.length&&'"'!==c[b];)b+="\\"===c[b]?2:1;e+=c.slice(a,b+1),a=b;continue}if(","===b){let b=a+1;for(;b<c.length&&/\s/.test(c[b]);)b+=1;if("}"===c[b]||"]"===c[b])continue}e+=b}return e}(a))}}(a);if(!l(c))throw Error("OpenCode config is not a JSON object");return c}catch(a){if("ENOENT"===a.code)return null;throw a}},B=a=>"string"==typeof a&&a.startsWith(u)?a.slice(u.length):null;async function C(){try{var a;let{installed:b,binaryPath:c}=await y();if(!b)return e.NextResponse.json({installed:!1,config:null,message:"OpenCode CLI is not installed"});let d=await w(),f=null,h=null;try{f=await A(d)}catch{h=`Could not parse ${p().basename(d)}. Fix the file or remove it before applying settings.`}let i=f?.provider?.[t],j=l(i?.models)?i.models:{},k=c?await (0,g.be)(c):null;return e.NextResponse.json({installed:!0,binaryPath:c,version:k,config:f,configError:h,hasZevai:(a=f,!!a?.provider&&!!a.provider[t]),configPath:d,opencode:{models:Object.keys(j),activeModel:B(f?.model),baseURL:i?.options?.baseURL||null,variants:Object.fromEntries(Object.entries(j).map(([a,b])=>[a,l(b?.variants)?Object.keys(b.variants):[]]))}})}catch(a){return console.log("Error checking opencode settings:",a),e.NextResponse.json({error:"Failed to check opencode settings"},{status:500})}}async function D(a){try{let b,{baseUrl:c,apiKey:d,model:g,models:m,activeModel:n,subagentModel:o}=await a.json(),q=Array.isArray(m)?m:"string"==typeof g?[g]:[],r=[...new Set(q.filter(a=>"string"==typeof a&&a.trim()).map(a=>a.trim()))];if(!c||0===r.length)return e.NextResponse.json({error:"baseUrl and at least one model are required"},{status:400});let s=(0,h.hq)(c);if(!s)return e.NextResponse.json({error:"baseUrl must be an http(s) URL"},{status:400});let v=await w();try{b=await A(v)||{}}catch{return e.NextResponse.json({error:`Could not parse ${p().basename(v)}; fix or remove it before applying settings`},{status:422})}let x=await (0,f.k7)(d),y="string"==typeof o&&o.trim()||r[0],B=""===n?"":"string"==typeof n&&n.trim()||r[0],C=[...r];for(let a of[B,y])a&&!C.includes(a)&&C.push(a);l(b.provider)||(b.provider={});let D=l(b.provider[t])?{...b.provider[t]}:{};D.npm=D.npm||"@ai-sdk/openai-compatible",D.options={...l(D.options)?D.options:{},baseURL:s,apiKey:x},D.models=l(D.models)?{...D.models}:{};let E=await (0,i.M)(C);for(let a of C)D.models[a]=function(a,b,c){let d=l(a)?{...a}:{},e={...d,name:"string"==typeof d.name&&d.name.trim()?d.name:b,modalities:l(d.modalities)?d.modalities:{input:[...j.input],output:[...j.output]}};return void 0===c?e:{...e,...function(a,b=null){if(!Array.isArray(a)||0===a.length)return{reasoning:!1,variants:{}};let c=l(b)?b:{},d={};for(let b of a){if("string"!=typeof b||!b)continue;let a=l(c[b])?c[b]:{};d[b]={...a,reasoningEffort:k[b]||b}}return{reasoning:!0,variants:d}}(c,d.variants)}}(D.models[a],a,E.get(a));b.provider[t]=D,b.model=B?`${u}${B}`:"",l(b.agent)||(b.agent={});let F=l(b.agent.explorer)?b.agent.explorer:{};return b.agent.explorer={description:"Fast explorer subagent for codebase exploration",mode:"subagent",...F,model:`${u}${y}`},await z(v,b),e.NextResponse.json({success:!0,message:"OpenCode settings applied successfully!",configPath:v,variants:Object.fromEntries(C.map(a=>[a,Object.keys(D.models[a]?.variants||{})]))})}catch(a){return console.log("Error applying opencode settings:",a),e.NextResponse.json({error:"Failed to apply settings"},{status:500})}}async function E(a){try{let b,{clearActiveModel:c}=await a.json(),d=await w();try{b=await A(d)}catch{return e.NextResponse.json({error:`Could not parse ${p().basename(d)}`},{status:422})}if(!b)return e.NextResponse.json({success:!0,message:"No OpenCode config to update"});let f=!1;return!0===c&&null!==B(b.model)&&(b.model="",f=!0),f&&await z(d,b),e.NextResponse.json({success:!0,message:"Settings updated"})}catch(a){return console.log("Error patching opencode settings:",a),e.NextResponse.json({error:"Failed to patch settings"},{status:500})}}async function F(a){try{let b,{searchParams:c}=new URL(a.url),d=c.get("model"),f=await w();try{b=await A(f)}catch{return e.NextResponse.json({error:`Could not parse ${p().basename(f)}`},{status:422})}if(!b)return e.NextResponse.json({success:!0,message:"No OpenCode config to reset"});let g=l(b.provider?.[t])?b.provider[t]:null,h=()=>{l(b.provider)&&(delete b.provider[t],0===Object.keys(b.provider).length&&delete b.provider),null!==B(b.model)&&delete b.model,null!==B(b.agent?.explorer?.model)&&(delete b.agent.explorer,0===Object.keys(b.agent).length&&delete b.agent)};if(d){if(l(g?.models)){delete g.models[d];let a=Object.keys(g.models);if(0===a.length)h();else{let c=`${u}${a[0]}`;b.model===`${u}${d}`&&(b.model=c),b.agent?.explorer?.model===`${u}${d}`&&(b.agent.explorer.model=B(b.model)?b.model:c)}}}else h();return await z(f,b),e.NextResponse.json({success:!0,message:d?`Model "${d}" removed`:"ZevaiRouter settings removed from OpenCode"})}catch(a){return console.log("Error resetting opencode settings:",a),e.NextResponse.json({error:"Failed to reset opencode settings"},{status:500})}}(0,s.D)([C,D,E,F]),(0,d.A)(C,"005b64fbebad668b517925e687ec9985d4b3bbfe1a",null),(0,d.A)(D,"40e04fee70fb809f0c4a99376c5bbbc48fceab6902",null),(0,d.A)(E,"4054ab61b9839a5cd308c50defcd641cef47a585d0",null),(0,d.A)(F,"4032c05c202488e79457cf52d4c3812b81e3cb4156",null)},35175:(a,b,c)=>{c.d(b,{be:()=>q,hA:()=>p});var d=c(79748),e=c.n(d),f=c(21820),g=c.n(f),h=c(33873),i=c.n(h),j=c(79646),k=c(28354),l=c(15507);let m=(0,k.promisify)(j.execFile);function n(a={}){let b=a.platform||g().platform(),c=a.env||process.env,d="win32"===b?";":":",e=String(c.PATH||c.Path||"").split(d),f=function({home:a=g().homedir(),platform:b=g().platform(),env:c=process.env,execPath:d=process.execPath,extraDirs:e=[]}={}){let f="win32"===b?i().win32.join:i().posix.join,h="win32"===b?i().win32.dirname:i().posix.dirname,j=[...e];return"win32"===b?(c.APPDATA&&j.push(f(c.APPDATA,"npm")),c.LOCALAPPDATA&&j.push(f(c.LOCALAPPDATA,"pnpm")),a&&j.push(f(a,".bun","bin"),f(a,".local","bin"))):(c.PNPM_HOME&&j.push(c.PNPM_HOME),c.BUN_INSTALL&&j.push(f(c.BUN_INSTALL,"bin")),c.NPM_CONFIG_PREFIX&&j.push(f(c.NPM_CONFIG_PREFIX,"bin")),c.npm_config_prefix&&j.push(f(c.npm_config_prefix,"bin")),a&&(j.push(f(a,".local","bin"),f(a,"bin"),f(a,".opencode","bin"),f(a,".bun","bin"),f(a,".npm-global","bin"),f(a,".volta","bin"),f(a,".cargo","bin"),f(a,".deno","bin"),f(a,".local","share","pnpm")),"darwin"===b&&j.push(f(a,"Library","pnpm"))),j.push("/opt/homebrew/bin","/usr/local/bin","/home/linuxbrew/.linuxbrew/bin","/usr/bin","/bin")),d&&j.push(h(d)),j.filter(Boolean)}({...a,platform:b,env:c});return[...new Set(("win32"===b&&c.APPDATA?[i().win32.join(c.APPDATA,"npm"),...e,...f]:[...e,...f]).filter(Boolean))].join(d)}async function o(a,b){try{if(!(await e().stat(a)).isFile())return!1;if("win32"===b)return!0;return await e().access(a,e().constants.X_OK),!0}catch{return!1}}async function p(a,b={}){if("string"!=typeof a||!/^[A-Za-z0-9._-]+$/.test(a))return null;let c=b.platform||g().platform(),d="win32"===c?i().win32.join:i().posix.join,e="win32"===c?[`${a}.cmd`,`${a}.exe`,`${a}.bat`,a]:[a];for(let a of n({...b,platform:c}).split("win32"===c?";":":"))if(a)for(let b of e){let e=d(a,b);if(await o(e,c))return e}return null}async function q(a,{args:b=["--version"],timeout:c=5e3,ttlMs:d=6e5}={}){if(!a)return null;let f=await e().realpath(a).catch(()=>a);return(0,l.ND)(`version:${f}:${b.join(" ")}`,{ttlMs:d,fingerprint:()=>(0,l.hC)(f)},()=>r(a,b,c))}async function r(a,b,c){try{let{stdout:d,stderr:e}=await m(a,b,{windowsHide:!0,timeout:c,env:function(a={}){return{...a.env||process.env,PATH:n(a)}}(),shell:"win32"===g().platform()&&/\.(cmd|bat)$/i.test(a)});return String(d||e||"").trim().split(/\r?\n/)[0]||null}catch{return null}}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=6060,exports.ids=[6060],exports.modules={53679:(a,b,c)=>{c.d(b,{PROVIDER_PRICING:()=>g,getPricingForModel:()=>k});let d={"gemini-4-argon":{input:2.5,output:12.5,cached:.125,reasoning:12.5},"gemini-3-6-flash":{input:.9375,output:4.6875,cached:.09375,reasoning:4.6875},"gemini-3-7-flash":{input:.9375,output:4.6875,cached:.09375,reasoning:4.6875},"gemini-3-8-flash":{input:.9375,output:4.6875,cached:.09375,reasoning:4.6875},"gemini-3-5-flash-lite":{input:.375,output:3.125,cached:.0375,reasoning:3.125},"z-ai-glm-5-3":{input:1.75,output:5.5,cached:.325,reasoning:5.5},"z-ai-glm-5-3-flash":{input:.15,output:.5,cached:.03,reasoning:.5},"zai-org-glm-5-2":{input:1.4,output:4.4,cached:.26,reasoning:4.4},"zai-org-glm-5-1":{input:1.54,output:4.84,cached:.286,reasoning:4.84},"zai-org-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-5v-turbo":{input:1.5,output:5,cached:.3,reasoning:5},"olafangensan-glm-4.7-flash-heretic":{input:.07,output:.4,cached:.035,reasoning:.4},"zai-org-glm-4.6":{input:.43,output:1.75,cached:.08,reasoning:1.75},"zai-org-glm-4.7":{input:.55,output:2.65,cached:.11,reasoning:2.65},"venice-uncensored-1-2":{input:.2,output:.9,cached:.2,reasoning:.9},"venice-uncensored-role-play":{input:.5,output:2,cached:.5,reasoning:2},"qwen-3-8-2-4t-a95b":{input:2.5,output:7.5,cached:.3125,reasoning:7.5},"qwen-3-8-max":{input:2.5,output:7.5,cached:.3125,reasoning:7.5},"qwen-3-8-27b":{input:.45,output:3.2,cached:.45,reasoning:3.2},"qwen-3-8-flash":{input:.14,output:.49,cached:.014,reasoning:.49},"qwen-3-7-max":{input:2.7,output:8.05,cached:.27,reasoning:8.05},"qwen-3-7-plus":{input:.5,output:2,cached:.05,reasoning:2},"qwen-3-6-plus":{input:.625,output:3.75,cached:.0625,reasoning:3.75},"qwen3-6-27b":{input:.325,output:3.25,cached:.325,reasoning:3.25},"qwen3-6-35b-a3b":{input:.1,output:1,cached:.1,reasoning:1},"qwen3-5-397b-a17b":{input:.75,output:4.5,cached:.75,reasoning:4.5},"qwen3-5-35b-a3b":{input:.15,output:1,cached:.05,reasoning:1},"qwen3-235b-a22b-thinking-2507":{input:.45,output:3.5,cached:.45,reasoning:3.5},"qwen3-235b-a22b-instruct-2507":{input:.15,output:.75,cached:.15,reasoning:.75},"qwen3-next-80b":{input:.35,output:1.9,cached:.35,reasoning:1.9},"qwen3-vl-235b-a22b":{input:.21,output:1.9,cached:.1,reasoning:1.9},"qwen3-coder-480b-a35b-instruct-turbo":{input:.35,output:1.5,cached:.04,reasoning:1.5},"google-gemma-4-26b-a4b-it":{input:.13,output:.4,cached:.05,reasoning:.4},"google-gemma-4-31b-it":{input:.12,output:.36,cached:.09,reasoning:.36},"gemma-4-uncensored":{input:.1625,output:.5,cached:.1625,reasoning:.5},"google-gemma-3-27b-it":{input:.12,output:.2,cached:.12,reasoning:.2},"grok-4-3":{input:1.42,output:2.83,cached:.23,reasoning:2.83},"grok-4-5":{input:2.27,output:6.8,cached:.34,reasoning:6.8},"grok-4-6":{input:2.27,output:6.8,cached:.57,reasoning:6.8},"grok-4-7":{input:2.27,output:6.8,cached:.57,reasoning:6.8},"grok-4-20":{input:1.42,output:2.83,cached:.23,reasoning:2.83},"grok-4-20-multi-agent":{input:1.42,output:2.83,cached:.23,reasoning:2.83},"grok-build-0-1":{input:1,output:2,cached:.2,reasoning:2},"mistral-small-3-2-24b-instruct":{input:.09375,output:.25,cached:.09375,reasoning:.25},"gemini-3-1-pro-preview":{input:2.5,output:15,cached:.5,reasoning:15},"gemini-3-5-flash":{input:1.55,output:9.45,cached:.155,reasoning:9.45},"gemini-3-flash-preview":{input:.7,output:3.75,cached:.07,reasoning:3.75},"claude-fable-5":{input:10,output:50,cached:1,reasoning:50},"claude-fable-5-1":{input:10,output:50,cached:.25,reasoning:50},"claude-opus-5":{input:5,output:25,cached:.5,reasoning:25},"claude-opus-5-fast":{input:10,output:50,cached:1,reasoning:50},"claude-opus-5-5":{input:4,output:20,cached:.2,reasoning:20},"claude-opus-5-5-fast":{input:8,output:40,cached:.4,reasoning:40},"claude-opus-4-8":{input:5,output:25,cached:.5,reasoning:25},"claude-opus-4-8-fast":{input:10,output:50,cached:1,reasoning:50},"claude-opus-4-7":{input:5,output:25,cached:.5,reasoning:25},"claude-opus-4-6":{input:5,output:25,cached:.5,reasoning:25},"claude-opus-4-5":{input:5,output:25,cached:.5,reasoning:25},"claude-sonnet-5":{input:2,output:10,cached:.2,reasoning:10},"claude-sonnet-5-5":{input:2,output:10,cached:.1,reasoning:10},"claude-haiku-5-5":{input:.1,output:.5,cached:.01,reasoning:.5},"claude-sonnet-4-6":{input:3,output:15,cached:.3,reasoning:15},"openai-gpt-oss-120b":{input:.07,output:.3,cached:.07,reasoning:.3},"kimi-k3-1-pro":{input:2,output:10,cached:.2,reasoning:10},"kimi-k3-1-pro-highspeed":{input:5,output:25,cached:.375,reasoning:25},"kimi-k3":{input:3.75,output:18.75,cached:.375,reasoning:18.75},"kimi-k3-fast-api":{input:4.5,output:22.5,cached:.45,reasoning:22.5},"kimi-k2-7-code":{input:.75,output:3.5,cached:.16,reasoning:3.5},"kimi-k2-6":{input:.75,output:3.5,cached:.16,reasoning:3.5},"kimi-k2-5":{input:.56,output:3.5,cached:.22,reasoning:3.5},"xiaomi-mimo-v2-5":{input:.4,output:2,cached:.08,reasoning:2},"xiaomi-mimo-v2-6-flash":{input:.175,output:.35,cached:.00375,reasoning:.35},"deepseek-v4-pro":{input:1.65,output:3.301,cached:.33,reasoning:3.301},"deepseek-v4-flash":{input:.138,output:.275,cached:.028,reasoning:.275},"deepseek-v4-flash-0731":{input:.13,output:.26,cached:.028,reasoning:.26},"deepseek-v4-1-flash":{input:.3,output:1.2,cached:.0075,reasoning:1.2},"deepseek-v4-1-flash-1017":{input:.3,output:1.2,cached:.0075,reasoning:1.2},"deepseek-v4-1-flash-uncensored":{input:.33,output:1.32,cached:.00825,reasoning:1.32},"deepseek-v4-1-flash-1017-uncensored":{input:.33,output:1.32,cached:.00825,reasoning:1.32},"deepseek-v3.2":{input:.33,output:.48,cached:.16,reasoning:.48},"seed-2-1-turbo":{input:.625,output:3.125,cached:.125,reasoning:3.125},"deepseek-v4-pro-0813":{input:1.65,output:4.95,cached:.165,reasoning:4.95},"deepseek-v4-flash-0731-fast":{input:.35,output:.7,cached:.0875,reasoning:.7},"aion-labs-aion-3-0":{input:3.75,output:7.5,cached:.9375,reasoning:7.5},"aion-labs-aion-3-0-mini":{input:.875,output:1.75,cached:.225,reasoning:1.75},"aion-labs-aion-3-5":{input:3.75,output:7.5,cached:.9375,reasoning:7.5},"aion-labs-aion-3-5-mini":{input:.875,output:1.75,cached:.225,reasoning:1.75},"abliteration-abliterated-model-large-v2":{input:3,output:5,cached:.3,reasoning:5},"abliteration-abliterated-model-large-flash":{input:1.25,output:2.5,cached:.125,reasoning:2.5},"llama-3.2-3b":{input:.15,output:.6,cached:.15,reasoning:.6},"llama-3.3-70b":{input:.7,output:2.8,cached:.7,reasoning:2.8},"muse-wonder":{input:5,output:25,cached:.25,reasoning:25},"muse-spark-open":{input:1.5625,output:5.3125,cached:.1875,reasoning:5.3125},"openai-gpt-52":{input:1.75,output:14,cached:.175,reasoning:14},"openai-gpt-53-codex":{input:1.75,output:14,cached:.175,reasoning:14},"openai-gpt-54":{input:2.5,output:15,cached:.25,reasoning:15},"openai-gpt-54-pro":{input:30,output:180,cached:30,reasoning:180},"openai-gpt-54-mini":{input:.75,output:4.5,cached:.075,reasoning:4.5},"openai-gpt-55":{input:5,output:30,cached:.5,reasoning:30},"openai-gpt-55-pro":{input:30,output:180,cached:30,reasoning:180},"openai-gpt-56-luna":{input:.2,output:1.2,cached:.02,reasoning:1.2},"openai-gpt-56-luna-pro":{input:.2,output:1.2,cached:.02,reasoning:1.2},"openai-gpt-56-terra":{input:2,output:12,cached:.2,reasoning:12},"openai-gpt-56-terra-pro":{input:2,output:12,cached:.2,reasoning:12},"openai-gpt-56-sol":{input:4,output:20,cached:.4,reasoning:20},"openai-gpt-56-sol-pro":{input:4,output:20,cached:.4,reasoning:20},"openai-gpt-6-astra":{input:10,output:50,cached:1,reasoning:50},"openai-gpt-6-astra-pro":{input:10,output:50,cached:1,reasoning:50},"openai-gpt-6-luna":{input:.1,output:.5,cached:.01,reasoning:.5},"openai-gpt-6-sol":{input:2,output:10,cached:.2,reasoning:10},"openai-gpt-61-sol":{input:2,output:10,cached:.1,reasoning:10},"openai-gpt-61-sol-ultrafast":{input:12,output:60,cached:.6,reasoning:60},"openai-gpt-61-terra":{input:1,output:5,cached:.05,reasoning:5},"openai-gpt-4o-2024-11-20":{input:2.5,output:10,cached:1.25,reasoning:10},"openai-gpt-4o-mini-2024-07-18":{input:.15,output:.6,cached:.075,reasoning:.6},"minimax-m3-preview":{input:.3,output:1.2,cached:.06,reasoning:1.2},"minimax-m3-1-flash":{input:.1875,output:.75,cached:.01875,reasoning:.75},"minimax-m25":{input:.27,output:.95,cached:.03,reasoning:.95},"minimax-m27":{input:.375,output:1.5,cached:.06875,reasoning:1.5},"mercury-2":{input:.3125,output:.9375,cached:.03125,reasoning:.9375},"mercury-2-5":{input:.25,output:.9375,cached:.025,reasoning:.9375},"mercury-3":{input:.1,output:.35,cached:.01,reasoning:.35},"nvidia-nemotron-3-nano-30b-a3b":{input:.075,output:.3,cached:.075,reasoning:.3},"nvidia-nemotron-3-5-super-vl-120b-a12b":{input:.2,output:.5,cached:.04,reasoning:.5},"nvidia-nemotron-3-ultra-550b-a55b":{input:.625,output:3.125,cached:.1875,reasoning:3.125},"hy4-preview":{input:1.0425,output:3.12625,cached:.0525,reasoning:3.12625}},e={"google/gemma-4-31B-turbo-TEE":{input:.12,output:.37,cached:.012,reasoning:.37},"Qwen/Qwen3.8-27B-TEE":{input:.039,output:1.25,cached:.0039,reasoning:1.25},"deepseek-ai/DeepSeek-V3.2-TEE":{input:1,output:1,cached:.1,reasoning:1},"zai-org/GLM-5.1-TEE":{input:.9,output:2.9,cached:.09,reasoning:2.9},"Qwen/Qwen3.6-27B-TEE":{input:.25,output:2,cached:.025,reasoning:2},"moonshotai/Kimi-K2.6-TEE":{input:.39,output:1.8,cached:.039,reasoning:1.8},"zai-org/GLM-5.2-TEE":{input:1.25,output:3.95,cached:.125,reasoning:3.95},"moonshotai/Kimi-K3-TEE":{input:1.85,output:9.5,cached:.185,reasoning:9.5},"deepseek-ai/DeepSeek-V4-Flash-0731-TEE":{input:.44,output:1.32,cached:.044,reasoning:1.32},"Qwen/Qwen3.5-397B-A17B-TEE":{input:.45,output:3,cached:.045,reasoning:3}},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":{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-sonnet-5-5":{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},"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:3,output:12,cached:1.5,reasoning:18,cache_creation:3},"gpt-5-mini":{input:.75,output:3,cached:.375,reasoning:4.5,cache_creation:.75},"gpt-5-codex":{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3},"gpt-5.1":{input:4,output:16,cached:2,reasoning:24,cache_creation:4},"gpt-5.1-codex":{input:4,output:16,cached:2,reasoning:24,cache_creation:4},"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:5,output:20,cached:2.5,reasoning:30,cache_creation:5},"gpt-5.2-codex":{input:5,output:20,cached:2.5,reasoning:30,cache_creation:5},"gpt-5.3-codex":{input:6,output:24,cached:3,reasoning:36,cache_creation:6},"gpt-5.3-codex-xhigh":{input:10,output:40,cached:5,reasoning:60,cache_creation:10},"gpt-5.3-codex-high":{input:8,output:32,cached:4,reasoning:48,cache_creation:8},"gpt-5.3-codex-low":{input:4,output:16,cached:2,reasoning:24,cache_creation:4},"gpt-5.3-codex-none":{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3},"gpt-5.3-codex-spark":{input:3,output:12,cached:.3,reasoning:12,cache_creation:3},"gpt-5.6":{input:5,output:30,cached:.5,reasoning:30,cache_creation:6.25},"gpt-5.6-sol":{input:5,output:30,cached:.5,reasoning:30,cache_creation:6.25},"gpt-5.6-terra":{input:2.5,output:15,cached:.25,reasoning:15,cache_creation:3.125},"gpt-5.6-luna":{input:1,output:6,cached:.1,reasoning:6,cache_creation:1.25},"gpt-6-astra":{input:10,output:50,cached:1,reasoning:50,cache_creation:12.5},"gpt-6.1-sol":{input:2,output:10,cached:.1,reasoning:10,cache_creation:2.5},"gpt-6.1-terra":{input:1,output:5,cached:.05,reasoning:5,cache_creation:1.25},"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},"gpt-5.5":{input:5,output:30,cached:.5,reasoning:30,cache_creation:6.25},"gpt-5.4":{input:2.5,output:15,cached:.25,reasoning:15,cache_creation:3.125},"gpt-5.4-mini":{input:.75,output:4.5,cached:.075,reasoning:4.5,cache_creation:.9375},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-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-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},"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-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":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"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},"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},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}},xai:{"grok-4.7":{input:2,output:6,cached:.5,reasoning:6,cache_creation:0},"grok-4.6":{input:2,output:6,cached:.5,reasoning:6,cache_creation:0},"grok-4.5":{input:2,output:6,cached:.3,reasoning:6,cache_creation:0},"grok-4.3":{input:1.25,output:2.5,cached:.2,reasoning:2.5,cache_creation:0},"grok-4.20-0309-reasoning":{input:1.25,output:2.5,cached:.2,reasoning:2.5,cache_creation:0},"grok-4.20-0309-non-reasoning":{input:1.25,output:2.5,cached:.2,reasoning:2.5,cache_creation:0},"grok-4.20-multi-agent-0309":{input:1.25,output:2.5,cached:.2,reasoning:2.5,cache_creation:0},"grok-build-0.1":{input:1,output:2,cached:.2,reasoning:2,cache_creation:0}},mistral:{"mistral-large-4":{input:.7,output:2.1,cached:.07,reasoning:2.1},"mistral-large-4-0":{input:.7,output:2.1,cached:.07,reasoning:2.1},"mistral-small-2603":{input:.15,output:.6,reasoning:.6},"zai-glm-5-3":{input:1.4,output:4.4,cached:.14,reasoning:4.4},"zai-glm-5-3-flash":{input:.15,output:.5,cached:.03,reasoning:.5},"deepseek-v4-1-flash-1017":{input:.3,output:1.2,cached:.007,reasoning:1.2},"ministral-14b-2512":{input:.2,output:.2,reasoning:.2},"ministral-8b-2512":{input:.15,output:.15,reasoning:.15},"ministral-3b-2512":{input:.1,output:.1,reasoning:.1},"codestral-2508":{input:.3,output:.9,reasoning:.9},"codestral-latest":{input:.3,output:.9,reasoning:.9}},"voyage-ai":{"voyage-4-large":{input:.12,output:0},"voyage-4":{input:.06,output:0},"voyage-4-lite":{input:.02,output:0},"voyage-code-4":{input:.12,output:0},"voyage-3-large":{input:.18,output:0},"voyage-3.5":{input:.06,output:0},"voyage-3.5-lite":{input:.02,output:0},"voyage-code-3":{input:.18,output:0},"voyage-finance-2":{input:.12,output:0},"voyage-law-2":{input:.12,output:0},"voyage-multilingual-2":{input:.12,output:0}},fireworks:{"accounts/fireworks/models/ember-1":{input:3,output:15,cached:.3,reasoning:15},"accounts/fireworks/models/muse-spark-open":{input:1.25,output:4.25,cached:.15,reasoning:4.25},"accounts/fireworks/models/kimi-k3p1-pro":{input:2,output:10,cached:.2,reasoning:10},"accounts/fireworks/models/kimi-k3":{input:3,output:15,cached:.3,reasoning:15},"accounts/fireworks/models/deepseek-v4p1-flash":{input:.3,output:1.2,cached:.006,reasoning:1.2},"accounts/fireworks/models/deepseek-v4p1-flash-1017":{input:.3,output:1.2,cached:.006,reasoning:1.2},"accounts/fireworks/models/glm-5p3-flash":{input:.15,output:.5,cached:.03,reasoning:.5},"accounts/fireworks/models/ultramarine-1-flash-us":{input:.15,output:.5,cached:.03,reasoning:.5},"accounts/fireworks/models/glm-5p3":{input:1.4,output:4.4,cached:.26,reasoning:4.4},"accounts/fireworks/models/qwen3p8-max":{input:2,output:6,cached:.25,reasoning:6},"accounts/fireworks/models/minimax-m3":{input:.3,output:1.2,cached:.06,reasoning:1.2},"accounts/fireworks/models/gpt-oss-120b":{input:.15,output:.6,cached:.015,reasoning:.6},"accounts/fireworks/models/nemotron-lightning-3p5-30b-a3b":{input:.05,output:.2,cached:.01,reasoning:.2},"accounts/fireworks/models/nemotron-3-ultra-nvfp4":{input:.6,output:2.4,cached:.12,reasoning:2.4},"fireworks/qwen3-embedding-8b":{input:.1,output:0},"nomic-ai/nomic-embed-text-v1.5":{input:.008,output:0},"nomic-ai/nomic-embed-text-v1":{input:.008,output:0},"thenlper/gte-base":{input:.008,output:0},"BAAI/bge-base-en-v1.5":{input:.008,output:0},"BAAI/bge-small-en-v1.5":{input:.008,output:0},"thenlper/gte-large":{input:.016,output:0},"WhereIsAI/UAE-Large-V1":{input:.016,output:0},"mixedbread-ai/mxbai-embed-large-v1":{input:.016,output:0}},together:{"deepseek-ai/DeepSeek-V4-Pro-0813":{input:1.32,output:3.96,cached:.13,reasoning:3.96},"deepseek-ai/DeepSeek-V4.1-Flash":{input:.3,output:1.2,cached:.006,reasoning:1.2},"deepseek-ai/DeepSeek-V4.1-Flash-1017":{input:.3,output:1.2,cached:.006,reasoning:1.2},"meta-models/Muse-Glimmer-30B":{input:.35,output:1.5,cached:.04,reasoning:1.5},"meta-models/Muse-Spark-Open-816B-A42B":{input:1.25,output:4.25,cached:.15,reasoning:4.25},"MiniMaxAI/MiniMax-M3.1-Flash":{input:.15,output:.6,cached:.015,reasoning:.6},"moonshotai/Kimi-K3":{input:3,output:15,cached:.3,reasoning:15},"moonshotai/Kimi-K3.1-Pro":{input:2,output:10,cached:.2,reasoning:10},"nvidia/NVIDIA-Nemotron-3.5-Super-VL":{input:.15,output:.5,cached:.02,reasoning:.5},"openai/gpt-oss-120b":{input:.15,output:.6,reasoning:.6},"Prism-ML/Ternary-Bonsai-27B":{input:0,output:0,reasoning:0},"Qwen/Qwen3.5-9B":{input:.17,output:.25,reasoning:.25},"Qwen/Qwen3.6-Plus":{input:.5,output:3,reasoning:3},"Qwen/Qwen3.7-Max":{input:2.5,output:7.5,cached:.5,reasoning:7.5},"Qwen/Qwen3.7-Plus":{input:.32,output:1.28,reasoning:1.28},"Qwen/Qwen3.8-Flash":{input:.15,output:.47,reasoning:.47},"reflection/Beam-1.0-501B-A23B":{input:.4,output:1.2,cached:.04,reasoning:1.2},"together/Tev1-4B-experimental":{input:.042,output:0,reasoning:0},"zai-org/GLM-5.2":{input:1.4,output:4.4,cached:.26,reasoning:4.4},"zai-org/GLM-5.3":{input:1.4,output:4.4,cached:.26,reasoning:4.4},"zai-org/GLM-5.3-Flash":{input:.15,output:.5,cached:.03,reasoning:.5}},sambanova:{"Meta-Llama-3.3-70B-Instruct":{input:.6,output:1.2,reasoning:1.2},"MiniMax-M3.1-Flash":{input:.3,output:1.2,cached:.03,reasoning:1.2,cache_creation:0},"gemma-4-31B-it":{input:.38,output:1.15,reasoning:1.15},"gpt-oss-120b":{input:.22,output:.59,reasoning:.59}},"perplexity-agent":{"anthropic/claude-fable-5":{input:10,output:50,cached:1,reasoning:50},"anthropic/claude-fable-5-1":{input:10,output:50,cached:.25,reasoning:50},"anthropic/claude-opus-5-5":{input:4,output:20,cached:.2,reasoning:20},"anthropic/claude-opus-5":{input:5,output:25,cached:.5,reasoning:25},"anthropic/claude-sonnet-5-5":{input:2,output:10,cached:.1,reasoning:10},"anthropic/claude-sonnet-5":{input:2,output:10,cached:.2,reasoning:10},"anthropic/claude-haiku-5-5":{input:.1,output:.5,cached:.01,reasoning:.5},"openai/gpt-6.1-sol":{input:2,output:10,reasoning:10},"openai/gpt-6-astra":{input:10,output:50,reasoning:50},"openai/gpt-6-sol":{input:2,output:10,reasoning:10},"openai/gpt-6-luna":{input:.1,output:.5,reasoning:.5},"openai/gpt-5.6-sol":{input:4,output:20,reasoning:20},"openai/gpt-5.6-terra":{input:2,output:12,reasoning:12},"openai/gpt-5.6-luna":{input:.2,output:1.2,reasoning:1.2},"openai/gpt-5.5":{input:5,output:30,reasoning:30},"google/gemini-4-argon":{input:2,output:10,cached:.1,reasoning:10},"google/gemini-3.6-flash":{input:1.5,output:7.5,cached:.15,reasoning:7.5},"google/gemini-3.7-flash":{input:.75,output:3.75,cached:.075,reasoning:3.75},"google/gemini-3.8-flash":{input:.75,output:3.75,cached:.075,reasoning:3.75},"xai/grok-4.7":{input:2,output:6,cached:.5,reasoning:6},"xai/grok-4.6":{input:2,output:6,cached:.5,reasoning:6},"xai/grok-4.5":{input:2,output:6,cached:.3,reasoning:6},"perplexity/glm-5.3":{input:1.4,output:4.4,cached:.26,reasoning:4.4},"perplexity/glm-5.3-flash":{input:.15,output:.5,cached:.03,reasoning:.5},"perplexity/deepseek-v4-pro-0813":{input:1.32,output:3.96,cached:.044,reasoning:3.96},"perplexity/kimi-k3":{input:3,output:15,cached:.3,reasoning:15},"perplexity/nemotron-3.5-super-120b-a12b":{input:.2,output:.5,cached:.04,reasoning:.5},"perplexity/sonar":{input:.25,output:2.5,cached:.0625,reasoning:2.5}},cerebras:{"gpt-oss-120b":{input:.35,output:.75,reasoning:.75},"qwen-3.8-27b":{input:.99,output:1.49,reasoning:1.49}},groq:{"openai/gpt-oss-120b":{input:.15,output:.6,reasoning:.6},"openai/gpt-oss-20b":{input:.075,output:.3,reasoning:.3},"openai/gpt-oss-safeguard-20b":{input:.075,output:.3,reasoning:.3},"qwen/qwen3.8-27b":{input:.8,output:4,reasoning:4},"meta-llama/llama-prompt-guard-2-22m":{input:.03,output:.03,reasoning:.03},"meta-llama/llama-prompt-guard-2-86m":{input:.04,output:.04,reasoning:.04}},opencode:{"pulse-alpha-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0},"crouton-alpha-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0}},oc:{"pulse-alpha-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0},"crouton-alpha-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0}},"opencode-go":{"kimi-k3.1-pro":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"deepseek-v4.1-flash":{input:.15,output:.6,cached:.003,reasoning:.6,cache_creation:0},"grok-4.7":{input:2,output:6,cached:.5,reasoning:6,cache_creation:0},"gpt-6-luna":{input:.1,output:.5,cached:.01,reasoning:.5,cache_creation:.125},"mimo-v2.6-flash":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:0},"mimo-v2.6-pro":{input:.435,output:.87,cached:.003625,reasoning:.87,cache_creation:0},"minimax-m3.1-flash":{input:.15,output:.6,cached:.015,reasoning:.6,cache_creation:0},"step-5-preview":{input:1,output:2.7,cached:.1,reasoning:2.7,cache_creation:0},hy4:{input:.834,output:2.501,cached:.042,reasoning:2.501,cache_creation:0},"gemini-4-argon":{input:2,output:10,cached:.1,reasoning:10,cache_creation:0},"beam-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0},"iceman-contributor-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0}},"opencode-zen":{"claude-haiku-5-5":{input:.1,output:.5,cached:.01,reasoning:.5,cache_creation:.125},"claude-opus-5-5":{input:4,output:20,cached:.2,reasoning:20,cache_creation:5},"claude-sonnet-5-5":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"gpt-6-sol":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"gpt-6.1-sol":{input:2,output:10,cached:.1,reasoning:10,cache_creation:2.5},"gpt-6-luna":{input:.1,output:.5,cached:.01,reasoning:.5,cache_creation:.125},"grok-4.7":{input:2,output:6,cached:.5,reasoning:6,cache_creation:0},"muse-wonder-1.0":{input:4,output:20,cached:.2,reasoning:20,cache_creation:0},"qwen3.8-flash":{input:.15,output:.47,cached:.016,reasoning:.47,cache_creation:.2},"qwen3.8-max":{input:2,output:6,cached:.25,reasoning:6,cache_creation:2.5},"deepseek-v4.1-flash":{input:.3,output:1.2,cached:.006,reasoning:1.2,cache_creation:0},"mistral-large-4":{input:.68,output:2.09,cached:.07,reasoning:2.09,cache_creation:0},"beam-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0},"flint-40b-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0},"nemotron-3.5-super-vl-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0},"deepseek-v4.1-flash-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0},"glm-5.3-flash-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0},"pulse-alpha-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0},"crouton-alpha-free":{input:0,output:0,cached:0,reasoning:0,cache_creation: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:4,output:16,cached:2,reasoning:24,cache_creation:4}},{pattern:"*-codex-none",pricing:{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3}},{pattern:"*-codex-spark",pricing:{input:3,output:12,cached:.3,reasoning:12,cache_creation:3}},{pattern:"codex-*",pricing:{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3}},{pattern:"*-codex",pricing:{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3}},{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.3-*",pricing:{input:6,output:24,cached:3,reasoning:36,cache_creation:6}},{pattern:"gpt-5.2-*",pricing:{input:5,output:20,cached:2.5,reasoning:30,cache_creation:5}},{pattern:"gpt-5.1-*",pricing:{input:4,output:16,cached:2,reasoning:24,cache_creation:4}},{pattern:"gpt-5-*",pricing:{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3}},{pattern:"gpt-5*",pricing:{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3}},{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-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-*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*",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}}];function i(a,b){return RegExp("^"+a.split("*").map(a=>a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join(".*")+"$").test(b)}let j={input:0,output:0,cached:0,reasoning:0,cache_creation:0};function k(a,b){if(!b)return null;if(("cline"===a||"cl"===a)&&b.startsWith("cline-free/"))return j;let c="ocz"===a?"opencode-zen":a;if(c&&g[c]?.[b])return g[c][b];if("venice"===c&&d[b])return d[b];if("voyage"===c&&g["voyage-ai"]?.[b])return g["voyage-ai"][b];if("samba"===c&&g.sambanova?.[b])return g.sambanova[b];if("pa"===c&&g["perplexity-agent"]?.[b])return g["perplexity-agent"][b];if(("chutes"===c||"ch"===c)&&e[b])return e[b];let k=b.includes("/")?b.split("/").pop():b;if(f[k])return f[k];if(f[b])return f[b];for(let{pattern:a,pricing:c}of h)if(i(a,k)||i(a,b))return c;return null}}};
|
|
1
|
+
"use strict";exports.id=6060,exports.ids=[6060],exports.modules={76060:(a,b,c)=>{c.d(b,{PROVIDER_PRICING:()=>g,getPricingForModel:()=>k});let d={"gemini-4-argon":{input:2.5,output:12.5,cached:.125,reasoning:12.5},"gemini-3-6-flash":{input:.9375,output:4.6875,cached:.09375,reasoning:4.6875},"gemini-3-7-flash":{input:.9375,output:4.6875,cached:.09375,reasoning:4.6875},"gemini-3-8-flash":{input:.9375,output:4.6875,cached:.09375,reasoning:4.6875},"gemini-3-5-flash-lite":{input:.375,output:3.125,cached:.0375,reasoning:3.125},"z-ai-glm-5-3":{input:1.75,output:5.5,cached:.325,reasoning:5.5},"z-ai-glm-5-3-flash":{input:.15,output:.5,cached:.03,reasoning:.5},"zai-org-glm-5-2":{input:1.4,output:4.4,cached:.26,reasoning:4.4},"zai-org-glm-5-1":{input:1.54,output:4.84,cached:.286,reasoning:4.84},"zai-org-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-5v-turbo":{input:1.5,output:5,cached:.3,reasoning:5},"olafangensan-glm-4.7-flash-heretic":{input:.07,output:.4,cached:.035,reasoning:.4},"zai-org-glm-4.6":{input:.43,output:1.75,cached:.08,reasoning:1.75},"zai-org-glm-4.7":{input:.55,output:2.65,cached:.11,reasoning:2.65},"venice-uncensored-1-2":{input:.2,output:.9,cached:.2,reasoning:.9},"venice-uncensored-role-play":{input:.5,output:2,cached:.5,reasoning:2},"qwen-3-8-2-4t-a95b":{input:2.5,output:7.5,cached:.3125,reasoning:7.5},"qwen-3-8-max":{input:2.5,output:7.5,cached:.3125,reasoning:7.5},"qwen-3-8-27b":{input:.45,output:3.2,cached:.45,reasoning:3.2},"qwen-3-8-flash":{input:.14,output:.49,cached:.014,reasoning:.49},"qwen-3-7-max":{input:2.7,output:8.05,cached:.27,reasoning:8.05},"qwen-3-7-plus":{input:.5,output:2,cached:.05,reasoning:2},"qwen-3-6-plus":{input:.625,output:3.75,cached:.0625,reasoning:3.75},"qwen3-6-27b":{input:.325,output:3.25,cached:.325,reasoning:3.25},"qwen3-6-35b-a3b":{input:.1,output:1,cached:.1,reasoning:1},"qwen3-5-397b-a17b":{input:.75,output:4.5,cached:.75,reasoning:4.5},"qwen3-5-35b-a3b":{input:.15,output:1,cached:.05,reasoning:1},"qwen3-235b-a22b-thinking-2507":{input:.45,output:3.5,cached:.45,reasoning:3.5},"qwen3-235b-a22b-instruct-2507":{input:.15,output:.75,cached:.15,reasoning:.75},"qwen3-next-80b":{input:.35,output:1.9,cached:.35,reasoning:1.9},"qwen3-vl-235b-a22b":{input:.21,output:1.9,cached:.1,reasoning:1.9},"qwen3-coder-480b-a35b-instruct-turbo":{input:.35,output:1.5,cached:.04,reasoning:1.5},"google-gemma-4-26b-a4b-it":{input:.13,output:.4,cached:.05,reasoning:.4},"google-gemma-4-31b-it":{input:.12,output:.36,cached:.09,reasoning:.36},"gemma-4-uncensored":{input:.1625,output:.5,cached:.1625,reasoning:.5},"google-gemma-3-27b-it":{input:.12,output:.2,cached:.12,reasoning:.2},"grok-4-3":{input:1.42,output:2.83,cached:.23,reasoning:2.83},"grok-4-5":{input:2.27,output:6.8,cached:.34,reasoning:6.8},"grok-4-6":{input:2.27,output:6.8,cached:.57,reasoning:6.8},"grok-4-7":{input:2.27,output:6.8,cached:.57,reasoning:6.8},"grok-4-20":{input:1.42,output:2.83,cached:.23,reasoning:2.83},"grok-4-20-multi-agent":{input:1.42,output:2.83,cached:.23,reasoning:2.83},"grok-build-0-1":{input:1,output:2,cached:.2,reasoning:2},"mistral-small-3-2-24b-instruct":{input:.09375,output:.25,cached:.09375,reasoning:.25},"gemini-3-1-pro-preview":{input:2.5,output:15,cached:.5,reasoning:15},"gemini-3-5-flash":{input:1.55,output:9.45,cached:.155,reasoning:9.45},"gemini-3-flash-preview":{input:.7,output:3.75,cached:.07,reasoning:3.75},"claude-fable-5":{input:10,output:50,cached:1,reasoning:50},"claude-fable-5-1":{input:10,output:50,cached:.25,reasoning:50},"claude-opus-5":{input:5,output:25,cached:.5,reasoning:25},"claude-opus-5-fast":{input:10,output:50,cached:1,reasoning:50},"claude-opus-5-5":{input:4,output:20,cached:.2,reasoning:20},"claude-opus-5-5-fast":{input:8,output:40,cached:.4,reasoning:40},"claude-opus-4-8":{input:5,output:25,cached:.5,reasoning:25},"claude-opus-4-8-fast":{input:10,output:50,cached:1,reasoning:50},"claude-opus-4-7":{input:5,output:25,cached:.5,reasoning:25},"claude-opus-4-6":{input:5,output:25,cached:.5,reasoning:25},"claude-opus-4-5":{input:5,output:25,cached:.5,reasoning:25},"claude-sonnet-5":{input:2,output:10,cached:.2,reasoning:10},"claude-sonnet-5-5":{input:2,output:10,cached:.1,reasoning:10},"claude-haiku-5-5":{input:.1,output:.5,cached:.01,reasoning:.5},"claude-sonnet-4-6":{input:3,output:15,cached:.3,reasoning:15},"openai-gpt-oss-120b":{input:.07,output:.3,cached:.07,reasoning:.3},"kimi-k3-1-pro":{input:2,output:10,cached:.2,reasoning:10},"kimi-k3-1-pro-highspeed":{input:5,output:25,cached:.375,reasoning:25},"kimi-k3":{input:3.75,output:18.75,cached:.375,reasoning:18.75},"kimi-k3-fast-api":{input:4.5,output:22.5,cached:.45,reasoning:22.5},"kimi-k2-7-code":{input:.75,output:3.5,cached:.16,reasoning:3.5},"kimi-k2-6":{input:.75,output:3.5,cached:.16,reasoning:3.5},"kimi-k2-5":{input:.56,output:3.5,cached:.22,reasoning:3.5},"xiaomi-mimo-v2-5":{input:.4,output:2,cached:.08,reasoning:2},"xiaomi-mimo-v2-6-flash":{input:.175,output:.35,cached:.00375,reasoning:.35},"deepseek-v4-pro":{input:1.65,output:3.301,cached:.33,reasoning:3.301},"deepseek-v4-flash":{input:.138,output:.275,cached:.028,reasoning:.275},"deepseek-v4-flash-0731":{input:.13,output:.26,cached:.028,reasoning:.26},"deepseek-v4-1-flash":{input:.3,output:1.2,cached:.0075,reasoning:1.2},"deepseek-v4-1-flash-1017":{input:.3,output:1.2,cached:.0075,reasoning:1.2},"deepseek-v4-1-flash-uncensored":{input:.33,output:1.32,cached:.00825,reasoning:1.32},"deepseek-v4-1-flash-1017-uncensored":{input:.33,output:1.32,cached:.00825,reasoning:1.32},"deepseek-v3.2":{input:.33,output:.48,cached:.16,reasoning:.48},"seed-2-1-turbo":{input:.625,output:3.125,cached:.125,reasoning:3.125},"deepseek-v4-pro-0813":{input:1.65,output:4.95,cached:.165,reasoning:4.95},"deepseek-v4-flash-0731-fast":{input:.35,output:.7,cached:.0875,reasoning:.7},"aion-labs-aion-3-0":{input:3.75,output:7.5,cached:.9375,reasoning:7.5},"aion-labs-aion-3-0-mini":{input:.875,output:1.75,cached:.225,reasoning:1.75},"aion-labs-aion-3-5":{input:3.75,output:7.5,cached:.9375,reasoning:7.5},"aion-labs-aion-3-5-mini":{input:.875,output:1.75,cached:.225,reasoning:1.75},"abliteration-abliterated-model-large-v2":{input:3,output:5,cached:.3,reasoning:5},"abliteration-abliterated-model-large-flash":{input:1.25,output:2.5,cached:.125,reasoning:2.5},"llama-3.2-3b":{input:.15,output:.6,cached:.15,reasoning:.6},"llama-3.3-70b":{input:.7,output:2.8,cached:.7,reasoning:2.8},"muse-wonder":{input:5,output:25,cached:.25,reasoning:25},"muse-spark-open":{input:1.5625,output:5.3125,cached:.1875,reasoning:5.3125},"openai-gpt-52":{input:1.75,output:14,cached:.175,reasoning:14},"openai-gpt-53-codex":{input:1.75,output:14,cached:.175,reasoning:14},"openai-gpt-54":{input:2.5,output:15,cached:.25,reasoning:15},"openai-gpt-54-pro":{input:30,output:180,cached:30,reasoning:180},"openai-gpt-54-mini":{input:.75,output:4.5,cached:.075,reasoning:4.5},"openai-gpt-55":{input:5,output:30,cached:.5,reasoning:30},"openai-gpt-55-pro":{input:30,output:180,cached:30,reasoning:180},"openai-gpt-56-luna":{input:.2,output:1.2,cached:.02,reasoning:1.2},"openai-gpt-56-luna-pro":{input:.2,output:1.2,cached:.02,reasoning:1.2},"openai-gpt-56-terra":{input:2,output:12,cached:.2,reasoning:12},"openai-gpt-56-terra-pro":{input:2,output:12,cached:.2,reasoning:12},"openai-gpt-56-sol":{input:4,output:20,cached:.4,reasoning:20},"openai-gpt-56-sol-pro":{input:4,output:20,cached:.4,reasoning:20},"openai-gpt-6-astra":{input:10,output:50,cached:1,reasoning:50},"openai-gpt-6-astra-pro":{input:10,output:50,cached:1,reasoning:50},"openai-gpt-6-luna":{input:.1,output:.5,cached:.01,reasoning:.5},"openai-gpt-6-sol":{input:2,output:10,cached:.2,reasoning:10},"openai-gpt-61-sol":{input:2,output:10,cached:.1,reasoning:10},"openai-gpt-61-sol-ultrafast":{input:12,output:60,cached:.6,reasoning:60},"openai-gpt-61-terra":{input:1,output:5,cached:.05,reasoning:5},"openai-gpt-4o-2024-11-20":{input:2.5,output:10,cached:1.25,reasoning:10},"openai-gpt-4o-mini-2024-07-18":{input:.15,output:.6,cached:.075,reasoning:.6},"minimax-m3-preview":{input:.3,output:1.2,cached:.06,reasoning:1.2},"minimax-m3-1-flash":{input:.1875,output:.75,cached:.01875,reasoning:.75},"minimax-m25":{input:.27,output:.95,cached:.03,reasoning:.95},"minimax-m27":{input:.375,output:1.5,cached:.06875,reasoning:1.5},"mercury-2":{input:.3125,output:.9375,cached:.03125,reasoning:.9375},"mercury-2-5":{input:.25,output:.9375,cached:.025,reasoning:.9375},"mercury-3":{input:.1,output:.35,cached:.01,reasoning:.35},"nvidia-nemotron-3-nano-30b-a3b":{input:.075,output:.3,cached:.075,reasoning:.3},"nvidia-nemotron-3-5-super-vl-120b-a12b":{input:.2,output:.5,cached:.04,reasoning:.5},"nvidia-nemotron-3-ultra-550b-a55b":{input:.625,output:3.125,cached:.1875,reasoning:3.125},"hy4-preview":{input:1.0425,output:3.12625,cached:.0525,reasoning:3.12625}},e={"google/gemma-4-31B-turbo-TEE":{input:.12,output:.37,cached:.012,reasoning:.37},"Qwen/Qwen3.8-27B-TEE":{input:.039,output:1.25,cached:.0039,reasoning:1.25},"deepseek-ai/DeepSeek-V3.2-TEE":{input:1,output:1,cached:.1,reasoning:1},"zai-org/GLM-5.1-TEE":{input:.9,output:2.9,cached:.09,reasoning:2.9},"Qwen/Qwen3.6-27B-TEE":{input:.25,output:2,cached:.025,reasoning:2},"moonshotai/Kimi-K2.6-TEE":{input:.39,output:1.8,cached:.039,reasoning:1.8},"zai-org/GLM-5.2-TEE":{input:1.25,output:3.95,cached:.125,reasoning:3.95},"moonshotai/Kimi-K3-TEE":{input:1.85,output:9.5,cached:.185,reasoning:9.5},"deepseek-ai/DeepSeek-V4-Flash-0731-TEE":{input:.44,output:1.32,cached:.044,reasoning:1.32},"Qwen/Qwen3.5-397B-A17B-TEE":{input:.45,output:3,cached:.045,reasoning:3}},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":{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-sonnet-5-5":{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},"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:3,output:12,cached:1.5,reasoning:18,cache_creation:3},"gpt-5-mini":{input:.75,output:3,cached:.375,reasoning:4.5,cache_creation:.75},"gpt-5-codex":{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3},"gpt-5.1":{input:4,output:16,cached:2,reasoning:24,cache_creation:4},"gpt-5.1-codex":{input:4,output:16,cached:2,reasoning:24,cache_creation:4},"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:5,output:20,cached:2.5,reasoning:30,cache_creation:5},"gpt-5.2-codex":{input:5,output:20,cached:2.5,reasoning:30,cache_creation:5},"gpt-5.3-codex":{input:6,output:24,cached:3,reasoning:36,cache_creation:6},"gpt-5.3-codex-xhigh":{input:10,output:40,cached:5,reasoning:60,cache_creation:10},"gpt-5.3-codex-high":{input:8,output:32,cached:4,reasoning:48,cache_creation:8},"gpt-5.3-codex-low":{input:4,output:16,cached:2,reasoning:24,cache_creation:4},"gpt-5.3-codex-none":{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3},"gpt-5.3-codex-spark":{input:3,output:12,cached:.3,reasoning:12,cache_creation:3},"gpt-5.6":{input:5,output:30,cached:.5,reasoning:30,cache_creation:6.25},"gpt-5.6-sol":{input:5,output:30,cached:.5,reasoning:30,cache_creation:6.25},"gpt-5.6-terra":{input:2.5,output:15,cached:.25,reasoning:15,cache_creation:3.125},"gpt-5.6-luna":{input:1,output:6,cached:.1,reasoning:6,cache_creation:1.25},"gpt-6-astra":{input:10,output:50,cached:1,reasoning:50,cache_creation:12.5},"gpt-6.1-sol":{input:2,output:10,cached:.1,reasoning:10,cache_creation:2.5},"gpt-6.1-terra":{input:1,output:5,cached:.05,reasoning:5,cache_creation:1.25},"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},"gpt-5.5":{input:5,output:30,cached:.5,reasoning:30,cache_creation:6.25},"gpt-5.4":{input:2.5,output:15,cached:.25,reasoning:15,cache_creation:3.125},"gpt-5.4-mini":{input:.75,output:4.5,cached:.075,reasoning:4.5,cache_creation:.9375},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-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-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},"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-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":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"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},"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},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}},xai:{"grok-4.7":{input:2,output:6,cached:.5,reasoning:6,cache_creation:0},"grok-4.6":{input:2,output:6,cached:.5,reasoning:6,cache_creation:0},"grok-4.5":{input:2,output:6,cached:.3,reasoning:6,cache_creation:0},"grok-4.3":{input:1.25,output:2.5,cached:.2,reasoning:2.5,cache_creation:0},"grok-4.20-0309-reasoning":{input:1.25,output:2.5,cached:.2,reasoning:2.5,cache_creation:0},"grok-4.20-0309-non-reasoning":{input:1.25,output:2.5,cached:.2,reasoning:2.5,cache_creation:0},"grok-4.20-multi-agent-0309":{input:1.25,output:2.5,cached:.2,reasoning:2.5,cache_creation:0},"grok-build-0.1":{input:1,output:2,cached:.2,reasoning:2,cache_creation:0}},mistral:{"mistral-large-4":{input:.7,output:2.1,cached:.07,reasoning:2.1},"mistral-large-4-0":{input:.7,output:2.1,cached:.07,reasoning:2.1},"mistral-small-2603":{input:.15,output:.6,reasoning:.6},"zai-glm-5-3":{input:1.4,output:4.4,cached:.14,reasoning:4.4},"zai-glm-5-3-flash":{input:.15,output:.5,cached:.03,reasoning:.5},"deepseek-v4-1-flash-1017":{input:.3,output:1.2,cached:.007,reasoning:1.2},"ministral-14b-2512":{input:.2,output:.2,reasoning:.2},"ministral-8b-2512":{input:.15,output:.15,reasoning:.15},"ministral-3b-2512":{input:.1,output:.1,reasoning:.1},"codestral-2508":{input:.3,output:.9,reasoning:.9},"codestral-latest":{input:.3,output:.9,reasoning:.9}},"voyage-ai":{"voyage-4-large":{input:.12,output:0},"voyage-4":{input:.06,output:0},"voyage-4-lite":{input:.02,output:0},"voyage-code-4":{input:.12,output:0},"voyage-3-large":{input:.18,output:0},"voyage-3.5":{input:.06,output:0},"voyage-3.5-lite":{input:.02,output:0},"voyage-code-3":{input:.18,output:0},"voyage-finance-2":{input:.12,output:0},"voyage-law-2":{input:.12,output:0},"voyage-multilingual-2":{input:.12,output:0}},fireworks:{"accounts/fireworks/models/ember-1":{input:3,output:15,cached:.3,reasoning:15},"accounts/fireworks/models/muse-spark-open":{input:1.25,output:4.25,cached:.15,reasoning:4.25},"accounts/fireworks/models/kimi-k3p1-pro":{input:2,output:10,cached:.2,reasoning:10},"accounts/fireworks/models/kimi-k3":{input:3,output:15,cached:.3,reasoning:15},"accounts/fireworks/models/deepseek-v4p1-flash":{input:.3,output:1.2,cached:.006,reasoning:1.2},"accounts/fireworks/models/deepseek-v4p1-flash-1017":{input:.3,output:1.2,cached:.006,reasoning:1.2},"accounts/fireworks/models/glm-5p3-flash":{input:.15,output:.5,cached:.03,reasoning:.5},"accounts/fireworks/models/ultramarine-1-flash-us":{input:.15,output:.5,cached:.03,reasoning:.5},"accounts/fireworks/models/glm-5p3":{input:1.4,output:4.4,cached:.26,reasoning:4.4},"accounts/fireworks/models/qwen3p8-max":{input:2,output:6,cached:.25,reasoning:6},"accounts/fireworks/models/minimax-m3":{input:.3,output:1.2,cached:.06,reasoning:1.2},"accounts/fireworks/models/gpt-oss-120b":{input:.15,output:.6,cached:.015,reasoning:.6},"accounts/fireworks/models/nemotron-lightning-3p5-30b-a3b":{input:.05,output:.2,cached:.01,reasoning:.2},"accounts/fireworks/models/nemotron-3-ultra-nvfp4":{input:.6,output:2.4,cached:.12,reasoning:2.4},"fireworks/qwen3-embedding-8b":{input:.1,output:0},"nomic-ai/nomic-embed-text-v1.5":{input:.008,output:0},"nomic-ai/nomic-embed-text-v1":{input:.008,output:0},"thenlper/gte-base":{input:.008,output:0},"BAAI/bge-base-en-v1.5":{input:.008,output:0},"BAAI/bge-small-en-v1.5":{input:.008,output:0},"thenlper/gte-large":{input:.016,output:0},"WhereIsAI/UAE-Large-V1":{input:.016,output:0},"mixedbread-ai/mxbai-embed-large-v1":{input:.016,output:0}},together:{"deepseek-ai/DeepSeek-V4-Pro-0813":{input:1.32,output:3.96,cached:.13,reasoning:3.96},"deepseek-ai/DeepSeek-V4.1-Flash":{input:.3,output:1.2,cached:.006,reasoning:1.2},"deepseek-ai/DeepSeek-V4.1-Flash-1017":{input:.3,output:1.2,cached:.006,reasoning:1.2},"meta-models/Muse-Glimmer-30B":{input:.35,output:1.5,cached:.04,reasoning:1.5},"meta-models/Muse-Spark-Open-816B-A42B":{input:1.25,output:4.25,cached:.15,reasoning:4.25},"MiniMaxAI/MiniMax-M3.1-Flash":{input:.15,output:.6,cached:.015,reasoning:.6},"moonshotai/Kimi-K3":{input:3,output:15,cached:.3,reasoning:15},"moonshotai/Kimi-K3.1-Pro":{input:2,output:10,cached:.2,reasoning:10},"nvidia/NVIDIA-Nemotron-3.5-Super-VL":{input:.15,output:.5,cached:.02,reasoning:.5},"openai/gpt-oss-120b":{input:.15,output:.6,reasoning:.6},"Prism-ML/Ternary-Bonsai-27B":{input:0,output:0,reasoning:0},"Qwen/Qwen3.5-9B":{input:.17,output:.25,reasoning:.25},"Qwen/Qwen3.6-Plus":{input:.5,output:3,reasoning:3},"Qwen/Qwen3.7-Max":{input:2.5,output:7.5,cached:.5,reasoning:7.5},"Qwen/Qwen3.7-Plus":{input:.32,output:1.28,reasoning:1.28},"Qwen/Qwen3.8-Flash":{input:.15,output:.47,reasoning:.47},"reflection/Beam-1.0-501B-A23B":{input:.4,output:1.2,cached:.04,reasoning:1.2},"together/Tev1-4B-experimental":{input:.042,output:0,reasoning:0},"zai-org/GLM-5.2":{input:1.4,output:4.4,cached:.26,reasoning:4.4},"zai-org/GLM-5.3":{input:1.4,output:4.4,cached:.26,reasoning:4.4},"zai-org/GLM-5.3-Flash":{input:.15,output:.5,cached:.03,reasoning:.5}},sambanova:{"Meta-Llama-3.3-70B-Instruct":{input:.6,output:1.2,reasoning:1.2},"MiniMax-M3.1-Flash":{input:.3,output:1.2,cached:.03,reasoning:1.2,cache_creation:0},"gemma-4-31B-it":{input:.38,output:1.15,reasoning:1.15},"gpt-oss-120b":{input:.22,output:.59,reasoning:.59}},"perplexity-agent":{"anthropic/claude-fable-5":{input:10,output:50,cached:1,reasoning:50},"anthropic/claude-fable-5-1":{input:10,output:50,cached:.25,reasoning:50},"anthropic/claude-opus-5-5":{input:4,output:20,cached:.2,reasoning:20},"anthropic/claude-opus-5":{input:5,output:25,cached:.5,reasoning:25},"anthropic/claude-sonnet-5-5":{input:2,output:10,cached:.1,reasoning:10},"anthropic/claude-sonnet-5":{input:2,output:10,cached:.2,reasoning:10},"anthropic/claude-haiku-5-5":{input:.1,output:.5,cached:.01,reasoning:.5},"openai/gpt-6.1-sol":{input:2,output:10,reasoning:10},"openai/gpt-6-astra":{input:10,output:50,reasoning:50},"openai/gpt-6-sol":{input:2,output:10,reasoning:10},"openai/gpt-6-luna":{input:.1,output:.5,reasoning:.5},"openai/gpt-5.6-sol":{input:4,output:20,reasoning:20},"openai/gpt-5.6-terra":{input:2,output:12,reasoning:12},"openai/gpt-5.6-luna":{input:.2,output:1.2,reasoning:1.2},"openai/gpt-5.5":{input:5,output:30,reasoning:30},"google/gemini-4-argon":{input:2,output:10,cached:.1,reasoning:10},"google/gemini-3.6-flash":{input:1.5,output:7.5,cached:.15,reasoning:7.5},"google/gemini-3.7-flash":{input:.75,output:3.75,cached:.075,reasoning:3.75},"google/gemini-3.8-flash":{input:.75,output:3.75,cached:.075,reasoning:3.75},"xai/grok-4.7":{input:2,output:6,cached:.5,reasoning:6},"xai/grok-4.6":{input:2,output:6,cached:.5,reasoning:6},"xai/grok-4.5":{input:2,output:6,cached:.3,reasoning:6},"perplexity/glm-5.3":{input:1.4,output:4.4,cached:.26,reasoning:4.4},"perplexity/glm-5.3-flash":{input:.15,output:.5,cached:.03,reasoning:.5},"perplexity/deepseek-v4-pro-0813":{input:1.32,output:3.96,cached:.044,reasoning:3.96},"perplexity/kimi-k3":{input:3,output:15,cached:.3,reasoning:15},"perplexity/nemotron-3.5-super-120b-a12b":{input:.2,output:.5,cached:.04,reasoning:.5},"perplexity/sonar":{input:.25,output:2.5,cached:.0625,reasoning:2.5}},cerebras:{"gpt-oss-120b":{input:.35,output:.75,reasoning:.75},"qwen-3.8-27b":{input:.99,output:1.49,reasoning:1.49}},groq:{"openai/gpt-oss-120b":{input:.15,output:.6,reasoning:.6},"openai/gpt-oss-20b":{input:.075,output:.3,reasoning:.3},"openai/gpt-oss-safeguard-20b":{input:.075,output:.3,reasoning:.3},"qwen/qwen3.8-27b":{input:.8,output:4,reasoning:4},"meta-llama/llama-prompt-guard-2-22m":{input:.03,output:.03,reasoning:.03},"meta-llama/llama-prompt-guard-2-86m":{input:.04,output:.04,reasoning:.04}},opencode:{"pulse-alpha-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0},"crouton-alpha-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0}},oc:{"pulse-alpha-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0},"crouton-alpha-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0}},"opencode-go":{"kimi-k3.1-pro":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"deepseek-v4.1-flash":{input:.15,output:.6,cached:.003,reasoning:.6,cache_creation:0},"grok-4.7":{input:2,output:6,cached:.5,reasoning:6,cache_creation:0},"gpt-6-luna":{input:.1,output:.5,cached:.01,reasoning:.5,cache_creation:.125},"mimo-v2.6-flash":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:0},"mimo-v2.6-pro":{input:.435,output:.87,cached:.003625,reasoning:.87,cache_creation:0},"minimax-m3.1-flash":{input:.15,output:.6,cached:.015,reasoning:.6,cache_creation:0},"step-5-preview":{input:1,output:2.7,cached:.1,reasoning:2.7,cache_creation:0},hy4:{input:.834,output:2.501,cached:.042,reasoning:2.501,cache_creation:0},"gemini-4-argon":{input:2,output:10,cached:.1,reasoning:10,cache_creation:0},"beam-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0},"iceman-contributor-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0}},"opencode-zen":{"claude-haiku-5-5":{input:.1,output:.5,cached:.01,reasoning:.5,cache_creation:.125},"claude-opus-5-5":{input:4,output:20,cached:.2,reasoning:20,cache_creation:5},"claude-sonnet-5-5":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"gpt-6-sol":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"gpt-6.1-sol":{input:2,output:10,cached:.1,reasoning:10,cache_creation:2.5},"gpt-6-luna":{input:.1,output:.5,cached:.01,reasoning:.5,cache_creation:.125},"grok-4.7":{input:2,output:6,cached:.5,reasoning:6,cache_creation:0},"muse-wonder-1.0":{input:4,output:20,cached:.2,reasoning:20,cache_creation:0},"qwen3.8-flash":{input:.15,output:.47,cached:.016,reasoning:.47,cache_creation:.2},"qwen3.8-max":{input:2,output:6,cached:.25,reasoning:6,cache_creation:2.5},"deepseek-v4.1-flash":{input:.3,output:1.2,cached:.006,reasoning:1.2,cache_creation:0},"mistral-large-4":{input:.68,output:2.09,cached:.07,reasoning:2.09,cache_creation:0},"beam-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0},"flint-40b-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0},"nemotron-3.5-super-vl-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0},"deepseek-v4.1-flash-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0},"glm-5.3-flash-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0},"pulse-alpha-free":{input:0,output:0,cached:0,reasoning:0,cache_creation:0},"crouton-alpha-free":{input:0,output:0,cached:0,reasoning:0,cache_creation: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:4,output:16,cached:2,reasoning:24,cache_creation:4}},{pattern:"*-codex-none",pricing:{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3}},{pattern:"*-codex-spark",pricing:{input:3,output:12,cached:.3,reasoning:12,cache_creation:3}},{pattern:"codex-*",pricing:{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3}},{pattern:"*-codex",pricing:{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3}},{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.3-*",pricing:{input:6,output:24,cached:3,reasoning:36,cache_creation:6}},{pattern:"gpt-5.2-*",pricing:{input:5,output:20,cached:2.5,reasoning:30,cache_creation:5}},{pattern:"gpt-5.1-*",pricing:{input:4,output:16,cached:2,reasoning:24,cache_creation:4}},{pattern:"gpt-5-*",pricing:{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3}},{pattern:"gpt-5*",pricing:{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3}},{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-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-*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*",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}}];function i(a,b){return RegExp("^"+a.split("*").map(a=>a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join(".*")+"$").test(b)}let j={input:0,output:0,cached:0,reasoning:0,cache_creation:0};function k(a,b){if(!b)return null;if(("cline"===a||"cl"===a)&&b.startsWith("cline-free/"))return j;let c="ocz"===a?"opencode-zen":a;if(c&&g[c]?.[b])return g[c][b];if("venice"===c&&d[b])return d[b];if("voyage"===c&&g["voyage-ai"]?.[b])return g["voyage-ai"][b];if("samba"===c&&g.sambanova?.[b])return g.sambanova[b];if("pa"===c&&g["perplexity-agent"]?.[b])return g["perplexity-agent"][b];if(("chutes"===c||"ch"===c)&&e[b])return e[b];let k=b.includes("/")?b.split("/").pop():b;if(f[k])return f[k];if(f[b])return f[b];for(let{pattern:a,pricing:c}of h)if(i(a,k)||i(a,b))return c;return null}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=6166,exports.ids=[6166],exports.modules={30869:(a,b,c)=>{c.d(b,{UY:()=>i,X3:()=>k,eh:()=>f.eh,fg:()=>e.fg,h0:()=>h,oc:()=>j,vQ:()=>g});var d=c(39006),e=c(17404),f=c(81329);let g={name:"ZevaiRouter",description:"AI Infrastructure Management",version:d.version},h={npmPackageName:"zevairouter",installCmd:"npm i -g zevairouter",installCmdLatest:"npm i -g zevairouter@latest --prefer-online",shutdownCountdownSec:3,exitDelayMs:500,statusPort:20129,statusPollIntervalMs:1e3,statusLogTailLines:8,installRetries:3,installRetryDelayMs:5e3,lingerAfterDoneMs:3e4,waitForExitMinMs:5e3,waitForExitMaxMs:2e4,waitForExitCheckMs:500,appPort:1997},i={maxLines:200,pollIntervalMs:1e3},j={tickIntervalMs:6e4,pingLeadMs:5e3,refreshAheadMs:3e5,failureCooldownMs:9e5,providers:{claude:{settingsKey:"claudeAutoPing",quotaKey:"session (5h)",pingModel:"claude-haiku-4-5-20251001",pingText:"hi",pingMaxTokens:1},codex:{settingsKey:"codexAutoPing",quotaKey:"session",pingWhenResetAtSlides:!0,resetAtDriftMs:3e4,minPingIntervalMs:6e5,skipWhenBlockingQuotaExhausted:!0,pingModel:"gpt-5.5",pingText:"hi",pingInstructions:"Reply with OK.",pingReasoningEffort:"none"}}},k={openrouter:"https://openrouter.ai/api/v1/chat/completions",glm:"https://api.z.ai/api/anthropic/v1/messages","glm-cn":"https://open.bigmodel.cn/api/coding/paas/v4/chat/completions",kimi:"https://api.kimi.com/coding/v1/messages",minimax:"https://api.minimax.io/anthropic/v1/messages","minimax-cn":"https://api.minimaxi.com/anthropic/v1/messages",alicode:"https://coding.dashscope.aliyuncs.com/v1/chat/completions","alicode-intl":"https://coding-intl.dashscope.aliyuncs.com/v1/chat/completions","volcengine-ark":"https://ark.cn-beijing.volces.com/api/coding/v3/chat/completions",byteplus:"https://ark.ap-southeast.bytepluses.com/api/coding/v3/chat/completions",openai:"https://api.openai.com/v1/chat/completions","vercel-ai-gateway":"https://ai-gateway.vercel.sh/v1/chat/completions",anthropic:"https://api.anthropic.com/v1/messages",gemini:"https://generativelanguage.googleapis.com/v1beta/models",ollama:"https://ollama.com/api/chat","ollama-local":"http://localhost:11434/api/chat"}},38238:(a,b,c)=>{c.d(b,{OU:()=>j,PL:()=>o,Yd:()=>i});var d=c(89718),e=c(17404),f=c(54098),g=c(30869),h=c(54603);function i(a,b){let c="string"==typeof b?b:b?JSON.stringify(b):"";for(let a=0;a<3;a++){let a=c.replace(/^\s*(?:HTTP\s+)?\[?\d{3}\]?\s*:\s*/i,""),b=a;try{let c=JSON.parse(a),d=c?.error?.message||c?.message||c?.error;"string"==typeof d&&d&&(b=d)}catch{}if(b===c)break;c=b}return c=c.trim(),`HTTP ${a}${c?`: ${c.slice(0,240)}`:""}`}async function j(a=null){let b=null;try{let a=await (0,d.PX)(!0);b=a.find(a=>!1!==a.isActive)?.key||null}catch{}let c={"Content-Type":"application/json"};return b&&(c.Authorization=`Bearer ${b}`),c["x-zevai-cli-token"]=await (0,h.Xj)("zevai-cli-auth"),a&&(c["x-zevai-connection-id"]=a),c}function k(a){return"string"==typeof a?a.trim():""}function l(a){return a&&"object"==typeof a?k(a.reasoning||a.reasoning_content||a.thinking||a.thinking_content):""}function m(){return{ok:!1,error:"Probe timed out before a usable response",status:408}}async function n(a,b){let c=a.body?.getReader?.();if(!c)return{ok:!1,error:"Provider stream ended without a usable response"};let d=new TextDecoder,e="",g=null;try{for(;!g;){let{value:a,done:h}=await c.read();if(h)break;let i=(e+=d.decode(a,{stream:!0})).split(/\r?\n/);for(let a of(e=i.pop()||"",i)){let c=a.trim();if(!c||c.startsWith(":")||!c.startsWith("data:"))continue;let d=c.slice(5).trim();if("[DONE]"===d){g||(g={ok:!1,error:"Provider stream ended without a usable response"});break}let e=null;try{e=JSON.parse(d)}catch{continue}e=(0,f.x)(e,b);let h=function(a){if(!a||"object"!=typeof a)return null;if(a.error)return{ok:!1,error:String(a.error?.message||a.error).slice(0,240)};let b=Array.isArray(a.choices)?a.choices[0]:null;if(!b)return null;let c=k(b.delta?.content||b.message?.content),d=l(b.delta)||l(b.message);return c?{ok:!0}:d?{ok:!0,note:"reasoning-only response (length-limited)"}:null}(e);if(h?.ok===!1){g=h;break}h?.ok&&(g=h)}}}catch(a){if(g?.ok)return g;if(a?.name==="TimeoutError"||a?.name==="AbortError")return m();throw a}finally{await c.cancel().catch(()=>{})}return g||{ok:!1,error:"Provider stream ended without a usable response"}}async function o(a,b,c=`http://127.0.0.1:${process.env.PORT||g.h0.appPort}`,d={}){let h,p,q=await j(d.connectionId),r=Date.now();if("embedding"===b){let b=await fetch(`${c}/api/v1/embeddings`,{method:"POST",headers:q,body:JSON.stringify({model:a,input:"test"}),signal:AbortSignal.timeout(15e3)}),d=Date.now()-r,e=await b.text().catch(()=>""),f=null;try{f=e?JSON.parse(e):null}catch{}if(!b.ok){let a=f?.error?.message||f?.error||e;return{ok:!1,latencyMs:d,error:i(b.status,a),status:b.status}}return Array.isArray(f?.data)&&f.data.length>0&&Array.isArray(f.data[0]?.embedding)?{ok:!0,latencyMs:d,error:null,status:b.status}:{ok:!1,latencyMs:d,status:b.status,error:"Provider returned no embedding data"}}if("image"===b){let b=await fetch(`${c}/api/v1/images/generations`,{method:"POST",headers:q,body:JSON.stringify({model:a,prompt:"test"}),signal:AbortSignal.timeout(15e3)}),d=Date.now()-r,e=await b.text().catch(()=>""),f=null;try{f=e?JSON.parse(e):null}catch{}if(!b.ok){let a=f?.error?.message||f?.msg||f?.message||f?.error||e;return{ok:!1,latencyMs:d,error:i(b.status,a),status:b.status}}return Array.isArray(f?.data)&&f.data.length>0?{ok:!0,latencyMs:d,error:null,status:b.status}:{ok:!1,latencyMs:d,status:b.status,error:"Provider returned no image data for this model"}}if("stt"===b){let b,d,e,f,g=new FormData,h=(e=new DataView(d=new ArrayBuffer(44+(b=8e3))),(f=(a,b)=>{for(let c=0;c<b.length;c+=1)e.setUint8(a+c,b.charCodeAt(c))})(0,"RIFF"),e.setUint32(4,36+b,!0),f(8,"WAVE"),f(12,"fmt "),e.setUint32(16,16,!0),e.setUint16(20,1,!0),e.setUint16(22,1,!0),e.setUint32(24,16e3,!0),e.setUint32(28,32e3,!0),e.setUint16(32,2,!0),e.setUint16(34,16,!0),f(36,"data"),e.setUint32(40,b,!0),new Blob([d],{type:"audio/wav"}));g.append("file",h,"test.wav"),g.append("model",a);let j=await fetch(`${c}/api/v1/audio/transcriptions`,{method:"POST",headers:Object.fromEntries(Object.entries(q).filter(([a])=>"content-type"!==a.toLowerCase())),body:g,signal:AbortSignal.timeout(15e3)}),k=Date.now()-r,l=await j.text().catch(()=>""),m=null;try{m=l?JSON.parse(l):null}catch{}if(!j.ok){let a=m?.error?.message||m?.msg||m?.message||m?.error||l;return{ok:!1,latencyMs:k,error:i(j.status,a),status:j.status}}return("string"==typeof m?.text?m.text:"").trim()?{ok:!0,latencyMs:k,error:null,status:j.status}:{ok:!1,latencyMs:k,status:j.status,error:"Provider returned no transcription text for this model"}}if("systemone"===b){let b=await fetch(`${c}/api/v1/systemone`,{method:"POST",headers:q,body:JSON.stringify({model:a,state:"Customer: I was charged twice for my order this morning.",questions:{probe:{type:"noul",instructions:"Is the customer reporting a billing problem?"}}}),signal:AbortSignal.timeout(15e3)}),d=Date.now()-r,e=await b.text().catch(()=>""),f=null;try{f=e?JSON.parse(e):null}catch{}if(!b.ok){let a=f?.error?.message||f?.msg||f?.message||f?.error||e;return{ok:!1,latencyMs:d,error:`HTTP ${b.status}${a?`: ${String(a).slice(0,240)}`:""}`,status:b.status}}return f?.answers&&"object"==typeof f.answers&&Object.keys(f.answers).length>0?{ok:!0,latencyMs:d,error:null,status:b.status}:{ok:!1,latencyMs:d,status:b.status,error:"Provider returned no answers for this model"}}let s=(0,e.rs)(String(a).split("/")[0]),t=Number.isFinite(d.timeoutMs)?d.timeoutMs:(p=String(a||"").split("/")[0],"antigravity"===(0,e.rs)(p)?3e4:15e3);try{h=await fetch(`${c}/api/v1/chat/completions`,{method:"POST",headers:{...q,"x-zevai-probe":"first-token"},body:JSON.stringify({model:a,max_tokens:1024,stream:!0,messages:[{role:"user",content:"hi"}]}),signal:AbortSignal.timeout(t)})}catch(a){if(a?.name==="TimeoutError"||a?.name==="AbortError")return{...m(),latencyMs:Date.now()-r};return{ok:!1,latencyMs:Date.now()-r,error:a?.message||"Probe failed",status:0}}if(!h.ok){let a=await h.text().catch(()=>""),b=null;try{b=a?JSON.parse(a):null}catch{}b=(0,f.x)(b,s);let c=b?.error?.message||b?.msg||b?.message||b?.error||a;return{ok:!1,latencyMs:Date.now()-r,error:i(h.status,c),status:h.status}}if((h.headers.get("content-type")||"").includes("text/event-stream")){let a=await n(h,s);return{...a,latencyMs:Date.now()-r,status:h.status,error:a.error||null}}let u=await h.text().catch(()=>""),v=null;try{v=u?JSON.parse(u):null}catch{}let w=function(a){let b=a?.status,c=a?.msg||a?.message;if(null!=b&&"200"!==String(b)&&"0"!==String(b)&&c)return{ok:!1,error:`Provider status ${b}: ${String(c).slice(0,240)}`};if(a?.error)return{ok:!1,error:String(a?.error?.message||a?.error||"Provider returned an error").slice(0,240)};let d=Array.isArray(a?.choices)&&a.choices.length>0,e=a?.choices?.[0]||{},f=l(e.message),g=!k(e.message?.content);return d&&"length"===e.finish_reason&&g&&f?{ok:!0,note:"reasoning-only response (length-limited)"}:d&&(!g||f)?{ok:!0}:{ok:!1,error:"Provider returned no completion choices for this model"}}(v=(0,f.x)(v,s));return{ok:w.ok,latencyMs:Date.now()-r,status:h.status,error:w.ok?null:w.error,...w.note?{note:w.note}:{}}}},39006:a=>{a.exports=JSON.parse('{"name":"zevairouter","version":"1.1.70","description":"Self-hosted AI router: many providers, one OpenAI-compatible /v1 endpoint and dashboard","bin":{"zevai":"cli/cli.js"},"files":["cli/cli.js","cli/app/","!cli/app/.next-cli-build/cache/","!cli/app/.next-cli-build/server/route-cache/","cli/hooks/","cli/src/","cli/package.json","cli/README.md","cli/LICENSE","scripts/start-standalone.mjs","scripts/gflow-reply-capture.py","scripts/flow-vps-setup.sh","vendor/aistudio-waa/","skills/","README.md","README.zh-CN.md","DOCKER.md","LICENSE","CHANGELOG.md"],"scripts":{"dev":"next dev --webpack --port 1997","build":"node scripts/build-app.mjs","start":"node ./scripts/start-standalone.mjs","dev:bun":"bun --bun next dev --webpack --port 1997","build:bun":"bun --bun next build --webpack","start:bun":"bun ./.next/standalone/server.js","lint":"eslint .","test":"vitest run --config tests/vitest.config.js","build:cli":"node cli/scripts/build-cli.js","audit:package":"node cli/scripts/audit-package.mjs","smoke:package":"node cli/scripts/smoke-package.mjs","verify:mobile-scroll":"node cli/scripts/verify-dashboard-mobile-scroll.mjs","candidate:build":"node cli/scripts/local-candidate.mjs build","candidate:install":"node cli/scripts/local-candidate.mjs install","candidate:status":"node cli/scripts/local-candidate.mjs status","candidate:rollback":"node cli/scripts/local-candidate.mjs rollback","release":"node cli/scripts/release.js","prepack":"npm run build:cli && npm run audit:package","postinstall":"node cli/hooks/postinstall.js"},"dependencies":{"confbox":"0.2.4","node-machine-id":"1.1.12","react":"19.2.4","react-dom":"19.2.4"},"comment_published_runtime":"npm install -g must not download next or @next/swc. Those, plus sql.js, yaml, and @node-saml/node-saml, stay devDependencies so local dev and build:cli can trace them into cli/app. The published tarball already ships that standalone server. confbox stays here because the CLI imports it directly.","comment_optional_runtime":"Optional packages are installed into ~/.zevai/runtime instead of the published tarball. Automation uses CloakBrowser with playwright-core; ZEVAI_MINIMAL_POSTINSTALL=1 skips its browser download. Other lazy runtimes are better-sqlite3, node-pty, and systray2.","overrides":{"body-parser":"^2.3.0","brace-expansion":"5.0.12","dompurify":"^3.4.12","ip-address":"^10.4.0","js-yaml":"4.3.2","nanoid":"^3.3.18","postcss":"^8.5.10","sharp":"0.35.5"},"comment_overrides":"Security floors for transitive dependencies. ESLint\'s legacy minimatch is a private, source-pinned 3.1.5 compatibility package backed by brace-expansion 5.0.9; modern minimatch and nanoid use fixed floors directly. Monaco still pins an old DOMPurify; Express, Next, ESLint, and image processing dependencies may resolve vulnerable body-parser, js-yaml, or sharp releases. Recheck and remove overrides once parent packages require fixed versions.","devDependencies":{"@dnd-kit/core":"^6.3.1","@dnd-kit/modifiers":"^9.0.0","@dnd-kit/sortable":"^10.0.0","@dnd-kit/utilities":"^3.2.2","@monaco-editor/react":"^4.7.0","@node-saml/node-saml":"5.1.0","@tailwindcss/postcss":"^4.1.18","@xterm/addon-fit":"^0.11.0","@xterm/addon-web-links":"^0.12.0","@xterm/xterm":"^6.0.0","@xyflow/react":"^12.10.1","bcryptjs":"^3.0.3","better-sqlite3":"^12.6.2","chalk":"^4.1.2","dompurify":"^3.4.12","esbuild":"^0.28.1","eslint":"^9","eslint-config-next":"16.4.2","express":"^5.2.1","jose":"^6.1.3","marked":"^18.0.1","material-symbols":"^0.45.1","minimatch":"file:vendor/minimatch3-secure","monaco-editor":"^0.55.1","next":"16.4.2","node-forge":"^1.4.2","open":"^11.0.0","ora":"^9.1.0","postcss":"^8.5.10","prop-types":"^15.8.1","react-is":"^19.2.7","recharts":"^3.7.0","selfsigned":"^5.5.0","socks":"^2.8.9","socks-proxy-agent":"^10.1.0","sql.js":"1.14.1","tailwindcss":"^4","typescript":"6.0.3","undici":"^8.10.0","uuid":"^14.0.1","vitest":"4.1.12","yaml":"2.9.0","zustand":"^5.0.10"},"engines":{"node":">=22.5.0"},"keywords":["zevairouter","zevai","ai","router","proxy","kiro","codebuddy","claude","openai","api","quota","automation"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Verifiedlabs/zevairouter.git"},"bugs":{"url":"https://github.com/Verifiedlabs/zevairouter/issues"},"homepage":"https://github.com/Verifiedlabs/zevairouter"}')},43591:(a,b,c)=>{c.d(b,{A:()=>d});let d={id:"nace",alias:"nace",aliases:["drex"],category:"apikey",authType:"apikey",authModes:["apikey"],hasProviderSpecificData:!0,priority:48,display:{name:"Nace Drex",icon:"psychology",color:"#1D1D16",textIcon:"DX",website:"https://console.nace.ai",notice:{text:"Drex decision models on the System One protocol (noul / choice / score questions, calibrated probabilities). drex-max also accepts a top-level `images` array; drex-v2.0 is text-only. Paste a console.nace.ai API key (sent as a Bearer token).",apiKeyUrl:"https://console.nace.ai/dashboard/api-keys"}},models:[{id:"drex-max",name:"Drex Max",kind:"systemone"},{id:"drex-v2.0",name:"Drex 2.0",kind:"systemone"}],serviceKinds:["systemone"],systemoneConfig:{baseUrl:"https://console.nace.ai/v1/systemone",path:"/v1/systemone",authType:"apikey",authHeader:"bearer"}}},48806:(a,b,c)=>{c.d(b,{A:()=>d});let d={id:"xai",alias:"xai",category:"oauth",authModes:["oauth","apikey"],hasOAuth:!0,display:{name:"xAI (Grok)",icon:"auto_awesome",color:"#1DA1F2",textIcon:"XA",website:"https://x.ai",notice:{apiKeyUrl:"https://console.x.ai",signupUrl:"https://x.ai"}},models:[{id:"grok-imagine-video",name:"Grok Imagine Video",type:"video",params:["duration","aspect_ratio","resolution"]}],serviceKinds:["llm","imageToText","webSearch","image","video"],imageConfig:{baseUrl:"https://api.x.ai/v1/images/generations",bodyFields:["model","prompt","n","response_format"]},videoConfig:{baseUrl:"https://api.x.ai/v1/videos"},searchViaChat:{defaultModel:"grok-4.20-reasoning",endpoint:"https://api.x.ai/v1/responses",pricingUrl:"https://x.ai/api#pricing"}}},54098:(a,b,c)=>{c.d(b,{x:()=>e});var d=c(35024);function e(a,b){if(!b||!d.xq[b]?.quirks?.clineEnvelope)return a;let{success:c,data:e}=a||{};return!0!==c||!e||"object"!=typeof e||Array.isArray(e)?a:e}},54603:(a,b,c)=>{c.d(b,{Xj:()=>q});var d=c(19713),e=c(73024),f=c.n(e),g=c(76760),h=c.n(g),i=c(77598),j=c.n(i),k=c(49120);let l=h().join(k.DATA_DIR,"machine-id"),m=h().join(k.DATA_DIR,"auth"),n=h().join(m,"cli-secret"),o=null,p=null;async function q(a=null){let b=a||process.env.MACHINE_ID_SALT||"endpoint-proxy-salt",c=function(){if(o)return o;try{if(o=f().readFileSync(l,"utf8").trim())return o}catch{}try{o=(0,d.machineIdSync)()}catch{o=j().randomUUID()}try{f().mkdirSync(k.DATA_DIR,{recursive:!0}),f().writeFileSync(l,o,{mode:384})}catch{}return o}(),e="zevai-cli-auth"===b?function(){if(p)return p;try{if(p=f().readFileSync(n,"utf8").trim())return p}catch{}p=j().randomBytes(32).toString("hex");try{f().mkdirSync(m,{recursive:!0}),f().writeFileSync(n,p,{mode:384})}catch{}return p}():"";return j().createHash("sha256").update(c+b+e).digest("hex").substring(0,16)}},72236:(a,b,c)=>{c.d(b,{A:()=>d});let d={id:"v1m",alias:"v1m",aliases:["systemone","jev"],category:"apikey",authType:"apikey",authModes:["apikey"],hasProviderSpecificData:!0,priority:45,display:{name:"v1m (System One)",icon:"psychology",color:"#6366F1",textIcon:"V1",website:"https://v1m.ir",notice:{text:"v1m System One calibrated decision engine. Fast probabilistic evaluations over state and questions.",apiKeyUrl:"https://v1m.ir"}},models:[{id:"rev-latest",name:"v1m Rev Latest (Calibrated)",kind:"systemone"},{id:"v1m-decision-engine",name:"v1m Decision Engine",kind:"systemone"}],serviceKinds:["systemone"],systemoneConfig:{baseUrl:"https://v1m.ir/v1/systemone",authType:"apikey",authHeader:"bearer"}}},81329:(a,b,c)=>{c.d(b,{Xg:()=>d.Xg,eh:()=>e,u0:()=>d.u0,vq:()=>d.vq});var d=c(19548);new Set(Object.entries(c(17404).AI_PROVIDERS).filter(([,a])=>a.passthroughModels).map(([a])=>a));let e=Object.entries(d.vq).flatMap(([a,b])=>b.map(b=>({provider:a,model:b.id,name:b.name})))}};
|
|
1
|
+
"use strict";exports.id=6166,exports.ids=[6166],exports.modules={30869:(a,b,c)=>{c.d(b,{UY:()=>i,X3:()=>k,eh:()=>f.eh,fg:()=>e.fg,h0:()=>h,oc:()=>j,vQ:()=>g});var d=c(39006),e=c(17404),f=c(81329);let g={name:"ZevaiRouter",description:"AI Infrastructure Management",version:d.version},h={npmPackageName:"zevairouter",installCmd:"npm i -g zevairouter",installCmdLatest:"npm i -g zevairouter@latest --prefer-online",shutdownCountdownSec:3,exitDelayMs:500,statusPort:20129,statusPollIntervalMs:1e3,statusLogTailLines:8,installRetries:3,installRetryDelayMs:5e3,lingerAfterDoneMs:3e4,waitForExitMinMs:5e3,waitForExitMaxMs:2e4,waitForExitCheckMs:500,appPort:1997},i={maxLines:200,pollIntervalMs:1e3},j={tickIntervalMs:6e4,pingLeadMs:5e3,refreshAheadMs:3e5,failureCooldownMs:9e5,providers:{claude:{settingsKey:"claudeAutoPing",quotaKey:"session (5h)",pingModel:"claude-haiku-4-5-20251001",pingText:"hi",pingMaxTokens:1},codex:{settingsKey:"codexAutoPing",quotaKey:"session",pingWhenResetAtSlides:!0,resetAtDriftMs:3e4,minPingIntervalMs:6e5,skipWhenBlockingQuotaExhausted:!0,pingModel:"gpt-5.5",pingText:"hi",pingInstructions:"Reply with OK.",pingReasoningEffort:"none"}}},k={openrouter:"https://openrouter.ai/api/v1/chat/completions",glm:"https://api.z.ai/api/anthropic/v1/messages","glm-cn":"https://open.bigmodel.cn/api/coding/paas/v4/chat/completions",kimi:"https://api.kimi.com/coding/v1/messages",minimax:"https://api.minimax.io/anthropic/v1/messages","minimax-cn":"https://api.minimaxi.com/anthropic/v1/messages",alicode:"https://coding.dashscope.aliyuncs.com/v1/chat/completions","alicode-intl":"https://coding-intl.dashscope.aliyuncs.com/v1/chat/completions","volcengine-ark":"https://ark.cn-beijing.volces.com/api/coding/v3/chat/completions",byteplus:"https://ark.ap-southeast.bytepluses.com/api/coding/v3/chat/completions",openai:"https://api.openai.com/v1/chat/completions","vercel-ai-gateway":"https://ai-gateway.vercel.sh/v1/chat/completions",anthropic:"https://api.anthropic.com/v1/messages",gemini:"https://generativelanguage.googleapis.com/v1beta/models",ollama:"https://ollama.com/api/chat","ollama-local":"http://localhost:11434/api/chat"}},38238:(a,b,c)=>{c.d(b,{OU:()=>j,PL:()=>o,Yd:()=>i});var d=c(89718),e=c(17404),f=c(54098),g=c(30869),h=c(54603);function i(a,b){let c="string"==typeof b?b:b?JSON.stringify(b):"";for(let a=0;a<3;a++){let a=c.replace(/^\s*(?:HTTP\s+)?\[?\d{3}\]?\s*:\s*/i,""),b=a;try{let c=JSON.parse(a),d=c?.error?.message||c?.message||c?.error;"string"==typeof d&&d&&(b=d)}catch{}if(b===c)break;c=b}return c=c.trim(),`HTTP ${a}${c?`: ${c.slice(0,240)}`:""}`}async function j(a=null){let b=null;try{let a=await (0,d.PX)(!0);b=a.find(a=>!1!==a.isActive)?.key||null}catch{}let c={"Content-Type":"application/json"};return b&&(c.Authorization=`Bearer ${b}`),c["x-zevai-cli-token"]=await (0,h.Xj)("zevai-cli-auth"),a&&(c["x-zevai-connection-id"]=a),c}function k(a){return"string"==typeof a?a.trim():""}function l(a){return a&&"object"==typeof a?k(a.reasoning||a.reasoning_content||a.thinking||a.thinking_content):""}function m(){return{ok:!1,error:"Probe timed out before a usable response",status:408}}async function n(a,b){let c=a.body?.getReader?.();if(!c)return{ok:!1,error:"Provider stream ended without a usable response"};let d=new TextDecoder,e="",g=null;try{for(;!g;){let{value:a,done:h}=await c.read();if(h)break;let i=(e+=d.decode(a,{stream:!0})).split(/\r?\n/);for(let a of(e=i.pop()||"",i)){let c=a.trim();if(!c||c.startsWith(":")||!c.startsWith("data:"))continue;let d=c.slice(5).trim();if("[DONE]"===d){g||(g={ok:!1,error:"Provider stream ended without a usable response"});break}let e=null;try{e=JSON.parse(d)}catch{continue}e=(0,f.x)(e,b);let h=function(a){if(!a||"object"!=typeof a)return null;if(a.error)return{ok:!1,error:String(a.error?.message||a.error).slice(0,240)};let b=Array.isArray(a.choices)?a.choices[0]:null;if(!b)return null;let c=k(b.delta?.content||b.message?.content),d=l(b.delta)||l(b.message);return c?{ok:!0}:d?{ok:!0,note:"reasoning-only response (length-limited)"}:null}(e);if(h?.ok===!1){g=h;break}h?.ok&&(g=h)}}}catch(a){if(g?.ok)return g;if(a?.name==="TimeoutError"||a?.name==="AbortError")return m();throw a}finally{await c.cancel().catch(()=>{})}return g||{ok:!1,error:"Provider stream ended without a usable response"}}async function o(a,b,c=`http://127.0.0.1:${process.env.PORT||g.h0.appPort}`,d={}){let h,p,q=await j(d.connectionId),r=Date.now();if("embedding"===b){let b=await fetch(`${c}/api/v1/embeddings`,{method:"POST",headers:q,body:JSON.stringify({model:a,input:"test"}),signal:AbortSignal.timeout(15e3)}),d=Date.now()-r,e=await b.text().catch(()=>""),f=null;try{f=e?JSON.parse(e):null}catch{}if(!b.ok){let a=f?.error?.message||f?.error||e;return{ok:!1,latencyMs:d,error:i(b.status,a),status:b.status}}return Array.isArray(f?.data)&&f.data.length>0&&Array.isArray(f.data[0]?.embedding)?{ok:!0,latencyMs:d,error:null,status:b.status}:{ok:!1,latencyMs:d,status:b.status,error:"Provider returned no embedding data"}}if("image"===b){let b=await fetch(`${c}/api/v1/images/generations`,{method:"POST",headers:q,body:JSON.stringify({model:a,prompt:"test"}),signal:AbortSignal.timeout(15e3)}),d=Date.now()-r,e=await b.text().catch(()=>""),f=null;try{f=e?JSON.parse(e):null}catch{}if(!b.ok){let a=f?.error?.message||f?.msg||f?.message||f?.error||e;return{ok:!1,latencyMs:d,error:i(b.status,a),status:b.status}}return Array.isArray(f?.data)&&f.data.length>0?{ok:!0,latencyMs:d,error:null,status:b.status}:{ok:!1,latencyMs:d,status:b.status,error:"Provider returned no image data for this model"}}if("stt"===b){let b,d,e,f,g=new FormData,h=(e=new DataView(d=new ArrayBuffer(44+(b=8e3))),(f=(a,b)=>{for(let c=0;c<b.length;c+=1)e.setUint8(a+c,b.charCodeAt(c))})(0,"RIFF"),e.setUint32(4,36+b,!0),f(8,"WAVE"),f(12,"fmt "),e.setUint32(16,16,!0),e.setUint16(20,1,!0),e.setUint16(22,1,!0),e.setUint32(24,16e3,!0),e.setUint32(28,32e3,!0),e.setUint16(32,2,!0),e.setUint16(34,16,!0),f(36,"data"),e.setUint32(40,b,!0),new Blob([d],{type:"audio/wav"}));g.append("file",h,"test.wav"),g.append("model",a);let j=await fetch(`${c}/api/v1/audio/transcriptions`,{method:"POST",headers:Object.fromEntries(Object.entries(q).filter(([a])=>"content-type"!==a.toLowerCase())),body:g,signal:AbortSignal.timeout(15e3)}),k=Date.now()-r,l=await j.text().catch(()=>""),m=null;try{m=l?JSON.parse(l):null}catch{}if(!j.ok){let a=m?.error?.message||m?.msg||m?.message||m?.error||l;return{ok:!1,latencyMs:k,error:i(j.status,a),status:j.status}}return("string"==typeof m?.text?m.text:"").trim()?{ok:!0,latencyMs:k,error:null,status:j.status}:{ok:!1,latencyMs:k,status:j.status,error:"Provider returned no transcription text for this model"}}if("systemone"===b){let b=await fetch(`${c}/api/v1/systemone`,{method:"POST",headers:q,body:JSON.stringify({model:a,state:"Customer: I was charged twice for my order this morning.",questions:{probe:{type:"noul",instructions:"Is the customer reporting a billing problem?"}}}),signal:AbortSignal.timeout(15e3)}),d=Date.now()-r,e=await b.text().catch(()=>""),f=null;try{f=e?JSON.parse(e):null}catch{}if(!b.ok){let a=f?.error?.message||f?.msg||f?.message||f?.error||e;return{ok:!1,latencyMs:d,error:`HTTP ${b.status}${a?`: ${String(a).slice(0,240)}`:""}`,status:b.status}}return f?.answers&&"object"==typeof f.answers&&Object.keys(f.answers).length>0?{ok:!0,latencyMs:d,error:null,status:b.status}:{ok:!1,latencyMs:d,status:b.status,error:"Provider returned no answers for this model"}}let s=(0,e.rs)(String(a).split("/")[0]),t=Number.isFinite(d.timeoutMs)?d.timeoutMs:(p=String(a||"").split("/")[0],"antigravity"===(0,e.rs)(p)?3e4:15e3);try{h=await fetch(`${c}/api/v1/chat/completions`,{method:"POST",headers:{...q,"x-zevai-probe":"first-token"},body:JSON.stringify({model:a,max_tokens:1024,stream:!0,messages:[{role:"user",content:"hi"}]}),signal:AbortSignal.timeout(t)})}catch(a){if(a?.name==="TimeoutError"||a?.name==="AbortError")return{...m(),latencyMs:Date.now()-r};return{ok:!1,latencyMs:Date.now()-r,error:a?.message||"Probe failed",status:0}}if(!h.ok){let a=await h.text().catch(()=>""),b=null;try{b=a?JSON.parse(a):null}catch{}b=(0,f.x)(b,s);let c=b?.error?.message||b?.msg||b?.message||b?.error||a;return{ok:!1,latencyMs:Date.now()-r,error:i(h.status,c),status:h.status}}if((h.headers.get("content-type")||"").includes("text/event-stream")){let a=await n(h,s);return{...a,latencyMs:Date.now()-r,status:h.status,error:a.error||null}}let u=await h.text().catch(()=>""),v=null;try{v=u?JSON.parse(u):null}catch{}let w=function(a){let b=a?.status,c=a?.msg||a?.message;if(null!=b&&"200"!==String(b)&&"0"!==String(b)&&c)return{ok:!1,error:`Provider status ${b}: ${String(c).slice(0,240)}`};if(a?.error)return{ok:!1,error:String(a?.error?.message||a?.error||"Provider returned an error").slice(0,240)};let d=Array.isArray(a?.choices)&&a.choices.length>0,e=a?.choices?.[0]||{},f=l(e.message),g=!k(e.message?.content);return d&&"length"===e.finish_reason&&g&&f?{ok:!0,note:"reasoning-only response (length-limited)"}:d&&(!g||f)?{ok:!0}:{ok:!1,error:"Provider returned no completion choices for this model"}}(v=(0,f.x)(v,s));return{ok:w.ok,latencyMs:Date.now()-r,status:h.status,error:w.ok?null:w.error,...w.note?{note:w.note}:{}}}},39006:a=>{a.exports=JSON.parse('{"name":"zevairouter","version":"1.1.72","description":"Self-hosted AI router: many providers, one OpenAI-compatible /v1 endpoint and dashboard","bin":{"zevai":"cli/cli.js"},"files":["cli/cli.js","cli/app/","!cli/app/.next-cli-build/cache/","!cli/app/.next-cli-build/server/route-cache/","cli/hooks/","cli/src/","cli/package.json","cli/README.md","cli/LICENSE","scripts/start-standalone.mjs","scripts/gflow-reply-capture.py","scripts/flow-vps-setup.sh","vendor/aistudio-waa/","skills/","README.md","README.zh-CN.md","DOCKER.md","LICENSE","CHANGELOG.md"],"scripts":{"dev":"next dev --webpack --port 1997","build":"node scripts/build-app.mjs","start":"node ./scripts/start-standalone.mjs","dev:bun":"bun --bun next dev --webpack --port 1997","build:bun":"bun --bun next build --webpack","start:bun":"bun ./.next/standalone/server.js","lint":"eslint .","test":"vitest run --config tests/vitest.config.js","build:cli":"node cli/scripts/build-cli.js","audit:package":"node cli/scripts/audit-package.mjs","smoke:package":"node cli/scripts/smoke-package.mjs","verify:mobile-scroll":"node cli/scripts/verify-dashboard-mobile-scroll.mjs","candidate:build":"node cli/scripts/local-candidate.mjs build","candidate:install":"node cli/scripts/local-candidate.mjs install","candidate:status":"node cli/scripts/local-candidate.mjs status","candidate:rollback":"node cli/scripts/local-candidate.mjs rollback","release":"node cli/scripts/release.js","prepack":"npm run build:cli && npm run audit:package","postinstall":"node cli/hooks/postinstall.js"},"dependencies":{"confbox":"0.2.4","node-machine-id":"1.1.12","react":"19.2.4","react-dom":"19.2.4"},"comment_published_runtime":"npm install -g must not download next or @next/swc. Those, plus sql.js, yaml, and @node-saml/node-saml, stay devDependencies so local dev and build:cli can trace them into cli/app. The published tarball already ships that standalone server. confbox stays here because the CLI imports it directly.","comment_optional_runtime":"Optional packages are installed into ~/.zevai/runtime instead of the published tarball. Automation uses CloakBrowser with playwright-core; ZEVAI_MINIMAL_POSTINSTALL=1 skips its browser download. Other lazy runtimes are better-sqlite3, node-pty, and systray2.","overrides":{"body-parser":"^2.3.0","brace-expansion":"5.0.12","dompurify":"^3.4.12","ip-address":"^10.4.0","js-yaml":"4.3.2","nanoid":"^3.3.18","postcss":"^8.5.10","sharp":"0.35.5"},"comment_overrides":"Security floors for transitive dependencies. ESLint\'s legacy minimatch is a private, source-pinned 3.1.5 compatibility package backed by brace-expansion 5.0.9; modern minimatch and nanoid use fixed floors directly. Monaco still pins an old DOMPurify; Express, Next, ESLint, and image processing dependencies may resolve vulnerable body-parser, js-yaml, or sharp releases. Recheck and remove overrides once parent packages require fixed versions.","devDependencies":{"@dnd-kit/core":"^6.3.1","@dnd-kit/modifiers":"^9.0.0","@dnd-kit/sortable":"^10.0.0","@dnd-kit/utilities":"^3.2.2","@monaco-editor/react":"^4.7.0","@node-saml/node-saml":"5.1.0","@tailwindcss/postcss":"^4.1.18","@xterm/addon-fit":"^0.11.0","@xterm/addon-web-links":"^0.12.0","@xterm/xterm":"^6.0.0","@xyflow/react":"^12.10.1","bcryptjs":"^3.0.3","better-sqlite3":"^12.6.2","chalk":"^4.1.2","dompurify":"^3.4.12","esbuild":"^0.28.1","eslint":"^9","eslint-config-next":"16.4.2","express":"^5.2.1","jose":"^6.1.3","marked":"^18.0.1","material-symbols":"^0.45.1","minimatch":"file:vendor/minimatch3-secure","monaco-editor":"^0.55.1","next":"16.4.2","node-forge":"^1.4.2","open":"^11.0.0","ora":"^9.1.0","postcss":"^8.5.10","prop-types":"^15.8.1","react-is":"^19.2.7","recharts":"^3.7.0","selfsigned":"^5.5.0","socks":"^2.8.9","socks-proxy-agent":"^10.1.0","sql.js":"1.14.1","tailwindcss":"^4","typescript":"6.0.3","undici":"^8.10.0","uuid":"^14.0.1","vitest":"4.1.12","yaml":"2.9.0","zustand":"^5.0.10"},"engines":{"node":">=22.5.0"},"keywords":["zevairouter","zevai","ai","router","proxy","kiro","codebuddy","claude","openai","api","quota","automation"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Verifiedlabs/zevairouter.git"},"bugs":{"url":"https://github.com/Verifiedlabs/zevairouter/issues"},"homepage":"https://github.com/Verifiedlabs/zevairouter"}')},43591:(a,b,c)=>{c.d(b,{A:()=>d});let d={id:"nace",alias:"nace",aliases:["drex"],category:"apikey",authType:"apikey",authModes:["apikey"],hasProviderSpecificData:!0,priority:48,display:{name:"Nace Drex",icon:"psychology",color:"#1D1D16",textIcon:"DX",website:"https://console.nace.ai",notice:{text:"Drex decision models on the System One protocol (noul / choice / score questions, calibrated probabilities). drex-max also accepts a top-level `images` array; drex-v2.0 is text-only. Paste a console.nace.ai API key (sent as a Bearer token).",apiKeyUrl:"https://console.nace.ai/dashboard/api-keys"}},models:[{id:"drex-max",name:"Drex Max",kind:"systemone"},{id:"drex-v2.0",name:"Drex 2.0",kind:"systemone"}],serviceKinds:["systemone"],systemoneConfig:{baseUrl:"https://console.nace.ai/v1/systemone",path:"/v1/systemone",authType:"apikey",authHeader:"bearer"}}},48806:(a,b,c)=>{c.d(b,{A:()=>d});let d={id:"xai",alias:"xai",category:"oauth",authModes:["oauth","apikey"],hasOAuth:!0,display:{name:"xAI (Grok)",icon:"auto_awesome",color:"#1DA1F2",textIcon:"XA",website:"https://x.ai",notice:{apiKeyUrl:"https://console.x.ai",signupUrl:"https://x.ai"}},models:[{id:"grok-imagine-video",name:"Grok Imagine Video",type:"video",params:["duration","aspect_ratio","resolution"]}],serviceKinds:["llm","imageToText","webSearch","image","video"],imageConfig:{baseUrl:"https://api.x.ai/v1/images/generations",bodyFields:["model","prompt","n","response_format"]},videoConfig:{baseUrl:"https://api.x.ai/v1/videos"},searchViaChat:{defaultModel:"grok-4.20-reasoning",endpoint:"https://api.x.ai/v1/responses",pricingUrl:"https://x.ai/api#pricing"}}},54098:(a,b,c)=>{c.d(b,{x:()=>e});var d=c(35024);function e(a,b){if(!b||!d.xq[b]?.quirks?.clineEnvelope)return a;let{success:c,data:e}=a||{};return!0!==c||!e||"object"!=typeof e||Array.isArray(e)?a:e}},54603:(a,b,c)=>{c.d(b,{Xj:()=>q});var d=c(19713),e=c(73024),f=c.n(e),g=c(76760),h=c.n(g),i=c(77598),j=c.n(i),k=c(49120);let l=h().join(k.DATA_DIR,"machine-id"),m=h().join(k.DATA_DIR,"auth"),n=h().join(m,"cli-secret"),o=null,p=null;async function q(a=null){let b=a||process.env.MACHINE_ID_SALT||"endpoint-proxy-salt",c=function(){if(o)return o;try{if(o=f().readFileSync(l,"utf8").trim())return o}catch{}try{o=(0,d.machineIdSync)()}catch{o=j().randomUUID()}try{f().mkdirSync(k.DATA_DIR,{recursive:!0}),f().writeFileSync(l,o,{mode:384})}catch{}return o}(),e="zevai-cli-auth"===b?function(){if(p)return p;try{if(p=f().readFileSync(n,"utf8").trim())return p}catch{}p=j().randomBytes(32).toString("hex");try{f().mkdirSync(m,{recursive:!0}),f().writeFileSync(n,p,{mode:384})}catch{}return p}():"";return j().createHash("sha256").update(c+b+e).digest("hex").substring(0,16)}},72236:(a,b,c)=>{c.d(b,{A:()=>d});let d={id:"v1m",alias:"v1m",aliases:["systemone","jev"],category:"apikey",authType:"apikey",authModes:["apikey"],hasProviderSpecificData:!0,priority:45,display:{name:"v1m (System One)",icon:"psychology",color:"#6366F1",textIcon:"V1",website:"https://v1m.ir",notice:{text:"v1m System One calibrated decision engine. Fast probabilistic evaluations over state and questions.",apiKeyUrl:"https://v1m.ir"}},models:[{id:"rev-latest",name:"v1m Rev Latest (Calibrated)",kind:"systemone"},{id:"v1m-decision-engine",name:"v1m Decision Engine",kind:"systemone"}],serviceKinds:["systemone"],systemoneConfig:{baseUrl:"https://v1m.ir/v1/systemone",authType:"apikey",authHeader:"bearer"}}},81329:(a,b,c)=>{c.d(b,{Xg:()=>d.Xg,eh:()=>e,u0:()=>d.u0,vq:()=>d.vq});var d=c(19548);new Set(Object.entries(c(17404).AI_PROVIDERS).filter(([,a])=>a.passthroughModels).map(([a])=>a));let e=Object.entries(d.vq).flatMap(([a,b])=>b.map(b=>({provider:a,model:b.id,name:b.name})))}};
|
|
@@ -3,7 +3,7 @@ MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA8iMH5c02LilrsERw9t6Pv5Nc
|
|
|
3
3
|
4k6Pz1EaDicBMpdpxKduSZu5OANqUq8er4GM95omAGIOPOh+Nx0spthYA2BqGz+l
|
|
4
4
|
6HRkPJ7S236FZz73In/KVuLnwI8JJ2CbuJap8kvheCCZpmAWpb/cPx/3Vr/J6I17
|
|
5
5
|
XcW+ML9FoCI6AOvOzwIDAQAB
|
|
6
|
-
-----END PUBLIC KEY-----`},39006:a=>{a.exports=JSON.parse('{"name":"zevairouter","version":"1.1.
|
|
6
|
+
-----END PUBLIC KEY-----`},39006:a=>{a.exports=JSON.parse('{"name":"zevairouter","version":"1.1.72","description":"Self-hosted AI router: many providers, one OpenAI-compatible /v1 endpoint and dashboard","bin":{"zevai":"cli/cli.js"},"files":["cli/cli.js","cli/app/","!cli/app/.next-cli-build/cache/","!cli/app/.next-cli-build/server/route-cache/","cli/hooks/","cli/src/","cli/package.json","cli/README.md","cli/LICENSE","scripts/start-standalone.mjs","scripts/gflow-reply-capture.py","scripts/flow-vps-setup.sh","vendor/aistudio-waa/","skills/","README.md","README.zh-CN.md","DOCKER.md","LICENSE","CHANGELOG.md"],"scripts":{"dev":"next dev --webpack --port 1997","build":"node scripts/build-app.mjs","start":"node ./scripts/start-standalone.mjs","dev:bun":"bun --bun next dev --webpack --port 1997","build:bun":"bun --bun next build --webpack","start:bun":"bun ./.next/standalone/server.js","lint":"eslint .","test":"vitest run --config tests/vitest.config.js","build:cli":"node cli/scripts/build-cli.js","audit:package":"node cli/scripts/audit-package.mjs","smoke:package":"node cli/scripts/smoke-package.mjs","verify:mobile-scroll":"node cli/scripts/verify-dashboard-mobile-scroll.mjs","candidate:build":"node cli/scripts/local-candidate.mjs build","candidate:install":"node cli/scripts/local-candidate.mjs install","candidate:status":"node cli/scripts/local-candidate.mjs status","candidate:rollback":"node cli/scripts/local-candidate.mjs rollback","release":"node cli/scripts/release.js","prepack":"npm run build:cli && npm run audit:package","postinstall":"node cli/hooks/postinstall.js"},"dependencies":{"confbox":"0.2.4","node-machine-id":"1.1.12","react":"19.2.4","react-dom":"19.2.4"},"comment_published_runtime":"npm install -g must not download next or @next/swc. Those, plus sql.js, yaml, and @node-saml/node-saml, stay devDependencies so local dev and build:cli can trace them into cli/app. The published tarball already ships that standalone server. confbox stays here because the CLI imports it directly.","comment_optional_runtime":"Optional packages are installed into ~/.zevai/runtime instead of the published tarball. Automation uses CloakBrowser with playwright-core; ZEVAI_MINIMAL_POSTINSTALL=1 skips its browser download. Other lazy runtimes are better-sqlite3, node-pty, and systray2.","overrides":{"body-parser":"^2.3.0","brace-expansion":"5.0.12","dompurify":"^3.4.12","ip-address":"^10.4.0","js-yaml":"4.3.2","nanoid":"^3.3.18","postcss":"^8.5.10","sharp":"0.35.5"},"comment_overrides":"Security floors for transitive dependencies. ESLint\'s legacy minimatch is a private, source-pinned 3.1.5 compatibility package backed by brace-expansion 5.0.9; modern minimatch and nanoid use fixed floors directly. Monaco still pins an old DOMPurify; Express, Next, ESLint, and image processing dependencies may resolve vulnerable body-parser, js-yaml, or sharp releases. Recheck and remove overrides once parent packages require fixed versions.","devDependencies":{"@dnd-kit/core":"^6.3.1","@dnd-kit/modifiers":"^9.0.0","@dnd-kit/sortable":"^10.0.0","@dnd-kit/utilities":"^3.2.2","@monaco-editor/react":"^4.7.0","@node-saml/node-saml":"5.1.0","@tailwindcss/postcss":"^4.1.18","@xterm/addon-fit":"^0.11.0","@xterm/addon-web-links":"^0.12.0","@xterm/xterm":"^6.0.0","@xyflow/react":"^12.10.1","bcryptjs":"^3.0.3","better-sqlite3":"^12.6.2","chalk":"^4.1.2","dompurify":"^3.4.12","esbuild":"^0.28.1","eslint":"^9","eslint-config-next":"16.4.2","express":"^5.2.1","jose":"^6.1.3","marked":"^18.0.1","material-symbols":"^0.45.1","minimatch":"file:vendor/minimatch3-secure","monaco-editor":"^0.55.1","next":"16.4.2","node-forge":"^1.4.2","open":"^11.0.0","ora":"^9.1.0","postcss":"^8.5.10","prop-types":"^15.8.1","react-is":"^19.2.7","recharts":"^3.7.0","selfsigned":"^5.5.0","socks":"^2.8.9","socks-proxy-agent":"^10.1.0","sql.js":"1.14.1","tailwindcss":"^4","typescript":"6.0.3","undici":"^8.10.0","uuid":"^14.0.1","vitest":"4.1.12","yaml":"2.9.0","zustand":"^5.0.10"},"engines":{"node":">=22.5.0"},"keywords":["zevairouter","zevai","ai","router","proxy","kiro","codebuddy","claude","openai","api","quota","automation"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Verifiedlabs/zevairouter.git"},"bugs":{"url":"https://github.com/Verifiedlabs/zevairouter/issues"},"homepage":"https://github.com/Verifiedlabs/zevairouter"}')},53225:(a,b,c)=>{c.d(b,{EV:()=>m,X5:()=>l});var d=c(55511),e=c(39609),f=c(78085),g=c(21031),h=c(30022);let i=new Map,j=new Map;async function k(a,b,c=null,d="intl"){let g,i,j={userId:(i=a?.providerSpecificData||{}).userId,authToken:a.accessToken,name:a.displayName||"",email:a.email||"",machineId:i.machineId||""};if(!j.userId||!j.authToken)return null;let l=`${(0,h.e9)(a,d)}/algo/api/v2/model/list`,m={Accept:"application/json","Accept-Encoding":"identity",...(0,f.d)(Buffer.alloc(0),l,j)},n=new AbortController,o=null,p=null;try{o=setTimeout(()=>n.abort("timeout"),15e3),b&&"function"==typeof b.addEventListener&&(b.aborted?n.abort(b.reason):(p=()=>n.abort(b.reason),b.addEventListener("abort",p))),g=await (0,e.proxyAwareFetch)(l,{method:"GET",headers:m,signal:n.signal},c)}finally{o&&clearTimeout(o),b&&p&&b.removeEventListener("abort",p)}if(!g.ok)return null;let q=await g.json().catch(()=>null);if(!q||!Array.isArray(q.chat))return null;let r=[],s=new Map;for(let a of q.chat){if(!a||"object"!=typeof a)continue;let b=a.key;if(!b||(s.set(b,a),!1===a.enable))continue;let c=a.display_name||b,d=Number(a.max_input_tokens)||131072;r.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||""})}return function(a){let b=[...a.models],c=new Map(a.rawConfigs),d=new Set([...b.map(a=>a.id),...c.keys()]);for(let[a,e]of Object.entries(h.Xx))d.has(a)||(c.set(a,{...e,key:a}),b.push({id:a,name:e.display_name||a,contextLength:e.max_input_tokens||18e4,isVL:!0===e.is_vl,isReasoning:!0===e.is_reasoning,maxOutputTokens:0,description:""}));return{models:b,rawConfigs:c}}({models:r,rawConfigs:s})}async function l(a,b,c={}){let d=await m(a,c),e=d?.rawConfigs?.get(b)||(0,h.TG)(b);return e?{...e,key:b}:null}async function m(a,b={}){var c;let e,f,l,n=b.region||(0,h.ty)(a?.provider);try{e=await (0,g.iC)(a,{...b,region:n})}catch(a){return b.log?.warn?.("QODER","PAT exchange failed",{code:a?.code||null,status:a?.status||null}),null}if(!e?.accessToken||(e.provider||(e={...e,provider:"cn"===n?"qoder-cn":"qoder"}),!(e.providerSpecificData||{}).userId))return null;let o=(c=e,f=(c?.providerSpecificData||{}).userId||c?.refreshToken||c?.accessToken||"anonymous",l=(0,h.ty)(c?.provider),(0,d.createHash)("sha256").update(`qoder:${l}:${f}`).digest("hex")),p=Date.now();if(!b.forceRefresh){let a=i.get(o);if(a&&a.expiresAt>p)return a}let q=j.get(o);if(q&&!b.forceRefresh)return q;let r=(async()=>{let a=await k(e,b.signal,b.proxyOptions,n);if(!a)return null;let c={expiresAt:Date.now()+36e5,models:a.models,rawConfigs:a.rawConfigs,fetched:!0};return i.set(o,c),c})();j.set(o,r);try{return await r}finally{j.get(o)===r&&j.delete(o)}}},78085:(a,b,c)=>{c.d(b,{d:()=>i});var d=c(55511),e=c.n(d),f=c(47293),g=c(30022);function h(a){return e().createHash("md5").update(a).digest("hex")}function i(a,b,c){var d;let i,j;if(!c?.userId)throw Error("cosy: user id is empty");if(!c?.authToken)throw Error("cosy: auth token is empty");let k=Buffer.isBuffer(a)?a:"string"==typeof a?Buffer.from(a,"latin1"):Buffer.from(a||[]),{cosyKey:l,info:m}=(d={uid:c.userId,security_oauth_token:c.authToken,name:c.name||"",aid:"",email:c.email||""},i=(0,f.A)().slice(0,16),j=function(a,b){var c;let d,f,g=Buffer.from(b,"utf8");if(16!==g.length)throw Error(`aes key must be 16 bytes, got ${g.length}`);let h=g.subarray(0,16),i=e().createCipheriv("aes-128-cbc",g,h);i.setAutoPadding(!1);let j=(d=16-(c=Buffer.from(a,"utf8")).length%16,f=Buffer.alloc(c.length+d,d),c.copy(f,0),f);return Buffer.concat([i.update(j),i.final()]).toString("base64")}(JSON.stringify(d),i),{cosyKey:e().publicEncrypt({key:g.pr,padding:e().constants.RSA_PKCS1_PADDING},Buffer.from(i,"utf8")).toString("base64"),info:j}),n=String(Math.floor(Date.now()/1e3)),o=JSON.stringify({version:"v1",requestId:(0,f.A)(),info:m,cosyVersion:g.cT,ideVersion:""}),p=Buffer.from(o,"utf8").toString("base64"),q=function(a){let b;try{b=new URL(a).pathname||""}catch{return""}return b.startsWith("/algo")?b.slice(5):b}(b),r=`${p}
|
|
7
7
|
${l}
|
|
8
8
|
${n}
|
|
9
9
|
${k.toString("latin1")}
|