@yina-npm/openrouterx 0.4.80 → 0.5.9
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/Z1O3mWLKLCkJm5SRaYg62/_buildManifest.js +1 -0
- package/app/.next-cli-build/static/chunks/1321-dbbab49aa820c76b.js +1 -0
- package/app/.next-cli-build/static/chunks/4072-932473fbd266d3f5.js +3 -0
- package/app/.next-cli-build/static/chunks/5497-215b48f00706d2c8.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-95bd9413da0d98a6.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-b38e9f02aacbdcc5.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/Z1O3mWLKLCkJm5SRaYg62}/_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
package/app/src/mitm/manager.js
DELETED
|
@@ -1,851 +0,0 @@
|
|
|
1
|
-
const { exec, spawn, execSync } = require("child_process");
|
|
2
|
-
const path = require("path");
|
|
3
|
-
const fs = require("fs");
|
|
4
|
-
const os = require("os");
|
|
5
|
-
const net = require("net");
|
|
6
|
-
const https = require("https");
|
|
7
|
-
const crypto = require("crypto");
|
|
8
|
-
const { addDNSEntry, removeDNSEntry, removeAllDNSEntries, removeAllDNSEntriesSync, checkAllDNSStatus, TOOL_HOSTS, isSudoAvailable, isSudoPasswordRequired } = require("./dns/dnsConfig");
|
|
9
|
-
const { isAdmin } = require("./winElevated.js");
|
|
10
|
-
|
|
11
|
-
const IS_WIN = process.platform === "win32";
|
|
12
|
-
const IS_MAC = process.platform === "darwin";
|
|
13
|
-
const { generateCert } = require("./cert/generate");
|
|
14
|
-
const { installCert, uninstallCert } = require("./cert/install");
|
|
15
|
-
const { isCertExpired } = require("./cert/rootCA");
|
|
16
|
-
const { DATA_DIR, MITM_DIR } = require("./paths");
|
|
17
|
-
const { log, err } = require("./logger");
|
|
18
|
-
const { LSOF_BIN } = require("./config");
|
|
19
|
-
|
|
20
|
-
const DEFAULT_MITM_ROUTER_BASE = "http://localhost:20128";
|
|
21
|
-
|
|
22
|
-
function shellQuoteSingle(str) {
|
|
23
|
-
if (str == null || str === "") return "''";
|
|
24
|
-
return `'${String(str).replace(/'/g, "'\\''")}'`;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
async function resolveMitmRouterBaseUrl() {
|
|
28
|
-
if (!_getSettings) return DEFAULT_MITM_ROUTER_BASE;
|
|
29
|
-
try {
|
|
30
|
-
const s = await _getSettings();
|
|
31
|
-
const raw = s && s.mitmRouterBaseUrl != null ? String(s.mitmRouterBaseUrl).trim() : "";
|
|
32
|
-
if (!raw) return DEFAULT_MITM_ROUTER_BASE;
|
|
33
|
-
const u = new URL(raw);
|
|
34
|
-
if (u.protocol !== "http:" && u.protocol !== "https:") return DEFAULT_MITM_ROUTER_BASE;
|
|
35
|
-
return raw.replace(/\/+$/, "");
|
|
36
|
-
} catch {
|
|
37
|
-
return DEFAULT_MITM_ROUTER_BASE;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
const MITM_PORT = 443;
|
|
42
|
-
const MITM_WIN_NODE_PORT = 8443;
|
|
43
|
-
const PID_FILE = path.join(MITM_DIR, ".mitm.pid");
|
|
44
|
-
|
|
45
|
-
const MITM_MAX_RESTARTS = 5;
|
|
46
|
-
const MITM_RESTART_DELAYS_MS = [5000, 10000, 20000, 30000, 60000];
|
|
47
|
-
const MITM_RESTART_RESET_MS = 60000;
|
|
48
|
-
|
|
49
|
-
let mitmRestartCount = 0;
|
|
50
|
-
let mitmLastStartTime = 0;
|
|
51
|
-
let mitmIsRestarting = false;
|
|
52
|
-
|
|
53
|
-
function resolveBundledServerPath() {
|
|
54
|
-
if (process.env.MITM_SERVER_PATH) return process.env.MITM_SERVER_PATH;
|
|
55
|
-
const sibling = path.join(__dirname, "server.js");
|
|
56
|
-
if (fs.existsSync(sibling)) return sibling;
|
|
57
|
-
const fromCwd = path.join(process.cwd(), "src", "mitm", "server.js");
|
|
58
|
-
if (fs.existsSync(fromCwd)) return fromCwd;
|
|
59
|
-
const fromNext = path.join(process.cwd(), "..", "src", "mitm", "server.js");
|
|
60
|
-
if (fs.existsSync(fromNext)) return fromNext;
|
|
61
|
-
return fromCwd;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
// Copy bundled server.js into DATA_DIR so MITM doesn't lock node_modules
|
|
65
|
-
// (prevents EBUSY on `npm i -g 9router@latest` while MITM is running).
|
|
66
|
-
function ensureRuntimeServer(bundledPath) {
|
|
67
|
-
try {
|
|
68
|
-
if (!bundledPath || !fs.existsSync(bundledPath)) return bundledPath;
|
|
69
|
-
|
|
70
|
-
// Dev mode: source file has relative requires (./logger, ./config...),
|
|
71
|
-
// only the bundled file inside node_modules is self-contained + safe to copy.
|
|
72
|
-
if (!bundledPath.includes(`${path.sep}node_modules${path.sep}`)) {
|
|
73
|
-
return bundledPath;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
const runtimeDir = path.join(DATA_DIR, "runtime", "mitm");
|
|
77
|
-
const runtimeServer = path.join(runtimeDir, "server.js");
|
|
78
|
-
|
|
79
|
-
// Skip copy if sizes match (bundle unchanged since last run)
|
|
80
|
-
if (fs.existsSync(runtimeServer)) {
|
|
81
|
-
try {
|
|
82
|
-
if (fs.statSync(bundledPath).size === fs.statSync(runtimeServer).size) return runtimeServer;
|
|
83
|
-
} catch { /* recopy */ }
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
fs.mkdirSync(runtimeDir, { recursive: true });
|
|
87
|
-
fs.copyFileSync(bundledPath, runtimeServer);
|
|
88
|
-
return runtimeServer;
|
|
89
|
-
} catch (e) {
|
|
90
|
-
try { log(`[MITM] runtime copy failed: ${e.message}`); } catch { /* ignore */ }
|
|
91
|
-
return bundledPath;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
const SERVER_PATH = ensureRuntimeServer(resolveBundledServerPath());
|
|
96
|
-
const ENCRYPT_ALGO = "aes-256-gcm";
|
|
97
|
-
const ENCRYPT_SALT = "9router-mitm-pwd";
|
|
98
|
-
|
|
99
|
-
function getProcessUsingPort443() {
|
|
100
|
-
try {
|
|
101
|
-
if (IS_WIN) {
|
|
102
|
-
const psCmd = `powershell -NonInteractive -WindowStyle Hidden -Command ` +
|
|
103
|
-
`"$c = Get-NetTCPConnection -LocalPort 443 -State Listen -ErrorAction SilentlyContinue | Select-Object -First 1; if ($c) { $c.OwningProcess } else { 0 }"`;
|
|
104
|
-
const pidStr = execSync(psCmd, { encoding: "utf8", windowsHide: true }).trim();
|
|
105
|
-
const pid = parseInt(pidStr, 10);
|
|
106
|
-
if (pid && pid > 4) {
|
|
107
|
-
const tasklistResult = execSync(`tasklist /FI "PID eq ${pid}" /FO CSV /NH`, { encoding: "utf8", windowsHide: true });
|
|
108
|
-
const processMatch = tasklistResult.match(/"([^"]+)"/);
|
|
109
|
-
if (processMatch) return processMatch[1].replace(".exe", "");
|
|
110
|
-
}
|
|
111
|
-
} else {
|
|
112
|
-
const result = execSync(`${LSOF_BIN} -i :443`, { encoding: "utf8", windowsHide: true });
|
|
113
|
-
const lines = result.trim().split("\n");
|
|
114
|
-
if (lines.length > 1) return lines[1].split(/\s+/)[0];
|
|
115
|
-
}
|
|
116
|
-
} catch {
|
|
117
|
-
return null;
|
|
118
|
-
}
|
|
119
|
-
return null;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
let serverProcess = null;
|
|
123
|
-
let serverPid = null;
|
|
124
|
-
|
|
125
|
-
function getCachedPassword() { return globalThis.__mitmSudoPassword || null; }
|
|
126
|
-
function setCachedPassword(pwd) { globalThis.__mitmSudoPassword = pwd; }
|
|
127
|
-
|
|
128
|
-
function isProcessAlive(pid) {
|
|
129
|
-
try {
|
|
130
|
-
process.kill(pid, 0);
|
|
131
|
-
return true;
|
|
132
|
-
} catch (err) {
|
|
133
|
-
return err.code === "EACCES";
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
function killProcess(pid, force = false, sudoPassword = null) {
|
|
138
|
-
if (IS_WIN) {
|
|
139
|
-
const flag = force ? "/F " : "";
|
|
140
|
-
exec(`taskkill ${flag}/PID ${pid}`, { windowsHide: true }, () => { });
|
|
141
|
-
} else {
|
|
142
|
-
const sig = force ? "SIGKILL" : "SIGTERM";
|
|
143
|
-
const cmd = `pkill -${sig} -P ${pid} 2>/dev/null; kill -${sig} ${pid} 2>/dev/null`;
|
|
144
|
-
if (sudoPassword || isSudoAvailable()) {
|
|
145
|
-
const { execWithPassword } = require("./dns/dnsConfig");
|
|
146
|
-
execWithPassword(cmd, sudoPassword || "").catch(() => exec(cmd, { windowsHide: true }, () => { }));
|
|
147
|
-
} else {
|
|
148
|
-
exec(cmd, { windowsHide: true }, () => { });
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
function deriveKey() {
|
|
154
|
-
try {
|
|
155
|
-
const { machineIdSync } = require("node-machine-id");
|
|
156
|
-
const raw = machineIdSync();
|
|
157
|
-
return crypto.createHash("sha256").update(raw + ENCRYPT_SALT).digest();
|
|
158
|
-
} catch {
|
|
159
|
-
return crypto.createHash("sha256").update(ENCRYPT_SALT).digest();
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
function encryptPassword(plaintext) {
|
|
164
|
-
const key = deriveKey();
|
|
165
|
-
const iv = crypto.randomBytes(12);
|
|
166
|
-
const cipher = crypto.createCipheriv(ENCRYPT_ALGO, key, iv);
|
|
167
|
-
const encrypted = Buffer.concat([cipher.update(plaintext, "utf8"), cipher.final()]);
|
|
168
|
-
const tag = cipher.getAuthTag();
|
|
169
|
-
return `${iv.toString("hex")}:${tag.toString("hex")}:${encrypted.toString("hex")}`;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
function decryptPassword(stored) {
|
|
173
|
-
try {
|
|
174
|
-
const [ivHex, tagHex, dataHex] = stored.split(":");
|
|
175
|
-
if (!ivHex || !tagHex || !dataHex) return null;
|
|
176
|
-
const key = deriveKey();
|
|
177
|
-
const decipher = crypto.createDecipheriv(ENCRYPT_ALGO, key, Buffer.from(ivHex, "hex"));
|
|
178
|
-
decipher.setAuthTag(Buffer.from(tagHex, "hex"));
|
|
179
|
-
return decipher.update(Buffer.from(dataHex, "hex")) + decipher.final("utf8");
|
|
180
|
-
} catch {
|
|
181
|
-
return null;
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
let _getSettings = null;
|
|
186
|
-
let _updateSettings = null;
|
|
187
|
-
|
|
188
|
-
function initDbHooks(getSettingsFn, updateSettingsFn) {
|
|
189
|
-
_getSettings = getSettingsFn;
|
|
190
|
-
_updateSettings = updateSettingsFn;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
async function saveMitmSettings(enabled, password) {
|
|
194
|
-
if (!_updateSettings) return;
|
|
195
|
-
try {
|
|
196
|
-
const updates = { mitmEnabled: enabled };
|
|
197
|
-
if (password) updates.mitmSudoEncrypted = encryptPassword(password);
|
|
198
|
-
await _updateSettings(updates);
|
|
199
|
-
} catch (e) {
|
|
200
|
-
err(`Failed to save settings: ${e.message}`);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
async function clearEncryptedPassword() {
|
|
205
|
-
if (!_updateSettings) return;
|
|
206
|
-
try {
|
|
207
|
-
await _updateSettings({ mitmSudoEncrypted: null });
|
|
208
|
-
} catch (e) {
|
|
209
|
-
err(`Failed to clear encrypted password: ${e.message}`);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
async function loadEncryptedPassword() {
|
|
214
|
-
if (!_getSettings) return null;
|
|
215
|
-
try {
|
|
216
|
-
const settings = await _getSettings();
|
|
217
|
-
if (!settings.mitmSudoEncrypted) return null;
|
|
218
|
-
return decryptPassword(settings.mitmSudoEncrypted);
|
|
219
|
-
} catch {
|
|
220
|
-
return null;
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
async function saveDnsToolState(tool, enabled) {
|
|
225
|
-
if (!_updateSettings || !_getSettings) return;
|
|
226
|
-
try {
|
|
227
|
-
const s = await _getSettings();
|
|
228
|
-
const next = { ...(s.dnsToolEnabled || {}), [tool]: enabled };
|
|
229
|
-
await _updateSettings({ dnsToolEnabled: next });
|
|
230
|
-
} catch (e) {
|
|
231
|
-
err(`Failed to save DNS state: ${e.message}`);
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
async function loadDnsToolState() {
|
|
236
|
-
if (!_getSettings) return {};
|
|
237
|
-
try {
|
|
238
|
-
const s = await _getSettings();
|
|
239
|
-
return s.dnsToolEnabled || {};
|
|
240
|
-
} catch {
|
|
241
|
-
return {};
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
/**
|
|
246
|
-
* Re-apply DNS for tools previously enabled — called on app startup after MITM running.
|
|
247
|
-
*/
|
|
248
|
-
async function restoreToolDNS(sudoPassword) {
|
|
249
|
-
const state = await loadDnsToolState();
|
|
250
|
-
const password = sudoPassword || getCachedPassword() || await loadEncryptedPassword();
|
|
251
|
-
for (const [tool, enabled] of Object.entries(state)) {
|
|
252
|
-
if (!enabled || !TOOL_HOSTS[tool]) continue;
|
|
253
|
-
try {
|
|
254
|
-
await addDNSEntry(tool, password);
|
|
255
|
-
} catch (e) {
|
|
256
|
-
err(`DNS ${tool}: restore failed — ${e.message}`);
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* Check if user has privilege to mutate hosts file.
|
|
263
|
-
* Win: needs admin. Mac/Linux: root OR cached/encrypted sudo password.
|
|
264
|
-
*/
|
|
265
|
-
async function hasDnsPrivilege() {
|
|
266
|
-
if (IS_WIN) return isAdmin();
|
|
267
|
-
if (isAdmin()) return true;
|
|
268
|
-
if (!isSudoPasswordRequired()) return true;
|
|
269
|
-
const pwd = getCachedPassword() || await loadEncryptedPassword();
|
|
270
|
-
return !!pwd;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
function checkPort443Free() {
|
|
274
|
-
return new Promise((resolve) => {
|
|
275
|
-
const tester = net.createServer();
|
|
276
|
-
tester.once("error", (err) => {
|
|
277
|
-
if (err.code === "EADDRINUSE") resolve("in-use");
|
|
278
|
-
else resolve("no-permission");
|
|
279
|
-
});
|
|
280
|
-
tester.once("listening", () => { tester.close(() => resolve("free")); });
|
|
281
|
-
tester.listen(MITM_PORT, "127.0.0.1");
|
|
282
|
-
});
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
function getPort443Owner(sudoPassword) {
|
|
286
|
-
return new Promise((resolve) => {
|
|
287
|
-
if (IS_WIN) {
|
|
288
|
-
const psCmd = `powershell -NonInteractive -WindowStyle Hidden -Command "` +
|
|
289
|
-
`$c = Get-NetTCPConnection -LocalPort 443 -State Listen -ErrorAction SilentlyContinue | Select-Object -First 1; ` +
|
|
290
|
-
`if ($c) { $c.OwningProcess } else { 0 }"`;
|
|
291
|
-
exec(psCmd, { windowsHide: true }, (err, stdout) => {
|
|
292
|
-
if (err) return resolve(null);
|
|
293
|
-
const pid = parseInt(stdout.trim(), 10);
|
|
294
|
-
if (!pid || pid <= 4) return resolve(null);
|
|
295
|
-
exec(`tasklist /FI "PID eq ${pid}" /FO CSV /NH`, { windowsHide: true }, (e2, out2) => {
|
|
296
|
-
const m = out2?.match(/"([^"]+)"/);
|
|
297
|
-
resolve({ pid, name: m ? m[1] : "unknown" });
|
|
298
|
-
});
|
|
299
|
-
});
|
|
300
|
-
} else {
|
|
301
|
-
// Only find process actually LISTENING on TCP port 443
|
|
302
|
-
exec(`${LSOF_BIN} -nP -iTCP:443 -sTCP:LISTEN -t`, { windowsHide: true }, (err, stdout) => {
|
|
303
|
-
if (err || !stdout?.trim()) return resolve(null);
|
|
304
|
-
const pid = parseInt(stdout.trim().split("\n")[0], 10);
|
|
305
|
-
if (!pid || isNaN(pid)) return resolve(null);
|
|
306
|
-
exec(`ps -p ${pid} -o comm=`, { windowsHide: true }, (e2, out2) => {
|
|
307
|
-
resolve({ pid, name: (out2?.trim() || "unknown") });
|
|
308
|
-
});
|
|
309
|
-
});
|
|
310
|
-
}
|
|
311
|
-
});
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
async function killLeftoverMitm(sudoPassword) {
|
|
315
|
-
if (serverProcess && !serverProcess.killed) {
|
|
316
|
-
try { serverProcess.kill("SIGKILL"); } catch { /* ignore */ }
|
|
317
|
-
serverProcess = null;
|
|
318
|
-
serverPid = null;
|
|
319
|
-
}
|
|
320
|
-
try {
|
|
321
|
-
if (fs.existsSync(PID_FILE)) {
|
|
322
|
-
const savedPid = parseInt(fs.readFileSync(PID_FILE, "utf-8").trim(), 10);
|
|
323
|
-
if (savedPid && isProcessAlive(savedPid)) {
|
|
324
|
-
killProcess(savedPid, true, sudoPassword);
|
|
325
|
-
await new Promise(r => setTimeout(r, 500));
|
|
326
|
-
}
|
|
327
|
-
fs.unlinkSync(PID_FILE);
|
|
328
|
-
}
|
|
329
|
-
} catch { /* ignore */ }
|
|
330
|
-
if (!IS_WIN && SERVER_PATH) {
|
|
331
|
-
try {
|
|
332
|
-
const escaped = SERVER_PATH.replace(/'/g, "'\\''");
|
|
333
|
-
if (sudoPassword || isSudoAvailable()) {
|
|
334
|
-
const { execWithPassword } = require("./dns/dnsConfig");
|
|
335
|
-
await execWithPassword(`pkill -SIGKILL -f "${escaped}" 2>/dev/null || true`, sudoPassword || "").catch(() => { });
|
|
336
|
-
} else {
|
|
337
|
-
exec(`pkill -SIGKILL -f "${escaped}" 2>/dev/null || true`, { windowsHide: true }, () => { });
|
|
338
|
-
}
|
|
339
|
-
await new Promise(r => setTimeout(r, 500));
|
|
340
|
-
} catch { /* ignore */ }
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
function pollMitmHealth(timeoutMs, port = MITM_PORT) {
|
|
345
|
-
return new Promise((resolve) => {
|
|
346
|
-
const deadline = Date.now() + timeoutMs;
|
|
347
|
-
const check = () => {
|
|
348
|
-
const req = https.request(
|
|
349
|
-
{ hostname: "127.0.0.1", port, path: "/_mitm_health", method: "GET", rejectUnauthorized: false },
|
|
350
|
-
(res) => {
|
|
351
|
-
let body = "";
|
|
352
|
-
res.on("data", (d) => { body += d; });
|
|
353
|
-
res.on("end", () => {
|
|
354
|
-
try {
|
|
355
|
-
const json = JSON.parse(body);
|
|
356
|
-
resolve(json.ok === true ? { ok: true, pid: json.pid || null } : null);
|
|
357
|
-
} catch { resolve(null); }
|
|
358
|
-
});
|
|
359
|
-
}
|
|
360
|
-
);
|
|
361
|
-
req.on("error", () => {
|
|
362
|
-
if (Date.now() < deadline) setTimeout(check, 500);
|
|
363
|
-
else resolve(null);
|
|
364
|
-
});
|
|
365
|
-
req.end();
|
|
366
|
-
};
|
|
367
|
-
check();
|
|
368
|
-
});
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
* Get full MITM status including per-tool DNS status
|
|
373
|
-
*/
|
|
374
|
-
async function getMitmStatus() {
|
|
375
|
-
let running = serverProcess !== null && !serverProcess.killed;
|
|
376
|
-
let pid = serverPid;
|
|
377
|
-
|
|
378
|
-
if (!running) {
|
|
379
|
-
try {
|
|
380
|
-
if (fs.existsSync(PID_FILE)) {
|
|
381
|
-
const savedPid = parseInt(fs.readFileSync(PID_FILE, "utf-8").trim(), 10);
|
|
382
|
-
if (savedPid && isProcessAlive(savedPid)) {
|
|
383
|
-
running = true;
|
|
384
|
-
pid = savedPid;
|
|
385
|
-
} else {
|
|
386
|
-
fs.unlinkSync(PID_FILE);
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
} catch { /* ignore */ }
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
const dnsStatus = checkAllDNSStatus();
|
|
393
|
-
const rootCACertPath = path.join(MITM_DIR, "rootCA.crt");
|
|
394
|
-
const certExists = fs.existsSync(rootCACertPath);
|
|
395
|
-
const { checkCertInstalled } = require("./cert/install");
|
|
396
|
-
const certTrusted = certExists ? await checkCertInstalled(rootCACertPath) : false;
|
|
397
|
-
|
|
398
|
-
return { running, pid, certExists, certTrusted, dnsStatus };
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
async function scheduleMitmRestart(apiKey) {
|
|
402
|
-
if (mitmIsRestarting) return;
|
|
403
|
-
|
|
404
|
-
const aliveMs = Date.now() - mitmLastStartTime;
|
|
405
|
-
if (aliveMs >= MITM_RESTART_RESET_MS) mitmRestartCount = 0;
|
|
406
|
-
|
|
407
|
-
if (mitmRestartCount >= MITM_MAX_RESTARTS) {
|
|
408
|
-
err("Max restart attempts reached. Giving up.");
|
|
409
|
-
return;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
const attempt = mitmRestartCount;
|
|
413
|
-
const delay = MITM_RESTART_DELAYS_MS[Math.min(attempt, MITM_RESTART_DELAYS_MS.length - 1)];
|
|
414
|
-
mitmRestartCount++;
|
|
415
|
-
mitmIsRestarting = true;
|
|
416
|
-
|
|
417
|
-
log(`Restarting in ${delay / 1000}s... (${mitmRestartCount}/${MITM_MAX_RESTARTS})`);
|
|
418
|
-
await new Promise((r) => setTimeout(r, delay));
|
|
419
|
-
|
|
420
|
-
try {
|
|
421
|
-
const settings = _getSettings ? await _getSettings() : null;
|
|
422
|
-
if (settings && !settings.mitmEnabled) {
|
|
423
|
-
log("MITM disabled, skipping restart");
|
|
424
|
-
mitmIsRestarting = false;
|
|
425
|
-
return;
|
|
426
|
-
}
|
|
427
|
-
const password = getCachedPassword() || await loadEncryptedPassword();
|
|
428
|
-
if (!password && !IS_WIN) {
|
|
429
|
-
err("No cached password, cannot auto-restart");
|
|
430
|
-
mitmIsRestarting = false;
|
|
431
|
-
return;
|
|
432
|
-
}
|
|
433
|
-
await startServer(apiKey, password);
|
|
434
|
-
log("🔄 Restarted successfully");
|
|
435
|
-
mitmRestartCount = 0;
|
|
436
|
-
mitmIsRestarting = false;
|
|
437
|
-
} catch (e) {
|
|
438
|
-
err(`Restart attempt ${mitmRestartCount}/${MITM_MAX_RESTARTS} failed: ${e.message}`);
|
|
439
|
-
mitmIsRestarting = false;
|
|
440
|
-
// Schedule next retry
|
|
441
|
-
scheduleMitmRestart(apiKey);
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
/**
|
|
446
|
-
* Start MITM server only (cert + server, no DNS)
|
|
447
|
-
*/
|
|
448
|
-
async function killPort443Owner(owner, sudoPassword) {
|
|
449
|
-
if (!owner || !owner.pid) return;
|
|
450
|
-
if (IS_WIN) {
|
|
451
|
-
try {
|
|
452
|
-
execSync(`powershell -NonInteractive -WindowStyle Hidden -Command "Stop-Process -Id ${owner.pid} -Force -ErrorAction SilentlyContinue"`, { windowsHide: true });
|
|
453
|
-
} catch { /* best effort */ }
|
|
454
|
-
} else {
|
|
455
|
-
try {
|
|
456
|
-
const { execWithPassword } = require("./dns/dnsConfig");
|
|
457
|
-
if (sudoPassword || isSudoAvailable()) {
|
|
458
|
-
await execWithPassword(`kill -9 ${owner.pid}`, sudoPassword || "");
|
|
459
|
-
} else {
|
|
460
|
-
execSync(`kill -9 ${owner.pid}`, { windowsHide: true });
|
|
461
|
-
}
|
|
462
|
-
} catch { /* best effort */ }
|
|
463
|
-
}
|
|
464
|
-
await new Promise(r => setTimeout(r, 800));
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
async function startServer(apiKey, sudoPassword, forceKillPort443 = false) {
|
|
468
|
-
if (!serverProcess || serverProcess.killed) {
|
|
469
|
-
try {
|
|
470
|
-
if (fs.existsSync(PID_FILE)) {
|
|
471
|
-
const savedPid = parseInt(fs.readFileSync(PID_FILE, "utf-8").trim(), 10);
|
|
472
|
-
if (savedPid && isProcessAlive(savedPid)) {
|
|
473
|
-
serverPid = savedPid;
|
|
474
|
-
log(`♻️ Reusing existing process (PID: ${savedPid})`);
|
|
475
|
-
await saveMitmSettings(true, sudoPassword);
|
|
476
|
-
if (sudoPassword) setCachedPassword(sudoPassword);
|
|
477
|
-
return { running: true, pid: savedPid };
|
|
478
|
-
} else {
|
|
479
|
-
fs.unlinkSync(PID_FILE);
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
} catch { /* ignore */ }
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
if (serverProcess && !serverProcess.killed) {
|
|
486
|
-
throw new Error("MITM server is already running");
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
await killLeftoverMitm(sudoPassword);
|
|
490
|
-
|
|
491
|
-
if (!IS_WIN) {
|
|
492
|
-
const portStatus = await checkPort443Free();
|
|
493
|
-
if (portStatus === "in-use" || portStatus === "no-permission") {
|
|
494
|
-
const owner = await getPort443Owner(sudoPassword);
|
|
495
|
-
if (owner) {
|
|
496
|
-
const shortName = owner.name.includes("/")
|
|
497
|
-
? owner.name.split("/").filter(Boolean).pop()
|
|
498
|
-
: owner.name;
|
|
499
|
-
if (forceKillPort443) {
|
|
500
|
-
log(`Killing process on port 443 (PID ${owner.pid}, name=${shortName})...`);
|
|
501
|
-
await killPort443Owner(owner, sudoPassword);
|
|
502
|
-
} else {
|
|
503
|
-
const e = new Error(`Port 443 is already in use by "${shortName}" (PID ${owner.pid}).`);
|
|
504
|
-
e.code = "PORT_443_BUSY";
|
|
505
|
-
e.portOwner = { pid: owner.pid, name: shortName };
|
|
506
|
-
throw e;
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
// Step 1: Generate Root CA if missing or expired
|
|
513
|
-
const rootCACertPath = path.join(MITM_DIR, "rootCA.crt");
|
|
514
|
-
const rootCAKeyPath = path.join(MITM_DIR, "rootCA.key");
|
|
515
|
-
const certExists = fs.existsSync(rootCACertPath) && fs.existsSync(rootCAKeyPath);
|
|
516
|
-
|
|
517
|
-
if (!certExists || isCertExpired(rootCACertPath)) {
|
|
518
|
-
if (certExists) {
|
|
519
|
-
// Uninstall expired cert from system store before regenerating
|
|
520
|
-
log("🔐 Cert expired — uninstalling old cert...");
|
|
521
|
-
const password = sudoPassword || getCachedPassword() || await loadEncryptedPassword();
|
|
522
|
-
try { await uninstallCert(password, rootCACertPath); } catch { /* best effort */ }
|
|
523
|
-
}
|
|
524
|
-
log("🔐 Generating Root CA...");
|
|
525
|
-
await generateCert();
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
// Step 1.5: Auto-install Root CA if not trusted yet
|
|
529
|
-
const { checkCertInstalled } = require("./cert/install");
|
|
530
|
-
const rootCATrusted = await checkCertInstalled(rootCACertPath);
|
|
531
|
-
const linuxNoSystemTrust = !IS_WIN && !IS_MAC && !isSudoAvailable();
|
|
532
|
-
if (!rootCATrusted) {
|
|
533
|
-
log("🔐 Cert: not trusted → installing...");
|
|
534
|
-
const password = sudoPassword || getCachedPassword() || await loadEncryptedPassword();
|
|
535
|
-
if (linuxNoSystemTrust) {
|
|
536
|
-
log(`🔐 Cert: skipping system trust (no sudo). Install ${rootCACertPath} as a trusted CA on machines that use this proxy.`);
|
|
537
|
-
} else {
|
|
538
|
-
if (!password && isSudoPasswordRequired()) {
|
|
539
|
-
throw new Error("Sudo password required to install Root CA certificate");
|
|
540
|
-
}
|
|
541
|
-
try {
|
|
542
|
-
await installCert(password, rootCACertPath);
|
|
543
|
-
log("🔐 Cert: ✅ trusted");
|
|
544
|
-
} catch (e) {
|
|
545
|
-
throw new Error(`Failed to trust certificate: ${e.message}`);
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
} else {
|
|
549
|
-
log("🔐 Cert: already trusted ✅");
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
// Step 2: Spawn server (Root CA already installed in Step 1.5)
|
|
553
|
-
// Verify server.js exists — recopy if runtime file was deleted (antivirus/cleanup)
|
|
554
|
-
let effectiveServerPath = SERVER_PATH;
|
|
555
|
-
if (!effectiveServerPath || !fs.existsSync(effectiveServerPath)) {
|
|
556
|
-
log(`[MITM] server.js missing at ${effectiveServerPath} → recopying`);
|
|
557
|
-
effectiveServerPath = ensureRuntimeServer(resolveBundledServerPath());
|
|
558
|
-
if (!effectiveServerPath || !fs.existsSync(effectiveServerPath)) {
|
|
559
|
-
throw new Error(`MITM server.js not found at ${effectiveServerPath}. Reinstall 9router.`);
|
|
560
|
-
}
|
|
561
|
-
}
|
|
562
|
-
const mitmRouterBase = await resolveMitmRouterBaseUrl();
|
|
563
|
-
log(`🚀 Starting server... (router: ${mitmRouterBase})`);
|
|
564
|
-
if (IS_WIN) {
|
|
565
|
-
// Check port 443 — ask user before killing
|
|
566
|
-
const winOwner = await getPort443Owner(sudoPassword);
|
|
567
|
-
if (winOwner) {
|
|
568
|
-
if (forceKillPort443) {
|
|
569
|
-
log(`Killing process on port 443 (PID ${winOwner.pid}, name=${winOwner.name})...`);
|
|
570
|
-
await killPort443Owner(winOwner, sudoPassword);
|
|
571
|
-
} else {
|
|
572
|
-
const e = new Error(`Port 443 is already in use by "${winOwner.name}" (PID ${winOwner.pid}).`);
|
|
573
|
-
e.code = "PORT_443_BUSY";
|
|
574
|
-
e.portOwner = { pid: winOwner.pid, name: winOwner.name };
|
|
575
|
-
throw e;
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
// Spawn directly — process already has admin rights
|
|
580
|
-
// cwd=tmpdir so process doesn't lock the install dir on Windows (EBUSY on update)
|
|
581
|
-
serverProcess = spawn(
|
|
582
|
-
process.execPath,
|
|
583
|
-
[effectiveServerPath],
|
|
584
|
-
{
|
|
585
|
-
detached: false,
|
|
586
|
-
windowsHide: true,
|
|
587
|
-
cwd: os.tmpdir(),
|
|
588
|
-
stdio: ["ignore", "pipe", "pipe"],
|
|
589
|
-
env: {
|
|
590
|
-
...process.env,
|
|
591
|
-
ROUTER_API_KEY: apiKey,
|
|
592
|
-
NODE_ENV: "production",
|
|
593
|
-
MITM_ROUTER_BASE: mitmRouterBase,
|
|
594
|
-
},
|
|
595
|
-
}
|
|
596
|
-
);
|
|
597
|
-
|
|
598
|
-
if (_updateSettings) await _updateSettings({ mitmCertInstalled: true }).catch(() => { });
|
|
599
|
-
} else if (isSudoAvailable()) {
|
|
600
|
-
// Pass HOME explicitly so os.homedir() resolves to the unprivileged user's home
|
|
601
|
-
// instead of /root when sudo resets the environment.
|
|
602
|
-
const inlineCmd = [
|
|
603
|
-
`HOME=${shellQuoteSingle(os.homedir())}`,
|
|
604
|
-
`ROUTER_API_KEY=${shellQuoteSingle(apiKey)}`,
|
|
605
|
-
`MITM_ROUTER_BASE=${shellQuoteSingle(mitmRouterBase)}`,
|
|
606
|
-
"NODE_ENV=production",
|
|
607
|
-
shellQuoteSingle(process.execPath),
|
|
608
|
-
shellQuoteSingle(effectiveServerPath),
|
|
609
|
-
].join(" ");
|
|
610
|
-
serverProcess = spawn(
|
|
611
|
-
"sudo", ["-S", "-E", "sh", "-c", inlineCmd],
|
|
612
|
-
{ detached: false, windowsHide: true, stdio: ["pipe", "pipe", "pipe"] }
|
|
613
|
-
);
|
|
614
|
-
serverProcess.stdin.write(`${sudoPassword}\n`);
|
|
615
|
-
serverProcess.stdin.end();
|
|
616
|
-
} else {
|
|
617
|
-
// Docker/minimal images: no sudo — same as Windows-style direct spawn
|
|
618
|
-
serverProcess = spawn(process.execPath, [effectiveServerPath], {
|
|
619
|
-
detached: false,
|
|
620
|
-
windowsHide: true,
|
|
621
|
-
cwd: os.tmpdir(),
|
|
622
|
-
stdio: ["ignore", "pipe", "pipe"],
|
|
623
|
-
env: {
|
|
624
|
-
...process.env,
|
|
625
|
-
ROUTER_API_KEY: apiKey,
|
|
626
|
-
NODE_ENV: "production",
|
|
627
|
-
MITM_ROUTER_BASE: mitmRouterBase,
|
|
628
|
-
},
|
|
629
|
-
});
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
if (serverProcess) {
|
|
633
|
-
serverPid = serverProcess.pid;
|
|
634
|
-
fs.writeFileSync(PID_FILE, String(serverPid));
|
|
635
|
-
mitmLastStartTime = Date.now();
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
// Set NODE_EXTRA_CA_CERTS so Node-based GUI apps (Electron/AG language_server) trust MITM cert
|
|
639
|
-
if (IS_MAC) {
|
|
640
|
-
const rootCAPath = path.join(MITM_DIR, "rootCA.crt");
|
|
641
|
-
if (fs.existsSync(rootCAPath)) {
|
|
642
|
-
exec(`launchctl setenv NODE_EXTRA_CA_CERTS "${rootCAPath}"`, { windowsHide: true }, (e) => {
|
|
643
|
-
if (e) log(`[launchctl] Failed to set NODE_EXTRA_CA_CERTS: ${e.message}`);
|
|
644
|
-
else log(`[launchctl] NODE_EXTRA_CA_CERTS set to ${rootCAPath}`);
|
|
645
|
-
});
|
|
646
|
-
}
|
|
647
|
-
} else if (IS_WIN) {
|
|
648
|
-
const rootCAPath = path.join(MITM_DIR, "rootCA.crt");
|
|
649
|
-
if (fs.existsSync(rootCAPath)) {
|
|
650
|
-
exec(`setx NODE_EXTRA_CA_CERTS "${rootCAPath}"`, { windowsHide: true }, (e) => {
|
|
651
|
-
if (e) log(`[setx] Failed to set NODE_EXTRA_CA_CERTS: ${e.message}`);
|
|
652
|
-
else log(`[setx] NODE_EXTRA_CA_CERTS set for current user`);
|
|
653
|
-
});
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
let startError = null;
|
|
658
|
-
if (serverProcess) {
|
|
659
|
-
serverProcess.stdout.on("data", (data) => {
|
|
660
|
-
// server.js already formats its own logs — print as-is
|
|
661
|
-
process.stdout.write(data);
|
|
662
|
-
});
|
|
663
|
-
serverProcess.stderr.on("data", (data) => {
|
|
664
|
-
const msg = data.toString().trim();
|
|
665
|
-
// Mac/Linux: filter sudo password prompt noise
|
|
666
|
-
if (msg && (IS_WIN || (!msg.includes("Password:") && !msg.includes("password for")))) {
|
|
667
|
-
err(msg);
|
|
668
|
-
startError = msg;
|
|
669
|
-
}
|
|
670
|
-
// Detect wrong/missing password — clear cache and stop retry loop
|
|
671
|
-
if (!IS_WIN && (msg.includes("incorrect password") || msg.includes("no password was provided"))) {
|
|
672
|
-
setCachedPassword(null);
|
|
673
|
-
clearEncryptedPassword();
|
|
674
|
-
mitmIsRestarting = true; // prevent scheduleMitmRestart from firing
|
|
675
|
-
}
|
|
676
|
-
});
|
|
677
|
-
serverProcess.on("exit", (code) => {
|
|
678
|
-
log(`Server exited (code: ${code})`);
|
|
679
|
-
serverProcess = null;
|
|
680
|
-
serverPid = null;
|
|
681
|
-
try { fs.unlinkSync(PID_FILE); } catch { /* ignore */ }
|
|
682
|
-
// Auto-restart on unexpected exit
|
|
683
|
-
if (code !== 0 && !mitmIsRestarting) scheduleMitmRestart(apiKey);
|
|
684
|
-
});
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
const health = await pollMitmHealth(8000, MITM_PORT);
|
|
688
|
-
if (!health) {
|
|
689
|
-
if (serverProcess && !serverProcess.killed) { try { serverProcess.kill(); } catch { /* ignore */ } serverProcess = null; }
|
|
690
|
-
const processUsing443 = getProcessUsingPort443();
|
|
691
|
-
const portInfo = processUsing443 ? ` Port 443 already in use by ${processUsing443}.` : "";
|
|
692
|
-
const reason = startError || `Check sudo password or port 443 access.${portInfo}`;
|
|
693
|
-
throw new Error(`MITM server failed to start. ${reason}`);
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
if (_updateSettings) await _updateSettings({ mitmCertInstalled: true }).catch(() => { });
|
|
697
|
-
|
|
698
|
-
log(`✅ Server healthy (PID: ${serverPid || health.pid})`);
|
|
699
|
-
|
|
700
|
-
// Log DNS status per tool
|
|
701
|
-
const dnsStatus = checkAllDNSStatus();
|
|
702
|
-
for (const [tool, active] of Object.entries(dnsStatus)) {
|
|
703
|
-
log(`🌐 DNS ${tool}: ${active ? "✅ active" : "❌ inactive"}`);
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
await saveMitmSettings(true, sudoPassword);
|
|
707
|
-
if (sudoPassword) setCachedPassword(sudoPassword);
|
|
708
|
-
|
|
709
|
-
return { running: true, pid: serverPid };
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
/**
|
|
713
|
-
* Stop MITM server — removes ALL tool DNS entries first, then kills server
|
|
714
|
-
*/
|
|
715
|
-
async function stopServer(sudoPassword) {
|
|
716
|
-
// Prevent auto-restart from triggering on intentional stop
|
|
717
|
-
mitmIsRestarting = true;
|
|
718
|
-
mitmRestartCount = 0;
|
|
719
|
-
log("⏹ Stopping server...");
|
|
720
|
-
|
|
721
|
-
// Kill server process
|
|
722
|
-
const proc = serverProcess;
|
|
723
|
-
const pidToKill = proc && !proc.killed
|
|
724
|
-
? proc.pid
|
|
725
|
-
: (() => { try { return parseInt(fs.readFileSync(PID_FILE, "utf-8").trim(), 10); } catch { return null; } })();
|
|
726
|
-
|
|
727
|
-
if (pidToKill && isProcessAlive(pidToKill)) {
|
|
728
|
-
log(`Killing server (PID: ${pidToKill})...`);
|
|
729
|
-
killProcess(pidToKill, false, sudoPassword);
|
|
730
|
-
await new Promise(r => setTimeout(r, 1000));
|
|
731
|
-
if (isProcessAlive(pidToKill)) killProcess(pidToKill, true, sudoPassword);
|
|
732
|
-
}
|
|
733
|
-
serverProcess = null;
|
|
734
|
-
serverPid = null;
|
|
735
|
-
|
|
736
|
-
if (IS_WIN) {
|
|
737
|
-
const hostsFile = path.join(process.env.SystemRoot || "C:\\Windows", "System32", "drivers", "etc", "hosts");
|
|
738
|
-
const allHosts = Object.values(TOOL_HOSTS).flat();
|
|
739
|
-
try {
|
|
740
|
-
const { isAdmin, runElevatedPowerShell, quotePs } = require("./winElevated.js");
|
|
741
|
-
if (isAdmin()) {
|
|
742
|
-
// Direct fs write — bypass PowerShell to avoid parser pitfalls
|
|
743
|
-
const content = fs.readFileSync(hostsFile, "utf8");
|
|
744
|
-
const filtered = content.split(/\r?\n/).filter(l => !allHosts.some(h => l.includes(h))).join("\r\n");
|
|
745
|
-
const next = filtered.replace(/[\r\n\s]+$/g, "") + "\r\n";
|
|
746
|
-
if (next !== content) fs.writeFileSync(hostsFile, next, "utf8");
|
|
747
|
-
try { require("child_process").execSync("ipconfig /flushdns", { windowsHide: true, stdio: "ignore" }); } catch { /* ignore */ }
|
|
748
|
-
log("🌐 DNS: ✅ all tool hosts removed");
|
|
749
|
-
} else {
|
|
750
|
-
const hostsList = allHosts.map(quotePs).join(",");
|
|
751
|
-
const script = `
|
|
752
|
-
$hosts = @(${hostsList})
|
|
753
|
-
$lines = Get-Content -LiteralPath ${quotePs(hostsFile)}
|
|
754
|
-
$filtered = $lines | Where-Object {
|
|
755
|
-
$line = $_
|
|
756
|
-
-not ($hosts | Where-Object { $line -match [regex]::Escape($_) })
|
|
757
|
-
}
|
|
758
|
-
Set-Content -LiteralPath ${quotePs(hostsFile)} -Value $filtered
|
|
759
|
-
ipconfig /flushdns | Out-Null
|
|
760
|
-
`;
|
|
761
|
-
await runElevatedPowerShell(script);
|
|
762
|
-
}
|
|
763
|
-
} catch (e) { err(`Failed to clean hosts: ${e.message}`); }
|
|
764
|
-
} else {
|
|
765
|
-
await removeAllDNSEntries(sudoPassword);
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
// Unset NODE_EXTRA_CA_CERTS so apps don't keep trusting stale MITM cert
|
|
769
|
-
if (IS_MAC) {
|
|
770
|
-
exec(`launchctl unsetenv NODE_EXTRA_CA_CERTS`, { windowsHide: true }, (e) => {
|
|
771
|
-
if (e) log(`[launchctl] Failed to unset NODE_EXTRA_CA_CERTS: ${e.message}`);
|
|
772
|
-
else log(`[launchctl] NODE_EXTRA_CA_CERTS unset`);
|
|
773
|
-
});
|
|
774
|
-
} else if (IS_WIN) {
|
|
775
|
-
exec(`reg delete HKCU\\Environment /F /V NODE_EXTRA_CA_CERTS`, { windowsHide: true }, (e) => {
|
|
776
|
-
if (e) log(`[reg] Failed to unset NODE_EXTRA_CA_CERTS: ${e.message}`);
|
|
777
|
-
else log(`[reg] NODE_EXTRA_CA_CERTS unset`);
|
|
778
|
-
});
|
|
779
|
-
}
|
|
780
|
-
|
|
781
|
-
try { fs.unlinkSync(PID_FILE); } catch { /* ignore */ }
|
|
782
|
-
await saveMitmSettings(false, null);
|
|
783
|
-
mitmIsRestarting = false;
|
|
784
|
-
|
|
785
|
-
return { running: false, pid: null };
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
/**
|
|
789
|
-
* Enable DNS for a specific tool (requires server running)
|
|
790
|
-
*/
|
|
791
|
-
async function enableToolDNS(tool, sudoPassword) {
|
|
792
|
-
const status = await getMitmStatus();
|
|
793
|
-
if (!status.running) throw new Error("MITM server is not running. Start the server first.");
|
|
794
|
-
|
|
795
|
-
const password = sudoPassword || getCachedPassword() || await loadEncryptedPassword();
|
|
796
|
-
await addDNSEntry(tool, password);
|
|
797
|
-
await saveDnsToolState(tool, true);
|
|
798
|
-
return { success: true };
|
|
799
|
-
}
|
|
800
|
-
|
|
801
|
-
/**
|
|
802
|
-
* Disable DNS for a specific tool
|
|
803
|
-
*/
|
|
804
|
-
async function disableToolDNS(tool, sudoPassword) {
|
|
805
|
-
const password = sudoPassword || getCachedPassword() || await loadEncryptedPassword();
|
|
806
|
-
await removeDNSEntry(tool, password);
|
|
807
|
-
await saveDnsToolState(tool, false);
|
|
808
|
-
return { success: true };
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
/**
|
|
812
|
-
* Install Root CA to system trust store (standalone, no server start)
|
|
813
|
-
*/
|
|
814
|
-
async function trustCert(sudoPassword) {
|
|
815
|
-
const rootCACertPath = path.join(MITM_DIR, "rootCA.crt");
|
|
816
|
-
if (!fs.existsSync(rootCACertPath)) throw new Error("Root CA not found. Start server first to generate it.");
|
|
817
|
-
const { installCert } = require("./cert/install");
|
|
818
|
-
if (!IS_WIN && !IS_MAC && !isSudoAvailable()) {
|
|
819
|
-
log(`🔐 Cert: system trust unavailable (no sudo). Use file: ${rootCACertPath}`);
|
|
820
|
-
return;
|
|
821
|
-
}
|
|
822
|
-
const password = sudoPassword || getCachedPassword() || await loadEncryptedPassword();
|
|
823
|
-
if (!password && isSudoPasswordRequired()) throw new Error("Sudo password required to trust certificate");
|
|
824
|
-
await installCert(password, rootCACertPath);
|
|
825
|
-
if (password) setCachedPassword(password);
|
|
826
|
-
}
|
|
827
|
-
|
|
828
|
-
// Legacy aliases for backward compatibility
|
|
829
|
-
const startMitm = startServer;
|
|
830
|
-
const stopMitm = stopServer;
|
|
831
|
-
|
|
832
|
-
module.exports = {
|
|
833
|
-
getMitmStatus,
|
|
834
|
-
startServer,
|
|
835
|
-
stopServer,
|
|
836
|
-
enableToolDNS,
|
|
837
|
-
disableToolDNS,
|
|
838
|
-
trustCert,
|
|
839
|
-
// Legacy
|
|
840
|
-
startMitm,
|
|
841
|
-
stopMitm,
|
|
842
|
-
getCachedPassword,
|
|
843
|
-
setCachedPassword,
|
|
844
|
-
loadEncryptedPassword,
|
|
845
|
-
clearEncryptedPassword,
|
|
846
|
-
isSudoPasswordRequired,
|
|
847
|
-
initDbHooks,
|
|
848
|
-
restoreToolDNS,
|
|
849
|
-
hasDnsPrivilege,
|
|
850
|
-
removeAllDNSEntriesSync,
|
|
851
|
-
};
|