@yina-npm/openrouterx 0.4.80 → 0.5.10
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/LICENSE +22 -1
- package/README.md +72 -420
- package/app/.next-cli-build/BUILD_ID +1 -0
- package/app/.next-cli-build/app-path-routes-manifest.json +170 -0
- package/app/.next-cli-build/build-manifest.json +20 -0
- package/app/.next-cli-build/prerender-manifest.json +239 -0
- package/app/.next-cli-build/required-server-files.json +380 -0
- package/app/.next-cli-build/routes-manifest.json +1131 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/admin/keys/page.js +2 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/admin/keys/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/admin/keys/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/admin/users/page.js +2 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/admin/users/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/admin/users/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +24 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +2 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +2 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +2 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +60 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +5 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +2 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +2 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +2 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +11 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +2 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +2 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +5 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +3 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +2 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +2 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +2 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/user/page.js +5 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/user/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/user/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/_global-error/page.js +32 -0
- package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/_global-error.html +1 -0
- package/app/.next-cli-build/server/app/_global-error.rsc +14 -0
- package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +14 -0
- package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +5 -0
- package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +5 -0
- package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +5 -0
- package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +5 -0
- package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -0
- package/app/.next-cli-build/server/app/_not-found/page.js +2 -0
- package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/_not-found.html +1 -0
- package/app/.next-cli-build/server/app/_not-found.rsc +21 -0
- package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +21 -0
- package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +6 -0
- package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +9 -0
- package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -0
- package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +5 -0
- package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +4 -0
- package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -0
- package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -0
- package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/auth/me/route.js +1 -0
- package/app/.next-cli-build/server/app/api/auth/me/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -0
- package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -0
- package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -0
- package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -0
- package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -0
- package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +17 -0
- package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -0
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -0
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -0
- package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -0
- package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/activate-account/route.js +2 -0
- package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/activate-account/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -0
- package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -0
- package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -0
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -0
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -0
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +9 -0
- package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -0
- package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +10 -0
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +3 -0
- package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -0
- package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -0
- package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -0
- package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -0
- package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/combos/route.js +1 -0
- package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -0
- package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/headroom/start/route_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -0
- package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/headroom/status/route_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -0
- package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/headroom/stop/route_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/api/health/route.js +1 -0
- package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/init/route.js +1 -0
- package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -0
- package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/keys/route.js +1 -0
- package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/locale/route.js +1 -0
- package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +7 -0
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +10 -0
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -0
- package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -0
- package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -0
- package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -0
- package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -0
- package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -0
- package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -0
- package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -0
- package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -0
- package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/models/route.js +1 -0
- package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/models/test/route.js +1 -0
- package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -0
- package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -0
- package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -0
- package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +4 -0
- package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -0
- package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -0
- package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -0
- package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -0
- package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -0
- package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -0
- package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -0
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -0
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/pricing/route.js +1 -0
- package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -0
- package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -0
- package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -0
- package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -0
- package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -0
- package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -0
- package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -0
- package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -0
- package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -0
- package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/providers/route.js +1 -0
- package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -0
- package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -0
- package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -0
- package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -0
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -0
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +43 -0
- package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +40 -0
- package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -0
- package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +33 -0
- package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -0
- package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -0
- package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -0
- package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/settings/route.js +1 -0
- package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -0
- package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/tags/route.js +1 -0
- package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -0
- package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +7 -0
- package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -0
- package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -0
- package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -0
- package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -0
- package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -0
- package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -0
- package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -0
- package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -0
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -0
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -0
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +5 -0
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -0
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -0
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/usage/api-keys/route.js +1 -0
- package/app/.next-cli-build/server/app/api/usage/api-keys/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -0
- package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -0
- package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -0
- package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -0
- package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -0
- package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -0
- package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -0
- package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/usage/stream/route.js +7 -0
- package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/users/[id]/route.js +1 -0
- package/app/.next-cli-build/server/app/api/users/[id]/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/users/route.js +1 -0
- package/app/.next-cli-build/server/app/api/users/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -0
- package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -0
- package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -0
- package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -0
- package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -0
- package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -0
- package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +4 -0
- package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -0
- package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -0
- package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -0
- package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -0
- package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -0
- package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -0
- package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -0
- package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/v1/route.js +1 -0
- package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -0
- package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -0
- package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -0
- package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -0
- package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/version/route.js +1 -0
- package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -0
- package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/version/update/route.js +1 -0
- package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/callback/page.js +2 -0
- package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/callback.html +1 -0
- package/app/.next-cli-build/server/app/callback.rsc +25 -0
- package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +25 -0
- package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +6 -0
- package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +9 -0
- package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +4 -0
- package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +9 -0
- package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +5 -0
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +2 -0
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -0
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +25 -0
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +25 -0
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +6 -0
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +9 -0
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +4 -0
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +9 -0
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +5 -0
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +5 -0
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +5 -0
- package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -0
- package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/index.html +1 -0
- package/app/.next-cli-build/server/app/index.rsc +20 -0
- package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +6 -0
- package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +20 -0
- package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +6 -0
- package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +9 -0
- package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +4 -0
- package/app/.next-cli-build/server/app/landing/page.js +2 -0
- package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/landing.html +1 -0
- package/app/.next-cli-build/server/app/landing.rsc +25 -0
- package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +25 -0
- package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +6 -0
- package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +9 -0
- package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +4 -0
- package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +9 -0
- package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +5 -0
- package/app/.next-cli-build/server/app/login/page.js +2 -0
- package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/login.html +1 -0
- package/app/.next-cli-build/server/app/login.rsc +26 -0
- package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +26 -0
- package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +6 -0
- package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +9 -0
- package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +5 -0
- package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +10 -0
- package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +5 -0
- package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +16 -0
- package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/page.js +2 -0
- package/app/.next-cli-build/server/app/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app-paths-manifest.json +170 -0
- package/app/.next-cli-build/server/chunks/1220.js +3 -0
- package/app/.next-cli-build/server/chunks/1241.js +1 -0
- package/app/.next-cli-build/server/chunks/1275.js +73 -0
- package/app/.next-cli-build/server/chunks/1350.js +2 -0
- package/app/.next-cli-build/server/chunks/1832.js +1 -0
- package/app/.next-cli-build/server/chunks/2059.js +1 -0
- package/app/.next-cli-build/server/chunks/2944.js +1 -0
- package/app/.next-cli-build/server/chunks/319.js +45 -0
- package/app/.next-cli-build/server/chunks/3412.js +1 -0
- package/app/.next-cli-build/server/chunks/3428.js +1 -0
- package/app/.next-cli-build/server/chunks/3535.js +1 -0
- package/app/.next-cli-build/server/chunks/3546.js +1 -0
- package/app/.next-cli-build/server/chunks/3913.js +64 -0
- package/app/.next-cli-build/server/chunks/412.js +7 -0
- package/app/.next-cli-build/server/chunks/4632.js +1 -0
- package/app/.next-cli-build/server/chunks/4922.js +9 -0
- package/app/.next-cli-build/server/chunks/5118.js +1 -0
- package/app/.next-cli-build/server/chunks/5296.js +1 -0
- package/app/.next-cli-build/server/chunks/5592.js +1 -0
- package/app/.next-cli-build/server/chunks/5615.js +43 -0
- package/app/.next-cli-build/server/chunks/5699.js +1 -0
- package/app/.next-cli-build/server/chunks/5816.js +1 -0
- package/app/.next-cli-build/server/chunks/5961.js +1 -0
- package/app/.next-cli-build/server/chunks/6001.js +1 -0
- package/app/.next-cli-build/server/chunks/602.js +1 -0
- package/app/.next-cli-build/server/chunks/6070.js +1 -0
- package/app/.next-cli-build/server/chunks/615.js +1 -0
- package/app/.next-cli-build/server/chunks/6151.js +1 -0
- package/app/.next-cli-build/server/chunks/6182.js +63 -0
- package/app/.next-cli-build/server/chunks/6306.js +1 -0
- package/app/.next-cli-build/server/chunks/6327.js +1 -0
- package/app/.next-cli-build/server/chunks/6482.js +11 -0
- package/app/.next-cli-build/server/chunks/6688.js +1 -0
- package/app/.next-cli-build/server/chunks/6763.js +1 -0
- package/app/.next-cli-build/server/chunks/6777.js +1 -0
- package/app/.next-cli-build/server/chunks/7244.js +1 -0
- package/app/.next-cli-build/server/chunks/7259.js +53 -0
- package/app/.next-cli-build/server/chunks/7774.js +120 -0
- package/app/.next-cli-build/server/chunks/7879.js +10 -0
- package/app/.next-cli-build/server/chunks/7937.js +170 -0
- package/app/.next-cli-build/server/chunks/801.js +3 -0
- package/app/.next-cli-build/server/chunks/8271.js +1 -0
- package/app/.next-cli-build/server/chunks/8895.js +58 -0
- package/app/.next-cli-build/server/chunks/8910.js +2 -0
- package/app/.next-cli-build/server/chunks/8920.js +1 -0
- package/app/.next-cli-build/server/chunks/9718.js +1 -0
- package/app/.next-cli-build/server/chunks/9787.js +31 -0
- package/app/.next-cli-build/server/chunks/9833.js +1 -0
- package/app/.next-cli-build/server/middleware-build-manifest.js +1 -0
- package/app/.next-cli-build/server/middleware.js +18 -0
- package/app/.next-cli-build/server/next-font-manifest.js +1 -0
- package/app/.next-cli-build/server/next-font-manifest.json +1 -0
- package/app/.next-cli-build/server/pages/404.html +1 -0
- package/app/.next-cli-build/server/pages/500.html +1 -0
- package/app/.next-cli-build/server/server-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/server-reference-manifest.json +1 -0
- package/app/.next-cli-build/static/DLZR81Hq9OqOrl2Xc2iHn/_buildManifest.js +1 -0
- package/app/.next-cli-build/static/chunks/1321-7d926378b0f39749.js +1 -0
- package/app/.next-cli-build/static/chunks/4072-932473fbd266d3f5.js +3 -0
- package/app/.next-cli-build/static/chunks/5497-53b71597ca1b53f8.js +7 -0
- package/app/.next-cli-build/static/chunks/6069-b72e6803d5df6bb0.js +53 -0
- package/app/.next-cli-build/static/chunks/705-979ff3eb195b9023.js +1 -0
- package/app/.next-cli-build/static/chunks/8982-6d1803817450bcd4.js +11 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/admin/keys/page-770d25a6e4c1c16b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/admin/users/page-c02ec2a52cb81f6c.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/page-00067a1ed47e8a1a.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-6b52a6040f91175e.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/page-7e1032515aa7b846.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-b0ea71f0ee7d3f0d.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/page-3255488cfa30dbe8.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-a803dd8339e39a59.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page-248f90bb1f8438b5.js +59 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/page-f2ad20d24fffaed1.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/page-9b1c19519a3fcdd6.js +4 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/page-c9d255cd986ec35f.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/page-6783a97fcd89ff19.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-35bb7f0efeba6102.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-5cfb7ca8b362af6f.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-1e127be17d25ddd8.js +10 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/page-7c91743514149c71.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-929ab76c6137174e.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-022d3cf41ae7126d.js +4 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-561f95b84b06ae49.js +2 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/page-88a024a500d543fa.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/page-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-2551a48ef918b89b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/user/page-2bb3871609a94258.js +4 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/layout-8151b85461a99f83.js +1 -0
- package/app/.next-cli-build/static/chunks/app/_global-error/page-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/login/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/me/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/status/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/activate-account/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/combos/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/health/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/init/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/keys/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/locale/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/alias/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/availability/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/custom/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/test/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pricing/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/client/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/settings/database/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/settings/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/shutdown/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tags/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/load/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/save/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/send/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/api-keys/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/history/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/users/[id]/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/users/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/models/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/search/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/version/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/version/update/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/dashboard/settings/pricing/page-fa3a6585ef16a942.js +1 -0
- package/app/.next-cli-build/static/chunks/app/layout-666059e0e271094b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/login/page-fc66d6d071e3bcf3.js +1 -0
- package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/app/page-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-f514bcc6e633f162.js +1 -0
- package/app/.next-cli-build/static/chunks/webpack-786de0e184ffd859.js +1 -0
- package/app/.next-cli-build/static/css/d477f23f99f30ee7.css +1 -0
- package/app/.next-cli-build/static/css/e60401d99e3ceca2.css +1 -0
- package/app/.next-cli-build/static/media/19cfc7226ec3afaa-s.woff2 +0 -0
- package/app/.next-cli-build/static/media/21350d82a1f187e9-s.woff2 +0 -0
- package/app/.next-cli-build/static/media/8e9860b6e62d6359-s.woff2 +0 -0
- package/app/.next-cli-build/static/media/ba9851c3c22cd980-s.woff2 +0 -0
- package/app/.next-cli-build/static/media/c5fe6dc8356a8c31-s.woff2 +0 -0
- package/app/.next-cli-build/static/media/df0a9ae256c0569c-s.woff2 +0 -0
- package/app/.next-cli-build/static/media/e4af272ccee01ff0-s.p.woff2 +0 -0
- package/app/cli/.build-home/.openrouterx/db.json +43 -0
- package/app/cli/.build-home/.openrouterx/jwt-secret +1 -0
- package/app/cli/.build-home/.openrouterx/machine-id +1 -0
- package/app/cli/.build-home/Library/Preferences/nextjs-nodejs/config.json +7 -0
- package/app/custom-server.js +32 -0
- package/app/package.json +11 -8
- package/app/public/providers/codebuddy-cn.png +0 -0
- package/app/server.js +1 -1
- package/app/src/lib/updater/updater.js +2 -2
- package/app/src/mitm/server.js +60 -435
- package/cli.js +728 -415
- package/hooks/postinstall.js +15 -48
- package/hooks/sqliteRuntime.js +156 -0
- package/hooks/trayRuntime.js +107 -0
- package/package.json +18 -7
- package/src/cli/api/client.js +88 -10
- package/src/cli/menus/cliTools.js +164 -8
- package/src/cli/menus/providers.js +249 -12
- package/src/cli/menus/settings.js +138 -31
- package/src/cli/terminalUI.js +37 -25
- package/src/cli/tray/autostart.js +168 -184
- package/src/cli/tray/tray.js +226 -108
- package/src/cli/tray/tray.ps1 +79 -0
- package/src/cli/tray/trayWin.js +89 -0
- package/src/cli/utils/input.js +64 -137
- package/src/cli/utils/modelSelector.js +7 -4
- package/app/.next/BUILD_ID +0 -1
- package/app/.next/app-path-routes-manifest.json +0 -165
- package/app/.next/build-manifest.json +0 -20
- package/app/.next/prerender-manifest.json +0 -239
- package/app/.next/required-server-files.json +0 -376
- package/app/.next/routes-manifest.json +0 -1094
- package/app/.next/server/app/(dashboard)/dashboard/admin/keys/page.js +0 -2
- package/app/.next/server/app/(dashboard)/dashboard/admin/keys/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/admin/keys/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/admin/users/page.js +0 -2
- package/app/.next/server/app/(dashboard)/dashboard/admin/users/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/admin/users/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js +0 -2
- package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +0 -24
- package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js +0 -2
- package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/combos/page.js +0 -2
- package/app/.next/server/app/(dashboard)/dashboard/combos/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js +0 -2
- package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js +0 -2
- package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +0 -60
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +0 -2
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +0 -5
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js +0 -2
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js +0 -2
- package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/page.js +0 -2
- package/app/.next/server/app/(dashboard)/dashboard/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/profile/page.js +0 -2
- package/app/.next/server/app/(dashboard)/dashboard/profile/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js +0 -11
- package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js +0 -2
- package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/page.js +0 -2
- package/app/.next/server/app/(dashboard)/dashboard/providers/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js +0 -5
- package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/quota/page.js +0 -3
- package/app/.next/server/app/(dashboard)/dashboard/quota/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/skills/page.js +0 -2
- package/app/.next/server/app/(dashboard)/dashboard/skills/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/translator/page.js +0 -2
- package/app/.next/server/app/(dashboard)/dashboard/translator/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/usage/page.js +0 -2
- package/app/.next/server/app/(dashboard)/dashboard/usage/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/user/page.js +0 -5
- package/app/.next/server/app/(dashboard)/dashboard/user/page.js.nft.json +0 -1
- package/app/.next/server/app/(dashboard)/dashboard/user/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/_global-error/page.js +0 -32
- package/app/.next/server/app/_global-error/page.js.nft.json +0 -1
- package/app/.next/server/app/_global-error/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/_global-error.html +0 -1
- package/app/.next/server/app/_global-error.rsc +0 -14
- package/app/.next/server/app/_global-error.segments/_full.segment.rsc +0 -14
- package/app/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +0 -5
- package/app/.next/server/app/_global-error.segments/_global-error.segment.rsc +0 -5
- package/app/.next/server/app/_global-error.segments/_head.segment.rsc +0 -5
- package/app/.next/server/app/_global-error.segments/_index.segment.rsc +0 -5
- package/app/.next/server/app/_global-error.segments/_tree.segment.rsc +0 -1
- package/app/.next/server/app/_not-found/page.js +0 -2
- package/app/.next/server/app/_not-found/page.js.nft.json +0 -1
- package/app/.next/server/app/_not-found/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/_not-found.html +0 -1
- package/app/.next/server/app/_not-found.rsc +0 -19
- package/app/.next/server/app/_not-found.segments/_full.segment.rsc +0 -19
- package/app/.next/server/app/_not-found.segments/_head.segment.rsc +0 -6
- package/app/.next/server/app/_not-found.segments/_index.segment.rsc +0 -8
- package/app/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +0 -5
- package/app/.next/server/app/_not-found.segments/_not-found.segment.rsc +0 -5
- package/app/.next/server/app/_not-found.segments/_tree.segment.rsc +0 -3
- package/app/.next/server/app/api/auth/login/route.js +0 -1
- package/app/.next/server/app/api/auth/login/route.js.nft.json +0 -1
- package/app/.next/server/app/api/auth/logout/route.js +0 -1
- package/app/.next/server/app/api/auth/logout/route.js.nft.json +0 -1
- package/app/.next/server/app/api/auth/me/route.js +0 -1
- package/app/.next/server/app/api/auth/me/route.js.nft.json +0 -1
- package/app/.next/server/app/api/auth/oidc/callback/route.js +0 -1
- package/app/.next/server/app/api/auth/oidc/callback/route.js.nft.json +0 -1
- package/app/.next/server/app/api/auth/oidc/start/route.js +0 -1
- package/app/.next/server/app/api/auth/oidc/start/route.js.nft.json +0 -1
- package/app/.next/server/app/api/auth/oidc/test/route.js +0 -1
- package/app/.next/server/app/api/auth/oidc/test/route.js.nft.json +0 -1
- package/app/.next/server/app/api/auth/reset-password/route.js +0 -1
- package/app/.next/server/app/api/auth/reset-password/route.js.nft.json +0 -1
- package/app/.next/server/app/api/auth/status/route.js +0 -1
- package/app/.next/server/app/api/auth/status/route.js.nft.json +0 -1
- package/app/.next/server/app/api/cli-tools/all-statuses/route.js +0 -17
- package/app/.next/server/app/api/cli-tools/all-statuses/route.js.nft.json +0 -1
- package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js +0 -2
- package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +0 -1
- package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js +0 -1
- package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +0 -1
- package/app/.next/server/app/api/cli-tools/claude-settings/route.js +0 -2
- package/app/.next/server/app/api/cli-tools/claude-settings/route.js.nft.json +0 -1
- package/app/.next/server/app/api/cli-tools/cline-settings/route.js +0 -2
- package/app/.next/server/app/api/cli-tools/cline-settings/route.js.nft.json +0 -1
- package/app/.next/server/app/api/cli-tools/codex-settings/activate-account/route.js +0 -2
- package/app/.next/server/app/api/cli-tools/codex-settings/activate-account/route.js.nft.json +0 -1
- package/app/.next/server/app/api/cli-tools/codex-settings/route.js +0 -1
- package/app/.next/server/app/api/cli-tools/codex-settings/route.js.nft.json +0 -1
- package/app/.next/server/app/api/cli-tools/copilot-settings/route.js +0 -2
- package/app/.next/server/app/api/cli-tools/copilot-settings/route.js.nft.json +0 -1
- package/app/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js +0 -2
- package/app/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +0 -1
- package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js +0 -2
- package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +0 -1
- package/app/.next/server/app/api/cli-tools/cowork-settings/route.js +0 -1
- package/app/.next/server/app/api/cli-tools/cowork-settings/route.js.nft.json +0 -1
- package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route.js +0 -9
- package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +0 -1
- package/app/.next/server/app/api/cli-tools/droid-settings/route.js +0 -2
- package/app/.next/server/app/api/cli-tools/droid-settings/route.js.nft.json +0 -1
- package/app/.next/server/app/api/cli-tools/hermes-settings/route.js +0 -10
- package/app/.next/server/app/api/cli-tools/hermes-settings/route.js.nft.json +0 -1
- package/app/.next/server/app/api/cli-tools/jcode-settings/route.js +0 -3
- package/app/.next/server/app/api/cli-tools/jcode-settings/route.js.nft.json +0 -1
- package/app/.next/server/app/api/cli-tools/kilo-settings/route.js +0 -2
- package/app/.next/server/app/api/cli-tools/kilo-settings/route.js.nft.json +0 -1
- package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js +0 -2
- package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +0 -1
- package/app/.next/server/app/api/cli-tools/opencode-settings/route.js +0 -2
- package/app/.next/server/app/api/cli-tools/opencode-settings/route.js.nft.json +0 -1
- package/app/.next/server/app/api/combos/[id]/route.js +0 -1
- package/app/.next/server/app/api/combos/[id]/route.js.nft.json +0 -1
- package/app/.next/server/app/api/combos/route.js +0 -1
- package/app/.next/server/app/api/combos/route.js.nft.json +0 -1
- package/app/.next/server/app/api/health/route.js +0 -1
- package/app/.next/server/app/api/health/route.js.nft.json +0 -1
- package/app/.next/server/app/api/init/route.js +0 -1
- package/app/.next/server/app/api/init/route.js.nft.json +0 -1
- package/app/.next/server/app/api/keys/[id]/route.js +0 -1
- package/app/.next/server/app/api/keys/[id]/route.js.nft.json +0 -1
- package/app/.next/server/app/api/keys/route.js +0 -1
- package/app/.next/server/app/api/keys/route.js.nft.json +0 -1
- package/app/.next/server/app/api/locale/route.js +0 -1
- package/app/.next/server/app/api/locale/route.js.nft.json +0 -1
- package/app/.next/server/app/api/mcp/[plugin]/message/route.js +0 -7
- package/app/.next/server/app/api/mcp/[plugin]/message/route.js.nft.json +0 -1
- package/app/.next/server/app/api/mcp/[plugin]/sse/route.js +0 -10
- package/app/.next/server/app/api/mcp/[plugin]/sse/route.js.nft.json +0 -1
- package/app/.next/server/app/api/media-providers/tts/deepgram/voices/route.js +0 -1
- package/app/.next/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +0 -1
- package/app/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js +0 -1
- package/app/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +0 -1
- package/app/.next/server/app/api/media-providers/tts/inworld/voices/route.js +0 -1
- package/app/.next/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +0 -1
- package/app/.next/server/app/api/media-providers/tts/minimax/voices/route.js +0 -1
- package/app/.next/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +0 -1
- package/app/.next/server/app/api/media-providers/tts/voices/route.js +0 -1
- package/app/.next/server/app/api/media-providers/tts/voices/route.js.nft.json +0 -1
- package/app/.next/server/app/api/models/alias/route.js +0 -1
- package/app/.next/server/app/api/models/alias/route.js.nft.json +0 -1
- package/app/.next/server/app/api/models/availability/route.js +0 -1
- package/app/.next/server/app/api/models/availability/route.js.nft.json +0 -1
- package/app/.next/server/app/api/models/custom/route.js +0 -1
- package/app/.next/server/app/api/models/custom/route.js.nft.json +0 -1
- package/app/.next/server/app/api/models/disabled/route.js +0 -1
- package/app/.next/server/app/api/models/disabled/route.js.nft.json +0 -1
- package/app/.next/server/app/api/models/route.js +0 -1
- package/app/.next/server/app/api/models/route.js.nft.json +0 -1
- package/app/.next/server/app/api/models/test/route.js +0 -1
- package/app/.next/server/app/api/models/test/route.js.nft.json +0 -1
- package/app/.next/server/app/api/oauth/[provider]/[action]/route.js +0 -1
- package/app/.next/server/app/api/oauth/[provider]/[action]/route.js.nft.json +0 -1
- package/app/.next/server/app/api/oauth/codex/bulk-import/route.js +0 -1
- package/app/.next/server/app/api/oauth/codex/bulk-import/route.js.nft.json +0 -1
- package/app/.next/server/app/api/oauth/codex/import-token/route.js +0 -1
- package/app/.next/server/app/api/oauth/codex/import-token/route.js.nft.json +0 -1
- package/app/.next/server/app/api/oauth/cursor/auto-import/route.js +0 -4
- package/app/.next/server/app/api/oauth/cursor/auto-import/route.js.nft.json +0 -1
- package/app/.next/server/app/api/oauth/cursor/import/route.js +0 -1
- package/app/.next/server/app/api/oauth/cursor/import/route.js.nft.json +0 -1
- package/app/.next/server/app/api/oauth/gitlab/pat/route.js +0 -1
- package/app/.next/server/app/api/oauth/gitlab/pat/route.js.nft.json +0 -1
- package/app/.next/server/app/api/oauth/iflow/cookie/route.js +0 -1
- package/app/.next/server/app/api/oauth/iflow/cookie/route.js.nft.json +0 -1
- package/app/.next/server/app/api/oauth/kiro/auto-import/route.js +0 -1
- package/app/.next/server/app/api/oauth/kiro/auto-import/route.js.nft.json +0 -1
- package/app/.next/server/app/api/oauth/kiro/import/route.js +0 -1
- package/app/.next/server/app/api/oauth/kiro/import/route.js.nft.json +0 -1
- package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js +0 -1
- package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +0 -1
- package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js +0 -1
- package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +0 -1
- package/app/.next/server/app/api/pricing/route.js +0 -1
- package/app/.next/server/app/api/pricing/route.js.nft.json +0 -1
- package/app/.next/server/app/api/provider-nodes/[id]/route.js +0 -1
- package/app/.next/server/app/api/provider-nodes/[id]/route.js.nft.json +0 -1
- package/app/.next/server/app/api/provider-nodes/route.js +0 -1
- package/app/.next/server/app/api/provider-nodes/route.js.nft.json +0 -1
- package/app/.next/server/app/api/provider-nodes/validate/route.js +0 -1
- package/app/.next/server/app/api/provider-nodes/validate/route.js.nft.json +0 -1
- package/app/.next/server/app/api/providers/[id]/models/route.js +0 -1
- package/app/.next/server/app/api/providers/[id]/models/route.js.nft.json +0 -1
- package/app/.next/server/app/api/providers/[id]/route.js +0 -1
- package/app/.next/server/app/api/providers/[id]/route.js.nft.json +0 -1
- package/app/.next/server/app/api/providers/[id]/test/route.js +0 -1
- package/app/.next/server/app/api/providers/[id]/test/route.js.nft.json +0 -1
- package/app/.next/server/app/api/providers/[id]/test-models/route.js +0 -1
- package/app/.next/server/app/api/providers/[id]/test-models/route.js.nft.json +0 -1
- package/app/.next/server/app/api/providers/client/route.js +0 -1
- package/app/.next/server/app/api/providers/client/route.js.nft.json +0 -1
- package/app/.next/server/app/api/providers/kilo/free-models/route.js +0 -1
- package/app/.next/server/app/api/providers/kilo/free-models/route.js.nft.json +0 -1
- package/app/.next/server/app/api/providers/route.js +0 -1
- package/app/.next/server/app/api/providers/route.js.nft.json +0 -1
- package/app/.next/server/app/api/providers/suggested-models/route.js +0 -1
- package/app/.next/server/app/api/providers/suggested-models/route.js.nft.json +0 -1
- package/app/.next/server/app/api/providers/test-batch/route.js +0 -1
- package/app/.next/server/app/api/providers/test-batch/route.js.nft.json +0 -1
- package/app/.next/server/app/api/providers/validate/route.js +0 -1
- package/app/.next/server/app/api/providers/validate/route.js.nft.json +0 -1
- package/app/.next/server/app/api/proxy-pools/[id]/route.js +0 -1
- package/app/.next/server/app/api/proxy-pools/[id]/route.js.nft.json +0 -1
- package/app/.next/server/app/api/proxy-pools/[id]/test/route.js +0 -1
- package/app/.next/server/app/api/proxy-pools/[id]/test/route.js.nft.json +0 -1
- package/app/.next/server/app/api/proxy-pools/cloudflare-deploy/route.js +0 -43
- package/app/.next/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +0 -1
- package/app/.next/server/app/api/proxy-pools/deno-deploy/route.js +0 -40
- package/app/.next/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +0 -1
- package/app/.next/server/app/api/proxy-pools/route.js +0 -1
- package/app/.next/server/app/api/proxy-pools/route.js.nft.json +0 -1
- package/app/.next/server/app/api/proxy-pools/vercel-deploy/route.js +0 -33
- package/app/.next/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +0 -1
- package/app/.next/server/app/api/settings/database/route.js +0 -1
- package/app/.next/server/app/api/settings/database/route.js.nft.json +0 -1
- package/app/.next/server/app/api/settings/proxy-test/route.js +0 -1
- package/app/.next/server/app/api/settings/proxy-test/route.js.nft.json +0 -1
- package/app/.next/server/app/api/settings/require-login/route.js +0 -1
- package/app/.next/server/app/api/settings/require-login/route.js.nft.json +0 -1
- package/app/.next/server/app/api/settings/route.js +0 -1
- package/app/.next/server/app/api/settings/route.js.nft.json +0 -1
- package/app/.next/server/app/api/shutdown/route.js +0 -1
- package/app/.next/server/app/api/shutdown/route.js.nft.json +0 -1
- package/app/.next/server/app/api/tags/route.js +0 -1
- package/app/.next/server/app/api/tags/route.js.nft.json +0 -1
- package/app/.next/server/app/api/translator/console-logs/route.js +0 -1
- package/app/.next/server/app/api/translator/console-logs/route.js.nft.json +0 -1
- package/app/.next/server/app/api/translator/console-logs/stream/route.js +0 -7
- package/app/.next/server/app/api/translator/console-logs/stream/route.js.nft.json +0 -1
- package/app/.next/server/app/api/translator/load/route.js +0 -1
- package/app/.next/server/app/api/translator/load/route.js.nft.json +0 -1
- package/app/.next/server/app/api/translator/save/route.js +0 -1
- package/app/.next/server/app/api/translator/save/route.js.nft.json +0 -1
- package/app/.next/server/app/api/translator/send/route.js +0 -1
- package/app/.next/server/app/api/translator/send/route.js.nft.json +0 -1
- package/app/.next/server/app/api/translator/translate/route.js +0 -1
- package/app/.next/server/app/api/translator/translate/route.js.nft.json +0 -1
- package/app/.next/server/app/api/tunnel/disable/route.js +0 -1
- package/app/.next/server/app/api/tunnel/disable/route.js.nft.json +0 -1
- package/app/.next/server/app/api/tunnel/enable/route.js +0 -1
- package/app/.next/server/app/api/tunnel/enable/route.js.nft.json +0 -1
- package/app/.next/server/app/api/tunnel/status/route.js +0 -1
- package/app/.next/server/app/api/tunnel/status/route.js.nft.json +0 -1
- package/app/.next/server/app/api/tunnel/tailscale-check/route.js +0 -1
- package/app/.next/server/app/api/tunnel/tailscale-check/route.js.nft.json +0 -1
- package/app/.next/server/app/api/tunnel/tailscale-disable/route.js +0 -1
- package/app/.next/server/app/api/tunnel/tailscale-disable/route.js.nft.json +0 -1
- package/app/.next/server/app/api/tunnel/tailscale-enable/route.js +0 -1
- package/app/.next/server/app/api/tunnel/tailscale-enable/route.js.nft.json +0 -1
- package/app/.next/server/app/api/tunnel/tailscale-install/route.js +0 -5
- package/app/.next/server/app/api/tunnel/tailscale-install/route.js.nft.json +0 -1
- package/app/.next/server/app/api/usage/[connectionId]/route.js +0 -1
- package/app/.next/server/app/api/usage/[connectionId]/route.js.nft.json +0 -1
- package/app/.next/server/app/api/usage/api-keys/route.js +0 -1
- package/app/.next/server/app/api/usage/api-keys/route.js.nft.json +0 -1
- package/app/.next/server/app/api/usage/chart/route.js +0 -1
- package/app/.next/server/app/api/usage/chart/route.js.nft.json +0 -1
- package/app/.next/server/app/api/usage/history/route.js +0 -1
- package/app/.next/server/app/api/usage/history/route.js.nft.json +0 -1
- package/app/.next/server/app/api/usage/logs/route.js +0 -1
- package/app/.next/server/app/api/usage/logs/route.js.nft.json +0 -1
- package/app/.next/server/app/api/usage/providers/route.js +0 -1
- package/app/.next/server/app/api/usage/providers/route.js.nft.json +0 -1
- package/app/.next/server/app/api/usage/request-details/route.js +0 -1
- package/app/.next/server/app/api/usage/request-details/route.js.nft.json +0 -1
- package/app/.next/server/app/api/usage/request-logs/route.js +0 -1
- package/app/.next/server/app/api/usage/request-logs/route.js.nft.json +0 -1
- package/app/.next/server/app/api/usage/stats/route.js +0 -1
- package/app/.next/server/app/api/usage/stats/route.js.nft.json +0 -1
- package/app/.next/server/app/api/usage/stream/route.js +0 -7
- package/app/.next/server/app/api/usage/stream/route.js.nft.json +0 -1
- package/app/.next/server/app/api/users/[id]/route.js +0 -1
- package/app/.next/server/app/api/users/[id]/route.js.nft.json +0 -1
- package/app/.next/server/app/api/users/route.js +0 -1
- package/app/.next/server/app/api/users/route.js.nft.json +0 -1
- package/app/.next/server/app/api/v1/api/chat/route.js +0 -1
- package/app/.next/server/app/api/v1/api/chat/route.js.nft.json +0 -1
- package/app/.next/server/app/api/v1/audio/speech/route.js +0 -1
- package/app/.next/server/app/api/v1/audio/speech/route.js.nft.json +0 -1
- package/app/.next/server/app/api/v1/audio/transcriptions/route.js +0 -1
- package/app/.next/server/app/api/v1/audio/transcriptions/route.js.nft.json +0 -1
- package/app/.next/server/app/api/v1/audio/voices/route.js +0 -1
- package/app/.next/server/app/api/v1/audio/voices/route.js.nft.json +0 -1
- package/app/.next/server/app/api/v1/chat/completions/route.js +0 -1
- package/app/.next/server/app/api/v1/chat/completions/route.js.nft.json +0 -1
- package/app/.next/server/app/api/v1/embeddings/route.js +0 -1
- package/app/.next/server/app/api/v1/embeddings/route.js.nft.json +0 -1
- package/app/.next/server/app/api/v1/images/generations/route.js +0 -4
- package/app/.next/server/app/api/v1/images/generations/route.js.nft.json +0 -1
- package/app/.next/server/app/api/v1/messages/count_tokens/route.js +0 -1
- package/app/.next/server/app/api/v1/messages/count_tokens/route.js.nft.json +0 -1
- package/app/.next/server/app/api/v1/messages/route.js +0 -1
- package/app/.next/server/app/api/v1/messages/route.js.nft.json +0 -1
- package/app/.next/server/app/api/v1/models/[kind]/route.js +0 -1
- package/app/.next/server/app/api/v1/models/[kind]/route.js.nft.json +0 -1
- package/app/.next/server/app/api/v1/models/info/route.js +0 -1
- package/app/.next/server/app/api/v1/models/info/route.js.nft.json +0 -1
- package/app/.next/server/app/api/v1/models/route.js +0 -1
- package/app/.next/server/app/api/v1/models/route.js.nft.json +0 -1
- package/app/.next/server/app/api/v1/responses/compact/route.js +0 -1
- package/app/.next/server/app/api/v1/responses/compact/route.js.nft.json +0 -1
- package/app/.next/server/app/api/v1/responses/route.js +0 -1
- package/app/.next/server/app/api/v1/responses/route.js.nft.json +0 -1
- package/app/.next/server/app/api/v1/route.js +0 -1
- package/app/.next/server/app/api/v1/route.js.nft.json +0 -1
- package/app/.next/server/app/api/v1/search/route.js +0 -1
- package/app/.next/server/app/api/v1/search/route.js.nft.json +0 -1
- package/app/.next/server/app/api/v1/web/fetch/route.js +0 -1
- package/app/.next/server/app/api/v1/web/fetch/route.js.nft.json +0 -1
- package/app/.next/server/app/api/v1beta/models/[...path]/route.js +0 -1
- package/app/.next/server/app/api/v1beta/models/[...path]/route.js.nft.json +0 -1
- package/app/.next/server/app/api/v1beta/models/route.js +0 -1
- package/app/.next/server/app/api/v1beta/models/route.js.nft.json +0 -1
- package/app/.next/server/app/api/version/route.js +0 -1
- package/app/.next/server/app/api/version/route.js.nft.json +0 -1
- package/app/.next/server/app/api/version/shutdown/route.js +0 -1
- package/app/.next/server/app/api/version/shutdown/route.js.nft.json +0 -1
- package/app/.next/server/app/api/version/update/route.js +0 -1
- package/app/.next/server/app/api/version/update/route.js.nft.json +0 -1
- package/app/.next/server/app/callback/page.js +0 -2
- package/app/.next/server/app/callback/page.js.nft.json +0 -1
- package/app/.next/server/app/callback/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/callback.html +0 -1
- package/app/.next/server/app/callback.rsc +0 -23
- package/app/.next/server/app/callback.segments/_full.segment.rsc +0 -23
- package/app/.next/server/app/callback.segments/_head.segment.rsc +0 -6
- package/app/.next/server/app/callback.segments/_index.segment.rsc +0 -8
- package/app/.next/server/app/callback.segments/_tree.segment.rsc +0 -3
- package/app/.next/server/app/callback.segments/callback/__PAGE__.segment.rsc +0 -9
- package/app/.next/server/app/callback.segments/callback.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/settings/pricing/page.js +0 -2
- package/app/.next/server/app/dashboard/settings/pricing/page.js.nft.json +0 -1
- package/app/.next/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/dashboard/settings/pricing.html +0 -1
- package/app/.next/server/app/dashboard/settings/pricing.rsc +0 -23
- package/app/.next/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +0 -23
- package/app/.next/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +0 -8
- package/app/.next/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +0 -3
- package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +0 -9
- package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +0 -5
- package/app/.next/server/app/favicon.ico/route.js +0 -1
- package/app/.next/server/app/favicon.ico/route.js.nft.json +0 -1
- package/app/.next/server/app/index.html +0 -1
- package/app/.next/server/app/index.rsc +0 -18
- package/app/.next/server/app/index.segments/__PAGE__.segment.rsc +0 -6
- package/app/.next/server/app/index.segments/_full.segment.rsc +0 -18
- package/app/.next/server/app/index.segments/_head.segment.rsc +0 -6
- package/app/.next/server/app/index.segments/_index.segment.rsc +0 -8
- package/app/.next/server/app/index.segments/_tree.segment.rsc +0 -3
- package/app/.next/server/app/landing/page.js +0 -2
- package/app/.next/server/app/landing/page.js.nft.json +0 -1
- package/app/.next/server/app/landing/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/landing.html +0 -1
- package/app/.next/server/app/landing.rsc +0 -23
- package/app/.next/server/app/landing.segments/_full.segment.rsc +0 -23
- package/app/.next/server/app/landing.segments/_head.segment.rsc +0 -6
- package/app/.next/server/app/landing.segments/_index.segment.rsc +0 -8
- package/app/.next/server/app/landing.segments/_tree.segment.rsc +0 -3
- package/app/.next/server/app/landing.segments/landing/__PAGE__.segment.rsc +0 -9
- package/app/.next/server/app/landing.segments/landing.segment.rsc +0 -5
- package/app/.next/server/app/login/page.js +0 -2
- package/app/.next/server/app/login/page.js.nft.json +0 -1
- package/app/.next/server/app/login/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app/login.html +0 -1
- package/app/.next/server/app/login.rsc +0 -24
- package/app/.next/server/app/login.segments/_full.segment.rsc +0 -24
- package/app/.next/server/app/login.segments/_head.segment.rsc +0 -6
- package/app/.next/server/app/login.segments/_index.segment.rsc +0 -8
- package/app/.next/server/app/login.segments/_tree.segment.rsc +0 -4
- package/app/.next/server/app/login.segments/login/__PAGE__.segment.rsc +0 -10
- package/app/.next/server/app/login.segments/login.segment.rsc +0 -5
- package/app/.next/server/app/manifest.webmanifest/route.js +0 -16
- package/app/.next/server/app/manifest.webmanifest/route.js.nft.json +0 -1
- package/app/.next/server/app/page.js +0 -2
- package/app/.next/server/app/page.js.nft.json +0 -1
- package/app/.next/server/app/page_client-reference-manifest.js +0 -1
- package/app/.next/server/app-paths-manifest.json +0 -165
- package/app/.next/server/chunks/1172.js +0 -1
- package/app/.next/server/chunks/1350.js +0 -2
- package/app/.next/server/chunks/1476.js +0 -1
- package/app/.next/server/chunks/1531.js +0 -1
- package/app/.next/server/chunks/1813.js +0 -1
- package/app/.next/server/chunks/2059.js +0 -1
- package/app/.next/server/chunks/2409.js +0 -1
- package/app/.next/server/chunks/2560.js +0 -1
- package/app/.next/server/chunks/2722.js +0 -53
- package/app/.next/server/chunks/2750.js +0 -31
- package/app/.next/server/chunks/3104.js +0 -43
- package/app/.next/server/chunks/319.js +0 -45
- package/app/.next/server/chunks/3205.js +0 -1
- package/app/.next/server/chunks/365.js +0 -1
- package/app/.next/server/chunks/3663.js +0 -1
- package/app/.next/server/chunks/3913.js +0 -64
- package/app/.next/server/chunks/412.js +0 -7
- package/app/.next/server/chunks/4177.js +0 -1
- package/app/.next/server/chunks/4404.js +0 -1
- package/app/.next/server/chunks/4565.js +0 -3
- package/app/.next/server/chunks/4922.js +0 -9
- package/app/.next/server/chunks/5681.js +0 -1
- package/app/.next/server/chunks/6001.js +0 -1
- package/app/.next/server/chunks/6108.js +0 -1
- package/app/.next/server/chunks/6327.js +0 -1
- package/app/.next/server/chunks/7221.js +0 -1
- package/app/.next/server/chunks/7341.js +0 -1
- package/app/.next/server/chunks/7540.js +0 -67
- package/app/.next/server/chunks/7774.js +0 -120
- package/app/.next/server/chunks/7879.js +0 -10
- package/app/.next/server/chunks/7937.js +0 -186
- package/app/.next/server/chunks/8220.js +0 -1
- package/app/.next/server/chunks/8238.js +0 -1
- package/app/.next/server/chunks/8342.js +0 -1
- package/app/.next/server/chunks/8895.js +0 -55
- package/app/.next/server/chunks/9203.js +0 -1
- package/app/.next/server/chunks/9259.js +0 -3
- package/app/.next/server/chunks/9489.js +0 -1
- package/app/.next/server/chunks/9501.js +0 -63
- package/app/.next/server/chunks/9660.js +0 -1
- package/app/.next/server/chunks/9713.js +0 -1
- package/app/.next/server/chunks/9718.js +0 -1
- package/app/.next/server/chunks/9856.js +0 -1
- package/app/.next/server/middleware-build-manifest.js +0 -1
- package/app/.next/server/middleware.js +0 -18
- package/app/.next/server/next-font-manifest.js +0 -1
- package/app/.next/server/next-font-manifest.json +0 -1
- package/app/.next/server/pages/404.html +0 -1
- package/app/.next/server/pages/500.html +0 -1
- package/app/.next/server/server-reference-manifest.js +0 -1
- package/app/.next/server/server-reference-manifest.json +0 -1
- package/app/.next/static/MxcY0EY8eMa4ouCwsP4Cl/_buildManifest.js +0 -1
- package/app/.next/static/chunks/1321-134c6f0196307f47.js +0 -1
- package/app/.next/static/chunks/4072-e3cbc885320b3535.js +0 -3
- package/app/.next/static/chunks/5497-61f5cbbdfc3da704.js +0 -7
- package/app/.next/static/chunks/6069-130fdae38088e4e7.js +0 -53
- package/app/.next/static/chunks/app/(dashboard)/dashboard/admin/keys/page-0d5b57da4abb6962.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/admin/users/page-972703d59d2a3986.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/basic-chat/page-e1bd21507327d2bc.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-ba3be29df191769b.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/page-a0eaec978d93b101.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/combos/page-ca6a0263fcfc70df.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/console-log/page-57065ce85ec52703.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/endpoint/page-c8f75b084231c080.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page-e43ee64cc1f1547c.js +0 -59
- package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/page-c64dd1d0b2bd9caf.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/page-9586c0b67f30a21b.js +0 -4
- package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/web/page-c7fbf29bdbdabee9.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/mitm/page-b52d2279e8eff62d.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/page-8fceba7ec6407143.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/profile/page-96d7ec789592a2ec.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-a2ec9b595a5c5600.js +0 -10
- package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/new/page-0bf3048423ab0128.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/page-979e3e3663264d2b.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-77e1358581cbeecd.js +0 -4
- package/app/.next/static/chunks/app/(dashboard)/dashboard/quota/page-51f915ba68f44424.js +0 -2
- package/app/.next/static/chunks/app/(dashboard)/dashboard/skills/page-9202b5ce0650c3ab.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/translator/page-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/usage/page-18d6399108c458a6.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/user/page-12765c664b3c1f6d.js +0 -4
- package/app/.next/static/chunks/app/(dashboard)/layout-2b26025389c75878.js +0 -1
- package/app/.next/static/chunks/app/_global-error/page-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/auth/login/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/auth/logout/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/auth/me/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/auth/oidc/callback/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/auth/oidc/start/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/auth/oidc/test/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/auth/reset-password/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/auth/status/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/all-statuses/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/cline-settings/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/codex-settings/activate-account/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/cowork-settings/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/jcode-settings/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/kilo-settings/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/combos/[id]/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/combos/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/health/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/init/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/keys/[id]/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/keys/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/locale/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/mcp/[plugin]/message/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/mcp/[plugin]/sse/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/models/alias/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/models/availability/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/models/custom/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/models/disabled/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/models/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/models/test/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/codex/bulk-import/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/codex/import-token/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/cursor/import/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/import/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/pricing/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/provider-nodes/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/provider-nodes/validate/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/models/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/test/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/providers/client/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/providers/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/providers/suggested-models/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/providers/test-batch/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/providers/validate/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/deno-deploy/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/settings/database/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/settings/proxy-test/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/settings/require-login/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/settings/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/shutdown/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/tags/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/translator/console-logs/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/translator/load/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/translator/save/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/translator/send/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/translator/translate/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/disable/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/enable/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/status/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-check/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-disable/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-enable/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-install/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/usage/[connectionId]/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/usage/api-keys/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/usage/chart/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/usage/history/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/usage/logs/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/usage/providers/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/usage/request-details/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/usage/request-logs/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/usage/stats/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/usage/stream/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/users/[id]/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/users/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/v1/api/chat/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/v1/audio/speech/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/v1/audio/transcriptions/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/v1/audio/voices/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/v1/chat/completions/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/v1/embeddings/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/v1/images/generations/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/v1/messages/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/v1/models/[kind]/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/v1/models/info/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/v1/models/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/v1/responses/compact/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/v1/responses/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/v1/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/v1/search/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/v1/web/fetch/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/v1beta/models/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/version/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/version/shutdown/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/api/version/update/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/dashboard/settings/pricing/page-9d24273d41fadd28.js +0 -1
- package/app/.next/static/chunks/app/layout-2f20e93bb64f203d.js +0 -1
- package/app/.next/static/chunks/app/login/page-3192fc777d7b8d4d.js +0 -1
- package/app/.next/static/chunks/app/manifest.webmanifest/route-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/app/page-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-8d41d89fe12ae485.js +0 -1
- package/app/.next/static/chunks/webpack-b9b0d264958323b9.js +0 -1
- package/app/.next/static/css/f240ded5456043a2.css +0 -1
- package/app/.next/static/css/fe3b2b4e527f4e99.css +0 -1
- package/app/node_modules/@img/colour/color.cjs +0 -1596
- package/app/node_modules/@img/colour/index.cjs +0 -1
- package/app/node_modules/@img/colour/package.json +0 -58
- package/app/node_modules/@img/sharp-darwin-arm64/LICENSE +0 -191
- package/app/node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64.node +0 -0
- package/app/node_modules/@img/sharp-darwin-arm64/package.json +0 -40
- package/app/node_modules/@img/sharp-libvips-darwin-arm64/lib/index.js +0 -1
- package/app/node_modules/@img/sharp-libvips-darwin-arm64/lib/libvips-cpp.8.17.3.dylib +0 -0
- package/app/node_modules/@img/sharp-libvips-darwin-arm64/package.json +0 -36
- package/app/node_modules/@img/sharp-libvips-darwin-arm64/versions.json +0 -30
- package/app/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
- package/app/node_modules/better-sqlite3/lib/database.js +0 -90
- package/app/node_modules/better-sqlite3/lib/index.js +0 -3
- package/app/node_modules/better-sqlite3/lib/methods/aggregate.js +0 -43
- package/app/node_modules/better-sqlite3/lib/methods/backup.js +0 -67
- package/app/node_modules/better-sqlite3/lib/methods/function.js +0 -31
- package/app/node_modules/better-sqlite3/lib/methods/inspect.js +0 -7
- package/app/node_modules/better-sqlite3/lib/methods/pragma.js +0 -12
- package/app/node_modules/better-sqlite3/lib/methods/serialize.js +0 -16
- package/app/node_modules/better-sqlite3/lib/methods/table.js +0 -189
- package/app/node_modules/better-sqlite3/lib/methods/transaction.js +0 -78
- package/app/node_modules/better-sqlite3/lib/methods/wrappers.js +0 -54
- package/app/node_modules/better-sqlite3/lib/sqlite-error.js +0 -20
- package/app/node_modules/better-sqlite3/lib/util.js +0 -12
- package/app/node_modules/better-sqlite3/package.json +0 -59
- package/app/node_modules/detect-libc/lib/detect-libc.js +0 -313
- package/app/node_modules/detect-libc/lib/elf.js +0 -39
- package/app/node_modules/detect-libc/lib/filesystem.js +0 -51
- package/app/node_modules/detect-libc/lib/process.js +0 -24
- package/app/node_modules/detect-libc/package.json +0 -44
- package/app/node_modules/sharp/lib/channel.js +0 -177
- package/app/node_modules/sharp/lib/colour.js +0 -195
- package/app/node_modules/sharp/lib/composite.js +0 -212
- package/app/node_modules/sharp/lib/constructor.js +0 -499
- package/app/node_modules/sharp/lib/index.js +0 -16
- package/app/node_modules/sharp/lib/input.js +0 -809
- package/app/node_modules/sharp/lib/is.js +0 -143
- package/app/node_modules/sharp/lib/libvips.js +0 -207
- package/app/node_modules/sharp/lib/operation.js +0 -1016
- package/app/node_modules/sharp/lib/output.js +0 -1666
- package/app/node_modules/sharp/lib/resize.js +0 -595
- package/app/node_modules/sharp/lib/sharp.js +0 -121
- package/app/node_modules/sharp/lib/utility.js +0 -291
- package/app/node_modules/sharp/node_modules/semver/classes/comparator.js +0 -143
- package/app/node_modules/sharp/node_modules/semver/classes/range.js +0 -557
- package/app/node_modules/sharp/node_modules/semver/classes/semver.js +0 -333
- package/app/node_modules/sharp/node_modules/semver/functions/cmp.js +0 -54
- package/app/node_modules/sharp/node_modules/semver/functions/coerce.js +0 -62
- package/app/node_modules/sharp/node_modules/semver/functions/compare.js +0 -7
- package/app/node_modules/sharp/node_modules/semver/functions/eq.js +0 -5
- package/app/node_modules/sharp/node_modules/semver/functions/gt.js +0 -5
- package/app/node_modules/sharp/node_modules/semver/functions/gte.js +0 -5
- package/app/node_modules/sharp/node_modules/semver/functions/lt.js +0 -5
- package/app/node_modules/sharp/node_modules/semver/functions/lte.js +0 -5
- package/app/node_modules/sharp/node_modules/semver/functions/neq.js +0 -5
- package/app/node_modules/sharp/node_modules/semver/functions/parse.js +0 -18
- package/app/node_modules/sharp/node_modules/semver/functions/satisfies.js +0 -12
- package/app/node_modules/sharp/node_modules/semver/internal/constants.js +0 -37
- package/app/node_modules/sharp/node_modules/semver/internal/debug.js +0 -11
- package/app/node_modules/sharp/node_modules/semver/internal/identifiers.js +0 -29
- package/app/node_modules/sharp/node_modules/semver/internal/lrucache.js +0 -42
- package/app/node_modules/sharp/node_modules/semver/internal/parse-options.js +0 -17
- package/app/node_modules/sharp/node_modules/semver/internal/re.js +0 -223
- package/app/node_modules/sharp/node_modules/semver/package.json +0 -78
- package/app/node_modules/sharp/package.json +0 -202
- package/app/src/mitm/antigravityIdeVersion.js +0 -50
- package/app/src/mitm/cert/generate.js +0 -32
- package/app/src/mitm/cert/install.js +0 -269
- package/app/src/mitm/cert/rootCA.js +0 -173
- package/app/src/mitm/config.js +0 -89
- package/app/src/mitm/dbReader.js +0 -22
- package/app/src/mitm/dns/dnsConfig.js +0 -266
- package/app/src/mitm/handlers/antigravity.js +0 -33
- package/app/src/mitm/handlers/base.js +0 -226
- package/app/src/mitm/handlers/copilot.js +0 -35
- package/app/src/mitm/handlers/cursor.js +0 -15
- package/app/src/mitm/handlers/kiro.js +0 -526
- package/app/src/mitm/logger.js +0 -106
- package/app/src/mitm/manager.js +0 -851
- package/app/src/mitm/paths.js +0 -32
- package/app/src/mitm/winElevated.js +0 -81
- package/app/src/shared/constants/mitmToolHosts.js +0 -12
- /package/app/{.next → .next-cli-build}/package.json +0 -0
- /package/app/{.next → .next-cli-build}/react-loadable-manifest.json +0 -0
- /package/app/{.next → .next-cli-build}/server/app/_global-error.meta +0 -0
- /package/app/{.next → .next-cli-build}/server/app/_not-found.meta +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/auth/login/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/auth/logout/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/auth/me/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/auth/oidc/callback/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/auth/oidc/start/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/auth/oidc/test/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/auth/reset-password/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/auth/status/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/cli-tools/all-statuses/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/cli-tools/antigravity-mitm/alias/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/cli-tools/antigravity-mitm/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/cli-tools/claude-settings/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/cli-tools/cline-settings/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/cli-tools/codex-settings/activate-account/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/cli-tools/codex-settings/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/cli-tools/copilot-settings/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/cli-tools/cowork-mcp-registry/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/cli-tools/cowork-mcp-tools/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/cli-tools/cowork-settings/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/cli-tools/deepseek-tui-settings/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/cli-tools/droid-settings/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/cli-tools/hermes-settings/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/cli-tools/jcode-settings/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/cli-tools/kilo-settings/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/cli-tools/openclaw-settings/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/cli-tools/opencode-settings/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/combos/[id]/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/combos/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/health/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/init/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/keys/[id]/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/keys/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/locale/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/mcp/[plugin]/message/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/mcp/[plugin]/sse/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/media-providers/tts/deepgram/voices/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/media-providers/tts/elevenlabs/voices/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/media-providers/tts/inworld/voices/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/media-providers/tts/minimax/voices/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/media-providers/tts/voices/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/models/alias/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/models/availability/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/models/custom/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/models/disabled/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/models/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/models/test/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/oauth/[provider]/[action]/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/oauth/codex/bulk-import/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/oauth/codex/import-token/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/oauth/cursor/auto-import/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/oauth/cursor/import/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/oauth/gitlab/pat/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/oauth/iflow/cookie/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/oauth/kiro/auto-import/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/oauth/kiro/import/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/oauth/kiro/social-authorize/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/oauth/kiro/social-exchange/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/pricing/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/provider-nodes/[id]/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/provider-nodes/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/provider-nodes/validate/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/providers/[id]/models/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/providers/[id]/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/providers/[id]/test/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/providers/[id]/test-models/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/providers/client/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/providers/kilo/free-models/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/providers/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/providers/suggested-models/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/providers/test-batch/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/providers/validate/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/proxy-pools/[id]/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/proxy-pools/[id]/test/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/proxy-pools/cloudflare-deploy/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/proxy-pools/deno-deploy/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/proxy-pools/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/proxy-pools/vercel-deploy/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/settings/database/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/settings/proxy-test/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/settings/require-login/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/settings/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/shutdown/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/tags/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/translator/console-logs/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/translator/console-logs/stream/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/translator/load/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/translator/save/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/translator/send/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/translator/translate/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/tunnel/disable/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/tunnel/enable/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/tunnel/status/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/tunnel/tailscale-check/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/tunnel/tailscale-disable/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/tunnel/tailscale-enable/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/tunnel/tailscale-install/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/usage/[connectionId]/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/usage/api-keys/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/usage/chart/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/usage/history/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/usage/logs/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/usage/providers/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/usage/request-details/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/usage/request-logs/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/usage/stats/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/usage/stream/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/users/[id]/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/users/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/v1/api/chat/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/v1/audio/speech/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/v1/audio/transcriptions/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/v1/audio/voices/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/v1/chat/completions/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/v1/embeddings/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/v1/images/generations/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/v1/messages/count_tokens/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/v1/messages/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/v1/models/[kind]/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/v1/models/info/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/v1/models/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/v1/responses/compact/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/v1/responses/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/v1/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/v1/search/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/v1/web/fetch/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/v1beta/models/[...path]/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/v1beta/models/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/version/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/version/shutdown/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/api/version/update/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/callback.meta +0 -0
- /package/app/{.next → .next-cli-build}/server/app/dashboard/settings/pricing.meta +0 -0
- /package/app/{.next → .next-cli-build}/server/app/favicon.ico.body +0 -0
- /package/app/{.next → .next-cli-build}/server/app/favicon.ico.meta +0 -0
- /package/app/{.next → .next-cli-build}/server/app/index.meta +0 -0
- /package/app/{.next → .next-cli-build}/server/app/landing.meta +0 -0
- /package/app/{.next → .next-cli-build}/server/app/login.meta +0 -0
- /package/app/{.next → .next-cli-build}/server/app/manifest.webmanifest/route_client-reference-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/app/manifest.webmanifest.body +0 -0
- /package/app/{.next → .next-cli-build}/server/app/manifest.webmanifest.meta +0 -0
- /package/app/{.next → .next-cli-build}/server/chunks/1679.js +0 -0
- /package/app/{.next → .next-cli-build}/server/chunks/1998.js +0 -0
- /package/app/{.next → .next-cli-build}/server/chunks/241.js +0 -0
- /package/app/{.next → .next-cli-build}/server/chunks/3593.js +0 -0
- /package/app/{.next → .next-cli-build}/server/chunks/4013.js +0 -0
- /package/app/{.next → .next-cli-build}/server/chunks/4739.js +0 -0
- /package/app/{.next → .next-cli-build}/server/chunks/4741.js +0 -0
- /package/app/{.next → .next-cli-build}/server/chunks/4989.js +0 -0
- /package/app/{.next → .next-cli-build}/server/chunks/5217.js +0 -0
- /package/app/{.next → .next-cli-build}/server/chunks/5258.js +0 -0
- /package/app/{.next → .next-cli-build}/server/chunks/5573.js +0 -0
- /package/app/{.next → .next-cli-build}/server/chunks/6457.js +0 -0
- /package/app/{.next → .next-cli-build}/server/chunks/6844.js +0 -0
- /package/app/{.next → .next-cli-build}/server/chunks/6936.js +0 -0
- /package/app/{.next → .next-cli-build}/server/chunks/7502.js +0 -0
- /package/app/{.next → .next-cli-build}/server/chunks/8473.js +0 -0
- /package/app/{.next → .next-cli-build}/server/chunks/8520.js +0 -0
- /package/app/{.next → .next-cli-build}/server/chunks/8971.js +0 -0
- /package/app/{.next → .next-cli-build}/server/chunks/9460.js +0 -0
- /package/app/{.next → .next-cli-build}/server/functions-config-manifest.json +0 -0
- /package/app/{.next → .next-cli-build}/server/middleware-manifest.json +0 -0
- /package/app/{.next → .next-cli-build}/server/middleware-react-loadable-manifest.js +0 -0
- /package/app/{.next → .next-cli-build}/server/pages-manifest.json +0 -0
- /package/app/{.next → .next-cli-build}/server/prefetch-hints.json +0 -0
- /package/app/{.next → .next-cli-build}/server/webpack-runtime.js +0 -0
- /package/app/{.next/static/MxcY0EY8eMa4ouCwsP4Cl → .next-cli-build/static/DLZR81Hq9OqOrl2Xc2iHn}/_ssgManifest.js +0 -0
- /package/app/{.next → .next-cli-build}/static/chunks/1051-a02f07646d97d6ca.js +0 -0
- /package/app/{.next → .next-cli-build}/static/chunks/1a258343-5938f676ed376386.js +0 -0
- /package/app/{.next → .next-cli-build}/static/chunks/3794-ba2500baa4c52d55.js +0 -0
- /package/app/{.next → .next-cli-build}/static/chunks/4bd1b696-e356ca5ba0218e27.js +0 -0
- /package/app/{.next → .next-cli-build}/static/chunks/5242-bb1a1a7ec3bfb62f.js +0 -0
- /package/app/{.next → .next-cli-build}/static/chunks/5772-901f1092d831ec37.js +0 -0
- /package/app/{.next → .next-cli-build}/static/chunks/7055-e60e20f43bfbe5f8.js +0 -0
- /package/app/{.next → .next-cli-build}/static/chunks/app/_not-found/page-7927650ca4037264.js +0 -0
- /package/app/{.next → .next-cli-build}/static/chunks/app/callback/page-97a750f0d51c3dbe.js +0 -0
- /package/app/{.next → .next-cli-build}/static/chunks/app/landing/page-bf42a9c80c1e6776.js +0 -0
- /package/app/{.next → .next-cli-build}/static/chunks/framework-711ef29bc66f648c.js +0 -0
- /package/app/{.next → .next-cli-build}/static/chunks/main-app-d5f2701c08554961.js +0 -0
- /package/app/{.next → .next-cli-build}/static/chunks/main-b8d198db3858ff3e.js +0 -0
- /package/app/{.next → .next-cli-build}/static/chunks/next/dist/client/components/builtin/global-error-8d51a00b6c966622.js +0 -0
- /package/app/{.next → .next-cli-build}/static/chunks/polyfills-42372ed130431b0a.js +0 -0
- /package/app/{.next → .next-cli-build}/static/css/599369d853c61df7.css +0 -0
- /package/app/{.next → .next-cli-build}/static/media/material-symbols-outlined.1060ac06.woff2 +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{var a={};a.id=7824,a.ids=[1998,7824],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11259:(a,b,c)=>{"use strict";c.d(b,{Pv:()=>k}),c(73024);var d=c(51455),e=c(76760),f=c(73136);async function g(a,b,c){for(let d=0;d<b;d++)try{return await a()}catch(a){if(d<b-1)await new Promise(a=>setTimeout(a,c));else throw a}}class h{#a;#b;#c=!1;#d=null;#e=null;#f=null;#g=null;#h(a){return this.#g=a,this.#f||=new Promise((a,b)=>{this.#e=[a,b]}),new Promise((a,b)=>{this.#f?.then(a).catch(b)})}async #i(a){this.#c=!0;try{await (0,d.writeFile)(this.#b,a,"utf-8"),await g(async()=>{await (0,d.rename)(this.#b,this.#a)},10,100),this.#d?.[0]()}catch(a){throw a instanceof Error&&this.#d?.[1](a),a}finally{if(this.#c=!1,this.#d=this.#e,this.#e=this.#f=null,null!==this.#g){let a=this.#g;this.#g=null,await this.write(a)}}}constructor(a){this.#a=a,this.#b=function(a){let b=a instanceof URL?(0,f.fileURLToPath)(a):a.toString();return(0,e.join)((0,e.dirname)(b),`.${(0,e.basename)(b)}.tmp`)}(a)}async write(a){return this.#c?this.#h(a):this.#i(a)}}class i{#a;#j;constructor(a){this.#a=a,this.#j=new h(a)}async read(){let a;try{a=await (0,d.readFile)(this.#a,"utf-8")}catch(a){if("ENOENT"===a.code)return null;throw a}return a}write(a){return this.#j.write(a)}}class j{#k;#l;#m;constructor(a,{parse:b,stringify:c}){this.#k=new i(a),this.#l=b,this.#m=c}async read(){let a=await this.#k.read();return null===a?null:this.#l(a)}write(a){return this.#k.write(this.#m(a))}}class k extends j{constructor(a){super(a,{parse:JSON.parse,stringify:a=>JSON.stringify(a,null,2)})}}},12412:a=>{"use strict";a.exports=require("assert")},19225:(a,b,c)=>{"use strict";a.exports=c(44870)},21820:a=>{"use strict";a.exports=require("os")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},49120:(a,b,c)=>{"use strict";c.d(b,{c_:()=>n,nJ:()=>m});var d=c(29021),e=c.n(d),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h);let j="openrouterx",k=["db.json","usage.json","log.txt","disabledModels.json","request-details.json"];function l(a){return"win32"===process.platform?g().join(process.env.APPDATA||g().join(i().homedir(),"AppData","Roaming"),a):g().join(i().homedir(),`.${a}`)}let m=function(){let a=process.env.DATA_DIR;if(!a)return l(j);if("win32"===process.platform&&/^\//.test(a))return console.warn(`[DATA_DIR] '${a}' is a Unix path on Windows → fallback to default`),l(j);try{return e().mkdirSync(a,{recursive:!0}),a}catch(b){if(b?.code==="EACCES"||b?.code==="EPERM")return console.warn(`[DATA_DIR] '${a}' not writable -> fallback ~/.${j}`),l(j);throw b}}(),n=g().join(m,"db.json");!function(){if(process.env.DATA_DIR)return;let a=l("9router");if(a!==m&&e().existsSync(a))for(let b of(e().existsSync(m)||e().mkdirSync(m,{recursive:!0}),k)){let c=g().join(a,b),d=g().join(m,b);e().existsSync(c)&&!e().existsSync(d)&&e().copyFileSync(c,d)}}()},51455:a=>{"use strict";a.exports=require("node:fs/promises")},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},63716:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>F,patchFetch:()=>E,routeModule:()=>A,serverHooks:()=>D,workAsyncStorage:()=>B,workUnitAsyncStorage:()=>C});var d={};c.r(d),c.d(d,{GET:()=>y,POST:()=>z});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(45592),w=c(71998);let x=["http","vercel","cloudflare","deno"];async function y(a){try{var b;let{searchParams:c}=new URL(a.url),d=(b=c.get("isActive"),"true"===b||"false"!==b&&void 0),e="true"===c.get("includeUsage"),f={};void 0!==d&&(f.isActive=d);let g=await (0,w.ui)(f);if(!e)return v.NextResponse.json({proxyPools:g});let h=await (0,w.P)(),i=function(a=[]){let b=new Map;for(let c of a){let a=c?.providerSpecificData?.proxyPoolId;a&&b.set(a,(b.get(a)||0)+1)}return b}(h),j=g.map(a=>({...a,boundConnectionCount:i.get(a.id)||0}));return v.NextResponse.json({proxyPools:j})}catch(a){return console.log("Error fetching proxy pools:",a),v.NextResponse.json({error:"Failed to fetch proxy pools"},{status:500})}}async function z(a){try{let b=await a.json(),c=function(a={}){let b="string"==typeof a?.name?a.name.trim():"",c="string"==typeof a?.proxyUrl?a.proxyUrl.trim():"",d="string"==typeof a?.noProxy?a.noProxy.trim():"",e=a?.isActive===void 0||!0===a.isActive,f=a?.strictProxy===!0,g=x.includes(a?.type)?a.type:"http";return b?c?{name:b,proxyUrl:c,noProxy:d,isActive:e,strictProxy:f,type:g}:{error:"Proxy URL is required"}:{error:"Name is required"}}(b);if(c.error)return v.NextResponse.json({error:c.error},{status:400});let d=await (0,w.ZO)(c);return v.NextResponse.json({proxyPool:d},{status:201})}catch(a){return console.log("Error creating proxy pool:",a),v.NextResponse.json({error:"Failed to create proxy pool"},{status:500})}}let A=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/proxy-pools/route",pathname:"/api/proxy-pools",filename:"route",bundlePath:"app/api/proxy-pools/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Users/bytedance/Documents/Projects/9router/src/app/api/proxy-pools/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:B,workUnitAsyncStorage:C,serverHooks:D}=A;function E(){return(0,g.patchFetch)({workAsyncStorage:B,workUnitAsyncStorage:C})}async function F(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),A.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/proxy-pools/route";"/index"===d&&(d="/");let e=await A.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:z,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=e,I=(0,k.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,y,!1):b.end("This page could not be found"),null);if(J&&!z){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||A.isDev||z||(L="/index"===(L=F)?"/":L);let M=!0===A.isDev||!J,N=J&&!M;H&&G&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await A.getIncrementalCache(a,x,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>A.onRequestError(a,b,d,e,C)},sharedContext:{buildId:g,deploymentId:v}},V=new l.NodeNextRequest(a),W=new l.NodeNextResponse(b),X=m.NextRequestAdapter.fromNodeNextRequest(V,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>A.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${O} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${O} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!S&&D&&E&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,p.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await A.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},k=await A.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await h(Q):(e=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(n.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},h),void 0,!R))}catch(b){if(b instanceof t.NoFallbackError||await A.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}},71998:(a,b,c)=>{"use strict";c.d(b,{Fh:()=>d.getProviderNodes,L9:()=>d.L9,Mc:()=>d.Mc,OM:()=>d.OM,P:()=>d.getProviderConnections,Pc:()=>d.Pc,Q_:()=>d.Q_,Qu:()=>d.Qu,S8:()=>d.S8,Yd:()=>d.Yd,ZO:()=>d.ZO,c:()=>d.c,createProviderConnection:()=>d.iE,fK:()=>d.fK,fv:()=>d.fv,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,o5:()=>d.o5,op:()=>d.op,rj:()=>d.updateProviderConnection,uL:()=>d.uL,ui:()=>d.ui,uv:()=>d.uv});var d=c(89718)},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},81115:a=>{"use strict";a.exports=require("constants")},82996:(a,b,c)=>{"use strict";c.d(b,{t:()=>d});class d{adapter;data;constructor(a,b){!function(a,b){if(void 0===a)throw Error("lowdb: missing adapter");if(void 0===b)throw Error("lowdb: missing default data")}(a,b),this.adapter=a,this.data=b}async read(){let a=await this.adapter.read();a&&(this.data=a)}async write(){this.data&&await this.adapter.write(this.data)}async update(a){a(this.data),await this.write()}}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},92280:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},94735:a=>{"use strict";a.exports=require("events")},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,5592,7502,9718],()=>b(b.s=63716));module.exports=c})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":1,"files":["../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../node_modules/@swc/helpers/package.json","../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../node_modules/next/dist/client/lib/console.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../node_modules/next/dist/server/node-environment.js","../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../node_modules/next/dist/server/require-hook.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../node_modules/react/cjs/react.development.js","../../../../../node_modules/react/cjs/react.production.js","../../../../../node_modules/react/index.js","../../../../../node_modules/react/package.json","../../../../../package.json","../../../../../src/shared/utils/apiKey.js","../../../../package.json","../../../chunks/1220.js","../../../chunks/1241.js","../../../chunks/1275.js","../../../chunks/1350.js","../../../chunks/1679.js","../../../chunks/1832.js","../../../chunks/1998.js","../../../chunks/2059.js","../../../chunks/241.js","../../../chunks/2944.js","../../../chunks/319.js","../../../chunks/3412.js","../../../chunks/3428.js","../../../chunks/3535.js","../../../chunks/3546.js","../../../chunks/3593.js","../../../chunks/3913.js","../../../chunks/4013.js","../../../chunks/412.js","../../../chunks/4632.js","../../../chunks/4739.js","../../../chunks/4741.js","../../../chunks/4922.js","../../../chunks/4989.js","../../../chunks/5118.js","../../../chunks/5217.js","../../../chunks/5258.js","../../../chunks/5296.js","../../../chunks/5573.js","../../../chunks/5592.js","../../../chunks/5615.js","../../../chunks/5699.js","../../../chunks/5816.js","../../../chunks/5961.js","../../../chunks/6001.js","../../../chunks/602.js","../../../chunks/6070.js","../../../chunks/615.js","../../../chunks/6151.js","../../../chunks/6182.js","../../../chunks/6306.js","../../../chunks/6327.js","../../../chunks/6457.js","../../../chunks/6482.js","../../../chunks/6688.js","../../../chunks/6763.js","../../../chunks/6777.js","../../../chunks/6844.js","../../../chunks/6936.js","../../../chunks/7244.js","../../../chunks/7259.js","../../../chunks/7502.js","../../../chunks/7774.js","../../../chunks/7879.js","../../../chunks/7937.js","../../../chunks/801.js","../../../chunks/8271.js","../../../chunks/8473.js","../../../chunks/8520.js","../../../chunks/8895.js","../../../chunks/8910.js","../../../chunks/8920.js","../../../chunks/8971.js","../../../chunks/9460.js","../../../chunks/9718.js","../../../chunks/9787.js","../../../chunks/9833.js","../../../webpack-runtime.js","route_client-reference-manifest.js","../../../../../node_modules/sql.js/dist/sql-wasm.wasm"]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
(()=>{var a={};a.id=6594,a.ids=[1998,6594],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11259:(a,b,c)=>{"use strict";c.d(b,{Pv:()=>k}),c(73024);var d=c(51455),e=c(76760),f=c(73136);async function g(a,b,c){for(let d=0;d<b;d++)try{return await a()}catch(a){if(d<b-1)await new Promise(a=>setTimeout(a,c));else throw a}}class h{#a;#b;#c=!1;#d=null;#e=null;#f=null;#g=null;#h(a){return this.#g=a,this.#f||=new Promise((a,b)=>{this.#e=[a,b]}),new Promise((a,b)=>{this.#f?.then(a).catch(b)})}async #i(a){this.#c=!0;try{await (0,d.writeFile)(this.#b,a,"utf-8"),await g(async()=>{await (0,d.rename)(this.#b,this.#a)},10,100),this.#d?.[0]()}catch(a){throw a instanceof Error&&this.#d?.[1](a),a}finally{if(this.#c=!1,this.#d=this.#e,this.#e=this.#f=null,null!==this.#g){let a=this.#g;this.#g=null,await this.write(a)}}}constructor(a){this.#a=a,this.#b=function(a){let b=a instanceof URL?(0,f.fileURLToPath)(a):a.toString();return(0,e.join)((0,e.dirname)(b),`.${(0,e.basename)(b)}.tmp`)}(a)}async write(a){return this.#c?this.#h(a):this.#i(a)}}class i{#a;#j;constructor(a){this.#a=a,this.#j=new h(a)}async read(){let a;try{a=await (0,d.readFile)(this.#a,"utf-8")}catch(a){if("ENOENT"===a.code)return null;throw a}return a}write(a){return this.#j.write(a)}}class j{#k;#l;#m;constructor(a,{parse:b,stringify:c}){this.#k=new i(a),this.#l=b,this.#m=c}async read(){let a=await this.#k.read();return null===a?null:this.#l(a)}write(a){return this.#k.write(this.#m(a))}}class k extends j{constructor(a){super(a,{parse:JSON.parse,stringify:a=>JSON.stringify(a,null,2)})}}},12412:a=>{"use strict";a.exports=require("assert")},14872:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>G,patchFetch:()=>F,routeModule:()=>B,serverHooks:()=>E,workAsyncStorage:()=>C,workUnitAsyncStorage:()=>D});var d={};c.r(d),c.d(d,{POST:()=>A});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(45592),w=c(71998);let x="https://api.vercel.com",y=`
|
|
2
|
+
export const config = { runtime: "edge" };
|
|
3
|
+
|
|
4
|
+
export default async function handler(req) {
|
|
5
|
+
const target = req.headers.get("x-relay-target");
|
|
6
|
+
const relayPath = req.headers.get("x-relay-path") || "/";
|
|
7
|
+
if (!target) {
|
|
8
|
+
return new Response(JSON.stringify({ error: "Missing x-relay-target header" }), {
|
|
9
|
+
status: 400,
|
|
10
|
+
headers: { "content-type": "application/json" },
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const targetUrl = target.replace(/\\/$/, "") + relayPath;
|
|
15
|
+
|
|
16
|
+
const headers = new Headers(req.headers);
|
|
17
|
+
headers.delete("x-relay-target");
|
|
18
|
+
headers.delete("x-relay-path");
|
|
19
|
+
headers.delete("host");
|
|
20
|
+
|
|
21
|
+
const response = await fetch(targetUrl, {
|
|
22
|
+
method: req.method,
|
|
23
|
+
headers,
|
|
24
|
+
body: req.method !== "GET" && req.method !== "HEAD" ? req.body : undefined,
|
|
25
|
+
duplex: "half",
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
return new Response(response.body, {
|
|
29
|
+
status: response.status,
|
|
30
|
+
headers: response.headers,
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
`;async function z(a,b,c=12e4){let d=Date.now();for(;Date.now()-d<c;){let c=await fetch(`${x}/v13/deployments/${a}`,{headers:{Authorization:`Bearer ${b}`}}),d=await c.json();if("READY"===d.readyState)return d;if("ERROR"===d.readyState||"CANCELED"===d.readyState)throw Error(`Deployment failed: ${d.readyState}`);await new Promise(a=>setTimeout(a,3e3))}throw Error("Deployment timed out")}async function A(a){try{let b=await a.json(),c=b.vercelToken,d=b.projectName?.trim()||`relay-${Date.now().toString(36)}`;if(!c)return v.NextResponse.json({error:"Vercel API token is required"},{status:400});let e=await fetch(`${x}/v13/deployments`,{method:"POST",headers:{Authorization:`Bearer ${c}`,"Content-Type":"application/json"},body:JSON.stringify({name:d,files:[{file:"api/relay.js",data:y},{file:"package.json",data:JSON.stringify({name:d,version:"1.0.0"})},{file:"vercel.json",data:JSON.stringify({rewrites:[{source:"/(.*)",destination:"/api/relay"}]})}],projectSettings:{framework:null},target:"production"})});if(!e.ok){let a=await e.json().catch(()=>({}));return v.NextResponse.json({error:a.error?.message||"Failed to create Vercel deployment"},{status:e.status})}let f=await e.json(),g=f.id||f.uid,h=f.projectId||d;await fetch(`${x}/v9/projects/${h}`,{method:"PATCH",headers:{Authorization:`Bearer ${c}`,"Content-Type":"application/json"},body:JSON.stringify({ssoProtection:null})});let i=await z(g,c),j=`https://${i.url}`,k=await (0,w.ZO)({name:d,proxyUrl:j,type:"vercel",noProxy:"",isActive:!0,strictProxy:!1});return v.NextResponse.json({proxyPool:k,deployUrl:j},{status:201})}catch(a){return console.log("Error deploying Vercel relay:",a),v.NextResponse.json({error:a.message||"Deploy failed"},{status:500})}}let B=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/proxy-pools/vercel-deploy/route",pathname:"/api/proxy-pools/vercel-deploy",filename:"route",bundlePath:"app/api/proxy-pools/vercel-deploy/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Users/bytedance/Documents/Projects/9router/src/app/api/proxy-pools/vercel-deploy/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:C,workUnitAsyncStorage:D,serverHooks:E}=B;function F(){return(0,g.patchFetch)({workAsyncStorage:C,workUnitAsyncStorage:D})}async function G(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),B.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/proxy-pools/vercel-deploy/route";"/index"===d&&(d="/");let e=await B.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:z,prerenderManifest:A,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=e,I=(0,k.normalizeAppPath)(d),J=!!(A.dynamicRoutes[I]||A.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,y,!1):b.end("This page could not be found"),null);if(J&&!z){let a=!!A.routes[F],b=A.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||B.isDev||z||(L="/index"===(L=F)?"/":L);let M=!0===B.isDev||!J,N=J&&!M;H&&G&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await B.getIncrementalCache(a,x,A,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>B.onRequestError(a,b,d,e,C)},sharedContext:{buildId:g,deploymentId:v}},V=new l.NodeNextRequest(a),W=new l.NodeNextResponse(b),X=m.NextRequestAdapter.fromNodeNextRequest(V,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>B.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${O} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${O} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!S&&D&&E&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,p.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await B.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},k=await B.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await h(Q):(e=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(n.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},h),void 0,!R))}catch(b){if(b instanceof t.NoFallbackError||await B.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}},19225:(a,b,c)=>{"use strict";a.exports=c(44870)},21820:a=>{"use strict";a.exports=require("os")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},49120:(a,b,c)=>{"use strict";c.d(b,{c_:()=>n,nJ:()=>m});var d=c(29021),e=c.n(d),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h);let j="openrouterx",k=["db.json","usage.json","log.txt","disabledModels.json","request-details.json"];function l(a){return"win32"===process.platform?g().join(process.env.APPDATA||g().join(i().homedir(),"AppData","Roaming"),a):g().join(i().homedir(),`.${a}`)}let m=function(){let a=process.env.DATA_DIR;if(!a)return l(j);if("win32"===process.platform&&/^\//.test(a))return console.warn(`[DATA_DIR] '${a}' is a Unix path on Windows → fallback to default`),l(j);try{return e().mkdirSync(a,{recursive:!0}),a}catch(b){if(b?.code==="EACCES"||b?.code==="EPERM")return console.warn(`[DATA_DIR] '${a}' not writable -> fallback ~/.${j}`),l(j);throw b}}(),n=g().join(m,"db.json");!function(){if(process.env.DATA_DIR)return;let a=l("9router");if(a!==m&&e().existsSync(a))for(let b of(e().existsSync(m)||e().mkdirSync(m,{recursive:!0}),k)){let c=g().join(a,b),d=g().join(m,b);e().existsSync(c)&&!e().existsSync(d)&&e().copyFileSync(c,d)}}()},51455:a=>{"use strict";a.exports=require("node:fs/promises")},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71998:(a,b,c)=>{"use strict";c.d(b,{Fh:()=>d.getProviderNodes,L9:()=>d.L9,Mc:()=>d.Mc,OM:()=>d.OM,P:()=>d.getProviderConnections,Pc:()=>d.Pc,Q_:()=>d.Q_,Qu:()=>d.Qu,S8:()=>d.S8,Yd:()=>d.Yd,ZO:()=>d.ZO,c:()=>d.c,createProviderConnection:()=>d.iE,fK:()=>d.fK,fv:()=>d.fv,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,o5:()=>d.o5,op:()=>d.op,rj:()=>d.updateProviderConnection,uL:()=>d.uL,ui:()=>d.ui,uv:()=>d.uv});var d=c(89718)},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},81115:a=>{"use strict";a.exports=require("constants")},82996:(a,b,c)=>{"use strict";c.d(b,{t:()=>d});class d{adapter;data;constructor(a,b){!function(a,b){if(void 0===a)throw Error("lowdb: missing adapter");if(void 0===b)throw Error("lowdb: missing default data")}(a,b),this.adapter=a,this.data=b}async read(){let a=await this.adapter.read();a&&(this.data=a)}async write(){this.data&&await this.adapter.write(this.data)}async update(a){a(this.data),await this.write()}}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},92280:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},94735:a=>{"use strict";a.exports=require("events")},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,5592,7502,9718],()=>b(b.s=14872));module.exports=c})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../package.json","../../../../../../src/shared/utils/apiKey.js","../../../../../package.json","../../../../chunks/1220.js","../../../../chunks/1241.js","../../../../chunks/1275.js","../../../../chunks/1350.js","../../../../chunks/1679.js","../../../../chunks/1832.js","../../../../chunks/1998.js","../../../../chunks/2059.js","../../../../chunks/241.js","../../../../chunks/2944.js","../../../../chunks/319.js","../../../../chunks/3412.js","../../../../chunks/3428.js","../../../../chunks/3535.js","../../../../chunks/3546.js","../../../../chunks/3593.js","../../../../chunks/3913.js","../../../../chunks/4013.js","../../../../chunks/412.js","../../../../chunks/4632.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4922.js","../../../../chunks/4989.js","../../../../chunks/5118.js","../../../../chunks/5217.js","../../../../chunks/5258.js","../../../../chunks/5296.js","../../../../chunks/5573.js","../../../../chunks/5592.js","../../../../chunks/5615.js","../../../../chunks/5699.js","../../../../chunks/5816.js","../../../../chunks/5961.js","../../../../chunks/6001.js","../../../../chunks/602.js","../../../../chunks/6070.js","../../../../chunks/615.js","../../../../chunks/6151.js","../../../../chunks/6182.js","../../../../chunks/6306.js","../../../../chunks/6327.js","../../../../chunks/6457.js","../../../../chunks/6482.js","../../../../chunks/6688.js","../../../../chunks/6763.js","../../../../chunks/6777.js","../../../../chunks/6844.js","../../../../chunks/6936.js","../../../../chunks/7244.js","../../../../chunks/7259.js","../../../../chunks/7502.js","../../../../chunks/7774.js","../../../../chunks/7879.js","../../../../chunks/7937.js","../../../../chunks/801.js","../../../../chunks/8271.js","../../../../chunks/8473.js","../../../../chunks/8520.js","../../../../chunks/8895.js","../../../../chunks/8910.js","../../../../chunks/8920.js","../../../../chunks/8971.js","../../../../chunks/9460.js","../../../../chunks/9718.js","../../../../chunks/9787.js","../../../../chunks/9833.js","../../../../webpack-runtime.js","route_client-reference-manifest.js","../../../../../../node_modules/sql.js/dist/sql-wasm.wasm"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{var a={};a.id=6919,a.ids=[6919],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11259:(a,b,c)=>{"use strict";c.d(b,{Pv:()=>k}),c(73024);var d=c(51455),e=c(76760),f=c(73136);async function g(a,b,c){for(let d=0;d<b;d++)try{return await a()}catch(a){if(d<b-1)await new Promise(a=>setTimeout(a,c));else throw a}}class h{#a;#b;#c=!1;#d=null;#e=null;#f=null;#g=null;#h(a){return this.#g=a,this.#f||=new Promise((a,b)=>{this.#e=[a,b]}),new Promise((a,b)=>{this.#f?.then(a).catch(b)})}async #i(a){this.#c=!0;try{await (0,d.writeFile)(this.#b,a,"utf-8"),await g(async()=>{await (0,d.rename)(this.#b,this.#a)},10,100),this.#d?.[0]()}catch(a){throw a instanceof Error&&this.#d?.[1](a),a}finally{if(this.#c=!1,this.#d=this.#e,this.#e=this.#f=null,null!==this.#g){let a=this.#g;this.#g=null,await this.write(a)}}}constructor(a){this.#a=a,this.#b=function(a){let b=a instanceof URL?(0,f.fileURLToPath)(a):a.toString();return(0,e.join)((0,e.dirname)(b),`.${(0,e.basename)(b)}.tmp`)}(a)}async write(a){return this.#c?this.#h(a):this.#i(a)}}class i{#a;#j;constructor(a){this.#a=a,this.#j=new h(a)}async read(){let a;try{a=await (0,d.readFile)(this.#a,"utf-8")}catch(a){if("ENOENT"===a.code)return null;throw a}return a}write(a){return this.#j.write(a)}}class j{#k;#l;#m;constructor(a,{parse:b,stringify:c}){this.#k=new i(a),this.#l=b,this.#m=c}async read(){let a=await this.#k.read();return null===a?null:this.#l(a)}write(a){return this.#k.write(this.#m(a))}}class k extends j{constructor(a){super(a,{parse:JSON.parse,stringify:a=>JSON.stringify(a,null,2)})}}},12412:a=>{"use strict";a.exports=require("assert")},19225:(a,b,c)=>{"use strict";a.exports=c(44870)},21820:a=>{"use strict";a.exports=require("os")},25334:(a,b,c)=>{"use strict";function d(a){return null==a?"":String(a).trim()}function e({outboundProxyEnabled:a,outboundProxyUrl:b,outboundNoProxy:c,outboundProxyTargets:f}={}){if("u"<typeof process||!process.env)return;let g=d(b),h=d(c),i=Array.isArray(f)?f.map(d).filter(Boolean).join(","):d(f);if(!a){"1"===process.env.NINE_ROUTER_PROXY_MANAGED&&(delete process.env.HTTP_PROXY,delete process.env.HTTPS_PROXY,delete process.env.ALL_PROXY,delete process.env.NO_PROXY,delete process.env.NINE_ROUTER_PROXY_MANAGED,delete process.env.NINE_ROUTER_PROXY_URL,delete process.env.NINE_ROUTER_NO_PROXY,delete process.env.NINE_ROUTER_PROXY_TARGETS);return}let j="1"===process.env.NINE_ROUTER_PROXY_MANAGED,k=!1;j&&(delete process.env.HTTP_PROXY,delete process.env.HTTPS_PROXY,delete process.env.ALL_PROXY,delete process.env.NO_PROXY,delete process.env.NINE_ROUTER_NO_PROXY,delete process.env.NINE_ROUTER_PROXY_TARGETS,g||delete process.env.NINE_ROUTER_PROXY_URL),g&&(process.env.NINE_ROUTER_PROXY_URL=g,process.env.NINE_ROUTER_PROXY_TARGETS=i,k=!0),h&&(process.env.NO_PROXY=h,process.env.NINE_ROUTER_NO_PROXY=h,k=!0),k?process.env.NINE_ROUTER_PROXY_MANAGED="1":j&&delete process.env.NINE_ROUTER_PROXY_MANAGED}c.d(b,{k:()=>e})},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33792:(a,b,c)=>{"use strict";c.d(b,{Dc:()=>r,OZ:()=>u,YK:()=>p,dY:()=>s,nz:()=>v,tm:()=>t});var d=c(86935),e=c(69614),f=c(34013),g=c(73024),h=c.n(g),i=c(76760),j=c.n(i),k=c(77598),l=c.n(k),m=c(49120),n=c(89718);let o=new TextEncoder().encode(function(){if(process.env.JWT_SECRET)return process.env.JWT_SECRET;let a=j().join(m.nJ,"jwt-secret");try{return h().readFileSync(a,"utf8").trim()}catch{}h().mkdirSync(m.nJ,{recursive:!0});let b=l().randomBytes(32).toString("hex");return h().writeFileSync(a,b,{mode:384}),b}());function p(a){let b="true"===process.env.AUTH_COOKIE_SECURE,c=a?.headers?.get?.("x-forwarded-proto");return b||"https"===c}async function q(a={}){return new d.P({authenticated:!0,...a}).setProtectedHeader({alg:"HS256"}).setIssuedAt().setExpirationTime("24h").sign(o)}async function r(a){if(!a)return!1;try{return await (0,e.V)(a,o),!0}catch{return!1}}async function s(a){if(!a)return null;try{let{payload:b}=await (0,e.V)(a,o);return b}catch{return null}}async function t(a,b,c={}){let d=await q(c);a.set("auth_token",d,{httpOnly:!0,secure:p(b),sameSite:"lax",path:"/"})}function u(a){a.delete("auth_token")}async function v(a){if("string"!=typeof a||!a)return!1;let b=await (0,n.getSettings)(),c=b?.password;return c?f.default.compare(a,c):a===(process.env.INITIAL_PASSWORD||"123456")}},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},49120:(a,b,c)=>{"use strict";c.d(b,{c_:()=>n,nJ:()=>m});var d=c(29021),e=c.n(d),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h);let j="openrouterx",k=["db.json","usage.json","log.txt","disabledModels.json","request-details.json"];function l(a){return"win32"===process.platform?g().join(process.env.APPDATA||g().join(i().homedir(),"AppData","Roaming"),a):g().join(i().homedir(),`.${a}`)}let m=function(){let a=process.env.DATA_DIR;if(!a)return l(j);if("win32"===process.platform&&/^\//.test(a))return console.warn(`[DATA_DIR] '${a}' is a Unix path on Windows → fallback to default`),l(j);try{return e().mkdirSync(a,{recursive:!0}),a}catch(b){if(b?.code==="EACCES"||b?.code==="EPERM")return console.warn(`[DATA_DIR] '${a}' not writable -> fallback ~/.${j}`),l(j);throw b}}(),n=g().join(m,"db.json");!function(){if(process.env.DATA_DIR)return;let a=l("9router");if(a!==m&&e().existsSync(a))for(let b of(e().existsSync(m)||e().mkdirSync(m,{recursive:!0}),k)){let c=g().join(a,b),d=g().join(m,b);e().existsSync(c)&&!e().existsSync(d)&&e().copyFileSync(c,d)}}()},51455:a=>{"use strict";a.exports=require("node:fs/promises")},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},69614:(a,b,c)=>{"use strict";c.d(b,{V:()=>p});var d=c(88888),e=c(91356),f=c(99129),g=c(73575),h=c(41570),i=c(19035),j=c(24762),k=c(80308),l=c(11980);async function m(a,b,c){if(!(0,i.Gv)(a))throw new f.Ye("Flattened JWS must be an object");if(void 0===a.protected&&void 0===a.header)throw new f.Ye('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==a.protected&&"string"!=typeof a.protected)throw new f.Ye("JWS Protected Header incorrect type");if(void 0===a.payload)throw new f.Ye("JWS Payload missing");if("string"!=typeof a.signature)throw new f.Ye("JWS Signature missing or incorrect type");if(void 0!==a.header&&!(0,i.Gv)(a.header))throw new f.Ye("JWS Unprotected Header incorrect type");let m={};if(a.protected)try{let b=(0,d.D)(a.protected);m=JSON.parse(g.D0.decode(b))}catch{throw new f.Ye("JWS Protected Header is invalid")}if(!(0,i.fz)(m,a.header))throw new f.Ye("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let n={...m,...a.header},o=(0,k.n)(f.Ye,new Map([["b64",!0]]),c?.crit,m,n),p=!0;if(o.has("b64")&&"boolean"!=typeof(p=m.b64))throw new f.Ye('The "b64" (base64url-encode payload) Header Parameter must be a boolean');let{alg:q}=n;if("string"!=typeof q||!q)throw new f.Ye('JWS "alg" (Algorithm) Header Parameter missing or invalid');let r=c&&function(a,b){if(void 0!==b&&(!Array.isArray(b)||b.some(a=>"string"!=typeof a)))throw TypeError(`"${a}" option must be an array of strings`);if(b)return new Set(b)}("algorithms",c.algorithms);if(r&&!r.has(q))throw new f.Rb('"alg" (Algorithm) Header Parameter value not allowed');if(p){if("string"!=typeof a.payload)throw new f.Ye("JWS Payload must be a string")}else if("string"!=typeof a.payload&&!(a.payload instanceof Uint8Array))throw new f.Ye("JWS Payload must be a string or an Uint8Array instance");let s=!1;"function"==typeof b&&(b=await b(m,a),s=!0),(0,j.y)(q,b,"verify");let t=(0,g.xW)(void 0!==a.protected?(0,g.lF)(a.protected):new Uint8Array,(0,g.lF)("."),"string"==typeof a.payload?p?(0,g.lF)(a.payload):g.Rd.encode(a.payload):a.payload),u=(0,h.h2)(a.signature,"signature",f.Ye),v=await (0,l.l)(b,q);if(!await (0,e.MX)(q,v,u,t))throw new f.h2;let w={payload:p?(0,h.h2)(a.payload,"payload",f.Ye):"string"==typeof a.payload?g.Rd.encode(a.payload):a.payload};return(void 0!==a.protected&&(w.protectedHeader=m),void 0!==a.header&&(w.unprotectedHeader=a.header),s)?{...w,key:v}:w}async function n(a,b,c){if(a instanceof Uint8Array&&(a=g.D0.decode(a)),"string"!=typeof a)throw new f.Ye("Compact JWS must be a string or Uint8Array");let{0:d,1:e,2:h,length:i}=a.split(".");if(3!==i)throw new f.Ye("Invalid Compact JWS");let j=await m({payload:e,protected:d,signature:h},b,c),k={payload:j.payload,protectedHeader:j.protectedHeader};return"function"==typeof b?{...k,key:j.key}:k}var o=c(17347);async function p(a,b,c){let d=await n(a,b,c);if(d.protectedHeader.crit?.includes("b64")&&!1===d.protectedHeader.b64)throw new f.Dp("JWTs MUST NOT use unencoded payload");let e={payload:(0,o.k6)(d.protectedHeader,d.payload,c),protectedHeader:d.protectedHeader};return"function"==typeof b?{...e,key:d.key}:e}},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},74559:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>H,patchFetch:()=>G,routeModule:()=>C,serverHooks:()=>F,workAsyncStorage:()=>D,workUnitAsyncStorage:()=>E});var d={};c.r(d),c.d(d,{GET:()=>A,POST:()=>B});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(45592),w=c(89718),x=c(25334),y=c(33792);function z(a){return!!a.headers.get("x-9r-cli-token")}async function A(a){try{if(!z(a)&&!await (0,y.nz)(a.headers.get("x-9r-password")))return v.NextResponse.json({error:"Invalid password"},{status:401});let b=await (0,w.zP)();return v.NextResponse.json(b)}catch(a){return console.log("Error exporting database:",a),v.NextResponse.json({error:"Failed to export database"},{status:500})}}async function B(a){try{let{password:b,...c}=await a.json();if(!z(a)&&!await (0,y.nz)(b))return v.NextResponse.json({error:"Invalid password"},{status:401});await (0,w.K1)(c);try{let a=await (0,w.getSettings)();(0,x.k)(a)}catch(a){console.warn("[Settings][DatabaseImport] Failed to re-apply outbound proxy env:",a)}return v.NextResponse.json({success:!0})}catch(a){return console.log("Error importing database:",a),v.NextResponse.json({error:a?.message||"Failed to import database"},{status:400})}}let C=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/settings/database/route",pathname:"/api/settings/database",filename:"route",bundlePath:"app/api/settings/database/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Users/bytedance/Documents/Projects/9router/src/app/api/settings/database/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:D,workUnitAsyncStorage:E,serverHooks:F}=C;function G(){return(0,g.patchFetch)({workAsyncStorage:D,workUnitAsyncStorage:E})}async function H(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),C.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/settings/database/route";"/index"===d&&(d="/");let e=await C.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=e,I=(0,k.normalizeAppPath)(d),J=!!(A.dynamicRoutes[I]||A.routes[F]),K=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,y,!1):b.end("This page could not be found"),null);if(J&&!z){let a=!!A.routes[F],b=A.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||C.isDev||z||(L="/index"===(L=F)?"/":L);let M=!0===C.isDev||!J,N=J&&!M;H&&G&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==B?void 0:B.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await C.getIncrementalCache(a,x,A,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>C.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g,deploymentId:v}},V=new l.NodeNextRequest(a),W=new l.NodeNextResponse(b),X=m.NextRequestAdapter.fromNodeNextRequest(V,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>C.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${O} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${O} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!S&&D&&E&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,p.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await C.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,B),b}},k=await C.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await h(Q):(e=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(n.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},h),void 0,!R))}catch(b){if(b instanceof t.NoFallbackError||await C.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,B),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},81115:a=>{"use strict";a.exports=require("constants")},82996:(a,b,c)=>{"use strict";c.d(b,{t:()=>d});class d{adapter;data;constructor(a,b){!function(a,b){if(void 0===a)throw Error("lowdb: missing adapter");if(void 0===b)throw Error("lowdb: missing default data")}(a,b),this.adapter=a,this.data=b}async read(){let a=await this.adapter.read();a&&(this.data=a)}async write(){this.data&&await this.adapter.write(this.data)}async update(a){a(this.data),await this.write()}}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},86935:(a,b,c)=>{"use strict";c.d(b,{P:()=>p});var d=c(88888),e=c(91356),f=c(19035),g=c(99129),h=c(73575),i=c(24762),j=c(80308),k=c(11980),l=c(41570);class m{#n;#o;#p;constructor(a){if(!(a instanceof Uint8Array))throw TypeError("payload must be an instance of Uint8Array");this.#n=a}setProtectedHeader(a){return(0,l.ac)(this.#o,"setProtectedHeader"),this.#o=a,this}setUnprotectedHeader(a){return(0,l.ac)(this.#p,"setUnprotectedHeader"),this.#p=a,this}async sign(a,b){let c,l,m,n;if(!this.#o&&!this.#p)throw new g.Ye("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!(0,f.fz)(this.#o,this.#p))throw new g.Ye("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let o={...this.#o,...this.#p},p=(0,j.n)(g.Ye,new Map([["b64",!0]]),b?.crit,this.#o,o),q=!0;if(p.has("b64")&&"boolean"!=typeof(q=this.#o.b64))throw new g.Ye('The "b64" (base64url-encode payload) Header Parameter must be a boolean');let{alg:r}=o;if("string"!=typeof r||!r)throw new g.Ye('JWS "alg" (Algorithm) Header Parameter missing or invalid');(0,i.y)(r,a,"sign"),q?(c=(0,d.l)(this.#n),l=(0,h.lF)(c)):(l=this.#n,c=""),this.#o?(m=(0,d.l)(JSON.stringify(this.#o)),n=(0,h.lF)(m)):(m="",n=new Uint8Array);let s=(0,h.xW)(n,(0,h.lF)("."),l),t=await (0,k.l)(a,r),u=await (0,e._S)(r,t,s),v={signature:(0,d.l)(u),payload:c};return this.#p&&(v.header=this.#p),this.#o&&(v.protected=m),v}}class n{#q;constructor(a){this.#q=new m(a)}setProtectedHeader(a){return this.#q.setProtectedHeader(a),this}async sign(a,b){let c=await this.#q.sign(a,b);if(void 0===c.payload)throw TypeError("use the flattened module for creating JWS with b64: false");return`${c.protected}.${c.payload}.${c.signature}`}}var o=c(17347);class p{#o;#r;constructor(a={}){this.#r=new o.cE(a)}setIssuer(a){return this.#r.iss=a,this}setSubject(a){return this.#r.sub=a,this}setAudience(a){return this.#r.aud=a,this}setJti(a){return this.#r.jti=a,this}setNotBefore(a){return this.#r.nbf=a,this}setExpirationTime(a){return this.#r.exp=a,this}setIssuedAt(a){return this.#r.iat=a,this}setProtectedHeader(a){return this.#o=a,this}async sign(a,b){let c=new n(this.#r.data());if(c.setProtectedHeader(this.#o),Array.isArray(this.#o?.crit)&&this.#o.crit.includes("b64")&&!1===this.#o.b64)throw new g.Dp("JWTs MUST NOT use unencoded payload");return c.sign(a,b)}}},92280:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},94735:a=>{"use strict";a.exports=require("events")},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,5592,7502,6936,4013,9718],()=>b(b.s=74559));module.exports=c})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../package.json","../../../../../../src/shared/utils/apiKey.js","../../../../../package.json","../../../../chunks/1220.js","../../../../chunks/1241.js","../../../../chunks/1275.js","../../../../chunks/1350.js","../../../../chunks/1679.js","../../../../chunks/1832.js","../../../../chunks/1998.js","../../../../chunks/2059.js","../../../../chunks/241.js","../../../../chunks/2944.js","../../../../chunks/319.js","../../../../chunks/3412.js","../../../../chunks/3428.js","../../../../chunks/3535.js","../../../../chunks/3546.js","../../../../chunks/3593.js","../../../../chunks/3913.js","../../../../chunks/4013.js","../../../../chunks/412.js","../../../../chunks/4632.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4922.js","../../../../chunks/4989.js","../../../../chunks/5118.js","../../../../chunks/5217.js","../../../../chunks/5258.js","../../../../chunks/5296.js","../../../../chunks/5573.js","../../../../chunks/5592.js","../../../../chunks/5615.js","../../../../chunks/5699.js","../../../../chunks/5816.js","../../../../chunks/5961.js","../../../../chunks/6001.js","../../../../chunks/602.js","../../../../chunks/6070.js","../../../../chunks/615.js","../../../../chunks/6151.js","../../../../chunks/6182.js","../../../../chunks/6306.js","../../../../chunks/6327.js","../../../../chunks/6457.js","../../../../chunks/6482.js","../../../../chunks/6688.js","../../../../chunks/6763.js","../../../../chunks/6777.js","../../../../chunks/6844.js","../../../../chunks/6936.js","../../../../chunks/7244.js","../../../../chunks/7259.js","../../../../chunks/7502.js","../../../../chunks/7774.js","../../../../chunks/7879.js","../../../../chunks/7937.js","../../../../chunks/801.js","../../../../chunks/8271.js","../../../../chunks/8473.js","../../../../chunks/8520.js","../../../../chunks/8895.js","../../../../chunks/8910.js","../../../../chunks/8920.js","../../../../chunks/8971.js","../../../../chunks/9460.js","../../../../chunks/9718.js","../../../../chunks/9787.js","../../../../chunks/9833.js","../../../../webpack-runtime.js","route_client-reference-manifest.js","../../../../../../node_modules/sql.js/dist/sql-wasm.wasm"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{var a={};a.id=2785,a.ids=[2785],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},643:a=>{"use strict";a.exports=require("node:perf_hooks")},1932:a=>{"use strict";a.exports=require("url")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{"use strict";a.exports=require("node:buffer")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{"use strict";a.exports=require("dns")},16698:a=>{"use strict";a.exports=require("node:async_hooks")},19225:(a,b,c)=>{"use strict";a.exports=c(44870)},21820:a=>{"use strict";a.exports=require("os")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32467:a=>{"use strict";a.exports=require("node:http2")},34589:a=>{"use strict";a.exports=require("node:assert")},34631:a=>{"use strict";a.exports=require("tls")},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},38522:a=>{"use strict";a.exports=require("node:zlib")},40610:a=>{"use strict";a.exports=require("node:dns")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},44708:a=>{"use strict";a.exports=require("node:https")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},55591:a=>{"use strict";a.exports=require("https")},57075:a=>{"use strict";a.exports=require("node:stream")},57975:a=>{"use strict";a.exports=require("node:util")},58946:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{POST:()=>x});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(45592),w=c(74926);async function x(a){try{let b=await a.json(),c=await (0,w.C)({proxyUrl:b?.proxyUrl,testUrl:b?.testUrl,timeoutMs:b?.timeoutMs});if(c?.ok)return v.NextResponse.json(c);let d="number"==typeof c?.status?c.status:500;return v.NextResponse.json({ok:!1,error:c?.error||"Proxy test failed"},{status:d})}catch(b){let a=b?.name==="AbortError"?"Proxy test timed out":b?.message||String(b);return v.NextResponse.json({ok:!1,error:a},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/settings/proxy-test/route",pathname:"/api/settings/proxy-test",filename:"route",bundlePath:"app/api/settings/proxy-test/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Users/bytedance/Documents/Projects/9router/src/app/api/settings/proxy-test/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),y.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/settings/proxy-test/route";"/index"===d&&(d="/");let e=await y.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=e,I=(0,k.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||y.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===y.isDev||!J,N=J&&!M;H&&G&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await y.getIncrementalCache(a,x,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>y.onRequestError(a,b,d,e,C)},sharedContext:{buildId:g,deploymentId:v}},V=new l.NodeNextRequest(a),W=new l.NodeNextResponse(b),X=m.NextRequestAdapter.fromNodeNextRequest(V,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>y.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${O} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${O} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!S&&D&&E&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,p.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},k=await y.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await h(Q):(e=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(n.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},h),void 0,!R))}catch(b){if(b instanceof t.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},74926:(a,b,c)=>{"use strict";c.d(b,{C:()=>g});var d=c(47774),e=c(61679);function f(a){return null==a?"":String(a).trim()}async function g({proxyUrl:a,testUrl:b,timeoutMs:c}={}){let i,j,k=f(a);if(!k)return{ok:!1,status:400,error:"proxyUrl is required"};let l=f(b)||"https://www.gstatic.com/generate_204",m=Number(c),n=Number.isFinite(m)&&m>0?Math.min(m,3e4):8e3;try{try{!function(a){try{return new URL(a).protocol.startsWith("socks")}catch{return!1}}(k)?i=new d.ProxyAgent({uri:k}):j=new e.SocksProxyAgent(k)}catch(a){return{ok:!1,status:400,error:`Invalid proxy URL: ${a?.message||String(a)}`}}let a=new AbortController,b=Date.now(),c=setTimeout(()=>a.abort(),n);try{let c=j?await h(l,{method:"HEAD",agent:j,signal:a.signal}):await (0,d.hd)(l,{method:"HEAD",dispatcher:i,signal:a.signal,headers:{"User-Agent":"OpenrouterX"}});return{ok:!0,status:c.status,statusText:c.statusText,responseOk:c.responseOk??c.ok,url:l,elapsedMs:Date.now()-b}}catch(b){let a=b?.name==="AbortError"?"Proxy test timed out":function(a){if(!a)return"Unknown error";let b=a?.message||String(a),c=a?.cause?.code||a?.code,d=a?.cause?.message;return d&&d!==b?c?`${b}: ${d} (${c})`:`${b}: ${d}`:c&&!b.includes(c)?`${b} (${c})`:b}(b);return{ok:!1,status:500,error:a}}finally{clearTimeout(c)}}finally{try{await i?.close?.(),await j?.destroy?.()}catch{}}}async function h(a,{method:b,agent:d,signal:e}){let f=new URL(a),g="http:"===f.protocol?await Promise.resolve().then(c.t.bind(c,37067,23)):await Promise.resolve().then(c.t.bind(c,44708,23)),i=g.default??g;return new Promise((a,c)=>{let g=i.request({protocol:f.protocol,hostname:f.hostname,port:f.port||("http:"===f.protocol?80:443),path:`${f.pathname}${f.search}`,method:b,headers:{"User-Agent":"OpenrouterX"},agent:d},b=>{b.resume(),b.on("end",()=>{let c=b.statusCode;a({ok:!0,status:c,statusText:b.statusMessage,responseOk:c>=200&&c<300})})});if(g.on("error",c),e){if(e.aborted)return void g.destroy(new DOMException("This operation was aborted","AbortError"));e.addEventListener("abort",()=>{g.destroy(new DOMException("This operation was aborted","AbortError"))},{once:!0})}g.end()})}},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},78474:a=>{"use strict";a.exports=require("node:events")},79428:a=>{"use strict";a.exports=require("buffer")},80099:a=>{"use strict";a.exports=require("node:sqlite")},81630:a=>{"use strict";a.exports=require("http")},83997:a=>{"use strict";a.exports=require("tty")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87997:a=>{"use strict";a.exports=require("node:timers")},91645:a=>{"use strict";a.exports=require("net")},92280:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},94735:a=>{"use strict";a.exports=require("events")},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,5592,7774,1679],()=>b(b.s=58946));module.exports=c})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1220.js","../../../../chunks/1241.js","../../../../chunks/1275.js","../../../../chunks/1350.js","../../../../chunks/1679.js","../../../../chunks/1832.js","../../../../chunks/1998.js","../../../../chunks/2059.js","../../../../chunks/241.js","../../../../chunks/2944.js","../../../../chunks/319.js","../../../../chunks/3412.js","../../../../chunks/3428.js","../../../../chunks/3535.js","../../../../chunks/3546.js","../../../../chunks/3593.js","../../../../chunks/3913.js","../../../../chunks/4013.js","../../../../chunks/412.js","../../../../chunks/4632.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4922.js","../../../../chunks/4989.js","../../../../chunks/5118.js","../../../../chunks/5217.js","../../../../chunks/5258.js","../../../../chunks/5296.js","../../../../chunks/5573.js","../../../../chunks/5592.js","../../../../chunks/5615.js","../../../../chunks/5699.js","../../../../chunks/5816.js","../../../../chunks/5961.js","../../../../chunks/6001.js","../../../../chunks/602.js","../../../../chunks/6070.js","../../../../chunks/615.js","../../../../chunks/6151.js","../../../../chunks/6182.js","../../../../chunks/6306.js","../../../../chunks/6327.js","../../../../chunks/6457.js","../../../../chunks/6482.js","../../../../chunks/6688.js","../../../../chunks/6763.js","../../../../chunks/6777.js","../../../../chunks/6844.js","../../../../chunks/6936.js","../../../../chunks/7244.js","../../../../chunks/7259.js","../../../../chunks/7502.js","../../../../chunks/7774.js","../../../../chunks/7879.js","../../../../chunks/7937.js","../../../../chunks/801.js","../../../../chunks/8271.js","../../../../chunks/8473.js","../../../../chunks/8520.js","../../../../chunks/8895.js","../../../../chunks/8910.js","../../../../chunks/8920.js","../../../../chunks/8971.js","../../../../chunks/9460.js","../../../../chunks/9718.js","../../../../chunks/9787.js","../../../../chunks/9833.js","../../../../webpack-runtime.js","route_client-reference-manifest.js","../../../../../../node_modules/sql.js/dist/sql-wasm.wasm"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{var a={};a.id=2797,a.ids=[2797],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11259:(a,b,c)=>{"use strict";c.d(b,{Pv:()=>k}),c(73024);var d=c(51455),e=c(76760),f=c(73136);async function g(a,b,c){for(let d=0;d<b;d++)try{return await a()}catch(a){if(d<b-1)await new Promise(a=>setTimeout(a,c));else throw a}}class h{#a;#b;#c=!1;#d=null;#e=null;#f=null;#g=null;#h(a){return this.#g=a,this.#f||=new Promise((a,b)=>{this.#e=[a,b]}),new Promise((a,b)=>{this.#f?.then(a).catch(b)})}async #i(a){this.#c=!0;try{await (0,d.writeFile)(this.#b,a,"utf-8"),await g(async()=>{await (0,d.rename)(this.#b,this.#a)},10,100),this.#d?.[0]()}catch(a){throw a instanceof Error&&this.#d?.[1](a),a}finally{if(this.#c=!1,this.#d=this.#e,this.#e=this.#f=null,null!==this.#g){let a=this.#g;this.#g=null,await this.write(a)}}}constructor(a){this.#a=a,this.#b=function(a){let b=a instanceof URL?(0,f.fileURLToPath)(a):a.toString();return(0,e.join)((0,e.dirname)(b),`.${(0,e.basename)(b)}.tmp`)}(a)}async write(a){return this.#c?this.#h(a):this.#i(a)}}class i{#a;#j;constructor(a){this.#a=a,this.#j=new h(a)}async read(){let a;try{a=await (0,d.readFile)(this.#a,"utf-8")}catch(a){if("ENOENT"===a.code)return null;throw a}return a}write(a){return this.#j.write(a)}}class j{#k;#l;#m;constructor(a,{parse:b,stringify:c}){this.#k=new i(a),this.#l=b,this.#m=c}async read(){let a=await this.#k.read();return null===a?null:this.#l(a)}write(a){return this.#k.write(this.#m(a))}}class k extends j{constructor(a){super(a,{parse:JSON.parse,stringify:a=>JSON.stringify(a,null,2)})}}},12412:a=>{"use strict";a.exports=require("assert")},19225:(a,b,c)=>{"use strict";a.exports=c(44870)},21820:a=>{"use strict";a.exports=require("os")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},49120:(a,b,c)=>{"use strict";c.d(b,{c_:()=>n,nJ:()=>m});var d=c(29021),e=c.n(d),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h);let j="openrouterx",k=["db.json","usage.json","log.txt","disabledModels.json","request-details.json"];function l(a){return"win32"===process.platform?g().join(process.env.APPDATA||g().join(i().homedir(),"AppData","Roaming"),a):g().join(i().homedir(),`.${a}`)}let m=function(){let a=process.env.DATA_DIR;if(!a)return l(j);if("win32"===process.platform&&/^\//.test(a))return console.warn(`[DATA_DIR] '${a}' is a Unix path on Windows → fallback to default`),l(j);try{return e().mkdirSync(a,{recursive:!0}),a}catch(b){if(b?.code==="EACCES"||b?.code==="EPERM")return console.warn(`[DATA_DIR] '${a}' not writable -> fallback ~/.${j}`),l(j);throw b}}(),n=g().join(m,"db.json");!function(){if(process.env.DATA_DIR)return;let a=l("9router");if(a!==m&&e().existsSync(a))for(let b of(e().existsSync(m)||e().mkdirSync(m,{recursive:!0}),k)){let c=g().join(a,b),d=g().join(m,b);e().existsSync(c)&&!e().existsSync(d)&&e().copyFileSync(c,d)}}()},51455:a=>{"use strict";a.exports=require("node:fs/promises")},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},81115:a=>{"use strict";a.exports=require("constants")},82996:(a,b,c)=>{"use strict";c.d(b,{t:()=>d});class d{adapter;data;constructor(a,b){!function(a,b){if(void 0===a)throw Error("lowdb: missing adapter");if(void 0===b)throw Error("lowdb: missing default data")}(a,b),this.adapter=a,this.data=b}async read(){let a=await this.adapter.read();a&&(this.data=a)}async write(){this.data&&await this.adapter.write(this.data)}async update(a){a(this.data),await this.write()}}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},92280:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},94565:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{GET:()=>x});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(45592),w=c(89718);async function x(){try{let a=await (0,w.getSettings)(),b=!1!==a.requireLogin,c=!1!==a.tunnelDashboardAccess,d=a.tunnelUrl||"",e=a.tailscaleUrl||"";return v.NextResponse.json({requireLogin:b,tunnelDashboardAccess:c,tunnelUrl:d,tailscaleUrl:e})}catch(a){return v.NextResponse.json({requireLogin:!0},{status:200})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/settings/require-login/route",pathname:"/api/settings/require-login",filename:"route",bundlePath:"app/api/settings/require-login/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Users/bytedance/Documents/Projects/9router/src/app/api/settings/require-login/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),y.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/settings/require-login/route";"/index"===d&&(d="/");let e=await y.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=e,I=(0,k.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||y.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===y.isDev||!J,N=J&&!M;H&&G&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await y.getIncrementalCache(a,x,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>y.onRequestError(a,b,d,e,C)},sharedContext:{buildId:g,deploymentId:v}},V=new l.NodeNextRequest(a),W=new l.NodeNextResponse(b),X=m.NextRequestAdapter.fromNodeNextRequest(V,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>y.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${O} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${O} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!S&&D&&E&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,p.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},k=await y.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await h(Q):(e=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(n.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},h),void 0,!R))}catch(b){if(b instanceof t.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}},94735:a=>{"use strict";a.exports=require("events")},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,5592,7502,9718],()=>b(b.s=94565));module.exports=c})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../package.json","../../../../../../src/shared/utils/apiKey.js","../../../../../package.json","../../../../chunks/1220.js","../../../../chunks/1241.js","../../../../chunks/1275.js","../../../../chunks/1350.js","../../../../chunks/1679.js","../../../../chunks/1832.js","../../../../chunks/1998.js","../../../../chunks/2059.js","../../../../chunks/241.js","../../../../chunks/2944.js","../../../../chunks/319.js","../../../../chunks/3412.js","../../../../chunks/3428.js","../../../../chunks/3535.js","../../../../chunks/3546.js","../../../../chunks/3593.js","../../../../chunks/3913.js","../../../../chunks/4013.js","../../../../chunks/412.js","../../../../chunks/4632.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4922.js","../../../../chunks/4989.js","../../../../chunks/5118.js","../../../../chunks/5217.js","../../../../chunks/5258.js","../../../../chunks/5296.js","../../../../chunks/5573.js","../../../../chunks/5592.js","../../../../chunks/5615.js","../../../../chunks/5699.js","../../../../chunks/5816.js","../../../../chunks/5961.js","../../../../chunks/6001.js","../../../../chunks/602.js","../../../../chunks/6070.js","../../../../chunks/615.js","../../../../chunks/6151.js","../../../../chunks/6182.js","../../../../chunks/6306.js","../../../../chunks/6327.js","../../../../chunks/6457.js","../../../../chunks/6482.js","../../../../chunks/6688.js","../../../../chunks/6763.js","../../../../chunks/6777.js","../../../../chunks/6844.js","../../../../chunks/6936.js","../../../../chunks/7244.js","../../../../chunks/7259.js","../../../../chunks/7502.js","../../../../chunks/7774.js","../../../../chunks/7879.js","../../../../chunks/7937.js","../../../../chunks/801.js","../../../../chunks/8271.js","../../../../chunks/8473.js","../../../../chunks/8520.js","../../../../chunks/8895.js","../../../../chunks/8910.js","../../../../chunks/8920.js","../../../../chunks/8971.js","../../../../chunks/9460.js","../../../../chunks/9718.js","../../../../chunks/9787.js","../../../../chunks/9833.js","../../../../webpack-runtime.js","route_client-reference-manifest.js","../../../../../../node_modules/sql.js/dist/sql-wasm.wasm"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{var a={};a.id=5177,a.ids=[5177],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3662:(a,b,c)=>{"use strict";c.d(b,{EQ:()=>f,LY:()=>d,O:()=>e,fh:()=>h,t2:()=>i,wf:()=>g});let d={400:{type:"invalid_request_error",code:"bad_request"},401:{type:"authentication_error",code:"invalid_api_key"},402:{type:"billing_error",code:"payment_required"},403:{type:"permission_error",code:"insufficient_quota"},404:{type:"invalid_request_error",code:"model_not_found"},406:{type:"invalid_request_error",code:"model_not_supported"},429:{type:"rate_limit_error",code:"rate_limit_exceeded"},500:{type:"server_error",code:"internal_server_error"},502:{type:"server_error",code:"bad_gateway"},503:{type:"server_error",code:"service_unavailable"},504:{type:"server_error",code:"gateway_timeout"}},e={400:"Bad request",401:"Invalid API key provided",402:"Payment required",403:"You exceeded your current quota",404:"Model not found",406:"Model not supported",429:"Rate limit exceeded",500:"Internal server error",502:"Bad gateway - upstream provider error",503:"Service temporarily unavailable",504:"Gateway timeout"},f={base:2e3,max:3e5,maxLevel:15},g=3e4,h=18e5,i=[{text:"no credentials",cooldownMs:12e4},{text:"request not allowed",cooldownMs:5e3},{text:"improperly formed request",cooldownMs:12e4},{text:"rate limit",backoff:!0},{text:"too many requests",backoff:!0},{text:"quota exceeded",backoff:!0},{text:"capacity",backoff:!0},{text:"overloaded",backoff:!0},{status:401,cooldownMs:12e4},{status:402,cooldownMs:12e4},{status:403,cooldownMs:12e4},{status:404,cooldownMs:12e4},{status:429,backoff:!0}]},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11259:(a,b,c)=>{"use strict";c.d(b,{Pv:()=>k}),c(73024);var d=c(51455),e=c(76760),f=c(73136);async function g(a,b,c){for(let d=0;d<b;d++)try{return await a()}catch(a){if(d<b-1)await new Promise(a=>setTimeout(a,c));else throw a}}class h{#a;#b;#c=!1;#d=null;#e=null;#f=null;#g=null;#h(a){return this.#g=a,this.#f||=new Promise((a,b)=>{this.#e=[a,b]}),new Promise((a,b)=>{this.#f?.then(a).catch(b)})}async #i(a){this.#c=!0;try{await (0,d.writeFile)(this.#b,a,"utf-8"),await g(async()=>{await (0,d.rename)(this.#b,this.#a)},10,100),this.#d?.[0]()}catch(a){throw a instanceof Error&&this.#d?.[1](a),a}finally{if(this.#c=!1,this.#d=this.#e,this.#e=this.#f=null,null!==this.#g){let a=this.#g;this.#g=null,await this.write(a)}}}constructor(a){this.#a=a,this.#b=function(a){let b=a instanceof URL?(0,f.fileURLToPath)(a):a.toString();return(0,e.join)((0,e.dirname)(b),`.${(0,e.basename)(b)}.tmp`)}(a)}async write(a){return this.#c?this.#h(a):this.#i(a)}}class i{#a;#j;constructor(a){this.#a=a,this.#j=new h(a)}async read(){let a;try{a=await (0,d.readFile)(this.#a,"utf-8")}catch(a){if("ENOENT"===a.code)return null;throw a}return a}write(a){return this.#j.write(a)}}class j{#k;#l;#m;constructor(a,{parse:b,stringify:c}){this.#k=new i(a),this.#l=b,this.#m=c}async read(){let a=await this.#k.read();return null===a?null:this.#l(a)}write(a){return this.#k.write(this.#m(a))}}class k extends j{constructor(a){super(a,{parse:JSON.parse,stringify:a=>JSON.stringify(a,null,2)})}}},12412:a=>{"use strict";a.exports=require("assert")},12557:(a,b,c)=>{"use strict";c.d(b,{Bl:()=>j,Qo:()=>f,S5:()=>l,hk:()=>e,kJ:()=>k});var d=c(3662);function e(a,b,c=0){let f=b?("string"==typeof b?b:JSON.stringify(b)).toLowerCase():"";for(let b of d.t2)if(b.text&&f&&f.includes(b.text)||b.status&&b.status===a){if(b.backoff){let a=Math.min(c+1,d.EQ.maxLevel);return{shouldFallback:!0,cooldownMs:function(a=0){let b=Math.max(0,a-1);return Math.min(d.EQ.base*Math.pow(2,b),d.EQ.max)}(a),newBackoffLevel:a}}return{shouldFallback:!0,cooldownMs:b.cooldownMs}}return{shouldFallback:!0,cooldownMs:d.wf}}function f(a){if(!a)return"";let b=new Date(a).getTime()-Date.now();if(b<=0)return"reset after 0s";let c=Math.ceil(b/1e3),d=Math.floor(c/3600),e=Math.floor(c%3600/60),f=c%60,g=[];return d>0&&g.push(`${d}h`),e>0&&g.push(`${e}m`),(f>0||0===g.length)&&g.push(`${f}s`),`reset after ${g.join(" ")}`}let g="modelLock_",h=`${g}__all`;function i(a){return a?`${g}${a}`:h}function j(a,b){let c=a[i(b)]||a[h];return!!c&&new Date(c).getTime()>Date.now()}function k(a){if(!a)return null;let b=null,c=Date.now();for(let[d,e]of Object.entries(a)){if(!d.startsWith(g)||!e)continue;let a=new Date(e).getTime();a<=c||(!b||a<b)&&(b=a)}return b?new Date(b).toISOString():null}function l(a,b){return{[i(a)]:new Date(Date.now()+b).toISOString()}}},19225:(a,b,c)=>{"use strict";a.exports=c(44870)},21820:a=>{"use strict";a.exports=require("os")},25334:(a,b,c)=>{"use strict";function d(a){return null==a?"":String(a).trim()}function e({outboundProxyEnabled:a,outboundProxyUrl:b,outboundNoProxy:c,outboundProxyTargets:f}={}){if("u"<typeof process||!process.env)return;let g=d(b),h=d(c),i=Array.isArray(f)?f.map(d).filter(Boolean).join(","):d(f);if(!a){"1"===process.env.NINE_ROUTER_PROXY_MANAGED&&(delete process.env.HTTP_PROXY,delete process.env.HTTPS_PROXY,delete process.env.ALL_PROXY,delete process.env.NO_PROXY,delete process.env.NINE_ROUTER_PROXY_MANAGED,delete process.env.NINE_ROUTER_PROXY_URL,delete process.env.NINE_ROUTER_NO_PROXY,delete process.env.NINE_ROUTER_PROXY_TARGETS);return}let j="1"===process.env.NINE_ROUTER_PROXY_MANAGED,k=!1;j&&(delete process.env.HTTP_PROXY,delete process.env.HTTPS_PROXY,delete process.env.ALL_PROXY,delete process.env.NO_PROXY,delete process.env.NINE_ROUTER_NO_PROXY,delete process.env.NINE_ROUTER_PROXY_TARGETS,g||delete process.env.NINE_ROUTER_PROXY_URL),g&&(process.env.NINE_ROUTER_PROXY_URL=g,process.env.NINE_ROUTER_PROXY_TARGETS=i,k=!0),h&&(process.env.NO_PROXY=h,process.env.NINE_ROUTER_NO_PROXY=h,k=!0),k?process.env.NINE_ROUTER_PROXY_MANAGED="1":j&&delete process.env.NINE_ROUTER_PROXY_MANAGED}c.d(b,{k:()=>e})},26922:(a,b,c)=>{"use strict";c.d(b,{KZ:()=>k,S6:()=>h,Yr:()=>o,f6:()=>l,fc:()=>g,kU:()=>i,pT:()=>j,w_:()=>m});var d=c(62842),e=c(55673);let f=["minLength","maxLength","exclusiveMinimum","exclusiveMaximum","minItems","maxItems","format","default","examples","$schema","$defs","definitions","const","$ref","$comment","additionalProperties","propertyNames","patternProperties","enumDescriptions","anyOf","oneOf","allOf","not","dependencies","dependentSchemas","dependentRequired","title","optional","if","then","else","contentMediaType","contentEncoding","cornerRadius","fillColor","fontFamily","fontSize","fontWeight","gap","padding","strokeColor","strokeThickness","textColor"],g=[{category:"HARM_CATEGORY_HATE_SPEECH",threshold:"OFF"},{category:"HARM_CATEGORY_DANGEROUS_CONTENT",threshold:"OFF"},{category:"HARM_CATEGORY_SEXUALLY_EXPLICIT",threshold:"OFF"},{category:"HARM_CATEGORY_HARASSMENT",threshold:"OFF"},{category:"HARM_CATEGORY_CIVIC_INTEGRITY",threshold:"OFF"}];function h(a){let b=[];if("string"==typeof a)b.push({text:a});else if(Array.isArray(a)){for(let c of a)if(c.type===e.x4.TEXT)b.push({text:c.text});else if(c.type===e.x4.IMAGE_URL&&c.image_url?.url?.startsWith("data:")){let a=c.image_url.url,d=a.indexOf(",");if(-1!==d){let c=a.substring(5,d),e=a.substring(d+1),f=c.split(";")[0];b.push({inlineData:{mime_type:f,data:e}})}}else if(c.type===e.x4.IMAGE_URL&&c.image_url?.url&&(c.image_url.url.startsWith("http://")||c.image_url.url.startsWith("https://")))b.push({fileData:{fileUri:c.image_url.url,mimeType:"image/*"}});else if(c.type===e.x4.INPUT_AUDIO&&c.input_audio?.data){let a=c.input_audio.format||"wav",d="mp3"===a?"audio/mpeg":`audio/${a}`;b.push({inlineData:{mime_type:d,data:c.input_audio.data}})}else if(c.type===e.x4.AUDIO_URL&&c.audio_url?.url?.startsWith("data:")){let a=c.audio_url.url,d=a.indexOf(",");if(-1!==d){let c=a.substring(5,d),e=a.substring(d+1),f=c.split(";")[0];b.push({inlineData:{mime_type:f,data:e}})}}else if(c.type===e.x4.FILE&&c.file?.file_data?.startsWith("data:")){let a=c.file.file_data,d=a.indexOf(",");if(-1!==d){let c=a.substring(5,d).split(";")[0],e=a.substring(d+1);b.push({inlineData:{mime_type:c,data:e}})}}}return b}function i(a,b=""){return"string"==typeof a?a:Array.isArray(a)?a.filter(a=>a.type===e.x4.TEXT).map(a=>a.text).join(b):""}function j(a){return(0,d.N)(a,null)}function k(){return`agent-${crypto.randomUUID()}`}function l(){return crypto.randomUUID()+Date.now().toString()}function m(){let a=["useful","bright","swift","calm","bold"],b=["fuze","wave","spark","flow","core"],c=a[Math.floor(Math.random()*a.length)],d=b[Math.floor(Math.random()*b.length)];return`${c}-${d}-${crypto.randomUUID().slice(0,5)}`}function n(a){let b=0,c=-1;for(let d=0;d<a.length;d++){let e=a[d],f=0,g=e.type;"object"===g||e.properties?f=3:"array"===g||e.items?f=2:g&&"null"!==g&&(f=1),f>c&&(c=f,b=d)}return b}function o(a){return a&&"object"==typeof a&&(!function a(b){if(b&&"object"==typeof b)for(let c of(void 0===b.const||b.enum||(b.enum=[b.const],delete b.const),Object.values(b)))c&&"object"==typeof c&&a(c)}(a),!function a(b){if(b&&"object"==typeof b)for(let c of(b.enum&&Array.isArray(b.enum)&&(b.enum=b.enum.map(a=>String(a)),b.type||(b.type="string")),Object.values(b)))c&&"object"==typeof c&&a(c)}(a),!function a(b){if(b&&"object"==typeof b){if(b.allOf&&Array.isArray(b.allOf)){let a={};for(let c of b.allOf)if(c.properties&&(a.properties||(a.properties={}),Object.assign(a.properties,c.properties)),c.required&&Array.isArray(c.required))for(let b of(a.required||(a.required=[]),c.required))a.required.includes(b)||a.required.push(b);delete b.allOf,a.properties&&(b.properties={...b.properties,...a.properties}),a.required&&(b.required=[...b.required||[],...a.required])}for(let c of Object.values(b))c&&"object"==typeof c&&a(c)}}(a),!function a(b){if(b&&"object"==typeof b){if(b.anyOf&&Array.isArray(b.anyOf)&&b.anyOf.length>0){let a=b.anyOf.filter(a=>a&&"null"!==a.type);if(a.length>0){let c=n(a),d=a[c];delete b.anyOf,Object.assign(b,d)}}if(b.oneOf&&Array.isArray(b.oneOf)&&b.oneOf.length>0){let a=b.oneOf.filter(a=>a&&"null"!==a.type);if(a.length>0){let c=n(a),d=a[c];delete b.oneOf,Object.assign(b,d)}}for(let c of Object.values(b))c&&"object"==typeof c&&a(c)}}(a),!function a(b){if(b&&"object"==typeof b){if(b.type&&Array.isArray(b.type)){let a=b.type.filter(a=>"null"!==a);b.type=a.length>0?a[0]:"string"}for(let c of Object.values(b))c&&"object"==typeof c&&a(c)}}(a),!function a(b){if(b&&"object"==typeof b)for(let c of(b.properties&&!b.type&&(b.type="object"),Object.values(b)))c&&"object"==typeof c&&a(c)}(a),!function a(b,c){if(b&&"object"==typeof b){if(Array.isArray(b)){for(let d of b)a(d,c);return}for(let d of Object.keys(b)){if(c.includes(d)||d.startsWith("x-")){delete b[d];continue}let e=b[d];e&&"object"==typeof e&&a(e,c)}}}(a,f),!function a(b){if(b&&"object"==typeof b){if(b.required&&Array.isArray(b.required)&&b.properties){let a=b.required.filter(a=>Object.prototype.hasOwnProperty.call(b.properties,a));0===a.length?delete b.required:b.required=a}for(let c of Object.values(b))c&&"object"==typeof c&&a(c)}}(a),!function a(b){if(b&&"object"==typeof b)for(let c of("object"!==b.type||b.properties&&0!==Object.keys(b.properties).length||(b.properties={reason:{type:"string",description:"Brief explanation of why you are calling this tool"}},b.required=["reason"]),Object.values(b)))c&&"object"==typeof c&&a(c)}(a)),a}},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},43659:(a,b,c)=>{"use strict";c.d(b,{A1:()=>g,lR:()=>i,wO:()=>h,yj:()=>e,zL:()=>f});var d=c(3662);function e(a,b){let c;return new Response(JSON.stringify((c=d.LY[a]||(a>=500?{type:"server_error",code:"internal_server_error"}:{type:"invalid_request_error",code:""}),{error:{message:b||d.O[a]||"An error occurred",type:c.type,code:c.code}})),{status:a,headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})}async function f(a,b=null){let c="";try{c=await a.text()}catch{c=""}if(b&&"function"==typeof b.parseError)try{let e=b.parseError(a,c);if(e&&"object"==typeof e){let b=e.message||d.O[a.status]||`Upstream error: ${a.status}`;return{statusCode:e.status||a.status,message:b,resetsAtMs:e.resetsAtMs}}}catch{}let e="";try{let a=JSON.parse(c);e=a.error?.message||a.message||a.error||c}catch{e=c}let g=("string"==typeof e?e:JSON.stringify(e))||d.O[a.status]||`Upstream error: ${a.status}`;return{statusCode:a.status,message:g}}function g(a,b,c){return{success:!1,status:a,error:b,resetsAtMs:c,response:e(a,b)}}function h(a,b,c,d){let e=Math.max(Math.ceil((new Date(c).getTime()-Date.now())/1e3),1);return new Response(JSON.stringify({error:{message:`${b} (${d})`}}),{status:a,headers:{"Content-Type":"application/json","Retry-After":String(e)}})}function i(a,b,c,d){let e=d||a.code||"FETCH_FAILED",f=a.message||"Unknown error",g=a.cause?.code,h=a.cause?.message,i=g||h?` (cause: ${[g,h].filter(Boolean).join(": ")})`:"";return`[${e}]: ${f}${i}`}},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},49120:(a,b,c)=>{"use strict";c.d(b,{c_:()=>n,nJ:()=>m});var d=c(29021),e=c.n(d),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h);let j="openrouterx",k=["db.json","usage.json","log.txt","disabledModels.json","request-details.json"];function l(a){return"win32"===process.platform?g().join(process.env.APPDATA||g().join(i().homedir(),"AppData","Roaming"),a):g().join(i().homedir(),`.${a}`)}let m=function(){let a=process.env.DATA_DIR;if(!a)return l(j);if("win32"===process.platform&&/^\//.test(a))return console.warn(`[DATA_DIR] '${a}' is a Unix path on Windows → fallback to default`),l(j);try{return e().mkdirSync(a,{recursive:!0}),a}catch(b){if(b?.code==="EACCES"||b?.code==="EPERM")return console.warn(`[DATA_DIR] '${a}' not writable -> fallback ~/.${j}`),l(j);throw b}}(),n=g().join(m,"db.json");!function(){if(process.env.DATA_DIR)return;let a=l("9router");if(a!==m&&e().existsSync(a))for(let b of(e().existsSync(m)||e().mkdirSync(m,{recursive:!0}),k)){let c=g().join(a,b),d=g().join(m,b);e().existsSync(c)&&!e().existsSync(d)&&e().copyFileSync(c,d)}}()},51455:a=>{"use strict";a.exports=require("node:fs/promises")},55511:a=>{"use strict";a.exports=require("crypto")},55673:(a,b,c)=>{"use strict";c.d(b,{R4:()=>g,BY:()=>l,a_:()=>j.a_,RV:()=>e,rP:()=>k,x4:()=>f,bC:()=>j.bC,Du:()=>h,z7:()=>d,m8:()=>i});let d={USER:"user",ASSISTANT:"assistant",TOOL:"tool",SYSTEM:"system",DEVELOPER:"developer"},e={USER:"user",MODEL:"model"},f={TEXT:"text",IMAGE_URL:"image_url",IMAGE:"image",INPUT_AUDIO:"input_audio",AUDIO_URL:"audio_url",FILE:"file",FUNCTION:"function"},g={TEXT:"text",IMAGE:"image",DOCUMENT:"document",TOOL_USE:"tool_use",TOOL_RESULT:"tool_result",THINKING:"thinking",REDACTED_THINKING:"redacted_thinking"},h={MESSAGE:"message",FUNCTION_CALL:"function_call",FUNCTION_CALL_OUTPUT:"function_call_output",REASONING:"reasoning",OUTPUT_TEXT:"output_text",INPUT_TEXT:"input_text",INPUT_IMAGE:"input_image",SUMMARY_TEXT:"summary_text"},i=[f.TEXT,f.IMAGE_URL,f.IMAGE,f.INPUT_AUDIO,f.AUDIO_URL,f.FILE];f.TEXT,f.IMAGE_URL,f.IMAGE,g.TOOL_RESULT;var j=c(69320);let k="unknown",l="image/png"},62842:(a,b,c)=>{"use strict";function d(a,b){if("string"!=typeof a)return a;try{return JSON.parse(a)}catch{return b}}c.d(b,{N:()=>d})},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},69320:(a,b,c)=>{"use strict";c.d(b,{Ut:()=>e,a_:()=>f,bC:()=>d});let d={STOP:"stop",LENGTH:"length",TOOL_CALLS:"tool_calls",CONTENT_FILTER:"content_filter"},e={END_TURN:"end_turn",MAX_TOKENS:"max_tokens",TOOL_USE:"tool_use",STOP_SEQUENCE:"stop_sequence"},f={STOP:"STOP",MAX_TOKENS:"MAX_TOKENS",SAFETY:"SAFETY",RECITATION:"RECITATION",BLOCKLIST:"BLOCKLIST",PROHIBITED_CONTENT:"PROHIBITED_CONTENT"}},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},81115:a=>{"use strict";a.exports=require("constants")},82996:(a,b,c)=>{"use strict";c.d(b,{t:()=>d});class d{adapter;data;constructor(a,b){!function(a,b){if(void 0===a)throw Error("lowdb: missing adapter");if(void 0===b)throw Error("lowdb: missing default data")}(a,b),this.adapter=a,this.data=b}async read(){let a=await this.adapter.read();a&&(this.data=a)}async write(){this.data&&await this.adapter.write(this.data)}async update(a){a(this.data),await this.write()}}},84163:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>M,patchFetch:()=>L,routeModule:()=>H,serverHooks:()=>K,workAsyncStorage:()=>I,workUnitAsyncStorage:()=>J});var d={};c.r(d),c.d(d,{GET:()=>F,PATCH:()=>G,dynamic:()=>B,revalidate:()=>C});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(45592),w=c(89718),x=c(49120),y=c(25334),z=c(18910),A=c(34013);let B="force-dynamic",C=0,D={"Cache-Control":"no-store"},E=["password","mitmSudoEncrypted"];async function F(){try{let{password:a,oidcClientSecret:b,...c}=await (0,w.getSettings)();c.oidcConfigured=!!(c.oidcIssuerUrl&&c.oidcClientId&&b);let d="true"===process.env.ENABLE_REQUEST_LOGS,e="true"===process.env.ENABLE_TRANSLATOR;return v.NextResponse.json({...c,enableRequestLogs:d,enableTranslator:e,dataDir:x.nJ,databasePath:x.c_,hasPassword:!!a},{headers:D})}catch(a){return console.log("Error getting settings:",a),v.NextResponse.json({error:a.message},{status:500})}}async function G(a){try{let b=await a.json();for(let a of E)delete b[a];if(b.newPassword){let a=(await (0,w.getSettings)()).password;if(a){if(!b.currentPassword)return v.NextResponse.json({error:"Current password required"},{status:400});if(!await A.default.compare(b.currentPassword,a))return v.NextResponse.json({error:"Invalid current password"},{status:401})}else if(b.currentPassword&&"123456"!==b.currentPassword)return v.NextResponse.json({error:"Invalid current password"},{status:401});let c=await A.default.genSalt(10);b.password=await A.default.hash(b.newPassword,c),delete b.newPassword,delete b.currentPassword}!Object.prototype.hasOwnProperty.call(b,"oidcClientSecret")||b.oidcClientSecret&&String(b.oidcClientSecret).trim()||delete b.oidcClientSecret;let c=await (0,w.Xx)(b);(Object.prototype.hasOwnProperty.call(b,"outboundProxyEnabled")||Object.prototype.hasOwnProperty.call(b,"outboundProxyUrl")||Object.prototype.hasOwnProperty.call(b,"outboundNoProxy")||Object.prototype.hasOwnProperty.call(b,"outboundProxyTargets"))&&(0,y.k)(c),(Object.prototype.hasOwnProperty.call(b,"comboStrategy")||Object.prototype.hasOwnProperty.call(b,"comboStickyRoundRobinLimit")||Object.prototype.hasOwnProperty.call(b,"comboStrategies"))&&(0,z.UP)();let{password:d,oidcClientSecret:e,...f}=c;return f.oidcConfigured=!!(f.oidcIssuerUrl&&f.oidcClientId&&e),v.NextResponse.json(f,{headers:D})}catch(a){return console.log("Error updating settings:",a),v.NextResponse.json({error:a.message},{status:500})}}let H=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/settings/route",pathname:"/api/settings",filename:"route",bundlePath:"app/api/settings/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Users/bytedance/Documents/Projects/9router/src/app/api/settings/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:I,workUnitAsyncStorage:J,serverHooks:K}=H;function L(){return(0,g.patchFetch)({workAsyncStorage:I,workUnitAsyncStorage:J})}async function M(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),H.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/settings/route";"/index"===d&&(d="/");let e=await H.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,I=(0,k.normalizeAppPath)(d),J=!!(A.dynamicRoutes[I]||A.routes[E]),K=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,y,!1):b.end("This page could not be found"),null);if(J&&!z){let a=!!A.routes[E],b=A.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||H.isDev||z||(L="/index"===(L=E)?"/":L);let M=!0===H.isDev||!J,N=J&&!M;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==B?void 0:B.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await H.getIncrementalCache(a,x,A,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>H.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g,deploymentId:v}},V=new l.NodeNextRequest(a),W=new l.NodeNextResponse(b),X=m.NextRequestAdapter.fromNodeNextRequest(V,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>H.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${O} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${O} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!S&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,p.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await H.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:C})},!1,B),b}},k=await H.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await h(Q):(e=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(n.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},h),void 0,!R))}catch(b){if(b instanceof t.NoFallbackError||await H.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:C})},!1,B),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},92280:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},94735:a=>{"use strict";a.exports=require("events")},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,5592,7502,4013,9718,8920,6306,8910],()=>b(b.s=84163));module.exports=c})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":1,"files":["../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../node_modules/@swc/helpers/package.json","../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../node_modules/next/dist/client/lib/console.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../node_modules/next/dist/server/node-environment.js","../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../node_modules/next/dist/server/require-hook.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../node_modules/react/cjs/react.development.js","../../../../../node_modules/react/cjs/react.production.js","../../../../../node_modules/react/index.js","../../../../../node_modules/react/package.json","../../../../../package.json","../../../../../src/shared/utils/apiKey.js","../../../../package.json","../../../chunks/1220.js","../../../chunks/1241.js","../../../chunks/1275.js","../../../chunks/1350.js","../../../chunks/1679.js","../../../chunks/1832.js","../../../chunks/1998.js","../../../chunks/2059.js","../../../chunks/241.js","../../../chunks/2944.js","../../../chunks/319.js","../../../chunks/3412.js","../../../chunks/3428.js","../../../chunks/3535.js","../../../chunks/3546.js","../../../chunks/3593.js","../../../chunks/3913.js","../../../chunks/4013.js","../../../chunks/412.js","../../../chunks/4632.js","../../../chunks/4739.js","../../../chunks/4741.js","../../../chunks/4922.js","../../../chunks/4989.js","../../../chunks/5118.js","../../../chunks/5217.js","../../../chunks/5258.js","../../../chunks/5296.js","../../../chunks/5573.js","../../../chunks/5592.js","../../../chunks/5615.js","../../../chunks/5699.js","../../../chunks/5816.js","../../../chunks/5961.js","../../../chunks/6001.js","../../../chunks/602.js","../../../chunks/6070.js","../../../chunks/615.js","../../../chunks/6151.js","../../../chunks/6182.js","../../../chunks/6306.js","../../../chunks/6327.js","../../../chunks/6457.js","../../../chunks/6482.js","../../../chunks/6688.js","../../../chunks/6763.js","../../../chunks/6777.js","../../../chunks/6844.js","../../../chunks/6936.js","../../../chunks/7244.js","../../../chunks/7259.js","../../../chunks/7502.js","../../../chunks/7774.js","../../../chunks/7879.js","../../../chunks/7937.js","../../../chunks/801.js","../../../chunks/8271.js","../../../chunks/8473.js","../../../chunks/8520.js","../../../chunks/8895.js","../../../chunks/8910.js","../../../chunks/8920.js","../../../chunks/8971.js","../../../chunks/9460.js","../../../chunks/9718.js","../../../chunks/9787.js","../../../chunks/9833.js","../../../webpack-runtime.js","route_client-reference-manifest.js","../../../../../node_modules/sql.js/dist/sql-wasm.wasm"]}
|