@yina-npm/openrouterx 0.4.72 → 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/reset-password/route_client-reference-manifest.js +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/bulk-import/route_client-reference-manifest.js +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/4989.js +2 -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/6457.js +4 -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/9460.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/public/providers/mimo-free.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 -163
- 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 -1082
- 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 -4
- 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/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 -7
- 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/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 -163
- package/app/.next/server/chunks/1172.js +0 -1
- package/app/.next/server/chunks/1350.js +0 -8
- 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/1900.js +0 -1
- package/app/.next/server/chunks/2409.js +0 -1
- package/app/.next/server/chunks/2574.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/3110.js +0 -67
- 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/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/4989.js +0 -2
- package/app/.next/server/chunks/5681.js +0 -1
- package/app/.next/server/chunks/5789.js +0 -1
- package/app/.next/server/chunks/6001.js +0 -1
- package/app/.next/server/chunks/6096.js +0 -1
- package/app/.next/server/chunks/6108.js +0 -1
- package/app/.next/server/chunks/6457.js +0 -4
- package/app/.next/server/chunks/7341.js +0 -1
- 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/8279.js +0 -1
- package/app/.next/server/chunks/8750.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/9460.js +0 -1
- package/app/.next/server/chunks/9489.js +0 -1
- package/app/.next/server/chunks/9501.js +0 -63
- 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/chunks/1321-58e5381616484736.js +0 -1
- package/app/.next/static/chunks/4072-e3cbc885320b3535.js +0 -3
- package/app/.next/static/chunks/5497-41bb54893ac4e384.js +0 -7
- package/app/.next/static/chunks/6069-27d1adb0dbf83385.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-7fabe6d07b1f8823.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-011af574663dfa07.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-1690d87838647d4e.js +0 -3
- 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-5f1623351681fa43.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-739dde37665780bc.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-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/auth/login/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/auth/logout/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/auth/me/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/auth/oidc/callback/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/auth/oidc/start/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/auth/oidc/test/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/auth/status/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/all-statuses/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/cline-settings/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/codex-settings/activate-account/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/cowork-settings/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/jcode-settings/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/kilo-settings/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/combos/[id]/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/combos/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/health/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/init/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/keys/[id]/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/keys/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/locale/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/mcp/[plugin]/message/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/mcp/[plugin]/sse/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/models/alias/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/models/availability/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/models/custom/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/models/disabled/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/models/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/models/test/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/codex/import-token/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/cursor/import/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/import/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/pricing/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/provider-nodes/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/provider-nodes/validate/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/models/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/test/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/providers/client/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/providers/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/providers/suggested-models/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/providers/test-batch/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/providers/validate/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/deno-deploy/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/settings/database/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/settings/proxy-test/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/settings/require-login/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/settings/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/shutdown/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/tags/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/translator/console-logs/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/translator/load/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/translator/save/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/translator/send/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/translator/translate/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/disable/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/enable/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/status/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-check/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-disable/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-enable/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-install/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/usage/[connectionId]/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/usage/api-keys/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/usage/chart/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/usage/history/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/usage/logs/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/usage/providers/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/usage/request-details/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/usage/request-logs/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/usage/stats/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/usage/stream/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/users/[id]/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/users/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/v1/api/chat/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/v1/audio/speech/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/v1/audio/transcriptions/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/v1/audio/voices/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/v1/chat/completions/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/v1/embeddings/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/v1/images/generations/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/v1/messages/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/v1/models/[kind]/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/v1/models/info/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/v1/models/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/v1/responses/compact/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/v1/responses/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/v1/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/v1/search/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/v1/web/fetch/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/v1beta/models/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/version/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/version/shutdown/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/api/version/update/route-739dde37665780bc.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-bf4ffdfcf4ec19bf.js +0 -1
- package/app/.next/static/chunks/app/manifest.webmanifest/route-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/app/page-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-739dde37665780bc.js +0 -1
- package/app/.next/static/chunks/webpack-b9b0d264958323b9.js +0 -1
- package/app/.next/static/css/16b3fb40c238dedb.css +0 -1
- package/app/.next/static/css/fe3b2b4e527f4e99.css +0 -1
- package/app/.next/static/rGKKdynzip7FM3GQ6xztk/_buildManifest.js +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 -87
- 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/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/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/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/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/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/rGKKdynzip7FM3GQ6xztk → .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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{var a={};a.id=4010,a.ids=[4010],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19225:(a,b,c)=>{"use strict";a.exports=c(44870)},19713:function(a,b,c){a.exports=function(a,b){var d=[function(a,b,c){a.exports=c(34)},function(a,b,c){var d=c(29)("wks"),e=c(33),f=c(2).Symbol,g="function"==typeof f;(a.exports=function(a){return d[a]||(d[a]=g&&f[a]||(g?f:e)("Symbol."+a))}).store=d},function(a,b){var c=a.exports="u">typeof window&&window.Math==Math?window:"u">typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=c)},function(a,b,c){var d=c(9);a.exports=function(a){if(!d(a))throw TypeError(a+" is not an object!");return a}},function(a,b,c){a.exports=!c(24)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(a,b,c){var d=c(12),e=c(17);a.exports=c(4)?function(a,b,c){return d.f(a,b,e(1,c))}:function(a,b,c){return a[b]=c,a}},function(a,b){var c=a.exports={version:"2.4.0"};"number"==typeof __e&&(__e=c)},function(a,b,c){var d=c(14);a.exports=function(a,b,c){if(d(a),void 0===b)return a;switch(c){case 1:return function(c){return a.call(b,c)};case 2:return function(c,d){return a.call(b,c,d)};case 3:return function(c,d,e){return a.call(b,c,d,e)}}return function(){return a.apply(b,arguments)}}},function(a,b){var c={}.hasOwnProperty;a.exports=function(a,b){return c.call(a,b)}},function(a,b){a.exports=function(a){return"object"==typeof a?null!==a:"function"==typeof a}},function(a,b){a.exports={}},function(a,b){var c={}.toString;a.exports=function(a){return c.call(a).slice(8,-1)}},function(a,b,c){var d=c(3),e=c(26),f=c(32),g=Object.defineProperty;b.f=c(4)?Object.defineProperty:function(a,b,c){if(d(a),b=f(b,!0),d(c),e)try{return g(a,b,c)}catch(a){}if("get"in c||"set"in c)throw TypeError("Accessors not supported!");return"value"in c&&(a[b]=c.value),a}},function(a,b,c){var d=c(42),e=c(15);a.exports=function(a){return d(e(a))}},function(a,b){a.exports=function(a){if("function"!=typeof a)throw TypeError(a+" is not a function!");return a}},function(a,b){a.exports=function(a){if(void 0==a)throw TypeError("Can't call method on "+a);return a}},function(a,b,c){var d=c(9),e=c(2).document,f=d(e)&&d(e.createElement);a.exports=function(a){return f?e.createElement(a):{}}},function(a,b){a.exports=function(a,b){return{enumerable:!(1&a),configurable:!(2&a),writable:!(4&a),value:b}}},function(a,b,c){var d=c(12).f,e=c(8),f=c(1)("toStringTag");a.exports=function(a,b,c){a&&!e(a=c?a:a.prototype,f)&&d(a,f,{configurable:!0,value:b})}},function(a,b,c){var d=c(29)("keys"),e=c(33);a.exports=function(a){return d[a]||(d[a]=e(a))}},function(a,b){var c=Math.ceil,d=Math.floor;a.exports=function(a){return isNaN(a*=1)?0:(a>0?d:c)(a)}},function(a,b,c){var d=c(11),e=c(1)("toStringTag"),f="Arguments"==d(function(){return arguments}()),g=function(a,b){try{return a[b]}catch(a){}};a.exports=function(a){var b,c,h;return void 0===a?"Undefined":null===a?"Null":"string"==typeof(c=g(b=Object(a),e))?c:f?d(b):"Object"==(h=d(b))&&"function"==typeof b.callee?"Arguments":h}},function(a,b){a.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(a,b,c){var d=c(2),e=c(6),f=c(7),g=c(5),h="prototype",i=function(a,b,c){var j,k,l,m=a&i.F,n=a&i.G,o=a&i.S,p=a&i.P,q=a&i.B,r=a&i.W,s=n?e:e[b]||(e[b]={}),t=s[h],u=n?d:o?d[b]:(d[b]||{})[h];for(j in n&&(c=b),c)(k=!m&&u&&void 0!==u[j])&&j in s||(l=k?u[j]:c[j],s[j]=n&&"function"!=typeof u[j]?c[j]:q&&k?f(l,d):r&&u[j]==l?function(a){var b=function(b,c,d){if(this instanceof a){switch(arguments.length){case 0:return new a;case 1:return new a(b);case 2:return new a(b,c)}return new a(b,c,d)}return a.apply(this,arguments)};return b[h]=a[h],b}(l):p&&"function"==typeof l?f(Function.call,l):l,p&&((s.virtual||(s.virtual={}))[j]=l,a&i.R&&t&&!t[j]&&g(t,j,l)))};i.F=1,i.G=2,i.S=4,i.P=8,i.B=16,i.W=32,i.U=64,i.R=128,a.exports=i},function(a,b){a.exports=function(a){try{return!!a()}catch(a){return!0}}},function(a,b,c){a.exports=c(2).document&&document.documentElement},function(a,b,c){a.exports=!c(4)&&!c(24)(function(){return 7!=Object.defineProperty(c(16)("div"),"a",{get:function(){return 7}}).a})},function(a,b,c){"use strict";var d=c(28),e=c(23),f=c(57),g=c(5),h=c(8),i=c(10),j=c(45),k=c(18),l=c(52),m=c(1)("iterator"),n=!([].keys&&"next"in[].keys()),o="keys",p="values",q=function(){return this};a.exports=function(a,b,c,r,s,t,u){j(c,b,r);var v,w,x,y=function(a){if(!n&&a in C)return C[a];switch(a){case o:case p:return function(){return new c(this,a)}}return function(){return new c(this,a)}},z=b+" Iterator",A=s==p,B=!1,C=a.prototype,D=C[m]||C["@@iterator"]||s&&C[s],E=D||y(s),F=s?A?y("entries"):E:void 0,G="Array"==b&&C.entries||D;if(G&&(x=l(G.call(new a)))!==Object.prototype&&(k(x,z,!0),d||h(x,m)||g(x,m,q)),A&&D&&D.name!==p&&(B=!0,E=function(){return D.call(this)}),(!d||u)&&(n||B||!C[m])&&g(C,m,E),i[b]=E,i[z]=q,s)if(v={values:A?E:y(p),keys:t?E:y(o),entries:F},u)for(w in v)w in C||f(C,w,v[w]);else e(e.P+e.F*(n||B),b,v);return v}},function(a,b){a.exports=!0},function(a,b,c){var d=c(2),e="__core-js_shared__",f=d[e]||(d[e]={});a.exports=function(a){return f[a]||(f[a]={})}},function(a,b,c){var d,e,f,g=c(7),h=c(41),i=c(25),j=c(16),k=c(2),l=k.process,m=k.setImmediate,n=k.clearImmediate,o=k.MessageChannel,p=0,q={},r="onreadystatechange",s=function(){var a=+this;if(q.hasOwnProperty(a)){var b=q[a];delete q[a],b()}},t=function(a){s.call(a.data)};m&&n||(m=function(a){for(var b=[],c=1;arguments.length>c;)b.push(arguments[c++]);return q[++p]=function(){h("function"==typeof a?a:Function(a),b)},d(p),p},n=function(a){delete q[a]},"process"==c(11)(l)?d=function(a){l.nextTick(g(s,a,1))}:o?(f=(e=new o).port2,e.port1.onmessage=t,d=g(f.postMessage,f,1)):k.addEventListener&&"function"==typeof postMessage&&!k.importScripts?(d=function(a){k.postMessage(a+"","*")},k.addEventListener("message",t,!1)):d=r in j("script")?function(a){i.appendChild(j("script"))[r]=function(){i.removeChild(this),s.call(a)}}:function(a){setTimeout(g(s,a,1),0)}),a.exports={set:m,clear:n}},function(a,b,c){var d=c(20),e=Math.min;a.exports=function(a){return a>0?e(d(a),0x1fffffffffffff):0}},function(a,b,c){var d=c(9);a.exports=function(a,b){var c,e;if(!d(a))return a;if(b&&"function"==typeof(c=a.toString)&&!d(e=c.call(a))||"function"==typeof(c=a.valueOf)&&!d(e=c.call(a))||!b&&"function"==typeof(c=a.toString)&&!d(e=c.call(a)))return e;throw TypeError("Can't convert object to primitive value")}},function(a,b){var c=0,d=Math.random();a.exports=function(a){return"Symbol(".concat(void 0===a?"":a,")_",(++c+d).toString(36))}},function(a,b,c){"use strict";function d(a){return(0,i.createHash)("sha256").update(a).digest("hex")}function e(a){switch(j){case"darwin":return a.split("IOPlatformUUID")[1].split("\n")[0].replace(/\=|\s+|\"/gi,"").toLowerCase();case"win32":return a.toString().split("REG_SZ")[1].replace(/\r+|\n+|\s+/gi,"").toLowerCase();case"linux":case"freebsd":return a.toString().replace(/\r+|\n+|\s+/gi,"").toLowerCase();default:throw Error("Unsupported platform: "+process.platform)}}Object.defineProperty(b,"__esModule",{value:!0});var f,g=(f=c(35))&&f.__esModule?f:{default:f};b.machineIdSync=function(a){var b=e((0,h.execSync)(k[j]).toString());return a?b:d(b)},b.machineId=function(a){return new g.default(function(b,c){return(0,h.exec)(k[j],{},function(f,g,h){if(f)return c(Error("Error while obtaining machine id: "+f.stack));var i=e(g.toString());return b(a?i:d(i))})})};var h=c(70),i=c(71),j=process.platform,k={darwin:"ioreg -rd1 -c IOPlatformExpertDevice",win32:{native:"%windir%\\System32",mixed:"%windir%\\sysnative\\cmd.exe /c %windir%\\System32"}["win32"!==process.platform?"":"ia32"===process.arch&&process.env.hasOwnProperty("PROCESSOR_ARCHITEW6432")?"mixed":"native"]+"\\REG.exe QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid",linux:"( cat /var/lib/dbus/machine-id /etc/machine-id 2> /dev/null || hostname ) | head -n 1 || :",freebsd:"kenv -q smbios.system.uuid || sysctl -n kern.hostuuid"}},function(a,b,c){a.exports={default:c(36),__esModule:!0}},function(a,b,c){c(66),c(68),c(69),c(67),a.exports=c(6).Promise},function(a,b){a.exports=function(){}},function(a,b){a.exports=function(a,b,c,d){if(!(a instanceof b)||void 0!==d&&d in a)throw TypeError(c+": incorrect invocation!");return a}},function(a,b,c){var d=c(13),e=c(31),f=c(62);a.exports=function(a){return function(b,c,g){var h,i=d(b),j=e(i.length),k=f(g,j);if(a&&c!=c){for(;j>k;)if((h=i[k++])!=h)return!0}else for(;j>k;k++)if((a||k in i)&&i[k]===c)return a||k||0;return!a&&-1}}},function(a,b,c){var d=c(7),e=c(44),f=c(43),g=c(3),h=c(31),i=c(64),j={},k={},b=a.exports=function(a,b,c,l,m){var n,o,p,q,r=m?function(){return a}:i(a),s=d(c,l,b?2:1),t=0;if("function"!=typeof r)throw TypeError(a+" is not iterable!");if(f(r)){for(n=h(a.length);n>t;t++)if((q=b?s(g(o=a[t])[0],o[1]):s(a[t]))===j||q===k)return q}else for(p=r.call(a);!(o=p.next()).done;)if((q=e(p,s,o.value,b))===j||q===k)return q};b.BREAK=j,b.RETURN=k},function(a,b){a.exports=function(a,b,c){var d=void 0===c;switch(b.length){case 0:return d?a():a.call(c);case 1:return d?a(b[0]):a.call(c,b[0]);case 2:return d?a(b[0],b[1]):a.call(c,b[0],b[1]);case 3:return d?a(b[0],b[1],b[2]):a.call(c,b[0],b[1],b[2]);case 4:return d?a(b[0],b[1],b[2],b[3]):a.call(c,b[0],b[1],b[2],b[3])}return a.apply(c,b)}},function(a,b,c){var d=c(11);a.exports=Object("z").propertyIsEnumerable(0)?Object:function(a){return"String"==d(a)?a.split(""):Object(a)}},function(a,b,c){var d=c(10),e=c(1)("iterator"),f=Array.prototype;a.exports=function(a){return void 0!==a&&(d.Array===a||f[e]===a)}},function(a,b,c){var d=c(3);a.exports=function(a,b,c,e){try{return e?b(d(c)[0],c[1]):b(c)}catch(b){var f=a.return;throw void 0!==f&&d(f.call(a)),b}}},function(a,b,c){"use strict";var d=c(49),e=c(17),f=c(18),g={};c(5)(g,c(1)("iterator"),function(){return this}),a.exports=function(a,b,c){a.prototype=d(g,{next:e(1,c)}),f(a,b+" Iterator")}},function(a,b,c){var d=c(1)("iterator"),e=!1;try{var f=[7][d]();f.return=function(){e=!0},Array.from(f,function(){throw 2})}catch(a){}a.exports=function(a,b){if(!b&&!e)return!1;var c=!1;try{var f=[7],g=f[d]();g.next=function(){return{done:c=!0}},f[d]=function(){return g},a(f)}catch(a){}return c}},function(a,b){a.exports=function(a,b){return{value:b,done:!!a}}},function(a,b,c){var d=c(2),e=c(30).set,f=d.MutationObserver||d.WebKitMutationObserver,g=d.process,h=d.Promise,i="process"==c(11)(g);a.exports=function(){var a,b,c,j=function(){var d,e;for(i&&(d=g.domain)&&d.exit();a;){e=a.fn,a=a.next;try{e()}catch(d){throw a?c():b=void 0,d}}b=void 0,d&&d.enter()};if(i)c=function(){g.nextTick(j)};else if(f){var k=!0,l=document.createTextNode("");new f(j).observe(l,{characterData:!0}),c=function(){l.data=k=!k}}else if(h&&h.resolve){var m=h.resolve();c=function(){m.then(j)}}else c=function(){e.call(d,j)};return function(d){var e={fn:d,next:void 0};b&&(b.next=e),a||(a=e,c()),b=e}}},function(a,b,c){var d=c(3),e=c(50),f=c(22),g=c(19)("IE_PROTO"),h=function(){},i="prototype",j=function(){var a,b=c(16)("iframe"),d=f.length;for(b.style.display="none",c(25).appendChild(b),b.src="javascript:",(a=b.contentWindow.document).open(),a.write("<script>document.F=Object<\/script>"),a.close(),j=a.F;d--;)delete j[i][f[d]];return j()};a.exports=Object.create||function(a,b){var c;return null!==a?(h[i]=d(a),c=new h,h[i]=null,c[g]=a):c=j(),void 0===b?c:e(c,b)}},function(a,b,c){var d=c(12),e=c(3),f=c(54);a.exports=c(4)?Object.defineProperties:function(a,b){e(a);for(var c,g=f(b),h=g.length,i=0;h>i;)d.f(a,c=g[i++],b[c]);return a}},function(a,b,c){var d=c(55),e=c(17),f=c(13),g=c(32),h=c(8),i=c(26),j=Object.getOwnPropertyDescriptor;b.f=c(4)?j:function(a,b){if(a=f(a),b=g(b,!0),i)try{return j(a,b)}catch(a){}if(h(a,b))return e(!d.f.call(a,b),a[b])}},function(a,b,c){var d=c(8),e=c(63),f=c(19)("IE_PROTO"),g=Object.prototype;a.exports=Object.getPrototypeOf||function(a){return d(a=e(a),f)?a[f]:"function"==typeof a.constructor&&a instanceof a.constructor?a.constructor.prototype:a instanceof Object?g:null}},function(a,b,c){var d=c(8),e=c(13),f=c(39)(!1),g=c(19)("IE_PROTO");a.exports=function(a,b){var c,h=e(a),i=0,j=[];for(c in h)c!=g&&d(h,c)&&j.push(c);for(;b.length>i;)d(h,c=b[i++])&&(~f(j,c)||j.push(c));return j}},function(a,b,c){var d=c(53),e=c(22);a.exports=Object.keys||function(a){return d(a,e)}},function(a,b){b.f=({}).propertyIsEnumerable},function(a,b,c){var d=c(5);a.exports=function(a,b,c){for(var e in b)c&&a[e]?a[e]=b[e]:d(a,e,b[e]);return a}},function(a,b,c){a.exports=c(5)},function(a,b,c){var d=c(9),e=c(3),f=function(a,b){if(e(a),!d(b)&&null!==b)throw TypeError(b+": can't set as prototype!")};a.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(a,b,d){try{(d=c(7)(Function.call,c(51).f(Object.prototype,"__proto__").set,2))(a,[]),b=!(a instanceof Array)}catch(a){b=!0}return function(a,c){return f(a,c),b?a.__proto__=c:d(a,c),a}}({},!1):void 0),check:f}},function(a,b,c){"use strict";var d=c(2),e=c(6),f=c(12),g=c(4),h=c(1)("species");a.exports=function(a){var b="function"==typeof e[a]?e[a]:d[a];g&&b&&!b[h]&&f.f(b,h,{configurable:!0,get:function(){return this}})}},function(a,b,c){var d=c(3),e=c(14),f=c(1)("species");a.exports=function(a,b){var c,g=d(a).constructor;return void 0===g||void 0==(c=d(g)[f])?b:e(c)}},function(a,b,c){var d=c(20),e=c(15);a.exports=function(a){return function(b,c){var f,g,h=String(e(b)),i=d(c),j=h.length;return i<0||i>=j?a?"":void 0:(f=h.charCodeAt(i))<55296||f>56319||i+1===j||(g=h.charCodeAt(i+1))<56320||g>57343?a?h.charAt(i):f:a?h.slice(i,i+2):(f-55296<<10)+(g-56320)+65536}}},function(a,b,c){var d=c(20),e=Math.max,f=Math.min;a.exports=function(a,b){return(a=d(a))<0?e(a+b,0):f(a,b)}},function(a,b,c){var d=c(15);a.exports=function(a){return Object(d(a))}},function(a,b,c){var d=c(21),e=c(1)("iterator"),f=c(10);a.exports=c(6).getIteratorMethod=function(a){if(void 0!=a)return a[e]||a["@@iterator"]||f[d(a)]}},function(a,b,c){"use strict";var d=c(37),e=c(47),f=c(10),g=c(13);a.exports=c(27)(Array,"Array",function(a,b){this._t=g(a),this._i=0,this._k=b},function(){var a=this._t,b=this._k,c=this._i++;return!a||c>=a.length?(this._t=void 0,e(1)):"keys"==b?e(0,c):"values"==b?e(0,a[c]):e(0,[c,a[c]])},"values"),f.Arguments=f.Array,d("keys"),d("values"),d("entries")},function(a,b){},function(a,b,c){"use strict";var d,e,f,g=c(28),h=c(2),i=c(7),j=c(21),k=c(23),l=c(9),m=(c(3),c(14)),n=c(38),o=c(40),p=(c(58).set,c(60)),q=c(30).set,r=c(48)(),s="Promise",t=h.TypeError,u=h.process,v=h[s],u=h.process,w="process"==j(u),x=function(){},y=!!function(){try{var a=v.resolve(1),b=(a.constructor={})[c(1)("species")]=function(a){a(x,x)};return(w||"function"==typeof PromiseRejectionEvent)&&a.then(x)instanceof b}catch(a){}}(),z=function(a,b){return a===b||a===v&&b===f},A=function(a){var b;return!(!l(a)||"function"!=typeof(b=a.then))&&b},B=function(a){return z(v,a)?new C(a):new e(a)},C=e=function(a){var b,c;this.promise=new a(function(a,d){if(void 0!==b||void 0!==c)throw t("Bad Promise constructor");b=a,c=d}),this.resolve=m(b),this.reject=m(c)},D=function(a){try{a()}catch(a){return{error:a}}},E=function(a,b){if(!a._n){a._n=!0;var c=a._c;r(function(){for(var d=a._v,e=1==a._s,f=0;c.length>f;)!function(b){var c,f,g=e?b.ok:b.fail,h=b.resolve,i=b.reject,j=b.domain;try{g?(e||(2==a._h&&H(a),a._h=1),!0===g?c=d:(j&&j.enter(),c=g(d),j&&j.exit()),c===b.promise?i(t("Promise-chain cycle")):(f=A(c))?f.call(c,h,i):h(c)):i(d)}catch(a){i(a)}}(c[f++]);a._c=[],a._n=!1,b&&!a._h&&F(a)})}},F=function(a){q.call(h,function(){var b,c,d,e=a._v;if(G(a)&&(b=D(function(){w?u.emit("unhandledRejection",e,a):(c=h.onunhandledrejection)?c({promise:a,reason:e}):(d=h.console)&&d.error&&d.error("Unhandled promise rejection",e)}),a._h=w||G(a)?2:1),a._a=void 0,b)throw b.error})},G=function(a){if(1==a._h)return!1;for(var b,c=a._a||a._c,d=0;c.length>d;)if((b=c[d++]).fail||!G(b.promise))return!1;return!0},H=function(a){q.call(h,function(){var b;w?u.emit("rejectionHandled",a):(b=h.onrejectionhandled)&&b({promise:a,reason:a._v})})},I=function(a){var b=this;b._d||(b._d=!0,(b=b._w||b)._v=a,b._s=2,b._a||(b._a=b._c.slice()),E(b,!0))},J=function(a){var b,c=this;if(!c._d){c._d=!0,c=c._w||c;try{if(c===a)throw t("Promise can't be resolved itself");(b=A(a))?r(function(){var d={_w:c,_d:!1};try{b.call(a,i(J,d,1),i(I,d,1))}catch(a){I.call(d,a)}}):(c._v=a,c._s=1,E(c,!1))}catch(a){I.call({_w:c,_d:!1},a)}}};y||(v=function(a){n(this,v,s,"_h"),m(a),d.call(this);try{a(i(J,this,1),i(I,this,1))}catch(a){I.call(this,a)}},(d=function(a){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=c(56)(v.prototype,{then:function(a,b){var c=B(p(this,v));return c.ok="function"!=typeof a||a,c.fail="function"==typeof b&&b,c.domain=w?u.domain:void 0,this._c.push(c),this._a&&this._a.push(c),this._s&&E(this,!1),c.promise},catch:function(a){return this.then(void 0,a)}}),C=function(){var a=new d;this.promise=a,this.resolve=i(J,a,1),this.reject=i(I,a,1)}),k(k.G+k.W+!y*k.F,{Promise:v}),c(18)(v,s),c(59)(s),f=c(6)[s],k(k.S+!y*k.F,s,{reject:function(a){var b=B(this);return(0,b.reject)(a),b.promise}}),k(k.S+k.F*(g||!y),s,{resolve:function(a){if(a instanceof v&&z(a.constructor,this))return a;var b=B(this);return(0,b.resolve)(a),b.promise}}),k(k.S+!(y&&c(46)(function(a){v.all(a).catch(x)}))*k.F,s,{all:function(a){var b=this,c=B(b),d=c.resolve,e=c.reject,f=D(function(){var c=[],f=0,g=1;o(a,!1,function(a){var h=f++,i=!1;c.push(void 0),g++,b.resolve(a).then(function(a){i||(i=!0,c[h]=a,--g||d(c))},e)}),--g||d(c)});return f&&e(f.error),c.promise},race:function(a){var b=this,c=B(b),d=c.reject,e=D(function(){o(a,!1,function(a){b.resolve(a).then(c.resolve,d)})});return e&&d(e.error),c.promise}})},function(a,b,c){"use strict";var d=c(61)(!0);c(27)(String,"String",function(a){this._t=String(a),this._i=0},function(){var a,b=this._t,c=this._i;return c>=b.length?{value:void 0,done:!0}:(a=d(b,c),this._i+=a.length,{value:a,done:!1})})},function(a,b,c){c(65);for(var d=c(2),e=c(5),f=c(10),g=c(1)("toStringTag"),h=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],i=0;i<5;i++){var j=h[i],k=d[j],l=k&&k.prototype;l&&!l[g]&&e(l,g,j),f[j]=f.Array}},function(a,b){a.exports=c(79646)},function(a,b){a.exports=c(55511)}];function e(a){if(f[a])return f[a].exports;var b=f[a]={exports:{},id:a,loaded:!1};return d[a].call(b.exports,b,b.exports,e),b.loaded=!0,b.exports}var f={};return e.m=d,e.c=f,e.p="",e(0)}(c(79646),c(55511))},21820:a=>{"use strict";a.exports=require("os")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},49120:(a,b,c)=>{"use strict";c.d(b,{c_:()=>n,nJ:()=>m});var d=c(29021),e=c.n(d),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h);let j="openrouterx",k=["db.json","usage.json","log.txt","disabledModels.json","request-details.json"];function l(a){return"win32"===process.platform?g().join(process.env.APPDATA||g().join(i().homedir(),"AppData","Roaming"),a):g().join(i().homedir(),`.${a}`)}let m=function(){let a=process.env.DATA_DIR;if(!a)return l(j);if("win32"===process.platform&&/^\//.test(a))return console.warn(`[DATA_DIR] '${a}' is a Unix path on Windows → fallback to default`),l(j);try{return e().mkdirSync(a,{recursive:!0}),a}catch(b){if(b?.code==="EACCES"||b?.code==="EPERM")return console.warn(`[DATA_DIR] '${a}' not writable -> fallback ~/.${j}`),l(j);throw b}}(),n=g().join(m,"db.json");!function(){if(process.env.DATA_DIR)return;let a=l("9router");if(a!==m&&e().existsSync(a))for(let b of(e().existsSync(m)||e().mkdirSync(m,{recursive:!0}),k)){let c=g().join(a,b),d=g().join(m,b);e().existsSync(c)&&!e().existsSync(d)&&e().copyFileSync(c,d)}}()},54603:(a,b,c)=>{"use strict";c.d(b,{Xj:()=>q});var d=c(19713),e=c(73024),f=c.n(e),g=c(76760),h=c.n(g),i=c(77598),j=c.n(i),k=c(49120);let l=h().join(k.nJ,"machine-id"),m=h().join(k.nJ,"auth"),n=h().join(m,"cli-secret"),o=null,p=null;async function q(a=null){let b=a||process.env.MACHINE_ID_SALT||"endpoint-proxy-salt",c=function(){if(o)return o;try{if(o=f().readFileSync(l,"utf8").trim())return o}catch{}try{o=(0,d.machineIdSync)()}catch{o=j().randomUUID()}try{f().mkdirSync(k.nJ,{recursive:!0}),f().writeFileSync(l,o,{mode:384})}catch{}return o}(),e="9r-cli-auth"===b?function(){if(p)return p;try{if(p=f().readFileSync(n,"utf8").trim())return p}catch{}p=j().randomBytes(32).toString("hex");try{f().mkdirSync(m,{recursive:!0}),f().writeFileSync(n,p,{mode:384})}catch{}return p}():"";return j().createHash("sha256").update(c+b+e).digest("hex").substring(0,16)}},55511:a=>{"use strict";a.exports=require("crypto")},61366:(a,b,c)=>{"use strict";c.r(b),c.d(b,{"00591d9c0d5efb40a9938b73d28ab72d4e1f94173e":()=>d.DELETE,"00a602663537e2f5fd86bfe03a6e3da539a87c7a0f":()=>d.GET,"40b15c94c88484f76a8525e5312fe592d1e0c9e10f":()=>d.POST});var d=c(21350)},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},69381:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527),u=c(21350);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/cli-tools/cowork-settings/route",pathname:"/api/cli-tools/cowork-settings",filename:"route",bundlePath:"app/api/cli-tools/cowork-settings/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Users/bytedance/Documents/Projects/9router/src/app/api/cli-tools/cowork-settings/route.js",nextConfigOutput:"standalone",userland:u,...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cli-tools/cowork-settings/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||v.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===v.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts},cacheComponents:!!y.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:y.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>v.onRequestError(a,b,d,e,C)},sharedContext:{buildId:u,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b));try{let f,g=async a=>v.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${O} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b),f&&f!==a&&(f.setAttribute("http.route",e),f.updateName(b))}else a.updateName(`${O} ${d}`)}),i=async f=>{var h,i;let j=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(f);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[r.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},k=await v.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,p.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(r.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,q.getCacheControlHeader)(k.cacheControl)),await (0,o.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await i(Q):(f=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},i),void 0,!R))}catch(b){if(b instanceof s.NoFallbackError||await v.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;return await (0,o.I)(V,W,new Response(null,{status:500})),null}}},73024:a=>{"use strict";a.exports=require("node:fs")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},79646:a=>{"use strict";a.exports=require("child_process")},79748:a=>{"use strict";a.exports=require("fs/promises")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},92280:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,5592,5118,6070,1350],()=>b(b.s=69381));module.exports=c})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1220.js","../../../../chunks/1241.js","../../../../chunks/1275.js","../../../../chunks/1350.js","../../../../chunks/1679.js","../../../../chunks/1832.js","../../../../chunks/1998.js","../../../../chunks/2059.js","../../../../chunks/241.js","../../../../chunks/2944.js","../../../../chunks/319.js","../../../../chunks/3412.js","../../../../chunks/3428.js","../../../../chunks/3535.js","../../../../chunks/3546.js","../../../../chunks/3593.js","../../../../chunks/3913.js","../../../../chunks/4013.js","../../../../chunks/412.js","../../../../chunks/4632.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4922.js","../../../../chunks/4989.js","../../../../chunks/5118.js","../../../../chunks/5217.js","../../../../chunks/5258.js","../../../../chunks/5296.js","../../../../chunks/5573.js","../../../../chunks/5592.js","../../../../chunks/5615.js","../../../../chunks/5699.js","../../../../chunks/5816.js","../../../../chunks/5961.js","../../../../chunks/6001.js","../../../../chunks/602.js","../../../../chunks/6070.js","../../../../chunks/615.js","../../../../chunks/6151.js","../../../../chunks/6182.js","../../../../chunks/6306.js","../../../../chunks/6327.js","../../../../chunks/6457.js","../../../../chunks/6482.js","../../../../chunks/6688.js","../../../../chunks/6763.js","../../../../chunks/6777.js","../../../../chunks/6844.js","../../../../chunks/6936.js","../../../../chunks/7244.js","../../../../chunks/7259.js","../../../../chunks/7502.js","../../../../chunks/7774.js","../../../../chunks/7879.js","../../../../chunks/7937.js","../../../../chunks/801.js","../../../../chunks/8271.js","../../../../chunks/8473.js","../../../../chunks/8520.js","../../../../chunks/8895.js","../../../../chunks/8910.js","../../../../chunks/8920.js","../../../../chunks/8971.js","../../../../chunks/9460.js","../../../../chunks/9718.js","../../../../chunks/9787.js","../../../../chunks/9833.js","../../../../webpack-runtime.js","route_client-reference-manifest.js","../../../../../../node_modules/sql.js/dist/sql-wasm.wasm"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
(()=>{var a={};a.id=1091,a.ids=[1091],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19225:(a,b,c)=>{"use strict";a.exports=c(44870)},21820:a=>{"use strict";a.exports=require("os")},24424:(a,b)=>{"use strict";function c(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
|
|
2
|
+
Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(b,"D",{enumerable:!0,get:function(){return c}})},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},49796:(a,b,c)=>{"use strict";Object.defineProperty(b,"A",{enumerable:!0,get:function(){return d.registerServerReference}});let d=c(77943)},54785:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527),u=c(67116);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/cli-tools/deepseek-tui-settings/route",pathname:"/api/cli-tools/deepseek-tui-settings",filename:"route",bundlePath:"app/api/cli-tools/deepseek-tui-settings/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Users/bytedance/Documents/Projects/9router/src/app/api/cli-tools/deepseek-tui-settings/route.js",nextConfigOutput:"standalone",userland:u,...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cli-tools/deepseek-tui-settings/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||v.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===v.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts},cacheComponents:!!y.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:y.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>v.onRequestError(a,b,d,e,C)},sharedContext:{buildId:u,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b));try{let f,g=async a=>v.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${O} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b),f&&f!==a&&(f.setAttribute("http.route",e),f.updateName(b))}else a.updateName(`${O} ${d}`)}),i=async f=>{var h,i;let j=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(f);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[r.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},k=await v.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,p.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(r.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,q.getCacheControlHeader)(k.cacheControl)),await (0,o.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await i(Q):(f=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},i),void 0,!R))}catch(b){if(b instanceof s.NoFallbackError||await v.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;return await (0,o.I)(V,W,new Response(null,{status:500})),null}}},56654:(a,b,c)=>{"use strict";c.r(b),c.d(b,{"005006bb3da0b893af85aa1927c2dac0235329f9f7":()=>d.GET,"009c6f09d2beec65172643f53c02c92ce56146a566":()=>d.DELETE,"40c5b10bc486de0951757a2bca9e3d266f65a55ff6":()=>d.POST});var d=c(67116)},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},67116:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DELETE:()=>w,GET:()=>u,POST:()=>v});var d=c(49796),e=c(45592),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(24424);let o=(0,g.promisify)(f.exec),p=()=>k().join(m().homedir(),".deepseek"),q=()=>k().join(p(),"config.toml"),r=`provider = "deepseek"
|
|
3
|
+
`,s=async()=>{try{let a="win32"===m().platform();return await o(a?"where deepseek":"which deepseek",{windowsHide:!0}),!0}catch{try{return await i().access(q()),!0}catch{return!1}}},t=async()=>{try{return await i().readFile(q(),"utf-8")}catch(a){if("ENOENT"===a.code)return"";throw a}};async function u(){try{if(!await s())return e.NextResponse.json({installed:!1,settings:null,message:"DeepSeek TUI is not installed"});let a=await t(),b=(a=>{let b={},c=b;for(let d of a.split(/\r?\n/)){let a=d.trim();if(!a||a.startsWith("#"))continue;let e=a.match(/^\[([^\]]+)\]$/);if(e){let a=e[1];b[a]||(b[a]={}),c=b[a];continue}let f=a.match(/^(\w+)\s*=\s*"([^"]*)"$/);if(f){c[f[1]]=f[2];continue}let g=a.match(/^(\w+)\s*=\s*(.+)$/);g&&(c[g[1]]=g[2].trim())}return b})(a);return e.NextResponse.json({installed:!0,settings:b,has9Router:(a=>{if(!a||"openai"!==a.provider)return!1;let b=a["providers.openai"];return!!b?.base_url&&/localhost|127\.0\.0\.1|0\.0\.0\.0/.test(b.base_url)})(b),configPath:q()})}catch(a){return console.log("Error checking deepseek-tui settings:",a),e.NextResponse.json({error:"Failed to check deepseek-tui settings"},{status:500})}}async function v(a){try{var b;let c,{baseUrl:d,apiKey:f,model:g}=await a.json();if(!d||!g)return e.NextResponse.json({error:"baseUrl and model are required"},{status:400});let h=p();await i().mkdir(h,{recursive:!0});let j=(b=f||"sk_9router",c=d.endsWith("/v1")?d:`${d}/v1`,`provider = "openai"
|
|
4
|
+
|
|
5
|
+
[providers.openai]
|
|
6
|
+
base_url = "${c}"
|
|
7
|
+
api_key = "${b}"
|
|
8
|
+
model = "${g}"
|
|
9
|
+
`);return await i().writeFile(q(),j),e.NextResponse.json({success:!0,message:"DeepSeek TUI settings applied successfully!",configPath:q()})}catch(a){return console.log("Error updating deepseek-tui settings:",a),e.NextResponse.json({error:"Failed to update deepseek-tui settings"},{status:500})}}async function w(){try{let a=q();try{await i().access(a)}catch{return e.NextResponse.json({success:!0,message:"No config file to reset"})}return await i().writeFile(a,r),e.NextResponse.json({success:!0,message:"9router config reset to DeepSeek defaults"})}catch(a){return console.log("Error resetting deepseek-tui settings:",a),e.NextResponse.json({error:"Failed to reset deepseek-tui settings"},{status:500})}}(0,n.D)([u,v,w]),(0,d.A)(u,"005006bb3da0b893af85aa1927c2dac0235329f9f7",null),(0,d.A)(v,"40c5b10bc486de0951757a2bca9e3d266f65a55ff6",null),(0,d.A)(w,"009c6f09d2beec65172643f53c02c92ce56146a566",null)},77943:(a,b,c)=>{"use strict";a.exports=c(7553).vendored["react-rsc"].ReactServerDOMWebpackServer},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},79748:a=>{"use strict";a.exports=require("fs/promises")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},92280:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,5592],()=>b(b.s=54785));module.exports=c})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1220.js","../../../../chunks/1241.js","../../../../chunks/1275.js","../../../../chunks/1350.js","../../../../chunks/1679.js","../../../../chunks/1832.js","../../../../chunks/1998.js","../../../../chunks/2059.js","../../../../chunks/241.js","../../../../chunks/2944.js","../../../../chunks/319.js","../../../../chunks/3412.js","../../../../chunks/3428.js","../../../../chunks/3535.js","../../../../chunks/3546.js","../../../../chunks/3593.js","../../../../chunks/3913.js","../../../../chunks/4013.js","../../../../chunks/412.js","../../../../chunks/4632.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4922.js","../../../../chunks/4989.js","../../../../chunks/5118.js","../../../../chunks/5217.js","../../../../chunks/5258.js","../../../../chunks/5296.js","../../../../chunks/5573.js","../../../../chunks/5592.js","../../../../chunks/5615.js","../../../../chunks/5699.js","../../../../chunks/5816.js","../../../../chunks/5961.js","../../../../chunks/6001.js","../../../../chunks/602.js","../../../../chunks/6070.js","../../../../chunks/615.js","../../../../chunks/6151.js","../../../../chunks/6182.js","../../../../chunks/6306.js","../../../../chunks/6327.js","../../../../chunks/6457.js","../../../../chunks/6482.js","../../../../chunks/6688.js","../../../../chunks/6763.js","../../../../chunks/6777.js","../../../../chunks/6844.js","../../../../chunks/6936.js","../../../../chunks/7244.js","../../../../chunks/7259.js","../../../../chunks/7502.js","../../../../chunks/7774.js","../../../../chunks/7879.js","../../../../chunks/7937.js","../../../../chunks/801.js","../../../../chunks/8271.js","../../../../chunks/8473.js","../../../../chunks/8520.js","../../../../chunks/8895.js","../../../../chunks/8910.js","../../../../chunks/8920.js","../../../../chunks/8971.js","../../../../chunks/9460.js","../../../../chunks/9718.js","../../../../chunks/9787.js","../../../../chunks/9833.js","../../../../webpack-runtime.js","route_client-reference-manifest.js","../../../../../../node_modules/sql.js/dist/sql-wasm.wasm"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(()=>{var a={};a.id=9321,a.ids=[9321],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{"use strict";a.exports=require("assert")},19225:(a,b,c)=>{"use strict";a.exports=c(44870)},21820:a=>{"use strict";a.exports=require("os")},24424:(a,b)=>{"use strict";function c(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
|
|
2
|
+
Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(b,"D",{enumerable:!0,get:function(){return c}})},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},29657:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DELETE:()=>y,GET:()=>w,POST:()=>x});var d=c(49796),e=c(45592),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(68658),o=c(24424);let p=(0,g.promisify)(f.exec);async function q(a){let b=await (0,n.f1)(a);return b?{payload:b,response:null}:{payload:null,response:e.NextResponse.json({error:"Unauthorized"},{status:401})}}let r=()=>k().join(m().homedir(),".factory"),s=()=>k().join(r(),"settings.json"),t="custom:openrouterx",u=async()=>{try{let a="win32"===m().platform(),b=a?{...process.env,PATH:`${process.env.APPDATA}\\npm;${process.env.PATH}`}:process.env;return await p(a?"where droid":"which droid",{windowsHide:!0,env:b}),!0}catch{try{return await i().access(s()),!0}catch{return!1}}},v=async()=>{try{let a=s(),b=(await i().readFile(a,"utf-8")).replace(/,(\s*[}\]])/g,"$1");return JSON.parse(b)}catch(a){return null}};async function w(a){try{let{response:b}=await q(a);if(b)return b;if(!await u())return e.NextResponse.json({installed:!1,settings:null,message:"Factory Droid CLI is not installed"});let c=await v();return e.NextResponse.json({installed:!0,settings:c,hasOpenRouterX:!!c&&!!c.customModels&&c.customModels.some(a=>a.id?.startsWith(t)),settingsPath:s()})}catch(a){return console.log("Error checking droid settings:",a),e.NextResponse.json({error:"Failed to check droid settings"},{status:500})}}async function x(a){try{let{payload:b,response:c}=await q(a);if(c)return c;if("super_admin"!==b.role)return e.NextResponse.json({error:"Forbidden"},{status:403});let{baseUrl:d,apiKey:f,model:g,models:h,activeModel:j}=await a.json(),k=Array.isArray(h)?h.slice():"string"==typeof g?[g]:[];if(!d||0===k.length)return e.NextResponse.json({error:"baseUrl and at least one model are required"},{status:400});let l=r(),m=s();await i().mkdir(l,{recursive:!0});let n={};try{let a=await i().readFile(m,"utf-8");n=JSON.parse(a)}catch{}n.customModels||(n.customModels=[]),n.customModels=n.customModels.filter(a=>!a.id?.startsWith(t));let o=d.endsWith("/v1")?d:`${d}/v1`,p=f||"your_api_key",u=0;if("string"==typeof j)if(""===j)u=-1;else{let a=k.indexOf(j);u=a>=0?a:0}for(let a=0;a<k.length;a++){let b=k[a];b&&"string"==typeof b&&n.customModels.push({model:b,id:`${t}-${a}`,index:a,baseUrl:o,apiKey:p,displayName:b,maxOutputTokens:131072,noImageSupport:!1,provider:"openai"})}if(u>=0&&n.customModels[u]){let[a]=n.customModels.splice(u,1);n.customModels.unshift({...a,index:0}),n.customModels.forEach((a,b)=>{a.index=b})}return await i().writeFile(m,JSON.stringify(n,null,2)),e.NextResponse.json({success:!0,message:"Factory Droid settings applied successfully!",settingsPath:m})}catch(a){return console.log("Error updating droid settings:",a),e.NextResponse.json({error:"Failed to update droid settings"},{status:500})}}async function y(a){try{let{payload:b,response:c}=await q(a);if(c)return c;if("super_admin"!==b.role)return e.NextResponse.json({error:"Forbidden"},{status:403});let d=s(),f={};try{let a=await i().readFile(d,"utf-8");f=JSON.parse(a)}catch(a){if("ENOENT"===a.code)return e.NextResponse.json({success:!0,message:"No settings file to reset"});throw a}return f.customModels&&(f.customModels=f.customModels.filter(a=>!a.id?.startsWith(t)),0===f.customModels.length&&delete f.customModels),await i().writeFile(d,JSON.stringify(f,null,2)),e.NextResponse.json({success:!0,message:"OpenrouterX settings removed successfully"})}catch(a){return console.log("Error resetting droid settings:",a),e.NextResponse.json({error:"Failed to reset droid settings"},{status:500})}}(0,o.D)([w,x,y]),(0,d.A)(w,"40ad1fab242abfd2d75c2d3fb73e17a85fc0f2939c",null),(0,d.A)(x,"40ad244e549e68b981a4957fe32492a00cb2747d0b",null),(0,d.A)(y,"4057d25234f9c009fe09908b9f048e41f04632a8b3",null)},33792:(a,b,c)=>{"use strict";c.d(b,{Dc:()=>r,OZ:()=>u,YK:()=>p,dY:()=>s,nz:()=>v,tm:()=>t});var d=c(86935),e=c(69614),f=c(34013),g=c(73024),h=c.n(g),i=c(76760),j=c.n(i),k=c(77598),l=c.n(k),m=c(49120),n=c(89718);let o=new TextEncoder().encode(function(){if(process.env.JWT_SECRET)return process.env.JWT_SECRET;let a=j().join(m.nJ,"jwt-secret");try{return h().readFileSync(a,"utf8").trim()}catch{}h().mkdirSync(m.nJ,{recursive:!0});let b=l().randomBytes(32).toString("hex");return h().writeFileSync(a,b,{mode:384}),b}());function p(a){let b="true"===process.env.AUTH_COOKIE_SECURE,c=a?.headers?.get?.("x-forwarded-proto");return b||"https"===c}async function q(a={}){return new d.P({authenticated:!0,...a}).setProtectedHeader({alg:"HS256"}).setIssuedAt().setExpirationTime("24h").sign(o)}async function r(a){if(!a)return!1;try{return await (0,e.V)(a,o),!0}catch{return!1}}async function s(a){if(!a)return null;try{let{payload:b}=await (0,e.V)(a,o);return b}catch{return null}}async function t(a,b,c={}){let d=await q(c);a.set("auth_token",d,{httpOnly:!0,secure:p(b),sameSite:"lax",path:"/"})}function u(a){a.delete("auth_token")}async function v(a){if("string"!=typeof a||!a)return!1;let b=await (0,n.getSettings)(),c=b?.password;return c?f.default.compare(a,c):a===(process.env.INITIAL_PASSWORD||"123456")}},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48267:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527),u=c(29657);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/cli-tools/droid-settings/route",pathname:"/api/cli-tools/droid-settings",filename:"route",bundlePath:"app/api/cli-tools/droid-settings/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Users/bytedance/Documents/Projects/9router/src/app/api/cli-tools/droid-settings/route.js",nextConfigOutput:"standalone",userland:u,...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cli-tools/droid-settings/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||v.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===v.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts},cacheComponents:!!y.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:y.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>v.onRequestError(a,b,d,e,C)},sharedContext:{buildId:u,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b));try{let f,g=async a=>v.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${O} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b),f&&f!==a&&(f.setAttribute("http.route",e),f.updateName(b))}else a.updateName(`${O} ${d}`)}),i=async f=>{var h,i;let j=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(f);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[r.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},k=await v.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,p.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(r.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,q.getCacheControlHeader)(k.cacheControl)),await (0,o.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await i(Q):(f=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},i),void 0,!R))}catch(b){if(b instanceof s.NoFallbackError||await v.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;return await (0,o.I)(V,W,new Response(null,{status:500})),null}}},49120:(a,b,c)=>{"use strict";c.d(b,{c_:()=>n,nJ:()=>m});var d=c(29021),e=c.n(d),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h);let j="openrouterx",k=["db.json","usage.json","log.txt","disabledModels.json","request-details.json"];function l(a){return"win32"===process.platform?g().join(process.env.APPDATA||g().join(i().homedir(),"AppData","Roaming"),a):g().join(i().homedir(),`.${a}`)}let m=function(){let a=process.env.DATA_DIR;if(!a)return l(j);if("win32"===process.platform&&/^\//.test(a))return console.warn(`[DATA_DIR] '${a}' is a Unix path on Windows → fallback to default`),l(j);try{return e().mkdirSync(a,{recursive:!0}),a}catch(b){if(b?.code==="EACCES"||b?.code==="EPERM")return console.warn(`[DATA_DIR] '${a}' not writable -> fallback ~/.${j}`),l(j);throw b}}(),n=g().join(m,"db.json");!function(){if(process.env.DATA_DIR)return;let a=l("9router");if(a!==m&&e().existsSync(a))for(let b of(e().existsSync(m)||e().mkdirSync(m,{recursive:!0}),k)){let c=g().join(a,b),d=g().join(m,b);e().existsSync(c)&&!e().existsSync(d)&&e().copyFileSync(c,d)}}()},49796:(a,b,c)=>{"use strict";Object.defineProperty(b,"A",{enumerable:!0,get:function(){return d.registerServerReference}});let d=c(77943)},51455:a=>{"use strict";a.exports=require("node:fs/promises")},54603:(a,b,c)=>{"use strict";c.d(b,{Xj:()=>q});var d=c(19713),e=c(73024),f=c.n(e),g=c(76760),h=c.n(g),i=c(77598),j=c.n(i),k=c(49120);let l=h().join(k.nJ,"machine-id"),m=h().join(k.nJ,"auth"),n=h().join(m,"cli-secret"),o=null,p=null;async function q(a=null){let b=a||process.env.MACHINE_ID_SALT||"endpoint-proxy-salt",c=function(){if(o)return o;try{if(o=f().readFileSync(l,"utf8").trim())return o}catch{}try{o=(0,d.machineIdSync)()}catch{o=j().randomUUID()}try{f().mkdirSync(k.nJ,{recursive:!0}),f().writeFileSync(l,o,{mode:384})}catch{}return o}(),e="9r-cli-auth"===b?function(){if(p)return p;try{if(p=f().readFileSync(n,"utf8").trim())return p}catch{}p=j().randomBytes(32).toString("hex");try{f().mkdirSync(m,{recursive:!0}),f().writeFileSync(n,p,{mode:384})}catch{}return p}():"";return j().createHash("sha256").update(c+b+e).digest("hex").substring(0,16)}},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},68658:(a,b,c)=>{"use strict";c.d(b,{f1:()=>j,v5:()=>i}),c(45592);var d=c(89718),e=c(33792),f=c(54603);let g=new Set(["localhost","127.0.0.1","::1"]);function h(a){if(!a)return!1;let b=a.split(":")[0].replace(/^\[|\]$/g,"").toLowerCase();return g.has(b)}function i(a){if(a.headers.get("x-9r-via-proxy"))return!1;let b=a.headers.get("x-9r-real-ip");if(b){if(!h(b))return!1}else if(!h(a.headers.get("host")))return!1;let c=a.headers.get("origin");if(c)try{if(!h(new URL(c).hostname))return!1}catch{return!1}return!0}async function j(a){let b=a.cookies.get("auth_token")?.value;return(0,e.dY)(b)}},71847:(a,b,c)=>{"use strict";c.r(b),c.d(b,{"4057d25234f9c009fe09908b9f048e41f04632a8b3":()=>d.DELETE,"40ad1fab242abfd2d75c2d3fb73e17a85fc0f2939c":()=>d.GET,"40ad244e549e68b981a4957fe32492a00cb2747d0b":()=>d.POST});var d=c(29657)},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},77943:(a,b,c)=>{"use strict";a.exports=c(7553).vendored["react-rsc"].ReactServerDOMWebpackServer},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},79748:a=>{"use strict";a.exports=require("fs/promises")},81115:a=>{"use strict";a.exports=require("constants")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},92280:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},94735:a=>{"use strict";a.exports=require("events")},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,5592,7502,6936,4013,6001,9718],()=>b(b.s=48267));module.exports=c})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../package.json","../../../../../../src/shared/utils/apiKey.js","../../../../../package.json","../../../../chunks/1220.js","../../../../chunks/1241.js","../../../../chunks/1275.js","../../../../chunks/1350.js","../../../../chunks/1679.js","../../../../chunks/1832.js","../../../../chunks/1998.js","../../../../chunks/2059.js","../../../../chunks/241.js","../../../../chunks/2944.js","../../../../chunks/319.js","../../../../chunks/3412.js","../../../../chunks/3428.js","../../../../chunks/3535.js","../../../../chunks/3546.js","../../../../chunks/3593.js","../../../../chunks/3913.js","../../../../chunks/4013.js","../../../../chunks/412.js","../../../../chunks/4632.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4922.js","../../../../chunks/4989.js","../../../../chunks/5118.js","../../../../chunks/5217.js","../../../../chunks/5258.js","../../../../chunks/5296.js","../../../../chunks/5573.js","../../../../chunks/5592.js","../../../../chunks/5615.js","../../../../chunks/5699.js","../../../../chunks/5816.js","../../../../chunks/5961.js","../../../../chunks/6001.js","../../../../chunks/602.js","../../../../chunks/6070.js","../../../../chunks/615.js","../../../../chunks/6151.js","../../../../chunks/6182.js","../../../../chunks/6306.js","../../../../chunks/6327.js","../../../../chunks/6457.js","../../../../chunks/6482.js","../../../../chunks/6688.js","../../../../chunks/6763.js","../../../../chunks/6777.js","../../../../chunks/6844.js","../../../../chunks/6936.js","../../../../chunks/7244.js","../../../../chunks/7259.js","../../../../chunks/7502.js","../../../../chunks/7774.js","../../../../chunks/7879.js","../../../../chunks/7937.js","../../../../chunks/801.js","../../../../chunks/8271.js","../../../../chunks/8473.js","../../../../chunks/8520.js","../../../../chunks/8895.js","../../../../chunks/8910.js","../../../../chunks/8920.js","../../../../chunks/8971.js","../../../../chunks/9460.js","../../../../chunks/9718.js","../../../../chunks/9787.js","../../../../chunks/9833.js","../../../../webpack-runtime.js","route_client-reference-manifest.js","../../../../../../node_modules/sql.js/dist/sql-wasm.wasm"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
(()=>{var a={};a.id=7311,a.ids=[7311],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},2975:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527),u=c(21757);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/cli-tools/hermes-settings/route",pathname:"/api/cli-tools/hermes-settings",filename:"route",bundlePath:"app/api/cli-tools/hermes-settings/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Users/bytedance/Documents/Projects/9router/src/app/api/cli-tools/hermes-settings/route.js",nextConfigOutput:"standalone",userland:u,...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cli-tools/hermes-settings/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||v.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===v.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts},cacheComponents:!!y.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:y.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>v.onRequestError(a,b,d,e,C)},sharedContext:{buildId:u,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b));try{let f,g=async a=>v.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${O} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b),f&&f!==a&&(f.setAttribute("http.route",e),f.updateName(b))}else a.updateName(`${O} ${d}`)}),i=async f=>{var h,i;let j=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(f);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[r.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},k=await v.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,p.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(r.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,q.getCacheControlHeader)(k.cacheControl)),await (0,o.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await i(Q):(f=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},i),void 0,!R))}catch(b){if(b instanceof s.NoFallbackError||await v.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;return await (0,o.I)(V,W,new Response(null,{status:500})),null}}},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{"use strict";a.exports=require("assert")},19225:(a,b,c)=>{"use strict";a.exports=c(44870)},21757:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DELETE:()=>A,GET:()=>y,POST:()=>z});var d=c(49796),e=c(45592),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(68658),o=c(24424);let p=(0,g.promisify)(f.exec);async function q(a){let b=await (0,n.f1)(a);return b?{payload:b,response:null}:{payload:null,response:e.NextResponse.json({error:"Unauthorized"},{status:401})}}let r=()=>k().join(m().homedir(),".hermes"),s=()=>k().join(r(),"config.yaml"),t=()=>k().join(r(),".env"),u=/^model:[ \t]*\r?\n((?:[ \t]+.*\r?\n?|[ \t]*\r?\n)*)/m,v=async()=>{try{let a="win32"===m().platform();return await p(a?"where hermes":"which hermes",{windowsHide:!0}),!0}catch{try{return await i().access(s()),!0}catch{return!1}}},w=async()=>{try{return await i().readFile(s(),"utf-8")}catch(a){if("ENOENT"===a.code)return"";throw a}},x=async()=>{try{return await i().readFile(t(),"utf-8")}catch(a){if("ENOENT"===a.code)return"";throw a}};async function y(a){try{let{response:b}=await q(a);if(b)return b;if(!await v())return e.NextResponse.json({installed:!1,settings:null,message:"Hermes Agent is not installed"});let c=await w(),d=(a=>{let b=a.match(u);if(!b)return null;let c=b[1]||"",d=a=>{let b=c.match(RegExp(`^[ \\t]+${a}:[ \\t]*["']?([^"'\\r\\n]+)["']?`,"m"));return b?b[1].trim():null};return{default:d("default"),provider:d("provider"),base_url:d("base_url")}})(c);return e.NextResponse.json({installed:!0,settings:{model:d},hasOpenRouterX:!!d?.base_url&&"custom"===d.provider&&/localhost|127\.0\.0\.1|0\.0\.0\.0/.test(d.base_url),configPath:s()})}catch(a){return console.log("Error checking hermes settings:",a),e.NextResponse.json({error:"Failed to check hermes settings"},{status:500})}}async function z(a){try{var b,c,d,f;let{payload:g,response:h}=await q(a);if(h)return h;if("super_admin"!==g.role)return e.NextResponse.json({error:"Forbidden"},{status:403});let{baseUrl:j,apiKey:k,model:l}=await a.json();if(!j||!l)return e.NextResponse.json({error:"baseUrl and model are required"},{status:400});let m=r();await i().mkdir(m,{recursive:!0});let n=j.endsWith("/v1")?j:`${j}/v1`,o=(b=await w(),c=`model:
|
|
2
|
+
default: "${l}"
|
|
3
|
+
provider: "custom"
|
|
4
|
+
base_url: "${n}"
|
|
5
|
+
`,u.test(b)?b.replace(u,c):b.length>0?`${c}
|
|
6
|
+
${b}`:c);if(await i().writeFile(s(),o),k){let a,b,c=(d=await x(),f="OPENAI_API_KEY",a=RegExp(`^${f}=.*$`,"m"),b=`${f}=${k}`,a.test(d)?d.replace(a,b):d.length>0&&!d.endsWith("\n")?`${d}
|
|
7
|
+
${b}
|
|
8
|
+
`:`${d}${b}
|
|
9
|
+
`);await i().writeFile(t(),c)}return e.NextResponse.json({success:!0,message:"Hermes settings applied successfully!",configPath:s()})}catch(a){return console.log("Error updating hermes settings:",a),e.NextResponse.json({error:"Failed to update hermes settings"},{status:500})}}async function A(a){try{let{payload:b,response:c}=await q(a);if(c)return c;if("super_admin"!==b.role)return e.NextResponse.json({error:"Forbidden"},{status:403});let d=s(),f="";try{f=await i().readFile(d,"utf-8")}catch(a){if("ENOENT"===a.code)return e.NextResponse.json({success:!0,message:"No config file to reset"});throw a}let g=f.replace(u,"").replace(/^\n+/,"");return await i().writeFile(d,g),e.NextResponse.json({success:!0,message:"openrouterx model block removed"})}catch(a){return console.log("Error resetting hermes settings:",a),e.NextResponse.json({error:"Failed to reset hermes settings"},{status:500})}}(0,o.D)([y,z,A]),(0,d.A)(y,"40f4882be2f6726054e3e490212d4bb26c78906d7d",null),(0,d.A)(z,"4019015384471a65b6e167e97e851ac46b03fc495c",null),(0,d.A)(A,"4053d198579208c18e608d53c4c3654f970776d577",null)},21820:a=>{"use strict";a.exports=require("os")},24424:(a,b)=>{"use strict";function c(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
|
|
10
|
+
Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(b,"D",{enumerable:!0,get:function(){return c}})},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33792:(a,b,c)=>{"use strict";c.d(b,{Dc:()=>r,OZ:()=>u,YK:()=>p,dY:()=>s,nz:()=>v,tm:()=>t});var d=c(86935),e=c(69614),f=c(34013),g=c(73024),h=c.n(g),i=c(76760),j=c.n(i),k=c(77598),l=c.n(k),m=c(49120),n=c(89718);let o=new TextEncoder().encode(function(){if(process.env.JWT_SECRET)return process.env.JWT_SECRET;let a=j().join(m.nJ,"jwt-secret");try{return h().readFileSync(a,"utf8").trim()}catch{}h().mkdirSync(m.nJ,{recursive:!0});let b=l().randomBytes(32).toString("hex");return h().writeFileSync(a,b,{mode:384}),b}());function p(a){let b="true"===process.env.AUTH_COOKIE_SECURE,c=a?.headers?.get?.("x-forwarded-proto");return b||"https"===c}async function q(a={}){return new d.P({authenticated:!0,...a}).setProtectedHeader({alg:"HS256"}).setIssuedAt().setExpirationTime("24h").sign(o)}async function r(a){if(!a)return!1;try{return await (0,e.V)(a,o),!0}catch{return!1}}async function s(a){if(!a)return null;try{let{payload:b}=await (0,e.V)(a,o);return b}catch{return null}}async function t(a,b,c={}){let d=await q(c);a.set("auth_token",d,{httpOnly:!0,secure:p(b),sameSite:"lax",path:"/"})}function u(a){a.delete("auth_token")}async function v(a){if("string"!=typeof a||!a)return!1;let b=await (0,n.getSettings)(),c=b?.password;return c?f.default.compare(a,c):a===(process.env.INITIAL_PASSWORD||"123456")}},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},49120:(a,b,c)=>{"use strict";c.d(b,{c_:()=>n,nJ:()=>m});var d=c(29021),e=c.n(d),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h);let j="openrouterx",k=["db.json","usage.json","log.txt","disabledModels.json","request-details.json"];function l(a){return"win32"===process.platform?g().join(process.env.APPDATA||g().join(i().homedir(),"AppData","Roaming"),a):g().join(i().homedir(),`.${a}`)}let m=function(){let a=process.env.DATA_DIR;if(!a)return l(j);if("win32"===process.platform&&/^\//.test(a))return console.warn(`[DATA_DIR] '${a}' is a Unix path on Windows → fallback to default`),l(j);try{return e().mkdirSync(a,{recursive:!0}),a}catch(b){if(b?.code==="EACCES"||b?.code==="EPERM")return console.warn(`[DATA_DIR] '${a}' not writable -> fallback ~/.${j}`),l(j);throw b}}(),n=g().join(m,"db.json");!function(){if(process.env.DATA_DIR)return;let a=l("9router");if(a!==m&&e().existsSync(a))for(let b of(e().existsSync(m)||e().mkdirSync(m,{recursive:!0}),k)){let c=g().join(a,b),d=g().join(m,b);e().existsSync(c)&&!e().existsSync(d)&&e().copyFileSync(c,d)}}()},49796:(a,b,c)=>{"use strict";Object.defineProperty(b,"A",{enumerable:!0,get:function(){return d.registerServerReference}});let d=c(77943)},51455:a=>{"use strict";a.exports=require("node:fs/promises")},54603:(a,b,c)=>{"use strict";c.d(b,{Xj:()=>q});var d=c(19713),e=c(73024),f=c.n(e),g=c(76760),h=c.n(g),i=c(77598),j=c.n(i),k=c(49120);let l=h().join(k.nJ,"machine-id"),m=h().join(k.nJ,"auth"),n=h().join(m,"cli-secret"),o=null,p=null;async function q(a=null){let b=a||process.env.MACHINE_ID_SALT||"endpoint-proxy-salt",c=function(){if(o)return o;try{if(o=f().readFileSync(l,"utf8").trim())return o}catch{}try{o=(0,d.machineIdSync)()}catch{o=j().randomUUID()}try{f().mkdirSync(k.nJ,{recursive:!0}),f().writeFileSync(l,o,{mode:384})}catch{}return o}(),e="9r-cli-auth"===b?function(){if(p)return p;try{if(p=f().readFileSync(n,"utf8").trim())return p}catch{}p=j().randomBytes(32).toString("hex");try{f().mkdirSync(m,{recursive:!0}),f().writeFileSync(n,p,{mode:384})}catch{}return p}():"";return j().createHash("sha256").update(c+b+e).digest("hex").substring(0,16)}},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},68658:(a,b,c)=>{"use strict";c.d(b,{f1:()=>j,v5:()=>i}),c(45592);var d=c(89718),e=c(33792),f=c(54603);let g=new Set(["localhost","127.0.0.1","::1"]);function h(a){if(!a)return!1;let b=a.split(":")[0].replace(/^\[|\]$/g,"").toLowerCase();return g.has(b)}function i(a){if(a.headers.get("x-9r-via-proxy"))return!1;let b=a.headers.get("x-9r-real-ip");if(b){if(!h(b))return!1}else if(!h(a.headers.get("host")))return!1;let c=a.headers.get("origin");if(c)try{if(!h(new URL(c).hostname))return!1}catch{return!1}return!0}async function j(a){let b=a.cookies.get("auth_token")?.value;return(0,e.dY)(b)}},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},77943:(a,b,c)=>{"use strict";a.exports=c(7553).vendored["react-rsc"].ReactServerDOMWebpackServer},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},79748:a=>{"use strict";a.exports=require("fs/promises")},81115:a=>{"use strict";a.exports=require("constants")},81663:(a,b,c)=>{"use strict";c.r(b),c.d(b,{"4019015384471a65b6e167e97e851ac46b03fc495c":()=>d.POST,"4053d198579208c18e608d53c4c3654f970776d577":()=>d.DELETE,"40f4882be2f6726054e3e490212d4bb26c78906d7d":()=>d.GET});var d=c(21757)},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},92280:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},94735:a=>{"use strict";a.exports=require("events")},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,5592,7502,6936,4013,6001,9718],()=>b(b.s=2975));module.exports=c})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../package.json","../../../../../../src/shared/utils/apiKey.js","../../../../../package.json","../../../../chunks/1220.js","../../../../chunks/1241.js","../../../../chunks/1275.js","../../../../chunks/1350.js","../../../../chunks/1679.js","../../../../chunks/1832.js","../../../../chunks/1998.js","../../../../chunks/2059.js","../../../../chunks/241.js","../../../../chunks/2944.js","../../../../chunks/319.js","../../../../chunks/3412.js","../../../../chunks/3428.js","../../../../chunks/3535.js","../../../../chunks/3546.js","../../../../chunks/3593.js","../../../../chunks/3913.js","../../../../chunks/4013.js","../../../../chunks/412.js","../../../../chunks/4632.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4922.js","../../../../chunks/4989.js","../../../../chunks/5118.js","../../../../chunks/5217.js","../../../../chunks/5258.js","../../../../chunks/5296.js","../../../../chunks/5573.js","../../../../chunks/5592.js","../../../../chunks/5615.js","../../../../chunks/5699.js","../../../../chunks/5816.js","../../../../chunks/5961.js","../../../../chunks/6001.js","../../../../chunks/602.js","../../../../chunks/6070.js","../../../../chunks/615.js","../../../../chunks/6151.js","../../../../chunks/6182.js","../../../../chunks/6306.js","../../../../chunks/6327.js","../../../../chunks/6457.js","../../../../chunks/6482.js","../../../../chunks/6688.js","../../../../chunks/6763.js","../../../../chunks/6777.js","../../../../chunks/6844.js","../../../../chunks/6936.js","../../../../chunks/7244.js","../../../../chunks/7259.js","../../../../chunks/7502.js","../../../../chunks/7774.js","../../../../chunks/7879.js","../../../../chunks/7937.js","../../../../chunks/801.js","../../../../chunks/8271.js","../../../../chunks/8473.js","../../../../chunks/8520.js","../../../../chunks/8895.js","../../../../chunks/8910.js","../../../../chunks/8920.js","../../../../chunks/8971.js","../../../../chunks/9460.js","../../../../chunks/9718.js","../../../../chunks/9787.js","../../../../chunks/9833.js","../../../../webpack-runtime.js","route_client-reference-manifest.js","../../../../../../node_modules/sql.js/dist/sql-wasm.wasm"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(()=>{var a={};a.id=2536,a.ids=[2536],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},21820:a=>{"use strict";a.exports=require("os")},24424:(a,b)=>{"use strict";function c(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
|
|
2
|
+
Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(b,"D",{enumerable:!0,get:function(){return c}})},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48074:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DELETE:()=>A,GET:()=>y,POST:()=>z});var d=c(49796),e=c(45592),f=c(79748),g=c.n(f),h=c(33873),i=c.n(h),j=c(21820),k=c.n(j),l=c(79646),m=c(28354),n=c(52750),o=c(24424);let p=(0,m.promisify)(l.exec),q=()=>i().join(k().homedir(),".jcode"),r=()=>i().join(q(),"config.toml"),s=()=>{let a=process.env.XDG_CONFIG_HOME||i().join(k().homedir(),".config");return i().join(a,"jcode","provider-9router.env")},t=async()=>{try{let a="win32"===k().platform();return await p(a?"where jcode":"which jcode",{windowsHide:!0}),!0}catch{try{return await g().access(q()),!0}catch{return!1}}},u=async()=>{try{let a=r(),b=await g().readFile(a,"utf-8");return(0,n.M)(b)}catch(a){return{providers:{}}}},v=async a=>{let b=r(),c=(0,n.q)(a);await g().writeFile(b,c,"utf-8")},w=async()=>{try{let a=s(),b=await g().readFile(a,"utf-8"),c={};for(let a of b.split("\n")){let b=a.trim();if(!b||b.startsWith("#"))continue;let d=b.indexOf("=");if(d>0){let a=b.slice(0,d).trim(),e=b.slice(d+1).trim();(e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'"))&&(e=e.slice(1,-1)),c[a]=e}}return c}catch{return{}}},x=async a=>{let b=s(),c="# jcode provider environment variables\n";for(let[b,d]of Object.entries(a))c+=`${b}="${d}"
|
|
3
|
+
`;await g().writeFile(b,c,"utf-8")};async function y(){if(!await t())return e.NextResponse.json({installed:!1,message:"jcode not installed. Install via: curl -fsSL https://raw.githubusercontent.com/1jehuang/jcode/master/scripts/install.sh | bash"});let a=await u(),b=(a=>{if(!a||!a.providers)return!1;let b=a.providers;if(b["9router"])return!0;for(let[a,c]of Object.entries(b))if(c.base_url&&c.base_url.includes("localhost:20128"))return!0;return!1})(a);return e.NextResponse.json({installed:!0,config:a,has9Router:b,configPath:r()})}async function z(a){try{let{baseUrl:b,apiKey:c,models:d}=await a.json();if(!b||!c)return e.NextResponse.json({error:"baseUrl and apiKey are required"},{status:400});let f=b.endsWith("/v1")?b:`${b}/v1`,h=await u();h.providers||(h.providers={}),h.providers["9router"]={type:"openai-compatible",base_url:f,auth:"bearer",api_key_env:"JCODE_9ROUTER_API_KEY",env_file:"provider-9router.env",default_model:d&&d.length>0?d[0]:"cc/claude-opus-4-7",requires_api_key:!0};let j=q();await g().mkdir(j,{recursive:!0}),await v(h);let l=process.env.XDG_CONFIG_HOME||i().join(k().homedir(),".config"),m=i().join(l,"jcode");await g().mkdir(m,{recursive:!0});let n=await w();return n.JCODE_9ROUTER_API_KEY=c,await x(n),e.NextResponse.json({success:!0,message:"jcode configured successfully. Use: jcode --provider-profile 9router",configPath:r()})}catch(a){return console.error("Error configuring jcode:",a),e.NextResponse.json({error:a.message},{status:500})}}async function A(){try{let a=await u();if(!a.providers)return e.NextResponse.json({success:!0,message:"No configuration to remove"});delete a.providers["9router"],await v(a);let b=await w();return delete b.JCODE_9ROUTER_API_KEY,await x(b),e.NextResponse.json({success:!0,message:"9router configuration removed from jcode"})}catch(a){return console.error("Error removing jcode configuration:",a),e.NextResponse.json({error:a.message},{status:500})}}(0,o.D)([y,z,A]),(0,d.A)(y,"009b1e80551d4742c0c5260f56bd1b040c34ed6170",null),(0,d.A)(z,"40a00019dc1578dc160d21e4fda767b73d6205f015",null),(0,d.A)(A,"0038f22c62a480dc0a534df3070e0b4f1ea19055be",null)},48729:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527),u=c(48074);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/cli-tools/jcode-settings/route",pathname:"/api/cli-tools/jcode-settings",filename:"route",bundlePath:"app/api/cli-tools/jcode-settings/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Users/bytedance/Documents/Projects/9router/src/app/api/cli-tools/jcode-settings/route.js",nextConfigOutput:"standalone",userland:u,...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cli-tools/jcode-settings/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||v.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===v.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts},cacheComponents:!!y.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:y.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>v.onRequestError(a,b,d,e,C)},sharedContext:{buildId:u,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b));try{let f,g=async a=>v.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${O} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b),f&&f!==a&&(f.setAttribute("http.route",e),f.updateName(b))}else a.updateName(`${O} ${d}`)}),i=async f=>{var h,i;let j=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(f);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[r.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},k=await v.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,p.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(r.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,q.getCacheControlHeader)(k.cacheControl)),await (0,o.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await i(Q):(f=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},i),void 0,!R))}catch(b){if(b instanceof s.NoFallbackError||await v.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;return await (0,o.I)(V,W,new Response(null,{status:500})),null}}},49796:(a,b,c)=>{"use strict";Object.defineProperty(b,"A",{enumerable:!0,get:function(){return d.registerServerReference}});let d=c(77943)},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},77943:(a,b,c)=>{"use strict";a.exports=c(7553).vendored["react-rsc"].ReactServerDOMWebpackServer},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},79748:a=>{"use strict";a.exports=require("fs/promises")},85787:(a,b,c)=>{"use strict";c.r(b),c.d(b,{"0038f22c62a480dc0a534df3070e0b4f1ea19055be":()=>d.DELETE,"009b1e80551d4742c0c5260f56bd1b040c34ed6170":()=>d.GET,"40a00019dc1578dc160d21e4fda767b73d6205f015":()=>d.POST});var d=c(48074)},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,5592,9787],()=>b(b.s=48729));module.exports=c})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1220.js","../../../../chunks/1241.js","../../../../chunks/1275.js","../../../../chunks/1350.js","../../../../chunks/1679.js","../../../../chunks/1832.js","../../../../chunks/1998.js","../../../../chunks/2059.js","../../../../chunks/241.js","../../../../chunks/2944.js","../../../../chunks/319.js","../../../../chunks/3412.js","../../../../chunks/3428.js","../../../../chunks/3535.js","../../../../chunks/3546.js","../../../../chunks/3593.js","../../../../chunks/3913.js","../../../../chunks/4013.js","../../../../chunks/412.js","../../../../chunks/4632.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4922.js","../../../../chunks/4989.js","../../../../chunks/5118.js","../../../../chunks/5217.js","../../../../chunks/5258.js","../../../../chunks/5296.js","../../../../chunks/5573.js","../../../../chunks/5592.js","../../../../chunks/5615.js","../../../../chunks/5699.js","../../../../chunks/5816.js","../../../../chunks/5961.js","../../../../chunks/6001.js","../../../../chunks/602.js","../../../../chunks/6070.js","../../../../chunks/615.js","../../../../chunks/6151.js","../../../../chunks/6182.js","../../../../chunks/6306.js","../../../../chunks/6327.js","../../../../chunks/6457.js","../../../../chunks/6482.js","../../../../chunks/6688.js","../../../../chunks/6763.js","../../../../chunks/6777.js","../../../../chunks/6844.js","../../../../chunks/6936.js","../../../../chunks/7244.js","../../../../chunks/7259.js","../../../../chunks/7502.js","../../../../chunks/7774.js","../../../../chunks/7879.js","../../../../chunks/7937.js","../../../../chunks/801.js","../../../../chunks/8271.js","../../../../chunks/8473.js","../../../../chunks/8520.js","../../../../chunks/8895.js","../../../../chunks/8910.js","../../../../chunks/8920.js","../../../../chunks/8971.js","../../../../chunks/9460.js","../../../../chunks/9718.js","../../../../chunks/9787.js","../../../../chunks/9833.js","../../../../webpack-runtime.js","route_client-reference-manifest.js","../../../../../../node_modules/sql.js/dist/sql-wasm.wasm"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(()=>{var a={};a.id=4612,a.ids=[4612],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8304:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DELETE:()=>w,GET:()=>u,POST:()=>v});var d=c(49796),e=c(45592),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(24424);let o=(0,g.promisify)(f.exec),p=()=>k().join(m().homedir(),".local","share","kilo"),q=()=>k().join(p(),"auth.json"),r=()=>k().join(m().homedir(),".config","Code","User","settings.json"),s=async()=>{try{let a="win32"===m().platform(),b=a?{...process.env,PATH:`${process.env.APPDATA}\\npm;${process.env.PATH}`}:process.env;return await o(a?"where kilo":"which kilo",{windowsHide:!0,env:b}),!0}catch{try{return await i().access(q()),!0}catch{return!1}}},t=async a=>{try{let b=(await i().readFile(a,"utf-8")).replace(/,(\s*[}\]])/g,"$1");return JSON.parse(b)}catch(a){return null}};async function u(){try{if(!await s())return e.NextResponse.json({installed:!1,settings:null,message:"Kilo Code CLI is not installed"});let a=await t(q());return e.NextResponse.json({installed:!0,settings:{auth:a?Object.keys(a):[]},has9Router:(a=>{if(!a)return!1;let b=a["openai-compatible"]||a["9router"];if(!b)return!1;let c=b.baseUrl||b.baseURL||"";return c.includes("localhost")||c.includes("127.0.0.1")||c.includes("9router")})(a),authPath:q()})}catch(a){return console.log("Error checking kilo settings:",a),e.NextResponse.json({error:"Failed to check kilo settings"},{status:500})}}async function v(a){try{let{baseUrl:b,apiKey:c,model:d}=await a.json();if(!b||!c||!d)return e.NextResponse.json({error:"baseUrl, apiKey and model are required"},{status:400});await i().mkdir(p(),{recursive:!0});let f=b.endsWith("/v1")?b:`${b}/v1`,g=await t(q())||{};g["openai-compatible"]={type:"api-key",apiKey:c,baseUrl:f,model:d},await i().writeFile(q(),JSON.stringify(g,null,2));try{let a=await t(r())||{};a["kilocode.customProvider"]={name:"9Router",baseURL:f,apiKey:c},a["kilocode.defaultModel"]=d,await i().writeFile(r(),JSON.stringify(a,null,2))}catch{}return e.NextResponse.json({success:!0,message:"Kilo Code settings applied successfully!",authPath:q()})}catch(a){return console.log("Error updating kilo settings:",a),e.NextResponse.json({error:"Failed to update kilo settings"},{status:500})}}async function w(){try{let a=await t(q());if(!a)return e.NextResponse.json({success:!0,message:"No settings file to reset"});delete a["openai-compatible"],delete a["9router"],await i().writeFile(q(),JSON.stringify(a,null,2));try{let a=await t(r());a&&(delete a["kilocode.customProvider"],delete a["kilocode.defaultModel"],await i().writeFile(r(),JSON.stringify(a,null,2)))}catch{}return e.NextResponse.json({success:!0,message:"9Router settings removed from Kilo Code"})}catch(a){return console.log("Error resetting kilo settings:",a),e.NextResponse.json({error:"Failed to reset kilo settings"},{status:500})}}(0,n.D)([u,v,w]),(0,d.A)(u,"00d51d32d5d328ebcdaefd331b8eeff67913e3c68c",null),(0,d.A)(v,"40afe4c59d8d48c8e9b9951ecc860a40b046d24760",null),(0,d.A)(w,"00a37bf51e4eafdb4bcabadb5876cbbe2e51a7bf05",null)},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19225:(a,b,c)=>{"use strict";a.exports=c(44870)},21820:a=>{"use strict";a.exports=require("os")},24424:(a,b)=>{"use strict";function c(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
|
|
2
|
+
Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(b,"D",{enumerable:!0,get:function(){return c}})},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31265:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527),u=c(8304);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/cli-tools/kilo-settings/route",pathname:"/api/cli-tools/kilo-settings",filename:"route",bundlePath:"app/api/cli-tools/kilo-settings/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Users/bytedance/Documents/Projects/9router/src/app/api/cli-tools/kilo-settings/route.js",nextConfigOutput:"standalone",userland:u,...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cli-tools/kilo-settings/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||v.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===v.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts},cacheComponents:!!y.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:y.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>v.onRequestError(a,b,d,e,C)},sharedContext:{buildId:u,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b));try{let f,g=async a=>v.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${O} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b),f&&f!==a&&(f.setAttribute("http.route",e),f.updateName(b))}else a.updateName(`${O} ${d}`)}),i=async f=>{var h,i;let j=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(f);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[r.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},k=await v.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,p.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(r.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,q.getCacheControlHeader)(k.cacheControl)),await (0,o.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await i(Q):(f=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},i),void 0,!R))}catch(b){if(b instanceof s.NoFallbackError||await v.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;return await (0,o.I)(V,W,new Response(null,{status:500})),null}}},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},49796:(a,b,c)=>{"use strict";Object.defineProperty(b,"A",{enumerable:!0,get:function(){return d.registerServerReference}});let d=c(77943)},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},77943:(a,b,c)=>{"use strict";a.exports=c(7553).vendored["react-rsc"].ReactServerDOMWebpackServer},78335:()=>{},79357:(a,b,c)=>{"use strict";c.r(b),c.d(b,{"00a37bf51e4eafdb4bcabadb5876cbbe2e51a7bf05":()=>d.DELETE,"00d51d32d5d328ebcdaefd331b8eeff67913e3c68c":()=>d.GET,"40afe4c59d8d48c8e9b9951ecc860a40b046d24760":()=>d.POST});var d=c(8304)},79646:a=>{"use strict";a.exports=require("child_process")},79748:a=>{"use strict";a.exports=require("fs/promises")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},92280:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,5592],()=>b(b.s=31265));module.exports=c})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1220.js","../../../../chunks/1241.js","../../../../chunks/1275.js","../../../../chunks/1350.js","../../../../chunks/1679.js","../../../../chunks/1832.js","../../../../chunks/1998.js","../../../../chunks/2059.js","../../../../chunks/241.js","../../../../chunks/2944.js","../../../../chunks/319.js","../../../../chunks/3412.js","../../../../chunks/3428.js","../../../../chunks/3535.js","../../../../chunks/3546.js","../../../../chunks/3593.js","../../../../chunks/3913.js","../../../../chunks/4013.js","../../../../chunks/412.js","../../../../chunks/4632.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4922.js","../../../../chunks/4989.js","../../../../chunks/5118.js","../../../../chunks/5217.js","../../../../chunks/5258.js","../../../../chunks/5296.js","../../../../chunks/5573.js","../../../../chunks/5592.js","../../../../chunks/5615.js","../../../../chunks/5699.js","../../../../chunks/5816.js","../../../../chunks/5961.js","../../../../chunks/6001.js","../../../../chunks/602.js","../../../../chunks/6070.js","../../../../chunks/615.js","../../../../chunks/6151.js","../../../../chunks/6182.js","../../../../chunks/6306.js","../../../../chunks/6327.js","../../../../chunks/6457.js","../../../../chunks/6482.js","../../../../chunks/6688.js","../../../../chunks/6763.js","../../../../chunks/6777.js","../../../../chunks/6844.js","../../../../chunks/6936.js","../../../../chunks/7244.js","../../../../chunks/7259.js","../../../../chunks/7502.js","../../../../chunks/7774.js","../../../../chunks/7879.js","../../../../chunks/7937.js","../../../../chunks/801.js","../../../../chunks/8271.js","../../../../chunks/8473.js","../../../../chunks/8520.js","../../../../chunks/8895.js","../../../../chunks/8910.js","../../../../chunks/8920.js","../../../../chunks/8971.js","../../../../chunks/9460.js","../../../../chunks/9718.js","../../../../chunks/9787.js","../../../../chunks/9833.js","../../../../webpack-runtime.js","route_client-reference-manifest.js","../../../../../../node_modules/sql.js/dist/sql-wasm.wasm"]}
|