@sifxprime/krouter 0.5.166 → 0.5.168
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/.next-cli-build/BUILD_ID +1 -1
- package/app/.next-cli-build/app-path-routes-manifest.json +15 -15
- package/app/.next-cli-build/build-manifest.json +5 -5
- package/app/.next-cli-build/prerender-manifest.json +29 -29
- package/app/.next-cli-build/react-loadable-manifest.json +2 -2
- package/app/.next-cli-build/required-server-files.json +16 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/environment/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/environment/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/presidio/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/presidio/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_global-error/page.js +1 -1
- package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_global-error.html +1 -1
- package/app/.next-cli-build/server/app/_global-error.rsc +15 -11
- package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +15 -11
- package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +20 -16
- package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +3 -1
- package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
- package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_not-found.html +1 -1
- package/app/.next-cli-build/server/app/_not-found.rsc +26 -16
- package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +26 -16
- package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +32 -22
- package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +3 -1
- package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cache/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +6 -6
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +3 -3
- package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
- package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +4 -4
- package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +3 -3
- package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
- package/app/.next-cli-build/server/app/api/health/route.js +1 -1
- package/app/.next-cli-build/server/app/api/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/init/route.js +1 -1
- package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
- package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/mitm/cert/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/live/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/live-by-connection/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/preview/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
- package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +2 -2
- package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/health/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/zenith/log/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/zenith/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
- package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
- package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/environment/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/presidio/route.js +3 -3
- package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
- package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +2 -2
- package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/search/route.js +2 -2
- package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/version/route.js +1 -1
- package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
- package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
- package/app/.next-cli-build/server/app/callback/page.js +1 -1
- package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/callback.html +1 -1
- package/app/.next-cli-build/server/app/callback.rsc +29 -18
- package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +29 -18
- package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +3 -1
- package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +37 -26
- package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +31 -18
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +38 -26
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +31 -18
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +5 -1
- package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +34 -19
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +40 -27
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +34 -19
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +5 -1
- package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/combos.rsc +35 -21
- package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +42 -30
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +35 -21
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +5 -1
- package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +33 -19
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +39 -27
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +33 -19
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +5 -1
- package/app/.next-cli-build/server/app/dashboard/environment.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/environment.rsc +34 -21
- package/app/.next-cli-build/server/app/dashboard/environment.segments/!KGRhc2hib2FyZCk/dashboard/environment/__PAGE__.segment.rsc +41 -30
- package/app/.next-cli-build/server/app/dashboard/environment.segments/_full.segment.rsc +34 -21
- package/app/.next-cli-build/server/app/dashboard/environment.segments/_tree.segment.rsc +5 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +36 -23
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +44 -32
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +36 -23
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +6 -1
- package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/mitm.rsc +33 -18
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +40 -26
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +33 -18
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +5 -1
- package/app/.next-cli-build/server/app/dashboard/presidio.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/presidio.rsc +34 -21
- package/app/.next-cli-build/server/app/dashboard/presidio.segments/!KGRhc2hib2FyZCk/dashboard/presidio/__PAGE__.segment.rsc +41 -30
- package/app/.next-cli-build/server/app/dashboard/presidio.segments/_full.segment.rsc +34 -21
- package/app/.next-cli-build/server/app/dashboard/presidio.segments/_tree.segment.rsc +5 -1
- package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/profile.rsc +34 -21
- package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +41 -30
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +34 -21
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +5 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +35 -23
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +44 -32
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +35 -23
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +6 -1
- package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers.rsc +34 -21
- package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +41 -30
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +34 -21
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +5 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +34 -21
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +41 -30
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +34 -21
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +5 -1
- package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +31 -18
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +38 -26
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +31 -18
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +5 -1
- package/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/quota.rsc +32 -19
- package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +39 -28
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +32 -19
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +5 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +31 -18
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +31 -18
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +5 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +40 -27
- package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/skills.rsc +34 -21
- package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +41 -30
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +34 -21
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +5 -1
- package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +31 -18
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +38 -26
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +31 -18
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +5 -1
- package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/translator.rsc +34 -21
- package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +41 -30
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +34 -21
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +5 -1
- package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/usage.rsc +34 -21
- package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +41 -30
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +34 -21
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +5 -1
- package/app/.next-cli-build/server/app/dashboard.html +1 -1
- package/app/.next-cli-build/server/app/dashboard.rsc +32 -19
- package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +38 -25
- package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +32 -19
- package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +4 -1
- package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
- package/app/.next-cli-build/server/app/index.html +1 -1
- package/app/.next-cli-build/server/app/index.rsc +24 -15
- package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +29 -20
- package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +24 -15
- package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -1
- package/app/.next-cli-build/server/app/landing/page.js +1 -1
- package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/landing.html +1 -1
- package/app/.next-cli-build/server/app/landing.rsc +30 -18
- package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +30 -18
- package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +3 -1
- package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +38 -26
- package/app/.next-cli-build/server/app/login/page.js +1 -1
- package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/login.html +1 -1
- package/app/.next-cli-build/server/app/login.rsc +29 -18
- package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +29 -18
- package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +3 -1
- package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +37 -26
- package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
- package/app/.next-cli-build/server/app/page.js +1 -1
- package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app-paths-manifest.json +15 -15
- package/app/.next-cli-build/server/chunks/1220.js +3 -3
- package/app/.next-cli-build/server/chunks/1344.js +2 -2
- package/app/.next-cli-build/server/chunks/1350.js +1 -1
- package/app/.next-cli-build/server/chunks/1450.js +1 -1
- package/app/.next-cli-build/server/chunks/1738.js +1 -1
- package/app/.next-cli-build/server/chunks/1813.js +23 -1
- package/app/.next-cli-build/server/chunks/2430.js +215 -31
- package/app/.next-cli-build/server/chunks/2722.js +6 -6
- package/app/.next-cli-build/server/chunks/2750.js +1 -1
- package/app/.next-cli-build/server/chunks/2970.js +163 -23
- package/app/.next-cli-build/server/chunks/3120.js +2 -2
- package/app/.next-cli-build/server/chunks/369.js +5 -5
- package/app/.next-cli-build/server/chunks/412.js +1 -1
- package/app/.next-cli-build/server/chunks/4161.js +1 -1
- package/app/.next-cli-build/server/chunks/4177.js +1 -1
- package/app/.next-cli-build/server/chunks/4306.js +1 -1
- package/app/.next-cli-build/server/chunks/4315.js +1 -1
- package/app/.next-cli-build/server/chunks/4380.js +1 -1
- package/app/.next-cli-build/server/chunks/4730.js +2 -2
- package/app/.next-cli-build/server/chunks/4884.js +4 -4
- package/app/.next-cli-build/server/chunks/523.js +1 -1
- package/app/.next-cli-build/server/chunks/5330.js +4 -4
- package/app/.next-cli-build/server/chunks/5433.js +1 -1
- package/app/.next-cli-build/server/chunks/5470.js +3 -3
- package/app/.next-cli-build/server/chunks/5573.js +1 -1
- package/app/.next-cli-build/server/chunks/5718.js +1 -1
- package/app/.next-cli-build/server/chunks/595.js +1 -1
- package/app/.next-cli-build/server/chunks/6182.js +2 -2
- package/app/.next-cli-build/server/chunks/7153.js +1 -1
- package/app/.next-cli-build/server/chunks/7774.js +13 -13
- package/app/.next-cli-build/server/chunks/7833.js +1 -1
- package/app/.next-cli-build/server/chunks/8238.js +1 -1
- package/app/.next-cli-build/server/chunks/8895.js +1 -1
- package/app/.next-cli-build/server/chunks/8962.js +1 -1
- package/app/.next-cli-build/server/chunks/9055.js +2 -2
- package/app/.next-cli-build/server/chunks/9958.js +1 -1
- package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
- package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
- package/app/.next-cli-build/server/middleware.js +186 -24
- package/app/.next-cli-build/server/pages/404.html +1 -1
- package/app/.next-cli-build/server/pages/500.html +1 -1
- package/app/.next-cli-build/server/preview-props.json +5 -0
- package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
- package/app/.next-cli-build/static/chunks/1321-91a272a5139df5f2.js +1 -0
- package/app/.next-cli-build/static/chunks/3794-39f2d5bb0d40336b.js +52 -0
- package/app/.next-cli-build/static/chunks/4bd1b696-8cd12253b448cc13.js +1 -0
- package/app/.next-cli-build/static/chunks/5353-0085e26d68aca1f0.js +1 -0
- package/app/.next-cli-build/static/chunks/{5497-1af4fbf829c885c4.js → 5497-ff8c2e5da835ea40.js} +1 -1
- package/app/.next-cli-build/static/chunks/5772-9e7c7f235304c527.js +3 -0
- package/app/.next-cli-build/static/chunks/6069-31c2febe26d36d92.js +73 -0
- package/app/.next-cli-build/static/chunks/{6357.aa5754cdb37976a7.js → 6357.5f2532e76bf2cc51.js} +1 -1
- package/app/.next-cli-build/static/chunks/7504-5249aa88b6205df1.js +64 -0
- package/app/.next-cli-build/static/chunks/8202.69dace5daa86686d.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/page-8a99890727166f8a.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/page-ce0c6b650a822e25.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-589743e8ea1d9673.js +11 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/page-eacf2780757238ff.js +1 -0
- package/app/.next-cli-build/static/chunks/main-00cd8c01f6f6e461.js +5 -0
- package/app/.next-cli-build/static/chunks/{webpack-53609978799ebbca.js → webpack-cc312041cf710f25.js} +1 -1
- package/app/cli/package.json +1 -1
- package/app/node_modules/@next/env/package.json +1 -1
- package/app/node_modules/nanoid/package.json +3 -3
- package/app/node_modules/next/dist/build/analysis/get-page-static-info.js +58 -76
- package/app/node_modules/next/dist/build/babel/loader/get-config.js +7 -16
- package/app/node_modules/next/dist/build/babel/plugins/next-font-unsupported.js +1 -5
- package/app/node_modules/next/dist/build/babel/plugins/next-page-config.js +5 -25
- package/app/node_modules/next/dist/build/babel/plugins/next-page-disallow-re-export-all-exports.js +1 -5
- package/app/node_modules/next/dist/build/babel/plugins/next-ssg-transform.js +4 -20
- package/app/node_modules/next/dist/build/browser-variant-modules.js +1 -0
- package/app/node_modules/next/dist/build/create-compiler-aliases.js +19 -11
- package/app/node_modules/next/dist/build/define-env.js +12 -18
- package/app/node_modules/next/dist/build/entries.js +132 -8
- package/app/node_modules/next/dist/build/get-babel-loader-config.js +10 -10
- package/app/node_modules/next/dist/build/get-convention-file-base-name.js +29 -0
- package/app/node_modules/next/dist/build/get-static-info-including-layouts.js +0 -1
- package/app/node_modules/next/dist/build/handle-externals.js +1 -5
- package/app/node_modules/next/dist/build/load-jsconfig.js +1 -5
- package/app/node_modules/next/dist/build/lockfile.js +1 -5
- package/app/node_modules/next/dist/build/next-config-ts/transpile-config.js +1 -5
- package/app/node_modules/next/dist/build/nft.js +119 -0
- package/app/node_modules/next/dist/build/normalize-catchall-routes.js +18 -66
- package/app/node_modules/next/dist/build/print-build-errors.js +57 -7
- package/app/node_modules/next/dist/build/route-discovery.js +32 -4
- package/app/node_modules/next/dist/build/segment-config/app/app-segment-config.js +19 -5
- package/app/node_modules/next/dist/build/segment-config/app/app-segments.js +120 -29
- package/app/node_modules/next/dist/build/segment-config/app/collect-root-param-keys.js +1 -5
- package/app/node_modules/next/dist/build/static-paths/app/extract-pathname-route-param-segments-from-loader-tree.js +8 -2
- package/app/node_modules/next/dist/build/static-paths/app.js +230 -133
- package/app/node_modules/next/dist/build/static-paths/pages.js +8 -40
- package/app/node_modules/next/dist/build/static-paths/param-matching.js +200 -0
- package/app/node_modules/next/dist/build/swc/index.js +92 -162
- package/app/node_modules/next/dist/build/utils.js +180 -90
- package/app/node_modules/next/dist/build/webpack/cache-invalidation.js +1 -5
- package/app/node_modules/next/dist/build/webpack/config/blocks/css/plugins.js +7 -35
- package/app/node_modules/next/dist/build/webpack/loaders/css-loader/src/CssSyntaxError.js +0 -5
- package/app/node_modules/next/dist/build/webpack/loaders/css-loader/src/camelcase.js +1 -5
- package/app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js +5 -25
- package/app/node_modules/next/dist/build/webpack/loaders/css-loader/src/plugins/postcss-import-parser.js +4 -20
- package/app/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/index.js +3 -16
- package/app/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/interface.js +0 -1
- package/app/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/loader.js +2 -10
- package/app/node_modules/next/dist/build/webpack/loaders/next-flight-css-loader.js +1 -5
- package/app/node_modules/next/dist/build/webpack/loaders/next-flight-loader/index.js +3 -15
- package/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js +3 -15
- package/app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/Error.js +0 -5
- package/app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/Warning.js +0 -5
- package/app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js +2 -10
- package/app/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js +2 -6
- package/app/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/lib/file-protocol.js +2 -10
- package/app/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/lib/join-function.js +1 -5
- package/app/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/lib/postcss.js +1 -5
- package/app/node_modules/next/dist/build/webpack/plugins/build-manifest-plugin.js +1 -5
- package/app/node_modules/next/dist/build/webpack/plugins/deferred-entries-plugin.js +9 -0
- package/app/node_modules/next/dist/build/webpack/plugins/flight-manifest-plugin.js +2 -6
- package/app/node_modules/next/dist/build/webpack/plugins/middleware-plugin.js +1 -5
- package/app/node_modules/next/dist/build/webpack/plugins/next-trace-entrypoints-plugin.js +2 -10
- package/app/node_modules/next/dist/build/webpack/plugins/next-types-plugin/index.js +3 -1
- package/app/node_modules/next/dist/build/webpack/plugins/slow-module-detection-plugin.js +3 -15
- package/app/node_modules/next/dist/build/webpack/plugins/subresource-integrity-plugin.js +1 -5
- package/app/node_modules/next/dist/build/webpack-config.js +16 -33
- package/app/node_modules/next/dist/cli/next-test.js +4 -0
- package/app/node_modules/next/dist/client/app-call-server.js +16 -18
- package/app/node_modules/next/dist/client/components/app-router-instance.js +43 -187
- package/app/node_modules/next/dist/client/components/{segment-cache/navigation.js → app-router-state.js} +88 -334
- package/app/node_modules/next/dist/client/components/app-router-utils.js +1 -5
- package/app/node_modules/next/dist/client/components/app-router.js +83 -74
- package/app/node_modules/next/dist/client/components/dev-root-http-access-fallback-boundary.js +1 -5
- package/app/node_modules/next/dist/client/components/forbidden.js +2 -10
- package/app/node_modules/next/dist/client/components/handle-isr-error.js +19 -4
- package/app/node_modules/next/dist/client/components/instant-samples.js +4 -11
- package/app/node_modules/next/dist/client/components/links.js +6 -7
- package/app/node_modules/next/dist/client/components/navigation-dynamic-rendering.js +3 -3
- package/app/node_modules/next/dist/client/components/navigation-untracked.js +1 -2
- package/app/node_modules/next/dist/client/components/navigation.js +2 -6
- package/app/node_modules/next/dist/client/components/navigation.react-server.js +1 -5
- package/app/node_modules/next/dist/client/components/navigator.js +73 -0
- package/app/node_modules/next/dist/client/components/not-found.js +1 -5
- package/app/node_modules/next/dist/client/components/prefetch.js +83 -0
- package/app/node_modules/next/dist/client/components/readonly-url-search-params.js +0 -5
- package/app/node_modules/next/dist/client/components/redirect.js +3 -15
- package/app/node_modules/next/dist/client/components/{router-reducer/ppr-navigations.js → render-tree.js} +365 -400
- package/app/node_modules/next/dist/client/components/router-reducer/compute-changed-path.js +13 -5
- package/app/node_modules/next/dist/client/components/router-reducer/create-initial-router-state.js +67 -54
- package/app/node_modules/next/dist/client/components/router-reducer/create-router-cache-key.js +1 -7
- package/app/node_modules/next/dist/client/components/router-reducer/create-segment-key.js +42 -0
- package/app/node_modules/next/dist/client/components/router-reducer/fetch-server-response.js +71 -50
- package/app/node_modules/next/dist/client/components/router-reducer/is-navigating-to-new-root-layout.js +4 -4
- package/app/node_modules/next/dist/client/components/router-reducer/reducers/hmr-refresh-reducer.js +2 -2
- package/app/node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js +5 -5
- package/app/node_modules/next/dist/client/components/router-reducer/reducers/refresh-reducer.js +11 -8
- package/app/node_modules/next/dist/client/components/router-reducer/reducers/restore-reducer.js +12 -9
- package/app/node_modules/next/dist/client/components/router-reducer/reducers/server-action-reducer.js +30 -29
- package/app/node_modules/next/dist/client/components/router-reducer/reducers/server-patch-reducer.js +5 -5
- package/app/node_modules/next/dist/client/components/router-reducer/router-reducer.js +2 -10
- package/app/node_modules/next/dist/client/components/segment-cache/bfcache.js +11 -21
- package/app/node_modules/next/dist/client/components/segment-cache/cache.js +1168 -1181
- package/app/node_modules/next/dist/client/components/segment-cache/decode-server-response.js +419 -0
- package/app/node_modules/next/dist/client/components/segment-cache/navigation-testing-lock.js +1 -1
- package/app/node_modules/next/dist/client/components/segment-cache/optimistic-routes.js +77 -82
- package/app/node_modules/next/dist/client/components/segment-cache/scheduler.js +464 -425
- package/app/node_modules/next/dist/client/components/segment-cache/types.js +12 -3
- package/app/node_modules/next/dist/client/components/segment-cache/vary-path.js +140 -126
- package/app/node_modules/next/dist/client/components/sequential-router-queue.js +163 -0
- package/app/node_modules/next/dist/client/components/unauthorized.js +2 -10
- package/app/node_modules/next/dist/client/components/unstable-rethrow.js +1 -2
- package/app/node_modules/next/dist/client/components/use-action-queue.js +2 -10
- package/app/node_modules/next/dist/client/dev/debug-channel.js +6 -323
- package/app/node_modules/next/dist/client/dev/hot-reloader/app/hot-reloader-app.js +49 -31
- package/app/node_modules/next/dist/client/dev/hot-reloader/app/web-socket.js +14 -21
- package/app/node_modules/next/dist/client/dev/hot-reloader/pages/hot-reloader-pages.js +15 -6
- package/app/node_modules/next/dist/client/dev/hot-reloader/runtime-error-state.js +72 -0
- package/app/node_modules/next/dist/client/flight-data-helpers.js +41 -94
- package/app/node_modules/next/dist/client/route-loader.js +6 -30
- package/app/node_modules/next/dist/client/route-params.js +34 -12
- package/app/node_modules/next/dist/client/router.js +2 -10
- package/app/node_modules/next/dist/client/sequential-call-server.js +45 -0
- package/app/node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/index.js +1 -1
- package/app/node_modules/next/dist/compiled/next-devtools/index.js +279 -229
- package/app/node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js +203 -59
- package/app/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +203 -59
- package/app/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +203 -59
- package/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js +203 -59
- package/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js +5 -3
- package/app/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +13 -13
- package/app/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js +13 -13
- package/app/node_modules/next/dist/compiled/react-is/package.json +1 -1
- package/app/node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js +1 -1
- package/app/node_modules/next/dist/compiled/unistore/unistore.js +1 -1
- package/app/node_modules/next/dist/experimental/testmode/fetch.js +2 -10
- package/app/node_modules/next/dist/export/helpers/create-incremental-cache.js +21 -16
- package/app/node_modules/next/dist/export/utils.js +21 -8
- package/app/node_modules/next/dist/lib/batcher.js +2 -2
- package/app/node_modules/next/dist/lib/dist-dir.js +88 -0
- package/app/node_modules/next/dist/lib/download-swc.js +2 -10
- package/app/node_modules/next/dist/lib/fallback.js +3 -15
- package/app/node_modules/next/dist/lib/find-pages-dir.js +2 -10
- package/app/node_modules/next/dist/lib/helpers/get-cache-directory.js +1 -5
- package/app/node_modules/next/dist/lib/helpers/get-registry.js +1 -5
- package/app/node_modules/next/dist/lib/is-error.js +3 -15
- package/app/node_modules/next/dist/lib/is-serializable-props.js +6 -35
- package/app/node_modules/next/dist/lib/patch-incorrect-lockfile.js +4 -8
- package/app/node_modules/next/dist/lib/picocolors.js +10 -0
- package/app/node_modules/next/dist/lib/recursive-delete.js +50 -11
- package/app/node_modules/next/dist/lib/resolve-from.js +2 -10
- package/app/node_modules/next/dist/lib/static-env.js +1 -5
- package/app/node_modules/next/dist/lib/typescript/getTypeScriptConfiguration.js +3 -15
- package/app/node_modules/next/dist/lib/typescript/missingDependencyError.js +1 -5
- package/app/node_modules/next/dist/lib/typescript/runTypeCheck.js +1 -9
- package/app/node_modules/next/dist/lib/typescript/runTypeCheckCli.js +0 -1
- package/app/node_modules/next/dist/lib/typescript/runTypeScriptCli.js +4 -16
- package/app/node_modules/next/dist/lib/verify-partytown-setup.js +1 -5
- package/app/node_modules/next/dist/lib/warn-missing-react-dependencies.js +33 -0
- package/app/node_modules/next/dist/next-devtools/server/attach-nodejs-debugger-middleware.js +1 -5
- package/app/node_modules/next/dist/next-devtools/server/shared.js +3 -2
- package/app/node_modules/next/dist/next-devtools/shared/console-error.js +1 -5
- package/app/node_modules/next/dist/next-devtools/userspace/app/errors/replay-ssr-only-errors.js +1 -5
- package/app/node_modules/next/dist/next-devtools/userspace/app/errors/runtime-error-metadata.js +39 -0
- package/app/node_modules/next/dist/next-devtools/userspace/app/errors/stitched-error.js +1 -5
- package/app/node_modules/next/dist/next-devtools/userspace/app/errors/use-error-handler.js +48 -19
- package/app/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js +1 -5
- package/app/node_modules/next/dist/server/accept-header.js +3 -15
- package/app/node_modules/next/dist/server/after/after-context.js +5 -25
- package/app/node_modules/next/dist/server/after/awaiter.js +1 -5
- package/app/node_modules/next/dist/server/after/run-with-after.js +2 -2
- package/app/node_modules/next/dist/server/api-utils/index.js +1 -10
- package/app/node_modules/next/dist/server/api-utils/node/parse-body.js +3 -15
- package/app/node_modules/next/dist/server/app-render/action-async-storage-instance.js +1 -1
- package/app/node_modules/next/dist/server/app-render/action-handler.js +104 -141
- package/app/node_modules/next/dist/server/app-render/after-task-async-storage-instance.js +1 -1
- package/app/node_modules/next/dist/server/app-render/app-render-prerender-utils.js +6 -30
- package/app/node_modules/next/dist/server/app-render/app-render-render-utils.js +1 -5
- package/app/node_modules/next/dist/server/app-render/app-render-scheduling.js +3 -15
- package/app/node_modules/next/dist/server/app-render/app-render.js +1346 -1211
- package/app/node_modules/next/dist/server/app-render/async-local-storage.js +11 -6
- package/app/node_modules/next/dist/server/app-render/blocking-route-messages.js +119 -70
- package/app/node_modules/next/dist/server/app-render/cache-signal.js +61 -35
- package/app/node_modules/next/dist/server/app-render/console-async-storage-instance.js +1 -1
- package/app/node_modules/next/dist/server/app-render/create-component-tree.js +136 -160
- package/app/node_modules/next/dist/server/app-render/create-error-handler.js +12 -6
- package/app/node_modules/next/dist/server/app-render/create-transport-tree-from-loader-tree.js +190 -0
- package/app/node_modules/next/dist/server/app-render/debug-channel-server.web.js +1 -5
- package/app/node_modules/next/dist/server/app-render/dev-validation-scheduler.js +4 -5
- package/app/node_modules/next/dist/server/app-render/dev-validation-worker-snapshot.js +3 -1
- package/app/node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js +1 -1
- package/app/node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js +26 -3
- package/app/node_modules/next/dist/server/app-render/dynamic-rendering-client.js +124 -0
- package/app/node_modules/next/dist/server/app-render/dynamic-rendering.js +260 -329
- package/app/node_modules/next/dist/server/app-render/encryption-utils.js +1 -5
- package/app/node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js +2 -2
- package/app/node_modules/next/dist/server/app-render/instant-validation/instant-config.js +4 -12
- package/app/node_modules/next/dist/server/app-render/instant-validation/instant-samples.js +13 -62
- package/app/node_modules/next/dist/server/app-render/instant-validation/stream-utils.js +2 -10
- package/app/node_modules/next/dist/server/app-render/manifests-singleton.js +110 -38
- package/app/node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js +1 -1
- package/app/node_modules/next/dist/server/app-render/parse-and-validate-flight-router-state.js +3 -15
- package/app/node_modules/next/dist/server/app-render/postponed-state.js +87 -51
- package/app/node_modules/next/dist/server/app-render/prospective-render-utils.js +2 -6
- package/app/node_modules/next/dist/server/app-render/render-in-browser.js +27 -0
- package/app/node_modules/next/dist/server/app-render/required-scripts.js +1 -5
- package/app/node_modules/next/dist/server/app-render/segment-config/ensure-static.js +206 -0
- package/app/node_modules/next/dist/server/app-render/staged-rendering.js +46 -54
- package/app/node_modules/next/dist/server/app-render/stream-ops.node.js +18 -12
- package/app/node_modules/next/dist/server/app-render/stream-ops.web.js +4 -20
- package/app/node_modules/next/dist/server/app-render/sync-io-messages.js +2 -10
- package/app/node_modules/next/dist/server/app-render/types.js +2 -1
- package/app/node_modules/next/dist/server/app-render/use-flight-response.js +4 -17
- package/app/node_modules/next/dist/server/app-render/vary-params.js +12 -11
- package/app/node_modules/next/dist/server/app-render/walk-tree-with-flight-router-state.js +95 -97
- package/app/node_modules/next/dist/server/app-render/work-async-storage-instance.js +1 -1
- package/app/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +1 -1
- package/app/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +36 -26
- package/app/node_modules/next/dist/server/async-storage/draft-mode-provider.js +1 -5
- package/app/node_modules/next/dist/server/async-storage/request-store.js +6 -5
- package/app/node_modules/next/dist/server/async-storage/work-store.js +24 -26
- package/app/node_modules/next/dist/server/base-http/node.js +1 -5
- package/app/node_modules/next/dist/server/base-server.js +346 -155
- package/app/node_modules/next/dist/server/client-component-renderer-logger.js +129 -28
- package/app/node_modules/next/dist/server/config-schema.js +61 -9
- package/app/node_modules/next/dist/server/config-shared.js +26 -4
- package/app/node_modules/next/dist/server/config.js +154 -332
- package/app/node_modules/next/dist/server/dev/debug-channel.js +1 -5
- package/app/node_modules/next/dist/server/dev/dev-validation-worker-pool.js +1 -0
- package/app/node_modules/next/dist/server/dev/get-source-map-from-file.js +5 -25
- package/app/node_modules/next/dist/server/dev/hot-middleware.js +27 -1
- package/app/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +338 -200
- package/app/node_modules/next/dist/server/dev/hot-reloader-types.js +3 -0
- package/app/node_modules/next/dist/server/dev/hot-reloader-webpack.js +26 -20
- package/app/node_modules/next/dist/server/dev/messages.js +2 -10
- package/app/node_modules/next/dist/server/dev/middleware-turbopack.js +4 -20
- package/app/node_modules/next/dist/server/dev/middleware-webpack.js +2 -10
- package/app/node_modules/next/dist/server/dev/next-dev-server.js +33 -95
- package/app/node_modules/next/dist/server/dev/node-stack-frames.js +2 -19
- package/app/node_modules/next/dist/server/dev/on-demand-entry-handler.js +12 -12
- package/app/node_modules/next/dist/server/dev/runtime-error-state.js +220 -0
- package/app/node_modules/next/dist/server/dev/serialized-errors.js +1 -5
- package/app/node_modules/next/dist/server/dev/static-paths-worker.js +16 -15
- package/app/node_modules/next/dist/server/dev/turbopack-utils.js +20 -36
- package/app/node_modules/next/dist/server/dev/use-cache-probe-pool.js +1 -0
- package/app/node_modules/next/dist/server/dynamic-rendering-utils.js +298 -55
- package/app/node_modules/next/dist/server/image-optimizer/detect-content-type.js +229 -0
- package/app/node_modules/next/dist/server/image-optimizer/extract-etag.js +53 -0
- package/app/node_modules/next/dist/server/image-optimizer/get-image-size.js +25 -0
- package/app/node_modules/next/dist/server/image-optimizer/get-max-age.js +41 -0
- package/app/node_modules/next/dist/server/image-optimizer/get-previously-cached-image-or-null.js +22 -0
- package/app/node_modules/next/dist/server/image-optimizer/image-error.js +23 -0
- package/app/node_modules/next/dist/server/image-optimizer/image-type.js +86 -0
- package/app/node_modules/next/dist/server/image-optimizer/transform.js +227 -0
- package/app/node_modules/next/dist/server/image-optimizer.js +78 -674
- package/app/node_modules/next/dist/server/lib/app-info-log.js +19 -9
- package/app/node_modules/next/dist/server/lib/cache-handlers/default.js +9 -13
- package/app/node_modules/next/dist/server/lib/chrome-devtools-workspace.js +1 -5
- package/app/node_modules/next/dist/server/lib/dedupe-fetch.js +1 -5
- package/app/node_modules/next/dist/server/lib/dev-bundler-service.js +6 -6
- package/app/node_modules/next/dist/server/lib/generate-agent-files.js +158 -35
- package/app/node_modules/next/dist/server/lib/i18n-provider.js +1 -5
- package/app/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js +14 -20
- package/app/node_modules/next/dist/server/lib/incremental-cache/index.js +19 -29
- package/app/node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js +1 -5
- package/app/node_modules/next/dist/server/lib/lru-cache.js +1 -5
- package/app/node_modules/next/dist/server/lib/mock-request.js +24 -120
- package/app/node_modules/next/dist/server/lib/module-loader/node-module-loader.js +1 -5
- package/app/node_modules/next/dist/server/lib/patch-fetch.js +44 -38
- package/app/node_modules/next/dist/server/lib/postponed-request-body.js +1 -5
- package/app/node_modules/next/dist/server/lib/render-server.js +2 -10
- package/app/node_modules/next/dist/server/lib/router-server.js +106 -36
- package/app/node_modules/next/dist/server/lib/router-utils/build-data-route.js +26 -3
- package/app/node_modules/next/dist/server/lib/router-utils/cache-life-type-utils.js +14 -45
- package/app/node_modules/next/dist/server/lib/router-utils/decode-path-params.js +1 -5
- package/app/node_modules/next/dist/server/lib/router-utils/filesystem.js +212 -31
- package/app/node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js +61 -1
- package/app/node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js +1 -5
- package/app/node_modules/next/dist/server/lib/router-utils/normalize-catchall-routes.js +320 -0
- package/app/node_modules/next/dist/server/lib/router-utils/proxy-request.js +2 -2
- package/app/node_modules/next/dist/server/lib/router-utils/resolve-routes.js +17 -11
- package/app/node_modules/next/dist/server/lib/router-utils/setup-dev-bundler.js +258 -76
- package/app/node_modules/next/dist/server/lib/router-utils/strict-route-matching-config.js +28 -0
- package/app/node_modules/next/dist/server/lib/router-utils/typegen.js +56 -10
- package/app/node_modules/next/dist/server/lib/start-server.js +48 -38
- package/app/node_modules/next/dist/server/lib/trace/constants.js +40 -0
- package/app/node_modules/next/dist/server/lib/trace/request-insights-identity.js +1 -3
- package/app/node_modules/next/dist/server/lib/trace/tracer.js +10 -10
- package/app/node_modules/next/dist/server/lib/utils.js +66 -15
- package/app/node_modules/next/dist/server/load-components.js +7 -2
- package/app/node_modules/next/dist/server/load-manifest.external.js +16 -17
- package/app/node_modules/next/dist/server/mcp/tools/utils/browser-communication.js +2 -10
- package/app/node_modules/next/dist/server/mcp/tools/utils/format-errors.js +5 -5
- package/app/node_modules/next/dist/server/next-server.js +130 -124
- package/app/node_modules/next/dist/server/next.js +25 -37
- package/app/node_modules/next/dist/server/node-environment-extensions/console-dim.external.js +1 -2
- package/app/node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js +115 -62
- package/app/node_modules/next/dist/server/node-environment-extensions/global-behaviors.js +1 -5
- package/app/node_modules/next/dist/server/node-environment-extensions/io-utils.js +11 -10
- package/app/node_modules/next/dist/server/node-environment-extensions/process-error-handlers.js +0 -9
- package/app/node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js +1 -12
- package/app/node_modules/next/dist/server/normalizers/built/app/app-page-normalizer.js +1 -1
- package/app/node_modules/next/dist/server/normalizers/request/base-path.js +1 -5
- package/app/node_modules/next/dist/server/normalizers/request/next-data.js +1 -5
- package/app/node_modules/next/dist/server/normalizers/request/prefix.js +1 -5
- package/app/node_modules/next/dist/server/patch-error-inspect.js +19 -11
- package/app/node_modules/next/dist/server/pipe-readable.js +42 -30
- package/app/node_modules/next/dist/server/render-result.js +5 -17
- package/app/node_modules/next/dist/server/render.js +37 -183
- package/app/node_modules/next/dist/server/request/fallback-params.js +23 -9
- package/app/node_modules/next/dist/server/response-cache/index.js +54 -32
- package/app/node_modules/next/dist/server/response-cache/utils.js +1 -5
- package/app/node_modules/next/dist/server/resume-data-cache/cache-store.js +18 -0
- package/app/node_modules/next/dist/server/resume-data-cache/resume-data-cache.js +51 -49
- package/app/node_modules/next/dist/server/revalidation-utils.js +15 -13
- package/app/node_modules/next/dist/server/route-modules/app-page/dev-render-context.js +23 -0
- package/app/node_modules/next/dist/server/route-modules/app-page/helpers/prerender-manifest-matcher.js +5 -4
- package/app/node_modules/next/dist/server/route-modules/app-page/module.js +13 -1
- package/app/node_modules/next/dist/server/route-modules/app-page/module.render.js +26 -11
- package/app/node_modules/next/dist/server/route-modules/app-page/parse-request-headers.js +58 -0
- package/app/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/entrypoints.js +1 -5
- package/app/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/entrypoints.js +1 -5
- package/app/node_modules/next/dist/server/route-modules/pages/module.render.js +1 -5
- package/app/node_modules/next/dist/server/route-modules/pages/pages-handler.js +20 -16
- package/app/node_modules/next/dist/server/route-modules/route-module.js +57 -61
- package/app/node_modules/next/dist/server/serve-static.js +1 -5
- package/app/node_modules/next/dist/server/setup-http-agent-env.js +1 -5
- package/app/node_modules/next/dist/server/stream-utils/encoded-tags.js +1 -1
- package/app/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js +7 -11
- package/app/node_modules/next/dist/server/typescript/constant.js +2 -0
- package/app/node_modules/next/dist/server/typescript/rules/config.js +29 -2
- package/app/node_modules/next/dist/server/use-cache/cache-life-profile.js +6 -30
- package/app/node_modules/next/dist/server/use-cache/constants.js +1 -5
- package/app/node_modules/next/dist/server/use-cache/handlers.js +27 -36
- package/app/node_modules/next/dist/server/use-cache/tiered-cache-handler.js +6 -4
- package/app/node_modules/next/dist/server/web/adapter.js +14 -35
- package/app/node_modules/next/dist/server/web/error.js +0 -15
- package/app/node_modules/next/dist/server/web/globals.js +3 -15
- package/app/node_modules/next/dist/server/web/next-url.js +1 -5
- package/app/node_modules/next/dist/server/web/sandbox/context.js +10 -34
- package/app/node_modules/next/dist/server/web/sandbox/sandbox.js +1 -5
- package/app/node_modules/next/dist/server/web/spec-extension/adapters/headers.js +0 -5
- package/app/node_modules/next/dist/server/web/spec-extension/adapters/next-request.js +1 -5
- package/app/node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js +0 -5
- package/app/node_modules/next/dist/server/web/spec-extension/fetch-event.js +2 -10
- package/app/node_modules/next/dist/server/web/spec-extension/response.js +2 -10
- package/app/node_modules/next/dist/server/web/utils.js +1 -5
- package/app/node_modules/next/dist/server/web/web-on-close.js +2 -10
- package/app/node_modules/next/dist/shared/lib/app-router-types.js +38 -28
- package/app/node_modules/next/dist/shared/lib/constants.js +5 -0
- package/app/node_modules/next/dist/shared/lib/deployment-id.js +1 -1
- package/app/node_modules/next/dist/shared/lib/errors/code-frame.js +3 -2
- package/app/node_modules/next/dist/shared/lib/errors/empty-generate-static-params-error.js +1 -5
- package/app/node_modules/next/dist/shared/lib/errors/ensure-static-gsp-errors.js +30 -0
- package/app/node_modules/next/dist/shared/lib/errors/hard-deprecated-config-error.js +0 -5
- package/app/node_modules/next/dist/shared/lib/errors/incompatible-parallel-route-slots-error.js +36 -0
- package/app/node_modules/next/dist/shared/lib/errors/missing-canonical-interception-routes-error.js +20 -0
- package/app/node_modules/next/dist/shared/lib/errors/unmatched-app-pages-error.js +20 -0
- package/app/node_modules/next/dist/shared/lib/get-rspack.js +1 -5
- package/app/node_modules/next/dist/shared/lib/html-context.shared-runtime.js +1 -5
- package/app/node_modules/next/dist/shared/lib/image-config.js +52 -1
- package/app/node_modules/next/dist/shared/lib/instant-messages.js +2 -10
- package/app/node_modules/next/dist/shared/lib/invariant-error.js +0 -5
- package/app/node_modules/next/dist/shared/lib/lazy-dynamic/react-browser-bailout.js +45 -0
- package/app/node_modules/next/dist/shared/lib/magic-identifier.js +5 -25
- package/app/node_modules/next/dist/shared/lib/match-remote-pattern.js +1 -5
- package/app/node_modules/next/dist/shared/lib/router/router.js +95 -77
- package/app/node_modules/next/dist/shared/lib/router/routes/app.js +3 -15
- package/app/node_modules/next/dist/shared/lib/router/utils/app-paths.js +6 -1
- package/app/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +4 -12
- package/app/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +63 -20
- package/app/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js +1 -5
- package/app/node_modules/next/dist/shared/lib/router/utils/prepare-destination.js +1 -5
- package/app/node_modules/next/dist/shared/lib/router/utils/querystring.js +31 -0
- package/app/node_modules/next/dist/shared/lib/router/utils/resolve-param-value.js +1 -5
- package/app/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +1 -5
- package/app/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +11 -55
- package/app/node_modules/next/dist/shared/lib/rsc-transport.js +108 -0
- package/app/node_modules/next/dist/shared/lib/segment-cache/segment-value-encoding.js +0 -13
- package/app/node_modules/next/dist/shared/lib/segment-cache/vary-params-decoding.js +48 -27
- package/app/node_modules/next/dist/shared/lib/segment.js +1 -13
- package/app/node_modules/next/dist/shared/lib/turbopack/compilation-events.js +7 -7
- package/app/node_modules/next/dist/shared/lib/turbopack/internal-error.js +2 -7
- package/app/node_modules/next/dist/shared/lib/turbopack/manifest-loader.js +2 -6
- package/app/node_modules/next/dist/shared/lib/turbopack/utils.js +3 -11
- package/app/node_modules/next/dist/shared/lib/utils.js +2 -11
- package/app/node_modules/next/dist/shared/lib/zod.js +2 -6
- package/app/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
- package/app/node_modules/next/dist/telemetry/detached-flush.js +8 -15
- package/app/node_modules/next/dist/telemetry/events/build.js +1 -2
- package/app/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
- package/app/node_modules/next/dist/telemetry/events/version.js +2 -2
- package/app/node_modules/next/dist/telemetry/post-telemetry-payload.js +1 -5
- package/app/node_modules/next/dist/telemetry/storage.js +31 -19
- package/app/node_modules/next/dist/trace/report/index.js +5 -2
- package/app/node_modules/next/dist/trace/report/to-json-build.js +4 -2
- package/app/node_modules/next/dist/trace/report/to-json.js +141 -97
- package/app/node_modules/next/dist/trace/trace.js +14 -9
- package/app/node_modules/next/package.json +12 -11
- package/app/package.json +4 -4
- package/app/server.js +1 -1
- package/app/src/mitm/server.js +43 -39
- package/package.json +1 -1
- package/app/.next-cli-build/static/chunks/1321-c5b3011761e0228b.js +0 -1
- package/app/.next-cli-build/static/chunks/3794-83acfce05009cf38.js +0 -52
- package/app/.next-cli-build/static/chunks/4bd1b696-8a4ab4fdf0ae305a.js +0 -1
- package/app/.next-cli-build/static/chunks/5353-d31cc8d476bc534e.js +0 -1
- package/app/.next-cli-build/static/chunks/5772-6cf78180ecf9dce0.js +0 -3
- package/app/.next-cli-build/static/chunks/6069-7e7f824c6e2d4291.js +0 -73
- package/app/.next-cli-build/static/chunks/7504-6f7ca1eab428dd5e.js +0 -64
- package/app/.next-cli-build/static/chunks/8202.1ffc6ce531e066ce.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/page-90b9aed7279ea50e.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/page-eaf6e24edeca4e51.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-2f53d5dd5b247cf1.js +0 -11
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/page-bbc10fd10f7af626.js +0 -1
- package/app/.next-cli-build/static/chunks/main-1eaba0b776683ce7.js +0 -5
- package/app/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/minify.js +0 -94
- package/app/node_modules/next/dist/client/components/match-segments.js +0 -32
- package/app/node_modules/next/dist/client/components/router-reducer/reducers/find-head-in-cache.js +0 -63
- package/app/node_modules/next/dist/client/components/segment-cache/prefetch.js +0 -32
- package/app/node_modules/next/dist/compiled/webpack-sources3/index.js +0 -1
- package/app/node_modules/next/dist/compiled/webpack-sources3/package.json +0 -1
- package/app/node_modules/next/dist/lib/detached-promise.js +0 -32
- package/app/node_modules/next/dist/lib/error-telemetry-utils.js +0 -42
- package/app/node_modules/next/dist/next-devtools/server/get-next-error-feedback-middleware.js +0 -42
- package/app/node_modules/next/dist/server/app-render/create-flight-router-state-from-loader-tree.js +0 -154
- package/app/node_modules/next/dist/server/lib/experimental/ppr.js +0 -47
- package/app/node_modules/next/dist/server/lib/params-utils.js +0 -70
- package/app/node_modules/next/dist/server/lib/router-utils/is-postpone.js +0 -16
- package/app/node_modules/next/dist/server/route-matcher-managers/default-route-matcher-manager.js +0 -239
- package/app/node_modules/next/dist/server/route-matcher-managers/dev-route-matcher-manager.js +0 -120
- package/app/node_modules/next/dist/server/route-matcher-providers/app-page-route-matcher-provider.js +0 -55
- package/app/node_modules/next/dist/server/route-matcher-providers/app-route-route-matcher-provider.js +0 -43
- package/app/node_modules/next/dist/server/route-matcher-providers/dev/dev-app-page-route-matcher-provider.js +0 -91
- package/app/node_modules/next/dist/server/route-matcher-providers/dev/dev-app-route-route-matcher-provider.js +0 -112
- package/app/node_modules/next/dist/server/route-matcher-providers/dev/dev-pages-api-route-matcher-provider.js +0 -77
- package/app/node_modules/next/dist/server/route-matcher-providers/dev/dev-pages-route-matcher-provider.js +0 -77
- package/app/node_modules/next/dist/server/route-matcher-providers/dev/file-cache-route-matcher-provider.js +0 -28
- package/app/node_modules/next/dist/server/route-matcher-providers/dev/helpers/file-reader/batched-file-reader.js +0 -106
- package/app/node_modules/next/dist/server/route-matcher-providers/dev/helpers/file-reader/default-file-reader.js +0 -42
- package/app/node_modules/next/dist/server/route-matcher-providers/helpers/cached-route-matcher-provider.js +0 -30
- package/app/node_modules/next/dist/server/route-matcher-providers/helpers/manifest-loaders/node-manifest-loader.js +0 -34
- package/app/node_modules/next/dist/server/route-matcher-providers/helpers/manifest-loaders/server-manifest-loader.js +0 -20
- package/app/node_modules/next/dist/server/route-matcher-providers/manifest-route-matcher-provider.js +0 -21
- package/app/node_modules/next/dist/server/route-matcher-providers/pages-api-route-matcher-provider.js +0 -55
- package/app/node_modules/next/dist/server/route-matcher-providers/pages-route-matcher-provider.js +0 -64
- package/app/node_modules/next/dist/server/route-matchers/app-page-route-matcher.js +0 -18
- package/app/node_modules/next/dist/server/route-matchers/app-route-route-matcher.js +0 -15
- package/app/node_modules/next/dist/server/route-matchers/locale-route-matcher.js +0 -68
- package/app/node_modules/next/dist/server/route-matchers/pages-api-route-matcher.js +0 -30
- package/app/node_modules/next/dist/server/route-matchers/pages-route-matcher.js +0 -30
- package/app/node_modules/next/dist/server/route-matchers/route-matcher.js +0 -54
- package/app/node_modules/next/dist/telemetry/events/error-feedback.js +0 -31
- /package/app/.next-cli-build/static/{i0cMBMqFdYWpbajovDyfY → em-yyr0O7qRIA9N8Clc4I}/_buildManifest.js +0 -0
- /package/app/.next-cli-build/static/{i0cMBMqFdYWpbajovDyfY → em-yyr0O7qRIA9N8Clc4I}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/(dashboard)/dashboard/presidio/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"98":{"*":{"id":"4770","name":"*","chunks":[],"async":false}},"4823":{"*":{"id":"50585","name":"*","chunks":[],"async":false}},"7648":{"*":{"id":"85306","name":"*","chunks":[],"async":false}},"8823":{"*":{"id":"32456","name":"*","chunks":[],"async":false}},"10319":{"*":{"id":"59026","name":"*","chunks":[],"async":false}},"11910":{"*":{"id":"83552","name":"*","chunks":[],"async":false}},"15615":{"*":{"id":"14731","name":"*","chunks":[],"async":false}},"16144":{"*":{"id":"40410","name":"*","chunks":[],"async":false}},"18160":{"*":{"id":"65141","name":"*","chunks":[],"async":false}},"21110":{"*":{"id":"19308","name":"*","chunks":[],"async":false}},"21931":{"*":{"id":"267","name":"*","chunks":[],"async":false}},"22662":{"*":{"id":"23296","name":"*","chunks":[],"async":false}},"22879":{"*":{"id":"35655","name":"*","chunks":[],"async":false}},"23615":{"*":{"id":"91809","name":"*","chunks":[],"async":false}},"23936":{"*":{"id":"79488","name":"*","chunks":[],"async":false}},"25086":{"*":{"id":"74812","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"28058":{"*":{"id":"20084","name":"*","chunks":[],"async":false}},"28067":{"*":{"id":"91099","name":"*","chunks":[],"async":false}},"28815":{"*":{"id":"39645","name":"*","chunks":[],"async":false}},"29366":{"*":{"id":"38930","name":"*","chunks":[],"async":false}},"30815":{"*":{"id":"51109","name":"*","chunks":[],"async":false}},"38572":{"*":{"id":"70523","name":"*","chunks":[],"async":false}},"38587":{"*":{"id":"53845","name":"*","chunks":[],"async":false}},"44493":{"*":{"id":"81157","name":"*","chunks":[],"async":false}},"45455":{"*":{"id":"62727","name":"*","chunks":[],"async":false}},"46067":{"*":{"id":"20309","name":"*","chunks":[],"async":false}},"47766":{"*":{"id":"20406","name":"*","chunks":[],"async":false}},"51825":{"*":{"id":"11633","name":"*","chunks":[],"async":false}},"53501":{"*":{"id":"23658","name":"*","chunks":[],"async":false}},"56061":{"*":{"id":"75171","name":"*","chunks":[],"async":false}},"56319":{"*":{"id":"25919","name":"*","chunks":[],"async":false}},"57076":{"*":{"id":"19388","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"59884":{"*":{"id":"19598","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"61500":{"*":{"id":"86209","name":"*","chunks":[],"async":false}},"61521":{"*":{"id":"56254","name":"*","chunks":[],"async":false}},"62899":{"*":{"id":"5291","name":"*","chunks":[],"async":false}},"64082":{"*":{"id":"94558","name":"*","chunks":[],"async":false}},"64561":{"*":{"id":"61377","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"65251":{"*":{"id":"80145","name":"*","chunks":[],"async":false}},"70323":{"*":{"id":"25930","name":"*","chunks":[],"async":false}},"71088":{"*":{"id":"16316","name":"*","chunks":[],"async":false}},"71470":{"*":{"id":"3212","name":"*","chunks":[],"async":false}},"73579":{"*":{"id":"51585","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"75095":{"*":{"id":"3493","name":"*","chunks":[],"async":false}},"76084":{"*":{"id":"23906","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"80191":{"*":{"id":"2091","name":"*","chunks":[],"async":false}},"80752":{"*":{"id":"3236","name":"*","chunks":[],"async":false}},"81127":{"*":{"id":"95145","name":"*","chunks":[],"async":false}},"81772":{"*":{"id":"40074","name":"*","chunks":[],"async":false}},"83016":{"*":{"id":"14412","name":"*","chunks":[],"async":false}},"84588":{"*":{"id":"17660","name":"*","chunks":[],"async":false}},"85309":{"*":{"id":"29499","name":"*","chunks":[],"async":false}},"85941":{"*":{"id":"18968","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"87304":{"*":{"id":"14144","name":"*","chunks":[],"async":false}},"88512":{"*":{"id":"73180","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"90882":{"*":{"id":"79346","name":"*","chunks":[],"async":false}},"91450":{"*":{"id":"53838","name":"*","chunks":[],"async":false}},"92173":{"*":{"id":"48781","name":"*","chunks":[],"async":false}},"92542":{"*":{"id":"99070","name":"*","chunks":[],"async":false}},"94230":{"*":{"id":"56110","name":"*","chunks":[],"async":false}},"94588":{"*":{"id":"7870","name":"*","chunks":[],"async":false}},"94635":{"*":{"id":"5211","name":"*","chunks":[],"async":false}},"95088":{"*":{"id":"43182","name":"*","chunks":[],"async":false}},"95907":{"*":{"id":"65554","name":"*","chunks":[],"async":false}},"96748":{"*":{"id":"67738","name":"*","chunks":[],"async":false}},"97556":{"*":{"id":"54510","name":"*","chunks":[],"async":false}},"97677":{"*":{"id":"32971","name":"*","chunks":[],"async":false}},"98542":{"*":{"id":"95514","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/krouter/krouter/node_modules/next/dist/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.js\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-inter\"}],\"variableName\":\"inter\"}":{"id":35154,"name":"*","chunks":["1321","static/chunks/1321-c5b3011761e0228b.js","7177","static/chunks/app/layout-3909a5381d71cda6.js"],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.js\",\"import\":\"Space_Grotesk\",\"arguments\":[{\"subsets\":[\"latin\"],\"weight\":[\"500\",\"600\",\"700\"],\"variable\":\"--font-space-grotesk\",\"display\":\"swap\"}],\"variableName\":\"spaceGrotesk\"}":{"id":93968,"name":"*","chunks":["1321","static/chunks/1321-c5b3011761e0228b.js","7177","static/chunks/app/layout-3909a5381d71cda6.js"],"async":false},"/home/runner/work/krouter/krouter/node_modules/material-symbols/outlined.css":{"id":5887,"name":"*","chunks":["1321","static/chunks/1321-c5b3011761e0228b.js","7177","static/chunks/app/layout-3909a5381d71cda6.js"],"async":false},"/home/runner/work/krouter/krouter/src/app/globals.css":{"id":51743,"name":"*","chunks":["1321","static/chunks/1321-c5b3011761e0228b.js","7177","static/chunks/app/layout-3909a5381d71cda6.js"],"async":false},"/home/runner/work/krouter/krouter/src/i18n/RuntimeI18nProvider.js":{"id":94635,"name":"*","chunks":["1321","static/chunks/1321-c5b3011761e0228b.js","7177","static/chunks/app/layout-3909a5381d71cda6.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/ThemeProvider.js":{"id":21110,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/app/callback/page.js":{"id":59884,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/dashboard/settings/pricing/page.js":{"id":87304,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/landing/page.js":{"id":85941,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/login/page.js":{"id":83016,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/AddCustomEmbeddingModal.js":{"id":96748,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Avatar.js":{"id":56319,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Badge.js":{"id":56061,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Button.js":{"id":92542,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/CapacityBadges.js":{"id":29366,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Card.js":{"id":84588,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/ChangelogModal.js":{"id":97556,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/ComboFormModal.js":{"id":45455,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/CursorAuthModal.js":{"id":30815,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/EditConnectionModal.js":{"id":73579,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Footer.js":{"id":92173,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/GitLabAuthModal.js":{"id":95088,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Header.js":{"id":8823,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/HeaderMenu.js":{"id":80752,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/IFlowCookieModal.js":{"id":23936,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Input.js":{"id":11910,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/KiroAuthModal.js":{"id":61500,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/KiroOAuthWrapper.js":{"id":62899,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/KiroSocialOAuthModal.js":{"id":94230,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/LanguageSwitcher.js":{"id":21931,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/layouts/AuthLayout.js":{"id":91450,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/layouts/DashboardLayout.js":{"id":7648,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Loading.js":{"id":25086,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/ManualConfigModal.js":{"id":28815,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/McpMarketplaceModal.js":{"id":28058,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Modal.js":{"id":81127,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/ModelSelectModal.js":{"id":46067,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/NoAuthProxyCard.js":{"id":4823,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/OAuthModal.js":{"id":90882,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/ProviderInfoCard.js":{"id":51825,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/RequestLogger.js":{"id":23615,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/SegmentedControl.js":{"id":28067,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Select.js":{"id":98,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Sidebar.js":{"id":38572,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/ThemeToggle.js":{"id":38587,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Toggle.js":{"id":98542,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Tooltip.js":{"id":97677,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/UsageStats.js":{"id":10319,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/basic-chat/BasicChatPageClient.js":{"id":88512,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/cli-tools/[toolId]/ToolDetailClient.js":{"id":85309,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/cli-tools/CLIToolsPageClient.js":{"id":53501,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/combos/page.js":{"id":80191,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.js":{"id":95907,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-c5b3011761e0228b.js","5497","static/chunks/5497-1af4fbf829c885c4.js","5493","static/chunks/5493-c3a04002af54801e.js","6337","static/chunks/app/(dashboard)/dashboard/page-2fd72d435e4d9a63.js"],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/environment/page.js":{"id":61521,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js":{"id":94588,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/media-providers/[kind]/page.js":{"id":16144,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js":{"id":22662,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/media-providers/web/page.js":{"id":71088,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/mitm/MitmPageClient.js":{"id":22879,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/providers/new/page.js":{"id":15615,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/pxpipe/PxpipeClient.js":{"id":71470,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/usage/components/ProviderLimits/index.js":{"id":75095,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/skills/page.js":{"id":64082,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/token-saver/TokenSaverClient.js":{"id":70323,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/translator/page.js":{"id":76084,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/usage/page.js":{"id":81772,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/console-log/ConsoleLogClient.js":{"id":44493,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/presidio/page.js":{"id":47766,"name":"*","chunks":["1581","static/chunks/app/(dashboard)/dashboard/presidio/page-b6882fbe93ce6fed.js"],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/providers/page.js":{"id":18160,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/profile/page.js":{"id":64561,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/providers/[id]/page.js":{"id":65251,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/proxy-pools/page.js":{"id":57076,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/krouter/krouter/src/":[],"/home/runner/work/krouter/krouter/src/app/layout":[{"inlined":false,"path":"static/css/64fc7ce1f4c9684d.css"},{"inlined":false,"path":"static/css/e8f53fd8cd2766ce.css"}],"/home/runner/work/krouter/krouter/src/app/page":[],"/home/runner/work/krouter/krouter/src/app/(dashboard)/layout":[],"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/page":[],"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/presidio/page":[]},"rscModuleMapping":{"98":{"*":{"id":"83784","name":"*","chunks":[],"async":false}},"4823":{"*":{"id":"5843","name":"*","chunks":[],"async":false}},"5887":{"*":{"id":"36497","name":"*","chunks":[],"async":false}},"7648":{"*":{"id":"61780","name":"*","chunks":[],"async":false}},"8823":{"*":{"id":"92669","name":"*","chunks":[],"async":false}},"10319":{"*":{"id":"2422","name":"*","chunks":[],"async":false}},"11910":{"*":{"id":"71230","name":"*","chunks":[],"async":false}},"15615":{"*":{"id":"24885","name":"*","chunks":[],"async":false}},"16144":{"*":{"id":"6452","name":"*","chunks":[],"async":false}},"18160":{"*":{"id":"44030","name":"*","chunks":[],"async":false}},"21110":{"*":{"id":"89886","name":"*","chunks":[],"async":false}},"21931":{"*":{"id":"45205","name":"*","chunks":[],"async":false}},"22662":{"*":{"id":"50254","name":"*","chunks":[],"async":false}},"22879":{"*":{"id":"8523","name":"*","chunks":[],"async":false}},"23615":{"*":{"id":"19083","name":"*","chunks":[],"async":false}},"23936":{"*":{"id":"80342","name":"*","chunks":[],"async":false}},"25086":{"*":{"id":"92082","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"28058":{"*":{"id":"962","name":"*","chunks":[],"async":false}},"28067":{"*":{"id":"54065","name":"*","chunks":[],"async":false}},"28815":{"*":{"id":"70603","name":"*","chunks":[],"async":false}},"29366":{"*":{"id":"4996","name":"*","chunks":[],"async":false}},"30815":{"*":{"id":"40167","name":"*","chunks":[],"async":false}},"38572":{"*":{"id":"26866","name":"*","chunks":[],"async":false}},"38587":{"*":{"id":"40515","name":"*","chunks":[],"async":false}},"44493":{"*":{"id":"99259","name":"*","chunks":[],"async":false}},"45455":{"*":{"id":"20493","name":"*","chunks":[],"async":false}},"46067":{"*":{"id":"94582","name":"*","chunks":[],"async":false}},"47766":{"*":{"id":"32763","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"51825":{"*":{"id":"81923","name":"*","chunks":[],"async":false}},"53501":{"*":{"id":"79518","name":"*","chunks":[],"async":false}},"56061":{"*":{"id":"33893","name":"*","chunks":[],"async":false}},"56319":{"*":{"id":"70061","name":"*","chunks":[],"async":false}},"57076":{"*":{"id":"23450","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"59884":{"*":{"id":"3604","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"61500":{"*":{"id":"82448","name":"*","chunks":[],"async":false}},"61521":{"*":{"id":"13019","name":"*","chunks":[],"async":false}},"62899":{"*":{"id":"14285","name":"*","chunks":[],"async":false}},"64082":{"*":{"id":"40852","name":"*","chunks":[],"async":false}},"64561":{"*":{"id":"50047","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"65251":{"*":{"id":"93110","name":"*","chunks":[],"async":false}},"70323":{"*":{"id":"13397","name":"*","chunks":[],"async":false}},"71088":{"*":{"id":"93918","name":"*","chunks":[],"async":false}},"71470":{"*":{"id":"26702","name":"*","chunks":[],"async":false}},"73579":{"*":{"id":"70139","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"75095":{"*":{"id":"57471","name":"*","chunks":[],"async":false}},"76084":{"*":{"id":"38308","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"80191":{"*":{"id":"35447","name":"*","chunks":[],"async":false}},"80752":{"*":{"id":"29354","name":"*","chunks":[],"async":false}},"81127":{"*":{"id":"10079","name":"*","chunks":[],"async":false}},"81772":{"*":{"id":"87149","name":"*","chunks":[],"async":false}},"83016":{"*":{"id":"65674","name":"*","chunks":[],"async":false}},"84588":{"*":{"id":"7290","name":"*","chunks":[],"async":false}},"85309":{"*":{"id":"99005","name":"*","chunks":[],"async":false}},"85941":{"*":{"id":"852","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"87304":{"*":{"id":"93870","name":"*","chunks":[],"async":false}},"88512":{"*":{"id":"79286","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"90882":{"*":{"id":"3080","name":"*","chunks":[],"async":false}},"91450":{"*":{"id":"64420","name":"*","chunks":[],"async":false}},"92173":{"*":{"id":"49123","name":"*","chunks":[],"async":false}},"92542":{"*":{"id":"45512","name":"*","chunks":[],"async":false}},"94230":{"*":{"id":"87228","name":"*","chunks":[],"async":false}},"94588":{"*":{"id":"69296","name":"*","chunks":[],"async":false}},"94635":{"*":{"id":"85117","name":"*","chunks":[],"async":false}},"95088":{"*":{"id":"64148","name":"*","chunks":[],"async":false}},"95907":{"*":{"id":"51747","name":"*","chunks":[],"async":false}},"96748":{"*":{"id":"18200","name":"*","chunks":[],"async":false}},"97556":{"*":{"id":"33811","name":"*","chunks":[],"async":false}},"97677":{"*":{"id":"18421","name":"*","chunks":[],"async":false}},"98542":{"*":{"id":"70092","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/(dashboard)/dashboard/presidio/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"98":{"*":{"id":"4770","name":"*","chunks":[],"async":false}},"4823":{"*":{"id":"50585","name":"*","chunks":[],"async":false}},"7648":{"*":{"id":"85306","name":"*","chunks":[],"async":false}},"8823":{"*":{"id":"32456","name":"*","chunks":[],"async":false}},"10319":{"*":{"id":"59026","name":"*","chunks":[],"async":false}},"11910":{"*":{"id":"83552","name":"*","chunks":[],"async":false}},"15615":{"*":{"id":"14731","name":"*","chunks":[],"async":false}},"16144":{"*":{"id":"40410","name":"*","chunks":[],"async":false}},"18160":{"*":{"id":"65141","name":"*","chunks":[],"async":false}},"21110":{"*":{"id":"19308","name":"*","chunks":[],"async":false}},"21931":{"*":{"id":"267","name":"*","chunks":[],"async":false}},"22662":{"*":{"id":"23296","name":"*","chunks":[],"async":false}},"22879":{"*":{"id":"35655","name":"*","chunks":[],"async":false}},"23615":{"*":{"id":"91809","name":"*","chunks":[],"async":false}},"23936":{"*":{"id":"79488","name":"*","chunks":[],"async":false}},"25086":{"*":{"id":"74812","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"28058":{"*":{"id":"20084","name":"*","chunks":[],"async":false}},"28067":{"*":{"id":"91099","name":"*","chunks":[],"async":false}},"28815":{"*":{"id":"39645","name":"*","chunks":[],"async":false}},"29366":{"*":{"id":"38930","name":"*","chunks":[],"async":false}},"30815":{"*":{"id":"51109","name":"*","chunks":[],"async":false}},"38572":{"*":{"id":"70523","name":"*","chunks":[],"async":false}},"38587":{"*":{"id":"53845","name":"*","chunks":[],"async":false}},"44493":{"*":{"id":"81157","name":"*","chunks":[],"async":false}},"45455":{"*":{"id":"62727","name":"*","chunks":[],"async":false}},"46067":{"*":{"id":"20309","name":"*","chunks":[],"async":false}},"47766":{"*":{"id":"20406","name":"*","chunks":[],"async":false}},"51825":{"*":{"id":"11633","name":"*","chunks":[],"async":false}},"53501":{"*":{"id":"23658","name":"*","chunks":[],"async":false}},"55343":{"*":{"id":"23906","name":"*","chunks":[],"async":false}},"56061":{"*":{"id":"75171","name":"*","chunks":[],"async":false}},"56319":{"*":{"id":"25919","name":"*","chunks":[],"async":false}},"57076":{"*":{"id":"19388","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"59884":{"*":{"id":"19598","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"61500":{"*":{"id":"86209","name":"*","chunks":[],"async":false}},"61521":{"*":{"id":"56254","name":"*","chunks":[],"async":false}},"62899":{"*":{"id":"5291","name":"*","chunks":[],"async":false}},"64082":{"*":{"id":"94558","name":"*","chunks":[],"async":false}},"64561":{"*":{"id":"61377","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"65251":{"*":{"id":"80145","name":"*","chunks":[],"async":false}},"70323":{"*":{"id":"25930","name":"*","chunks":[],"async":false}},"71088":{"*":{"id":"16316","name":"*","chunks":[],"async":false}},"71470":{"*":{"id":"3212","name":"*","chunks":[],"async":false}},"73579":{"*":{"id":"51585","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"75095":{"*":{"id":"3493","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"80191":{"*":{"id":"2091","name":"*","chunks":[],"async":false}},"80752":{"*":{"id":"3236","name":"*","chunks":[],"async":false}},"81127":{"*":{"id":"95145","name":"*","chunks":[],"async":false}},"81772":{"*":{"id":"40074","name":"*","chunks":[],"async":false}},"83016":{"*":{"id":"14412","name":"*","chunks":[],"async":false}},"84588":{"*":{"id":"17660","name":"*","chunks":[],"async":false}},"85309":{"*":{"id":"29499","name":"*","chunks":[],"async":false}},"85941":{"*":{"id":"18968","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"87304":{"*":{"id":"14144","name":"*","chunks":[],"async":false}},"88512":{"*":{"id":"73180","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"90882":{"*":{"id":"79346","name":"*","chunks":[],"async":false}},"91450":{"*":{"id":"53838","name":"*","chunks":[],"async":false}},"92173":{"*":{"id":"48781","name":"*","chunks":[],"async":false}},"92542":{"*":{"id":"99070","name":"*","chunks":[],"async":false}},"94230":{"*":{"id":"56110","name":"*","chunks":[],"async":false}},"94588":{"*":{"id":"7870","name":"*","chunks":[],"async":false}},"94635":{"*":{"id":"5211","name":"*","chunks":[],"async":false}},"95088":{"*":{"id":"43182","name":"*","chunks":[],"async":false}},"95907":{"*":{"id":"65554","name":"*","chunks":[],"async":false}},"96748":{"*":{"id":"67738","name":"*","chunks":[],"async":false}},"97556":{"*":{"id":"54510","name":"*","chunks":[],"async":false}},"97677":{"*":{"id":"32971","name":"*","chunks":[],"async":false}},"98542":{"*":{"id":"95514","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/krouter/krouter/node_modules/next/dist/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.js\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-inter\"}],\"variableName\":\"inter\"}":{"id":35154,"name":"*","chunks":["1321","static/chunks/1321-91a272a5139df5f2.js","7177","static/chunks/app/layout-3909a5381d71cda6.js"],"async":false},"/home/runner/work/krouter/krouter/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.js\",\"import\":\"Space_Grotesk\",\"arguments\":[{\"subsets\":[\"latin\"],\"weight\":[\"500\",\"600\",\"700\"],\"variable\":\"--font-space-grotesk\",\"display\":\"swap\"}],\"variableName\":\"spaceGrotesk\"}":{"id":93968,"name":"*","chunks":["1321","static/chunks/1321-91a272a5139df5f2.js","7177","static/chunks/app/layout-3909a5381d71cda6.js"],"async":false},"/home/runner/work/krouter/krouter/node_modules/material-symbols/outlined.css":{"id":5887,"name":"*","chunks":["1321","static/chunks/1321-91a272a5139df5f2.js","7177","static/chunks/app/layout-3909a5381d71cda6.js"],"async":false},"/home/runner/work/krouter/krouter/src/app/globals.css":{"id":51743,"name":"*","chunks":["1321","static/chunks/1321-91a272a5139df5f2.js","7177","static/chunks/app/layout-3909a5381d71cda6.js"],"async":false},"/home/runner/work/krouter/krouter/src/i18n/RuntimeI18nProvider.js":{"id":94635,"name":"*","chunks":["1321","static/chunks/1321-91a272a5139df5f2.js","7177","static/chunks/app/layout-3909a5381d71cda6.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/ThemeProvider.js":{"id":21110,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/app/callback/page.js":{"id":59884,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/dashboard/settings/pricing/page.js":{"id":87304,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/landing/page.js":{"id":85941,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/login/page.js":{"id":83016,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/AddCustomEmbeddingModal.js":{"id":96748,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Avatar.js":{"id":56319,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Badge.js":{"id":56061,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Button.js":{"id":92542,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/CapacityBadges.js":{"id":29366,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Card.js":{"id":84588,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/ChangelogModal.js":{"id":97556,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/ComboFormModal.js":{"id":45455,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/CursorAuthModal.js":{"id":30815,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/EditConnectionModal.js":{"id":73579,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Footer.js":{"id":92173,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/GitLabAuthModal.js":{"id":95088,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Header.js":{"id":8823,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/HeaderMenu.js":{"id":80752,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/IFlowCookieModal.js":{"id":23936,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Input.js":{"id":11910,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/KiroAuthModal.js":{"id":61500,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/KiroOAuthWrapper.js":{"id":62899,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/KiroSocialOAuthModal.js":{"id":94230,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/LanguageSwitcher.js":{"id":21931,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/layouts/AuthLayout.js":{"id":91450,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/layouts/DashboardLayout.js":{"id":7648,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Loading.js":{"id":25086,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/ManualConfigModal.js":{"id":28815,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/McpMarketplaceModal.js":{"id":28058,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Modal.js":{"id":81127,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/ModelSelectModal.js":{"id":46067,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/NoAuthProxyCard.js":{"id":4823,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/OAuthModal.js":{"id":90882,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/ProviderInfoCard.js":{"id":51825,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/RequestLogger.js":{"id":23615,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/SegmentedControl.js":{"id":28067,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Select.js":{"id":98,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Sidebar.js":{"id":38572,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/ThemeToggle.js":{"id":38587,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Toggle.js":{"id":98542,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/Tooltip.js":{"id":97677,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/shared/components/UsageStats.js":{"id":10319,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","9305","static/chunks/app/(dashboard)/layout-799f966f7a1927db.js"],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/basic-chat/BasicChatPageClient.js":{"id":88512,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/cli-tools/[toolId]/ToolDetailClient.js":{"id":85309,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/cli-tools/CLIToolsPageClient.js":{"id":53501,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/combos/page.js":{"id":80191,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.js":{"id":95907,"name":"*","chunks":["7504","static/chunks/7504-5249aa88b6205df1.js","1321","static/chunks/1321-91a272a5139df5f2.js","5497","static/chunks/5497-ff8c2e5da835ea40.js","5493","static/chunks/5493-c3a04002af54801e.js","6337","static/chunks/app/(dashboard)/dashboard/page-2fd72d435e4d9a63.js"],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/environment/page.js":{"id":61521,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js":{"id":94588,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/media-providers/[kind]/page.js":{"id":16144,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js":{"id":22662,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/media-providers/web/page.js":{"id":71088,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/mitm/MitmPageClient.js":{"id":22879,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/providers/new/page.js":{"id":15615,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/pxpipe/PxpipeClient.js":{"id":71470,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/usage/components/ProviderLimits/index.js":{"id":75095,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/skills/page.js":{"id":64082,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/token-saver/TokenSaverClient.js":{"id":70323,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/translator/page.js":{"id":55343,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/usage/page.js":{"id":81772,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/console-log/ConsoleLogClient.js":{"id":44493,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/presidio/page.js":{"id":47766,"name":"*","chunks":["1581","static/chunks/app/(dashboard)/dashboard/presidio/page-b6882fbe93ce6fed.js"],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/profile/page.js":{"id":64561,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/providers/page.js":{"id":18160,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/proxy-pools/page.js":{"id":57076,"name":"*","chunks":[],"async":false},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/providers/[id]/page.js":{"id":65251,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/krouter/krouter/src/":[],"/home/runner/work/krouter/krouter/src/app/layout":[{"inlined":false,"path":"static/css/64fc7ce1f4c9684d.css"},{"inlined":false,"path":"static/css/e8f53fd8cd2766ce.css"}],"/home/runner/work/krouter/krouter/src/app/page":[],"/home/runner/work/krouter/krouter/src/app/(dashboard)/layout":[],"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/page":[],"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/presidio/page":[]},"rscModuleMapping":{"98":{"*":{"id":"83784","name":"*","chunks":[],"async":false}},"4823":{"*":{"id":"5843","name":"*","chunks":[],"async":false}},"5887":{"*":{"id":"36497","name":"*","chunks":[],"async":false}},"7648":{"*":{"id":"61780","name":"*","chunks":[],"async":false}},"8823":{"*":{"id":"92669","name":"*","chunks":[],"async":false}},"10319":{"*":{"id":"2422","name":"*","chunks":[],"async":false}},"11910":{"*":{"id":"71230","name":"*","chunks":[],"async":false}},"15615":{"*":{"id":"24885","name":"*","chunks":[],"async":false}},"16144":{"*":{"id":"6452","name":"*","chunks":[],"async":false}},"18160":{"*":{"id":"44030","name":"*","chunks":[],"async":false}},"21110":{"*":{"id":"89886","name":"*","chunks":[],"async":false}},"21931":{"*":{"id":"45205","name":"*","chunks":[],"async":false}},"22662":{"*":{"id":"50254","name":"*","chunks":[],"async":false}},"22879":{"*":{"id":"8523","name":"*","chunks":[],"async":false}},"23615":{"*":{"id":"19083","name":"*","chunks":[],"async":false}},"23936":{"*":{"id":"80342","name":"*","chunks":[],"async":false}},"25086":{"*":{"id":"92082","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"28058":{"*":{"id":"962","name":"*","chunks":[],"async":false}},"28067":{"*":{"id":"54065","name":"*","chunks":[],"async":false}},"28815":{"*":{"id":"70603","name":"*","chunks":[],"async":false}},"29366":{"*":{"id":"4996","name":"*","chunks":[],"async":false}},"30815":{"*":{"id":"40167","name":"*","chunks":[],"async":false}},"38572":{"*":{"id":"26866","name":"*","chunks":[],"async":false}},"38587":{"*":{"id":"40515","name":"*","chunks":[],"async":false}},"44493":{"*":{"id":"99259","name":"*","chunks":[],"async":false}},"45455":{"*":{"id":"20493","name":"*","chunks":[],"async":false}},"46067":{"*":{"id":"94582","name":"*","chunks":[],"async":false}},"47766":{"*":{"id":"32763","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"51825":{"*":{"id":"81923","name":"*","chunks":[],"async":false}},"53501":{"*":{"id":"79518","name":"*","chunks":[],"async":false}},"55343":{"*":{"id":"38308","name":"*","chunks":[],"async":false}},"56061":{"*":{"id":"33893","name":"*","chunks":[],"async":false}},"56319":{"*":{"id":"70061","name":"*","chunks":[],"async":false}},"57076":{"*":{"id":"23450","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"59884":{"*":{"id":"3604","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"61500":{"*":{"id":"82448","name":"*","chunks":[],"async":false}},"61521":{"*":{"id":"13019","name":"*","chunks":[],"async":false}},"62899":{"*":{"id":"14285","name":"*","chunks":[],"async":false}},"64082":{"*":{"id":"40852","name":"*","chunks":[],"async":false}},"64561":{"*":{"id":"50047","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"65251":{"*":{"id":"93110","name":"*","chunks":[],"async":false}},"70323":{"*":{"id":"13397","name":"*","chunks":[],"async":false}},"71088":{"*":{"id":"93918","name":"*","chunks":[],"async":false}},"71470":{"*":{"id":"26702","name":"*","chunks":[],"async":false}},"73579":{"*":{"id":"70139","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"75095":{"*":{"id":"57471","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"80191":{"*":{"id":"35447","name":"*","chunks":[],"async":false}},"80752":{"*":{"id":"29354","name":"*","chunks":[],"async":false}},"81127":{"*":{"id":"10079","name":"*","chunks":[],"async":false}},"81772":{"*":{"id":"87149","name":"*","chunks":[],"async":false}},"83016":{"*":{"id":"65674","name":"*","chunks":[],"async":false}},"84588":{"*":{"id":"7290","name":"*","chunks":[],"async":false}},"85309":{"*":{"id":"99005","name":"*","chunks":[],"async":false}},"85941":{"*":{"id":"852","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"87304":{"*":{"id":"93870","name":"*","chunks":[],"async":false}},"88512":{"*":{"id":"79286","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"90882":{"*":{"id":"3080","name":"*","chunks":[],"async":false}},"91450":{"*":{"id":"64420","name":"*","chunks":[],"async":false}},"92173":{"*":{"id":"49123","name":"*","chunks":[],"async":false}},"92542":{"*":{"id":"45512","name":"*","chunks":[],"async":false}},"94230":{"*":{"id":"87228","name":"*","chunks":[],"async":false}},"94588":{"*":{"id":"69296","name":"*","chunks":[],"async":false}},"94635":{"*":{"id":"85117","name":"*","chunks":[],"async":false}},"95088":{"*":{"id":"64148","name":"*","chunks":[],"async":false}},"95907":{"*":{"id":"51747","name":"*","chunks":[],"async":false}},"96748":{"*":{"id":"18200","name":"*","chunks":[],"async":false}},"97556":{"*":{"id":"33811","name":"*","chunks":[],"async":false}},"97677":{"*":{"id":"18421","name":"*","chunks":[],"async":false}},"98542":{"*":{"id":"70092","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var a={};a.id=3471,a.ids=[3471],a.modules={643:a=>{"use strict";a.exports=require("node:perf_hooks")},1708:a=>{"use strict";a.exports=require("node:process")},1932:a=>{"use strict";a.exports=require("url")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{"use strict";a.exports=require("node:buffer")},7066:a=>{"use strict";a.exports=require("node:tty")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14686:(a,b,c)=>{Promise.resolve().then(c.bind(c,61377))},14985:a=>{"use strict";a.exports=require("dns")},16698:a=>{"use strict";a.exports=require("node:async_hooks")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32467:a=>{"use strict";a.exports=require("node:http2")},33873:a=>{"use strict";a.exports=require("path")},34589:a=>{"use strict";a.exports=require("node:assert")},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},38522:a=>{"use strict";a.exports=require("node:zlib")},40610:a=>{"use strict";a.exports=require("node:dns")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},50047:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/profile/page.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/profile/page.js","default")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},57075:a=>{"use strict";a.exports=require("node:stream")},57975:a=>{"use strict";a.exports=require("node:util")},61377:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>n});var d=c(48249),e=c(67484),f=c(19099),g=c(50412),h=c(95145),i=c(267),j=c(42118),k=c(71404),l=c(12020);c(51126);var m=c(818);function n(){let a=(0,f.useRouter)(),{theme:b,setTheme:c,isDark:n}=(0,j.D)(),[o,p]=(0,e.useState)("en"),[q,r]=(0,e.useState)(!1),[s,t]=(0,e.useState)(!1),[u,v]=(0,e.useState)(!1),[w,x]=(0,e.useState)({fallbackStrategy:"fill-first"}),[y,z]=(0,e.useState)(!0),[A,B]=(0,e.useState)({current:"",new:"",confirm:""}),[C,D]=(0,e.useState)({type:"",message:""}),[E,F]=(0,e.useState)(!1),[G,H]=(0,e.useState)(!1),[I,J]=(0,e.useState)({type:"",message:""}),[K,L]=(0,e.useState)({open:!1,mode:"",password:""}),M=(0,e.useRef)(null),[N,O]=(0,e.useState)({authMode:"password",oidcIssuerUrl:"",oidcClientId:"",oidcScopes:"openid profile email",oidcLoginLabel:"Sign in with OIDC"}),[P,Q]=(0,e.useState)(""),[R,S]=(0,e.useState)({type:"",message:""}),[T,U]=(0,e.useState)(!1),[V,W]=(0,e.useState)(!1),[X,Y]=(0,e.useState)({type:"",message:""}),[Z,$]=(0,e.useState)("/api/auth/oidc/callback"),[_,aa]=(0,e.useState)(!1),ab=(0,e.useRef)(null),[ac,ad]=(0,e.useState)({outboundProxyEnabled:!1,outboundProxyUrl:"",outboundNoProxy:""}),[ae,af]=(0,e.useState)({type:"",message:""}),[ag,ah]=(0,e.useState)(!1),[ai,aj]=(0,e.useState)(!1),[ak,al]=(0,e.useState)(!0),am=async a=>{if(a.preventDefault(),!0===w.outboundProxyEnabled){ah(!0),af({type:"",message:""});try{let a=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({outboundProxyUrl:ac.outboundProxyUrl,outboundNoProxy:ac.outboundNoProxy})}),b=await a.json();a.ok?(x(a=>({...a,...b})),af({type:"success",message:"Proxy settings applied"})):af({type:"error",message:b.error||"Failed to update proxy settings"})}catch(a){af({type:"error",message:"An error occurred"})}finally{ah(!1)}}},an=async()=>{if(!0!==w.outboundProxyEnabled)return;let a=(ac.outboundProxyUrl||"").trim();if(!a)return void af({type:"error",message:"Please enter a Proxy URL to test"});aj(!0),af({type:"",message:""});try{let b=await fetch("/api/settings/proxy-test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({proxyUrl:a})}),c=await b.json();b.ok&&c?.ok?af({type:"success",message:`Proxy test OK (${c.status}) in ${c.elapsedMs}ms`}):af({type:"error",message:c?.error||"Proxy test failed"})}catch(a){af({type:"error",message:"An error occurred"})}finally{aj(!1)}},ao=async a=>{ah(!0),af({type:"",message:""});try{let b=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({outboundProxyEnabled:a})}),c=await b.json();b.ok?(x(a=>({...a,...c})),ad(a=>({...a,outboundProxyEnabled:c?.outboundProxyEnabled===!0})),af({type:"success",message:a?"Proxy enabled":"Proxy disabled"})):af({type:"error",message:c.error||"Failed to update proxy settings"})}catch(a){af({type:"error",message:"An error occurred"})}finally{ah(!1)}},ap=async a=>{if(a.preventDefault(),A.new!==A.confirm)return void D({type:"error",message:"Passwords do not match"});F(!0),D({type:"",message:""});try{let a=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({currentPassword:A.current,newPassword:A.new})}),b=await a.json();a.ok?(D({type:"success",message:"Password updated successfully"}),B({current:"",new:"",confirm:""})):D({type:"error",message:b.error||"Failed to update password"})}catch(a){D({type:"error",message:"An error occurred"})}finally{F(!1)}},aq=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({fallbackStrategy:a})})).ok&&x(b=>({...b,fallbackStrategy:a}))}catch(a){console.error("Failed to update settings:",a)}},ar=async(a,b)=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({[a]:b})})).ok&&x(c=>({...c,[a]:b}))}catch(b){console.error(`Failed to update ${a}:`,b)}},as=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({comboStrategy:a})})).ok&&x(b=>({...b,comboStrategy:a}))}catch(a){console.error("Failed to update combo strategy:",a)}},at=async a=>{let b=parseInt(a,10);if(!isNaN(b)&&!(b<1))try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({stickyRoundRobinLimit:b})})).ok&&x(a=>({...a,stickyRoundRobinLimit:b}))}catch(a){console.error("Failed to update sticky limit:",a)}},au=async a=>{let b=parseInt(a,10);if(!isNaN(b)&&!(b<1))try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({comboStickyRoundRobinLimit:b})})).ok&&x(a=>({...a,comboStickyRoundRobinLimit:b}))}catch(a){console.error("Failed to update combo sticky limit:",a)}},av=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({requireLogin:a})})).ok&&x(b=>({...b,requireLogin:a}))}catch(a){console.error("Failed to update require login:",a)}},aw=(a,b)=>{O(c=>({...c,[a]:b}))},ax=async(a=N.authMode||"password")=>{let b=N.oidcIssuerUrl.trim(),c=N.oidcClientId.trim(),d=N.oidcScopes.trim(),e=N.oidcLoginLabel.trim(),f=P.trim();if("password"!==a&&(!b||!c||!f)&&!w.oidcConfigured)return void S({type:"error",message:"Issuer URL, client ID, and client secret are required to enable OIDC."});U(!0),S({type:"",message:""}),Y({type:"",message:""});try{let g={authMode:a,oidcIssuerUrl:b,oidcClientId:c,oidcScopes:d||"openid profile email",oidcLoginLabel:e||"Sign in with OIDC"};f&&(g.oidcClientSecret=f);let h=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(g)}),i=await h.json();h.ok?(x(a=>({...a,...i})),O({authMode:i?.authMode||a,oidcIssuerUrl:i?.oidcIssuerUrl||b,oidcClientId:i?.oidcClientId||c,oidcScopes:i?.oidcScopes||d||"openid profile email",oidcLoginLabel:i?.oidcLoginLabel||e||"Sign in with OIDC"}),Q(""),S({type:"success",message:"oidc"===a?"OIDC login enabled":"both"===a?"Password and OIDC login enabled":"OIDC settings saved"})):S({type:"error",message:i.error||"Failed to save OIDC settings"})}catch(a){S({type:"error",message:"An error occurred"})}finally{U(!1)}},ay=async()=>{let a=N.oidcIssuerUrl.trim(),b=N.oidcClientId.trim(),c=N.oidcScopes.trim(),d=P.trim();if(!a||!b)return void Y({type:"error",message:"Issuer URL and client ID are required to test the connection."});W(!0),S({type:"",message:""}),Y({type:"",message:""});try{let e=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({authMode:N.authMode||w.authMode||"password",oidcIssuerUrl:a,oidcClientId:b,oidcScopes:c||"openid profile email",oidcLoginLabel:N.oidcLoginLabel.trim()||"Sign in with OIDC",...d?{oidcClientSecret:d}:{}})}),f=await e.json().catch(()=>({}));if(!e.ok)return void Y({type:"error",message:f.error||"Failed to save OIDC settings before testing"});let g=await fetch("/api/auth/oidc/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({issuerUrl:f.oidcIssuerUrl||a,clientId:f.oidcClientId||b,scopes:f.oidcScopes||c||"openid profile email"})}),h=await g.json().catch(()=>({}));if(g.ok&&h?.ok){let a=h.clientSecretTested?!0===h.clientSecretValid?`Connection OK. Discovery loaded from ${h.issuerUrl}. Client secret validated too.`:`Connection OK. Discovery loaded from ${h.issuerUrl}. Client secret was not checked.`:`Connection OK. Discovery loaded from ${h.issuerUrl}.`;Y({type:"success",message:a})}else Y({type:"error",message:h.error||"OIDC connection test failed"})}catch(a){Y({type:"error",message:"An error occurred"})}finally{W(!1)}},az=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({enableObservability:a})})).ok&&x(b=>({...b,enableObservability:a}))}catch(a){console.error("Failed to update enableObservability:",a)}},aA=async()=>{try{let a=await fetch("/api/settings");if(!a.ok)return;let b=await a.json();x(b)}catch(a){console.error("Failed to reload settings:",a)}},aB=async a=>{H(!0),J({type:"",message:""});try{let b=await fetch("/api/settings/database",{headers:{"x-9r-password":a}});if(!b.ok){let a=await b.json().catch(()=>({}));throw Error(a.error||"Failed to export database")}let c=await b.json(),d=JSON.stringify(c,null,2),e=new Blob([d],{type:"application/json"}),f=URL.createObjectURL(e),g=document.createElement("a"),h=new Date().toISOString().replace(/[.:]/g,"-");g.href=f,g.download=`krouter-backup-${h}.json`,document.body.appendChild(g),g.click(),document.body.removeChild(g),URL.revokeObjectURL(f),J({type:"success",message:"Database backup downloaded"})}catch(a){J({type:"error",message:a.message||"Failed to export database"})}finally{H(!1)}},aC=async a=>{let b=M.current;if(b){H(!0);try{let c=await b.text(),d=JSON.parse(c),e=await fetch("/api/settings/database",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...d,password:a})}),f=await e.json().catch(()=>({}));if(!e.ok)throw Error(f.error||"Failed to import database");await aA(),J({type:"success",message:"Database imported successfully"})}catch(a){J({type:"error",message:a.message||"Invalid backup file"})}finally{M.current=null,H(!1)}}},aD=async()=>{let{mode:a,password:b}=K;L({open:!1,mode:"",password:""}),"export"===a?await aB(b):"import"===a&&await aC(b)},aE=!0===w.enableObservability,aF=async()=>{v(!0);try{await fetch("/api/version/shutdown",{method:"POST"})}catch(a){}v(!1),t(!1)},aG=async()=>{try{(await fetch("/api/auth/logout",{method:"POST"})).ok&&(a.push("/login"),a.refresh())}catch(a){console.error("Failed to logout:",a)}};return(0,d.jsxs)("div",{className:"max-w-2xl mx-auto px-4 sm:px-0",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 sm:gap-4",children:[(0,d.jsx)("div",{className:"size-10 sm:size-12 rounded-lg bg-green-500/10 text-green-500 flex items-center justify-center shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-xl sm:text-2xl",children:"computer"})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"text-lg sm:text-xl font-semibold",children:ak?"Remote Mode":"Local Mode"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:ak?"Running on the host you connected to":"Running on your machine"})]})]}),(0,d.jsx)("div",{className:"inline-flex p-1 rounded-lg bg-black/5 dark:bg-white/5 w-full sm:w-auto",children:["light","dark","system"].map(a=>(0,d.jsxs)("button",{type:"button",onClick:()=>c(a),className:(0,k.cn)("flex items-center justify-center gap-1 sm:gap-1.5 px-2 sm:px-3 py-1.5 rounded-md font-medium transition-all flex-1 sm:flex-initial",b===a?"bg-white dark:bg-white/10 text-text-main shadow-sm":"text-text-muted hover:text-text-main"),children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"light"===a?"light_mode":"dark"===a?"dark_mode":"contrast"}),(0,d.jsx)("span",{className:"capitalize text-xs sm:text-sm",children:a})]},a))})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-3 pt-4 border-t border-border",children:[(0,d.jsx)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between p-3 rounded-lg bg-bg border border-border gap-2",children:(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Database Location"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted font-mono break-all",children:"~/.krouter/db/data.sqlite"})]})}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,d.jsx)(g.$n,{variant:"secondary",icon:"download",onClick:()=>L({open:!0,mode:"export",password:""}),loading:G,className:"w-full sm:w-auto",children:"Download Backup"}),(0,d.jsx)(g.$n,{variant:"outline",icon:"upload",onClick:()=>ab.current?.click(),disabled:G,className:"w-full sm:w-auto",children:"Import Backup"}),(0,d.jsx)("input",{ref:ab,type:"file",accept:"application/json,.json",className:"hidden",onChange:a=>{let b=a.target.files?.[0];ab.current&&(ab.current.value=""),b&&(M.current=b,J({type:"",message:""}),L({open:!0,mode:"import",password:""}))}})]}),I.message&&(0,d.jsx)("p",{className:`text-sm ${"error"===I.type?"text-red-500":"text-green-600 dark:text-green-400"}`,children:I.message})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"size-10 rounded-lg bg-blue-500/10 text-blue-500 flex items-center justify-center shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"language"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Language"})]}),(0,d.jsxs)("button",{onClick:()=>r(!0),className:"flex items-center justify-between w-full p-3 rounded-lg bg-bg border border-border hover:border-primary/50 transition-colors","data-i18n-skip":"true",children:[(0,d.jsx)("span",{className:"text-sm text-text-muted",children:"Display language"}),(0,d.jsx)("span",{className:"text-2xl",children:m.h[o]||"\uD83C\uDF10"})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-primary/10 text-primary shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"shield"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Security"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Require login"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"When ON, dashboard requires password. When OFF, access without login."})]}),(0,d.jsx)(g.lM,{checked:!0===w.requireLogin,onChange:()=>av(!w.requireLogin),disabled:y})]}),!0===w.requireLogin&&(0,d.jsxs)("form",{onSubmit:ap,className:"flex flex-col gap-4 pt-4 border-t border-border/50",children:[w.hasPassword&&(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Current Password"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Enter current password",value:A.current,onChange:a=>B({...A,current:a.target.value}),required:!0})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"New Password"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Enter new password",value:A.new,onChange:a=>B({...A,new:a.target.value}),required:!0})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Confirm New Password"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Confirm new password",value:A.confirm,onChange:a=>B({...A,confirm:a.target.value}),required:!0})]})]}),C.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===C.type?"text-red-500":"text-green-500"}`,children:C.message}),(0,d.jsx)("div",{className:"pt-2",children:(0,d.jsx)(g.$n,{type:"submit",variant:"primary",loading:E,className:"w-full sm:w-auto",children:w.hasPassword?"Update Password":"Set Password"})})]})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("button",{type:"button",onClick:()=>aa(a=>!a),className:"w-full flex items-center gap-3 text-left",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-indigo-500/10 text-indigo-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"lock_open"})}),(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"OIDC Dashboard Login"}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"oidc"===w.authMode?"OIDC active":"both"===w.authMode?"Password + OIDC active":"Optional SSO via Authentik/Keycloak/Google"})]}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted shrink-0",children:_?"expand_less":"expand_more"})]}),_&&(0,d.jsxs)("div",{className:"flex flex-col gap-4 mt-4",children:[(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Use Authentik or any OIDC provider to sign in to the dashboard. You can enable password-only, OIDC-only, or both for the dashboard; model API access still uses API keys."}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Auth Mode"}),(0,d.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-2",children:[{value:"password",title:"Password only",desc:"Keep the legacy password login."},{value:"oidc",title:"OIDC only",desc:"Require OIDC for dashboard access."},{value:"both",title:"Both",desc:"Allow either password or OIDC."}].map(a=>{let b=N.authMode===a.value;return(0,d.jsxs)("button",{type:"button",onClick:()=>aw("authMode",a.value),className:(0,k.cn)("text-left rounded-lg border p-3 transition-colors",b?"border-primary bg-primary/5":"border-border bg-bg hover:bg-black/5 dark:hover:bg-white/5"),disabled:y||T,children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:a.title}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted mt-1",children:a.desc})]},a.value)})})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Issuer URL"}),(0,d.jsx)(g.pd,{placeholder:"https://auth.example.com/application/o/krouter/",value:N.oidcIssuerUrl,onChange:a=>aw("oidcIssuerUrl",a.target.value),disabled:y||T})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Client ID"}),(0,d.jsx)(g.pd,{placeholder:"krouter-dashboard",value:N.oidcClientId,onChange:a=>aw("oidcClientId",a.target.value),disabled:y||T})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Client Secret"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Leave blank to keep existing secret",value:P,onChange:a=>Q(a.target.value),disabled:y||T}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"This value is write-only after saving."})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Scopes"}),(0,d.jsx)(g.pd,{placeholder:"openid profile email",value:N.oidcScopes,onChange:a=>aw("oidcScopes",a.target.value),disabled:y||T})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Login Button Label"}),(0,d.jsx)(g.pd,{placeholder:"Sign in with OIDC",value:N.oidcLoginLabel,onChange:a=>aw("oidcLoginLabel",a.target.value),disabled:y||T})]})]}),(0,d.jsxs)("div",{className:"rounded-lg border border-border bg-bg p-3 text-xs sm:text-sm text-text-muted",children:[(0,d.jsx)("p",{className:"font-medium text-text-main mb-1",children:"Redirect URI"}),(0,d.jsx)("code",{className:"block break-all font-mono",children:Z})]}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2 pt-2 border-t border-border/50",children:[(0,d.jsx)(g.$n,{type:"button",variant:"primary",loading:T,onClick:()=>ax(),className:"w-full sm:w-auto",children:"Save auth mode"}),(0,d.jsx)(g.$n,{type:"button",variant:"outline",loading:V,onClick:ay,className:"w-full sm:w-auto",children:"Test connection"})]}),X.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===X.type?"text-red-500":"text-green-500"}`,children:X.message}),R.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===R.type?"text-red-500":"text-green-500"}`,children:R.message}),"oidc"===w.authMode&&(0,d.jsx)("p",{className:"text-xs sm:text-sm text-amber-600 dark:text-amber-400",children:"OIDC login is currently active. Password login is disabled until you switch back."}),"both"===w.authMode&&(0,d.jsx)("p",{className:"text-xs sm:text-sm text-amber-600 dark:text-amber-400",children:"Password and OIDC login are both active."})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-blue-500/10 text-blue-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"route"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Routing Strategy"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Strategy"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"How kRouter picks the next available account"})]}),(0,d.jsx)(g.l6,{value:w.fallbackStrategy||"fill-first",onChange:a=>aq(a.target.value),disabled:y,className:"w-44 sm:w-56 shrink-0",options:[{value:"fill-first",label:"Zenith (default)"},{value:"round-robin",label:"Round Robin"},{value:"p2c",label:"P2C (Power of 2 Choices)"},{value:"random",label:"Random"}]})]}),"round-robin"===w.fallbackStrategy&&(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Sticky Limit"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Calls per account before switching"})]}),(0,d.jsx)(g.pd,{type:"number",min:"1",max:"10",value:w.stickyRoundRobinLimit||3,onChange:a=>at(a.target.value),disabled:y,className:"w-16 sm:w-20 text-center shrink-0"})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-4 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Combo Round Robin"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Rotate which model a combo tries first"})]}),(0,d.jsx)(g.lM,{checked:"round-robin"===w.comboStrategy,onChange:()=>as("round-robin"===w.comboStrategy?"fallback":"round-robin"),disabled:y})]}),"round-robin"===w.comboStrategy&&(0,d.jsxs)("div",{className:"flex items-center justify-between pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium",children:"Combo Sticky Limit"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Calls per combo model before switching"})]}),(0,d.jsx)(g.pd,{type:"number",min:"1",max:"100",value:w.comboStickyRoundRobinLimit||1,onChange:a=>au(a.target.value),disabled:y,className:"w-20 text-center"})]}),(0,d.jsxs)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:["round-robin"===w.fallbackStrategy?`Each account serves ${w.stickyRoundRobinLimit||3} call${1===(w.stickyRoundRobinLimit||3)?"":"s"} in a row, then the least recently used account takes over. Conversations are not pinned to one account.`:("p2c"===w.fallbackStrategy?"Picking the better Zenith score of 2 random accounts (good for load-balancing equal-tier accounts).":"random"===w.fallbackStrategy?"Picking a uniformly random account.":"Zenith scores each account on recent success rate, latency, tracked quota left and its place in the list, and picks the highest score.")+" A conversation keeps the account that answered it until 15 minutes idle, so the provider's prompt cache stays warm. Antigravity uses Round Robin by default whatever is picked here, as does any provider with its own Round Robin switch on.","round-robin"===w.comboStrategy?` Each combo model goes first for ${w.comboStickyRoundRobinLimit||1} call${1===(w.comboStickyRoundRobinLimit||1)?"":"s"} in turn`:" Combos start with their first model",", unless another has more quota left or is needed for an attachment (image, PDF, audio, video)."]})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-purple-500/10 text-purple-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"psychology"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Task-Aware Routing"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Show intent suggestions in logs"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Classify every request as code / math / reasoning / creative / simple (9 languages) and log the suggested combo. Log-only; never overrides your chosen model."})]}),(0,d.jsx)(g.lM,{checked:!1!==w.routingIntelligenceEnabled,onChange:()=>ar("routingIntelligenceEnabled",!1===w.routingIntelligenceEnabled),disabled:y})]}),!1!==w.routingIntelligenceEnabled&&(0,d.jsxs)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:["Active — check the dev console for ",(0,d.jsx)("code",{children:"[ROUTING] intent=X complexity=Y score=N tier=Z"})," lines. Custom intent→combo overrides via ",(0,d.jsx)("code",{children:"taskAwareRouterMap"})," setting (JSON)."]})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-amber-500/10 text-amber-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"emergency"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Emergency Fallback"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Redirect on budget exhaustion"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:'When an upstream returns 402 or "insufficient funds", transparently re-route the request to a free model so the user still gets a response.'})]}),(0,d.jsx)(g.lM,{checked:!!w.emergencyFallbackEnabled,onChange:()=>ar("emergencyFallbackEnabled",!w.emergencyFallbackEnabled),disabled:y})]}),w.emergencyFallbackEnabled&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-3 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Fallback provider"}),(0,d.jsxs)("p",{className:"text-xs sm:text-sm text-text-muted",children:["Provider ID used for the redirect (e.g. ",(0,d.jsx)("code",{children:"nvidia"}),", ",(0,d.jsx)("code",{children:"openrouter"}),", ",(0,d.jsx)("code",{children:"opencode"}),")"]})]}),(0,d.jsx)(g.pd,{type:"text",value:w.emergencyFallbackProvider||"nvidia",onChange:a=>ar("emergencyFallbackProvider",a.target.value.trim()),disabled:y,className:"w-32 sm:w-44 text-center shrink-0",placeholder:"nvidia"})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-3 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Fallback model"}),(0,d.jsxs)("p",{className:"text-xs sm:text-sm text-text-muted",children:["Model ID at that provider. Default ",(0,d.jsx)("code",{children:"openai/gpt-oss-120b"})," is free on NVIDIA NIM."]})]}),(0,d.jsx)(g.pd,{type:"text",value:w.emergencyFallbackModel||"openai/gpt-oss-120b",onChange:a=>ar("emergencyFallbackModel",a.target.value.trim()),disabled:y,className:"w-40 sm:w-56 text-center shrink-0",placeholder:"openai/gpt-oss-120b"})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-3 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Skip for tool requests"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Don't redirect when the request has tools — the free model may not support tool calling."})]}),(0,d.jsx)(g.lM,{checked:!1!==w.emergencyFallbackSkipForTools,onChange:()=>ar("emergencyFallbackSkipForTools",!1===w.emergencyFallbackSkipForTools),disabled:y})]}),(0,d.jsxs)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:["Currently redirecting 402 / budget errors to"," ",(0,d.jsxs)("code",{children:[w.emergencyFallbackProvider||"nvidia","/",w.emergencyFallbackModel||"openai/gpt-oss-120b"]}),"."]})]}),!w.emergencyFallbackEnabled&&(0,d.jsx)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:"Disabled — 402 / budget errors are returned to the user as-is."})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-cyan-500/10 text-cyan-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"database"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Cache Control"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Mode"}),(0,d.jsxs)("p",{className:"text-xs sm:text-sm text-text-muted",children:["Controls whether kRouter mutates ",(0,d.jsx)("code",{children:"cache_control"})," markers on Claude-shape requests. Anthropic's prompt cache is byte-keyed; any mutation busts the cache."]})]}),(0,d.jsxs)("select",{value:w.cacheControlMode||"auto",onChange:a=>ar("cacheControlMode",a.target.value),disabled:y,className:"w-32 sm:w-44 px-3 py-2 text-sm rounded border border-border bg-bg text-text-main shrink-0",children:[(0,d.jsx)("option",{value:"auto",children:"Auto (recommended)"}),(0,d.jsx)("option",{value:"always",children:"Always preserve"}),(0,d.jsx)("option",{value:"never",children:"Never preserve (legacy)"})]})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-3 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Quick toggle"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Got a fresh-turn 429 because your prompt is bigger than your tier's TPM? Click once to switch into legacy trimming, send your first turn, then click again to return to cache-preserve mode."})]}),(0,d.jsx)("button",{type:"button",onClick:()=>ar("cacheControlMode","never"===(w.cacheControlMode||"auto")?"auto":"never"),disabled:y,className:`w-32 sm:w-44 px-3 py-2 text-sm font-medium rounded shrink-0 transition-colors ${"never"===(w.cacheControlMode||"auto")?"bg-amber-500/15 text-amber-600 border border-amber-500/40 hover:bg-amber-500/25":"bg-cyan-500/15 text-cyan-600 border border-cyan-500/40 hover:bg-cyan-500/25"}`,children:"never"===(w.cacheControlMode||"auto")?"Restore cache preserve":"Emergency: trim prompt"})]}),(0,d.jsxs)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:["auto"===(w.cacheControlMode||"auto")&&(0,d.jsxs)(d.Fragment,{children:["Currently ",(0,d.jsx)("strong",{children:"auto"}),": preserves ",(0,d.jsx)("code",{children:"cache_control"})," only on Claude Desktop / Claude Code passthrough (",(0,d.jsx)("code",{children:'clientTool==="claude"'})," & ",(0,d.jsx)("code",{children:'provider==="claude"'}),"). All other paths mutate as before."]}),"always"===w.cacheControlMode&&(0,d.jsxs)(d.Fragment,{children:["Currently ",(0,d.jsx)("strong",{children:"always"}),": preserves ",(0,d.jsx)("code",{children:"cache_control"})," on any Claude-shape target (including ",(0,d.jsx)("code",{children:"anthropic-compatible-*"})," resellers and translated requests). Paranoid mode."]}),"never"===w.cacheControlMode&&(0,d.jsxs)(d.Fragment,{children:["Currently ",(0,d.jsx)("strong",{children:"never"}),": legacy 0.5.31-and-earlier behaviour — always strip and rewrite ",(0,d.jsx)("code",{children:"cache_control"}),". Escape hatch only."]})]})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-purple-500/10 text-purple-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"wifi"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Network"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Outbound Proxy"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Enable proxy for OAuth + provider outbound requests."})]}),(0,d.jsx)(g.lM,{checked:!0===w.outboundProxyEnabled,onChange:()=>ao(!0!==w.outboundProxyEnabled),disabled:y||ag})]}),!0===w.outboundProxyEnabled&&(0,d.jsxs)("form",{onSubmit:am,className:"flex flex-col gap-4 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Proxy URL"}),(0,d.jsx)(g.pd,{placeholder:"http://127.0.0.1:7897",value:ac.outboundProxyUrl,onChange:a=>ad(b=>({...b,outboundProxyUrl:a.target.value})),disabled:y||ag}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Leave empty to inherit existing env proxy (if any)."})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2 pt-2 border-t border-border/50",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"No Proxy"}),(0,d.jsx)(g.pd,{placeholder:"localhost,127.0.0.1",value:ac.outboundNoProxy,onChange:a=>ad(b=>({...b,outboundNoProxy:a.target.value})),disabled:y||ag}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Comma-separated hostnames/domains to bypass the proxy."})]}),(0,d.jsxs)("div",{className:"pt-2 border-t border-border/50 flex flex-col sm:flex-row items-stretch sm:items-center gap-2",children:[(0,d.jsx)(g.$n,{type:"button",variant:"secondary",loading:ai,disabled:y||ag,onClick:an,className:"w-full sm:w-auto",children:"Test proxy URL"}),(0,d.jsx)(g.$n,{type:"submit",variant:"primary",loading:ag,className:"w-full sm:w-auto",children:"Apply"})]})]}),ae.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===ae.type?"text-red-500":"text-green-500"} pt-2 border-t border-border/50`,children:ae.message})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-orange-500/10 text-orange-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"monitoring"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Observability"})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Enable Observability"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Record request details for inspection in the logs view"})]}),(0,d.jsx)(g.lM,{checked:aE,onChange:az,disabled:y})]})]}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,d.jsx)(g.$n,{variant:"outline",fullWidth:!0,icon:"power_settings_new",onClick:()=>t(!0),className:"text-red-500 border-red-200 hover:bg-red-50 hover:border-red-300",children:"Shutdown"}),(0,d.jsx)(g.$n,{variant:"outline",fullWidth:!0,icon:"logout",onClick:aG,children:"Logout"})]}),(0,d.jsxs)("div",{className:"text-center text-xs sm:text-sm text-text-muted py-4",children:[(0,d.jsxs)("p",{children:[l.vQ.name," v",l.vQ.version]}),(0,d.jsx)("p",{className:"mt-1",children:ak?"Remote Mode":"Local Mode - All data stored on your machine"})]})]}),(0,d.jsx)(i.default,{hideTrigger:!0,isOpen:q,onClose:a=>{r(!1),p(a)}}),(0,d.jsx)(h.ConfirmModal,{isOpen:s,onClose:()=>t(!1),onConfirm:aF,title:"Close Proxy",message:"Are you sure you want to close the proxy server?",confirmText:"Close",cancelText:"Cancel",variant:"danger",loading:u}),(0,d.jsxs)(h.default,{isOpen:K.open,onClose:()=>L({open:!1,mode:"",password:""}),title:"Confirm Password",size:"sm",footer:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(g.$n,{variant:"ghost",onClick:()=>L({open:!1,mode:"",password:""}),disabled:G,children:"Cancel"}),(0,d.jsx)(g.$n,{variant:"primary",onClick:aD,loading:G,disabled:!K.password,children:"Confirm"})]}),children:[(0,d.jsxs)("p",{className:"text-text-muted mb-3 text-sm",children:["Enter your current password to ","export"===K.mode?"export":"import"," the database."]}),(0,d.jsx)(g.pd,{type:"password",value:K.password,onChange:a=>L(b=>({...b,password:a.target.value})),onKeyDown:a=>{"Enter"===a.key&&K.password&&aD()},placeholder:"Current password",autoFocus:!0})]})]})}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},71622:a=>{"use strict";a.exports=import("open")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},73496:a=>{"use strict";a.exports=require("http2")},74075:a=>{"use strict";a.exports=require("zlib")},74774:(a,b,c)=>{Promise.resolve().then(c.bind(c,50047))},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78474:a=>{"use strict";a.exports=require("node:events")},79646:a=>{"use strict";a.exports=require("child_process")},80099:a=>{"use strict";a.exports=require("node:sqlite")},81630:a=>{"use strict";a.exports=require("http")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},82309:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>w,handler:()=>y,routeModule:()=>x});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,50385))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,30508))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),r=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),s=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),t=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),u={children:["",{children:["(dashboard)",{children:["dashboard",{children:["profile",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,50047))),"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/profile/page.js"]}]},{"global-error":[t,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[s,"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[n,"/home/runner/work/krouter/krouter/src/app/(dashboard)/layout.js"],"global-error":[o,"next/dist/client/components/builtin/global-error.js"],"not-found":[p,"next/dist/client/components/builtin/not-found.js"],forbidden:[q,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[r,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"/home/runner/work/krouter/krouter/src/app/layout.js"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,v=(0,e.H)({tree:u,page:"/(dashboard)/dashboard/profile/page",pathname:"/dashboard/profile",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),w=v.__next_app__,x=v.routeModule,y=v.handler},83997:a=>{"use strict";a.exports=require("tty")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},87997:a=>{"use strict";a.exports=require("node:timers")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,7774,5433,4380,2430,5030,1344,4884,4404,5024,5681,4315,8590,2557,3120,1450,8335,5330,8895,6182,6457,1738,412,7516],()=>b(b.s=82309));module.exports=c})();
|
|
1
|
+
(()=>{var a={};a.id=3471,a.ids=[3471],a.modules={643:a=>{"use strict";a.exports=require("node:perf_hooks")},1708:a=>{"use strict";a.exports=require("node:process")},1932:a=>{"use strict";a.exports=require("url")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{"use strict";a.exports=require("node:buffer")},7066:a=>{"use strict";a.exports=require("node:tty")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11945:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>w,handler:()=>y,routeModule:()=>x});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,50385))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,30508))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),r=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),s=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),t=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),u={children:["",{children:["(dashboard)",{children:["dashboard",{children:["profile",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,50047))),"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/profile/page.js"]}]},{"global-error":[t,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[s,"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[n,"/home/runner/work/krouter/krouter/src/app/(dashboard)/layout.js"],"global-error":[o,"next/dist/client/components/builtin/global-error.js"],"not-found":[p,"next/dist/client/components/builtin/not-found.js"],forbidden:[q,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[r,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"/home/runner/work/krouter/krouter/src/app/layout.js"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,v=(0,e.H)({tree:u,page:"/(dashboard)/dashboard/profile/page",pathname:"/dashboard/profile",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),w=v.__next_app__,x=v.routeModule,y=v.handler},14686:(a,b,c)=>{Promise.resolve().then(c.bind(c,61377))},14985:a=>{"use strict";a.exports=require("dns")},16698:a=>{"use strict";a.exports=require("node:async_hooks")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32467:a=>{"use strict";a.exports=require("node:http2")},33873:a=>{"use strict";a.exports=require("path")},34589:a=>{"use strict";a.exports=require("node:assert")},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},38522:a=>{"use strict";a.exports=require("node:zlib")},40610:a=>{"use strict";a.exports=require("node:dns")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},50047:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/profile/page.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/krouter/krouter/src/app/(dashboard)/dashboard/profile/page.js","default")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},57075:a=>{"use strict";a.exports=require("node:stream")},57975:a=>{"use strict";a.exports=require("node:util")},61377:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>n});var d=c(48249),e=c(67484),f=c(19099),g=c(50412),h=c(95145),i=c(267),j=c(42118),k=c(71404),l=c(12020);c(51126);var m=c(818);function n(){let a=(0,f.useRouter)(),{theme:b,setTheme:c,isDark:n}=(0,j.D)(),[o,p]=(0,e.useState)("en"),[q,r]=(0,e.useState)(!1),[s,t]=(0,e.useState)(!1),[u,v]=(0,e.useState)(!1),[w,x]=(0,e.useState)({fallbackStrategy:"fill-first"}),[y,z]=(0,e.useState)(!0),[A,B]=(0,e.useState)({current:"",new:"",confirm:""}),[C,D]=(0,e.useState)({type:"",message:""}),[E,F]=(0,e.useState)(!1),[G,H]=(0,e.useState)(!1),[I,J]=(0,e.useState)({type:"",message:""}),[K,L]=(0,e.useState)({open:!1,mode:"",password:""}),M=(0,e.useRef)(null),[N,O]=(0,e.useState)({authMode:"password",oidcIssuerUrl:"",oidcClientId:"",oidcScopes:"openid profile email",oidcLoginLabel:"Sign in with OIDC"}),[P,Q]=(0,e.useState)(""),[R,S]=(0,e.useState)({type:"",message:""}),[T,U]=(0,e.useState)(!1),[V,W]=(0,e.useState)(!1),[X,Y]=(0,e.useState)({type:"",message:""}),[Z,$]=(0,e.useState)("/api/auth/oidc/callback"),[_,aa]=(0,e.useState)(!1),ab=(0,e.useRef)(null),[ac,ad]=(0,e.useState)({outboundProxyEnabled:!1,outboundProxyUrl:"",outboundNoProxy:""}),[ae,af]=(0,e.useState)({type:"",message:""}),[ag,ah]=(0,e.useState)(!1),[ai,aj]=(0,e.useState)(!1),[ak,al]=(0,e.useState)(!0),am=async a=>{if(a.preventDefault(),!0===w.outboundProxyEnabled){ah(!0),af({type:"",message:""});try{let a=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({outboundProxyUrl:ac.outboundProxyUrl,outboundNoProxy:ac.outboundNoProxy})}),b=await a.json();a.ok?(x(a=>({...a,...b})),af({type:"success",message:"Proxy settings applied"})):af({type:"error",message:b.error||"Failed to update proxy settings"})}catch(a){af({type:"error",message:"An error occurred"})}finally{ah(!1)}}},an=async()=>{if(!0!==w.outboundProxyEnabled)return;let a=(ac.outboundProxyUrl||"").trim();if(!a)return void af({type:"error",message:"Please enter a Proxy URL to test"});aj(!0),af({type:"",message:""});try{let b=await fetch("/api/settings/proxy-test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({proxyUrl:a})}),c=await b.json();b.ok&&c?.ok?af({type:"success",message:`Proxy test OK (${c.status}) in ${c.elapsedMs}ms`}):af({type:"error",message:c?.error||"Proxy test failed"})}catch(a){af({type:"error",message:"An error occurred"})}finally{aj(!1)}},ao=async a=>{ah(!0),af({type:"",message:""});try{let b=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({outboundProxyEnabled:a})}),c=await b.json();b.ok?(x(a=>({...a,...c})),ad(a=>({...a,outboundProxyEnabled:c?.outboundProxyEnabled===!0})),af({type:"success",message:a?"Proxy enabled":"Proxy disabled"})):af({type:"error",message:c.error||"Failed to update proxy settings"})}catch(a){af({type:"error",message:"An error occurred"})}finally{ah(!1)}},ap=async a=>{if(a.preventDefault(),A.new!==A.confirm)return void D({type:"error",message:"Passwords do not match"});F(!0),D({type:"",message:""});try{let a=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({currentPassword:A.current,newPassword:A.new})}),b=await a.json();a.ok?(D({type:"success",message:"Password updated successfully"}),B({current:"",new:"",confirm:""})):D({type:"error",message:b.error||"Failed to update password"})}catch(a){D({type:"error",message:"An error occurred"})}finally{F(!1)}},aq=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({fallbackStrategy:a})})).ok&&x(b=>({...b,fallbackStrategy:a}))}catch(a){console.error("Failed to update settings:",a)}},ar=async(a,b)=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({[a]:b})})).ok&&x(c=>({...c,[a]:b}))}catch(b){console.error(`Failed to update ${a}:`,b)}},as=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({comboStrategy:a})})).ok&&x(b=>({...b,comboStrategy:a}))}catch(a){console.error("Failed to update combo strategy:",a)}},at=async a=>{let b=parseInt(a,10);if(!isNaN(b)&&!(b<1))try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({stickyRoundRobinLimit:b})})).ok&&x(a=>({...a,stickyRoundRobinLimit:b}))}catch(a){console.error("Failed to update sticky limit:",a)}},au=async a=>{let b=parseInt(a,10);if(!isNaN(b)&&!(b<1))try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({comboStickyRoundRobinLimit:b})})).ok&&x(a=>({...a,comboStickyRoundRobinLimit:b}))}catch(a){console.error("Failed to update combo sticky limit:",a)}},av=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({requireLogin:a})})).ok&&x(b=>({...b,requireLogin:a}))}catch(a){console.error("Failed to update require login:",a)}},aw=(a,b)=>{O(c=>({...c,[a]:b}))},ax=async(a=N.authMode||"password")=>{let b=N.oidcIssuerUrl.trim(),c=N.oidcClientId.trim(),d=N.oidcScopes.trim(),e=N.oidcLoginLabel.trim(),f=P.trim();if("password"!==a&&(!b||!c||!f)&&!w.oidcConfigured)return void S({type:"error",message:"Issuer URL, client ID, and client secret are required to enable OIDC."});U(!0),S({type:"",message:""}),Y({type:"",message:""});try{let g={authMode:a,oidcIssuerUrl:b,oidcClientId:c,oidcScopes:d||"openid profile email",oidcLoginLabel:e||"Sign in with OIDC"};f&&(g.oidcClientSecret=f);let h=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(g)}),i=await h.json();h.ok?(x(a=>({...a,...i})),O({authMode:i?.authMode||a,oidcIssuerUrl:i?.oidcIssuerUrl||b,oidcClientId:i?.oidcClientId||c,oidcScopes:i?.oidcScopes||d||"openid profile email",oidcLoginLabel:i?.oidcLoginLabel||e||"Sign in with OIDC"}),Q(""),S({type:"success",message:"oidc"===a?"OIDC login enabled":"both"===a?"Password and OIDC login enabled":"OIDC settings saved"})):S({type:"error",message:i.error||"Failed to save OIDC settings"})}catch(a){S({type:"error",message:"An error occurred"})}finally{U(!1)}},ay=async()=>{let a=N.oidcIssuerUrl.trim(),b=N.oidcClientId.trim(),c=N.oidcScopes.trim(),d=P.trim();if(!a||!b)return void Y({type:"error",message:"Issuer URL and client ID are required to test the connection."});W(!0),S({type:"",message:""}),Y({type:"",message:""});try{let e=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({authMode:N.authMode||w.authMode||"password",oidcIssuerUrl:a,oidcClientId:b,oidcScopes:c||"openid profile email",oidcLoginLabel:N.oidcLoginLabel.trim()||"Sign in with OIDC",...d?{oidcClientSecret:d}:{}})}),f=await e.json().catch(()=>({}));if(!e.ok)return void Y({type:"error",message:f.error||"Failed to save OIDC settings before testing"});let g=await fetch("/api/auth/oidc/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({issuerUrl:f.oidcIssuerUrl||a,clientId:f.oidcClientId||b,scopes:f.oidcScopes||c||"openid profile email"})}),h=await g.json().catch(()=>({}));if(g.ok&&h?.ok){let a=h.clientSecretTested?!0===h.clientSecretValid?`Connection OK. Discovery loaded from ${h.issuerUrl}. Client secret validated too.`:`Connection OK. Discovery loaded from ${h.issuerUrl}. Client secret was not checked.`:`Connection OK. Discovery loaded from ${h.issuerUrl}.`;Y({type:"success",message:a})}else Y({type:"error",message:h.error||"OIDC connection test failed"})}catch(a){Y({type:"error",message:"An error occurred"})}finally{W(!1)}},az=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({enableObservability:a})})).ok&&x(b=>({...b,enableObservability:a}))}catch(a){console.error("Failed to update enableObservability:",a)}},aA=async()=>{try{let a=await fetch("/api/settings");if(!a.ok)return;let b=await a.json();x(b)}catch(a){console.error("Failed to reload settings:",a)}},aB=async a=>{H(!0),J({type:"",message:""});try{let b=await fetch("/api/settings/database",{headers:{"x-9r-password":a}});if(!b.ok){let a=await b.json().catch(()=>({}));throw Error(a.error||"Failed to export database")}let c=await b.json(),d=JSON.stringify(c,null,2),e=new Blob([d],{type:"application/json"}),f=URL.createObjectURL(e),g=document.createElement("a"),h=new Date().toISOString().replace(/[.:]/g,"-");g.href=f,g.download=`krouter-backup-${h}.json`,document.body.appendChild(g),g.click(),document.body.removeChild(g),URL.revokeObjectURL(f),J({type:"success",message:"Database backup downloaded"})}catch(a){J({type:"error",message:a.message||"Failed to export database"})}finally{H(!1)}},aC=async a=>{let b=M.current;if(b){H(!0);try{let c=await b.text(),d=JSON.parse(c),e=await fetch("/api/settings/database",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...d,password:a})}),f=await e.json().catch(()=>({}));if(!e.ok)throw Error(f.error||"Failed to import database");await aA(),J({type:"success",message:"Database imported successfully"})}catch(a){J({type:"error",message:a.message||"Invalid backup file"})}finally{M.current=null,H(!1)}}},aD=async()=>{let{mode:a,password:b}=K;L({open:!1,mode:"",password:""}),"export"===a?await aB(b):"import"===a&&await aC(b)},aE=!0===w.enableObservability,aF=async()=>{v(!0);try{await fetch("/api/version/shutdown",{method:"POST"})}catch(a){}v(!1),t(!1)},aG=async()=>{try{(await fetch("/api/auth/logout",{method:"POST"})).ok&&(a.push("/login"),a.refresh())}catch(a){console.error("Failed to logout:",a)}};return(0,d.jsxs)("div",{className:"max-w-2xl mx-auto px-4 sm:px-0",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 sm:gap-4",children:[(0,d.jsx)("div",{className:"size-10 sm:size-12 rounded-lg bg-green-500/10 text-green-500 flex items-center justify-center shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-xl sm:text-2xl",children:"computer"})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"text-lg sm:text-xl font-semibold",children:ak?"Remote Mode":"Local Mode"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:ak?"Running on the host you connected to":"Running on your machine"})]})]}),(0,d.jsx)("div",{className:"inline-flex p-1 rounded-lg bg-black/5 dark:bg-white/5 w-full sm:w-auto",children:["light","dark","system"].map(a=>(0,d.jsxs)("button",{type:"button",onClick:()=>c(a),className:(0,k.cn)("flex items-center justify-center gap-1 sm:gap-1.5 px-2 sm:px-3 py-1.5 rounded-md font-medium transition-all flex-1 sm:flex-initial",b===a?"bg-white dark:bg-white/10 text-text-main shadow-sm":"text-text-muted hover:text-text-main"),children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"light"===a?"light_mode":"dark"===a?"dark_mode":"contrast"}),(0,d.jsx)("span",{className:"capitalize text-xs sm:text-sm",children:a})]},a))})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-3 pt-4 border-t border-border",children:[(0,d.jsx)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between p-3 rounded-lg bg-bg border border-border gap-2",children:(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Database Location"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted font-mono break-all",children:"~/.krouter/db/data.sqlite"})]})}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,d.jsx)(g.$n,{variant:"secondary",icon:"download",onClick:()=>L({open:!0,mode:"export",password:""}),loading:G,className:"w-full sm:w-auto",children:"Download Backup"}),(0,d.jsx)(g.$n,{variant:"outline",icon:"upload",onClick:()=>ab.current?.click(),disabled:G,className:"w-full sm:w-auto",children:"Import Backup"}),(0,d.jsx)("input",{ref:ab,type:"file",accept:"application/json,.json",className:"hidden",onChange:a=>{let b=a.target.files?.[0];ab.current&&(ab.current.value=""),b&&(M.current=b,J({type:"",message:""}),L({open:!0,mode:"import",password:""}))}})]}),I.message&&(0,d.jsx)("p",{className:`text-sm ${"error"===I.type?"text-red-500":"text-green-600 dark:text-green-400"}`,children:I.message})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"size-10 rounded-lg bg-blue-500/10 text-blue-500 flex items-center justify-center shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"language"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Language"})]}),(0,d.jsxs)("button",{onClick:()=>r(!0),className:"flex items-center justify-between w-full p-3 rounded-lg bg-bg border border-border hover:border-primary/50 transition-colors","data-i18n-skip":"true",children:[(0,d.jsx)("span",{className:"text-sm text-text-muted",children:"Display language"}),(0,d.jsx)("span",{className:"text-2xl",children:m.h[o]||"\uD83C\uDF10"})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-primary/10 text-primary shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"shield"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Security"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Require login"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"When ON, dashboard requires password. When OFF, access without login."})]}),(0,d.jsx)(g.lM,{checked:!0===w.requireLogin,onChange:()=>av(!w.requireLogin),disabled:y})]}),!0===w.requireLogin&&(0,d.jsxs)("form",{onSubmit:ap,className:"flex flex-col gap-4 pt-4 border-t border-border/50",children:[w.hasPassword&&(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Current Password"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Enter current password",value:A.current,onChange:a=>B({...A,current:a.target.value}),required:!0})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"New Password"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Enter new password",value:A.new,onChange:a=>B({...A,new:a.target.value}),required:!0})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Confirm New Password"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Confirm new password",value:A.confirm,onChange:a=>B({...A,confirm:a.target.value}),required:!0})]})]}),C.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===C.type?"text-red-500":"text-green-500"}`,children:C.message}),(0,d.jsx)("div",{className:"pt-2",children:(0,d.jsx)(g.$n,{type:"submit",variant:"primary",loading:E,className:"w-full sm:w-auto",children:w.hasPassword?"Update Password":"Set Password"})})]})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("button",{type:"button",onClick:()=>aa(a=>!a),className:"w-full flex items-center gap-3 text-left",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-indigo-500/10 text-indigo-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"lock_open"})}),(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"OIDC Dashboard Login"}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"oidc"===w.authMode?"OIDC active":"both"===w.authMode?"Password + OIDC active":"Optional SSO via Authentik/Keycloak/Google"})]}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted shrink-0",children:_?"expand_less":"expand_more"})]}),_&&(0,d.jsxs)("div",{className:"flex flex-col gap-4 mt-4",children:[(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Use Authentik or any OIDC provider to sign in to the dashboard. You can enable password-only, OIDC-only, or both for the dashboard; model API access still uses API keys."}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Auth Mode"}),(0,d.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-2",children:[{value:"password",title:"Password only",desc:"Keep the legacy password login."},{value:"oidc",title:"OIDC only",desc:"Require OIDC for dashboard access."},{value:"both",title:"Both",desc:"Allow either password or OIDC."}].map(a=>{let b=N.authMode===a.value;return(0,d.jsxs)("button",{type:"button",onClick:()=>aw("authMode",a.value),className:(0,k.cn)("text-left rounded-lg border p-3 transition-colors",b?"border-primary bg-primary/5":"border-border bg-bg hover:bg-black/5 dark:hover:bg-white/5"),disabled:y||T,children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:a.title}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted mt-1",children:a.desc})]},a.value)})})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Issuer URL"}),(0,d.jsx)(g.pd,{placeholder:"https://auth.example.com/application/o/krouter/",value:N.oidcIssuerUrl,onChange:a=>aw("oidcIssuerUrl",a.target.value),disabled:y||T})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Client ID"}),(0,d.jsx)(g.pd,{placeholder:"krouter-dashboard",value:N.oidcClientId,onChange:a=>aw("oidcClientId",a.target.value),disabled:y||T})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Client Secret"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Leave blank to keep existing secret",value:P,onChange:a=>Q(a.target.value),disabled:y||T}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"This value is write-only after saving."})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Scopes"}),(0,d.jsx)(g.pd,{placeholder:"openid profile email",value:N.oidcScopes,onChange:a=>aw("oidcScopes",a.target.value),disabled:y||T})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Login Button Label"}),(0,d.jsx)(g.pd,{placeholder:"Sign in with OIDC",value:N.oidcLoginLabel,onChange:a=>aw("oidcLoginLabel",a.target.value),disabled:y||T})]})]}),(0,d.jsxs)("div",{className:"rounded-lg border border-border bg-bg p-3 text-xs sm:text-sm text-text-muted",children:[(0,d.jsx)("p",{className:"font-medium text-text-main mb-1",children:"Redirect URI"}),(0,d.jsx)("code",{className:"block break-all font-mono",children:Z})]}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2 pt-2 border-t border-border/50",children:[(0,d.jsx)(g.$n,{type:"button",variant:"primary",loading:T,onClick:()=>ax(),className:"w-full sm:w-auto",children:"Save auth mode"}),(0,d.jsx)(g.$n,{type:"button",variant:"outline",loading:V,onClick:ay,className:"w-full sm:w-auto",children:"Test connection"})]}),X.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===X.type?"text-red-500":"text-green-500"}`,children:X.message}),R.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===R.type?"text-red-500":"text-green-500"}`,children:R.message}),"oidc"===w.authMode&&(0,d.jsx)("p",{className:"text-xs sm:text-sm text-amber-600 dark:text-amber-400",children:"OIDC login is currently active. Password login is disabled until you switch back."}),"both"===w.authMode&&(0,d.jsx)("p",{className:"text-xs sm:text-sm text-amber-600 dark:text-amber-400",children:"Password and OIDC login are both active."})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-blue-500/10 text-blue-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"route"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Routing Strategy"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Strategy"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"How kRouter picks the next available account"})]}),(0,d.jsx)(g.l6,{value:w.fallbackStrategy||"fill-first",onChange:a=>aq(a.target.value),disabled:y,className:"w-44 sm:w-56 shrink-0",options:[{value:"fill-first",label:"Zenith (default)"},{value:"round-robin",label:"Round Robin"},{value:"p2c",label:"P2C (Power of 2 Choices)"},{value:"random",label:"Random"}]})]}),"round-robin"===w.fallbackStrategy&&(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Sticky Limit"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Calls per account before switching"})]}),(0,d.jsx)(g.pd,{type:"number",min:"1",max:"10",value:w.stickyRoundRobinLimit||3,onChange:a=>at(a.target.value),disabled:y,className:"w-16 sm:w-20 text-center shrink-0"})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-4 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Combo Round Robin"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Rotate which model a combo tries first"})]}),(0,d.jsx)(g.lM,{checked:"round-robin"===w.comboStrategy,onChange:()=>as("round-robin"===w.comboStrategy?"fallback":"round-robin"),disabled:y})]}),"round-robin"===w.comboStrategy&&(0,d.jsxs)("div",{className:"flex items-center justify-between pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium",children:"Combo Sticky Limit"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Calls per combo model before switching"})]}),(0,d.jsx)(g.pd,{type:"number",min:"1",max:"100",value:w.comboStickyRoundRobinLimit||1,onChange:a=>au(a.target.value),disabled:y,className:"w-20 text-center"})]}),(0,d.jsxs)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:["round-robin"===w.fallbackStrategy?`Each account serves ${w.stickyRoundRobinLimit||3} call${1===(w.stickyRoundRobinLimit||3)?"":"s"} in a row, then the least recently used account takes over. Conversations are not pinned to one account.`:("p2c"===w.fallbackStrategy?"Picking the better Zenith score of 2 random accounts (good for load-balancing equal-tier accounts).":"random"===w.fallbackStrategy?"Picking a uniformly random account.":"Zenith scores each account on recent success rate, latency, tracked quota left and its place in the list, and picks the highest score.")+" A conversation keeps the account that answered it until 15 minutes idle, so the provider's prompt cache stays warm. Antigravity uses Round Robin by default whatever is picked here, as does any provider with its own Round Robin switch on.","round-robin"===w.comboStrategy?` Each combo model goes first for ${w.comboStickyRoundRobinLimit||1} call${1===(w.comboStickyRoundRobinLimit||1)?"":"s"} in turn`:" Combos start with their first model",", unless another has more quota left or is needed for an attachment (image, PDF, audio, video)."]})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-purple-500/10 text-purple-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"psychology"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Task-Aware Routing"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Show intent suggestions in logs"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Classify every request as code / math / reasoning / creative / simple (9 languages) and log the suggested combo. Log-only; never overrides your chosen model."})]}),(0,d.jsx)(g.lM,{checked:!1!==w.routingIntelligenceEnabled,onChange:()=>ar("routingIntelligenceEnabled",!1===w.routingIntelligenceEnabled),disabled:y})]}),!1!==w.routingIntelligenceEnabled&&(0,d.jsxs)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:["Active — check the dev console for ",(0,d.jsx)("code",{children:"[ROUTING] intent=X complexity=Y score=N tier=Z"})," lines. Custom intent→combo overrides via ",(0,d.jsx)("code",{children:"taskAwareRouterMap"})," setting (JSON)."]})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-amber-500/10 text-amber-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"emergency"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Emergency Fallback"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Redirect on budget exhaustion"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:'When an upstream returns 402 or "insufficient funds", transparently re-route the request to a free model so the user still gets a response.'})]}),(0,d.jsx)(g.lM,{checked:!!w.emergencyFallbackEnabled,onChange:()=>ar("emergencyFallbackEnabled",!w.emergencyFallbackEnabled),disabled:y})]}),w.emergencyFallbackEnabled&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-3 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Fallback provider"}),(0,d.jsxs)("p",{className:"text-xs sm:text-sm text-text-muted",children:["Provider ID used for the redirect (e.g. ",(0,d.jsx)("code",{children:"nvidia"}),", ",(0,d.jsx)("code",{children:"openrouter"}),", ",(0,d.jsx)("code",{children:"opencode"}),")"]})]}),(0,d.jsx)(g.pd,{type:"text",value:w.emergencyFallbackProvider||"nvidia",onChange:a=>ar("emergencyFallbackProvider",a.target.value.trim()),disabled:y,className:"w-32 sm:w-44 text-center shrink-0",placeholder:"nvidia"})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-3 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Fallback model"}),(0,d.jsxs)("p",{className:"text-xs sm:text-sm text-text-muted",children:["Model ID at that provider. Default ",(0,d.jsx)("code",{children:"openai/gpt-oss-120b"})," is free on NVIDIA NIM."]})]}),(0,d.jsx)(g.pd,{type:"text",value:w.emergencyFallbackModel||"openai/gpt-oss-120b",onChange:a=>ar("emergencyFallbackModel",a.target.value.trim()),disabled:y,className:"w-40 sm:w-56 text-center shrink-0",placeholder:"openai/gpt-oss-120b"})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-3 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Skip for tool requests"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Don't redirect when the request has tools — the free model may not support tool calling."})]}),(0,d.jsx)(g.lM,{checked:!1!==w.emergencyFallbackSkipForTools,onChange:()=>ar("emergencyFallbackSkipForTools",!1===w.emergencyFallbackSkipForTools),disabled:y})]}),(0,d.jsxs)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:["Currently redirecting 402 / budget errors to"," ",(0,d.jsxs)("code",{children:[w.emergencyFallbackProvider||"nvidia","/",w.emergencyFallbackModel||"openai/gpt-oss-120b"]}),"."]})]}),!w.emergencyFallbackEnabled&&(0,d.jsx)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:"Disabled — 402 / budget errors are returned to the user as-is."})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-cyan-500/10 text-cyan-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"database"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Cache Control"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Mode"}),(0,d.jsxs)("p",{className:"text-xs sm:text-sm text-text-muted",children:["Controls whether kRouter mutates ",(0,d.jsx)("code",{children:"cache_control"})," markers on Claude-shape requests. Anthropic's prompt cache is byte-keyed; any mutation busts the cache."]})]}),(0,d.jsxs)("select",{value:w.cacheControlMode||"auto",onChange:a=>ar("cacheControlMode",a.target.value),disabled:y,className:"w-32 sm:w-44 px-3 py-2 text-sm rounded border border-border bg-bg text-text-main shrink-0",children:[(0,d.jsx)("option",{value:"auto",children:"Auto (recommended)"}),(0,d.jsx)("option",{value:"always",children:"Always preserve"}),(0,d.jsx)("option",{value:"never",children:"Never preserve (legacy)"})]})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-3 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Quick toggle"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Got a fresh-turn 429 because your prompt is bigger than your tier's TPM? Click once to switch into legacy trimming, send your first turn, then click again to return to cache-preserve mode."})]}),(0,d.jsx)("button",{type:"button",onClick:()=>ar("cacheControlMode","never"===(w.cacheControlMode||"auto")?"auto":"never"),disabled:y,className:`w-32 sm:w-44 px-3 py-2 text-sm font-medium rounded shrink-0 transition-colors ${"never"===(w.cacheControlMode||"auto")?"bg-amber-500/15 text-amber-600 border border-amber-500/40 hover:bg-amber-500/25":"bg-cyan-500/15 text-cyan-600 border border-cyan-500/40 hover:bg-cyan-500/25"}`,children:"never"===(w.cacheControlMode||"auto")?"Restore cache preserve":"Emergency: trim prompt"})]}),(0,d.jsxs)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:["auto"===(w.cacheControlMode||"auto")&&(0,d.jsxs)(d.Fragment,{children:["Currently ",(0,d.jsx)("strong",{children:"auto"}),": preserves ",(0,d.jsx)("code",{children:"cache_control"})," only on Claude Desktop / Claude Code passthrough (",(0,d.jsx)("code",{children:'clientTool==="claude"'})," & ",(0,d.jsx)("code",{children:'provider==="claude"'}),"). All other paths mutate as before."]}),"always"===w.cacheControlMode&&(0,d.jsxs)(d.Fragment,{children:["Currently ",(0,d.jsx)("strong",{children:"always"}),": preserves ",(0,d.jsx)("code",{children:"cache_control"})," on any Claude-shape target (including ",(0,d.jsx)("code",{children:"anthropic-compatible-*"})," resellers and translated requests). Paranoid mode."]}),"never"===w.cacheControlMode&&(0,d.jsxs)(d.Fragment,{children:["Currently ",(0,d.jsx)("strong",{children:"never"}),": legacy 0.5.31-and-earlier behaviour — always strip and rewrite ",(0,d.jsx)("code",{children:"cache_control"}),". Escape hatch only."]})]})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-purple-500/10 text-purple-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"wifi"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Network"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Outbound Proxy"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Enable proxy for OAuth + provider outbound requests."})]}),(0,d.jsx)(g.lM,{checked:!0===w.outboundProxyEnabled,onChange:()=>ao(!0!==w.outboundProxyEnabled),disabled:y||ag})]}),!0===w.outboundProxyEnabled&&(0,d.jsxs)("form",{onSubmit:am,className:"flex flex-col gap-4 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Proxy URL"}),(0,d.jsx)(g.pd,{placeholder:"http://127.0.0.1:7897",value:ac.outboundProxyUrl,onChange:a=>ad(b=>({...b,outboundProxyUrl:a.target.value})),disabled:y||ag}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Leave empty to inherit existing env proxy (if any)."})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2 pt-2 border-t border-border/50",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"No Proxy"}),(0,d.jsx)(g.pd,{placeholder:"localhost,127.0.0.1",value:ac.outboundNoProxy,onChange:a=>ad(b=>({...b,outboundNoProxy:a.target.value})),disabled:y||ag}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Comma-separated hostnames/domains to bypass the proxy."})]}),(0,d.jsxs)("div",{className:"pt-2 border-t border-border/50 flex flex-col sm:flex-row items-stretch sm:items-center gap-2",children:[(0,d.jsx)(g.$n,{type:"button",variant:"secondary",loading:ai,disabled:y||ag,onClick:an,className:"w-full sm:w-auto",children:"Test proxy URL"}),(0,d.jsx)(g.$n,{type:"submit",variant:"primary",loading:ag,className:"w-full sm:w-auto",children:"Apply"})]})]}),ae.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===ae.type?"text-red-500":"text-green-500"} pt-2 border-t border-border/50`,children:ae.message})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-orange-500/10 text-orange-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"monitoring"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Observability"})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Enable Observability"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Record request details for inspection in the logs view"})]}),(0,d.jsx)(g.lM,{checked:aE,onChange:az,disabled:y})]})]}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,d.jsx)(g.$n,{variant:"outline",fullWidth:!0,icon:"power_settings_new",onClick:()=>t(!0),className:"text-red-500 border-red-200 hover:bg-red-50 hover:border-red-300",children:"Shutdown"}),(0,d.jsx)(g.$n,{variant:"outline",fullWidth:!0,icon:"logout",onClick:aG,children:"Logout"})]}),(0,d.jsxs)("div",{className:"text-center text-xs sm:text-sm text-text-muted py-4",children:[(0,d.jsxs)("p",{children:[l.vQ.name," v",l.vQ.version]}),(0,d.jsx)("p",{className:"mt-1",children:ak?"Remote Mode":"Local Mode - All data stored on your machine"})]})]}),(0,d.jsx)(i.default,{hideTrigger:!0,isOpen:q,onClose:a=>{r(!1),p(a)}}),(0,d.jsx)(h.ConfirmModal,{isOpen:s,onClose:()=>t(!1),onConfirm:aF,title:"Close Proxy",message:"Are you sure you want to close the proxy server?",confirmText:"Close",cancelText:"Cancel",variant:"danger",loading:u}),(0,d.jsxs)(h.default,{isOpen:K.open,onClose:()=>L({open:!1,mode:"",password:""}),title:"Confirm Password",size:"sm",footer:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(g.$n,{variant:"ghost",onClick:()=>L({open:!1,mode:"",password:""}),disabled:G,children:"Cancel"}),(0,d.jsx)(g.$n,{variant:"primary",onClick:aD,loading:G,disabled:!K.password,children:"Confirm"})]}),children:[(0,d.jsxs)("p",{className:"text-text-muted mb-3 text-sm",children:["Enter your current password to ","export"===K.mode?"export":"import"," the database."]}),(0,d.jsx)(g.pd,{type:"password",value:K.password,onChange:a=>L(b=>({...b,password:a.target.value})),onKeyDown:a=>{"Enter"===a.key&&K.password&&aD()},placeholder:"Current password",autoFocus:!0})]})]})}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},71622:a=>{"use strict";a.exports=import("open")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},73496:a=>{"use strict";a.exports=require("http2")},74075:a=>{"use strict";a.exports=require("zlib")},74774:(a,b,c)=>{Promise.resolve().then(c.bind(c,50047))},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78474:a=>{"use strict";a.exports=require("node:events")},79646:a=>{"use strict";a.exports=require("child_process")},80099:a=>{"use strict";a.exports=require("node:sqlite")},81630:a=>{"use strict";a.exports=require("http")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},83997:a=>{"use strict";a.exports=require("tty")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},87997:a=>{"use strict";a.exports=require("node:timers")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,7774,5433,4380,2430,5030,1344,4884,4404,5024,5681,4315,8590,2557,3120,1450,8335,5330,8895,6182,6457,1738,412,7516],()=>b(b.s=11945));module.exports=c})();
|