@sifxprime/krouter 0.5.144 → 0.5.146
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/README.md +219 -0
- package/app/.next-cli-build/BUILD_ID +1 -1
- package/app/.next-cli-build/app-path-routes-manifest.json +13 -11
- package/app/.next-cli-build/build-manifest.json +2 -2
- package/app/.next-cli-build/prerender-manifest.json +46 -18
- package/app/.next-cli-build/routes-manifest.json +12 -0
- 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 +1 -1
- 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 +1 -1
- 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 +13 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/presidio/page_client-reference-manifest.js +1 -0
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -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 +4 -4
- package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- 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 +3 -3
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
- 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 +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
- 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 +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
- 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 +3 -3
- 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 +2 -2
- 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 +1 -1
- 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 +1 -0
- package/app/.next-cli-build/server/app/api/settings/presidio/route_client-reference-manifest.js +1 -0
- 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 +1 -1
- 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/[kind]/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 +1 -1
- 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/[...path]/route_client-reference-manifest.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/v1beta/models/route_client-reference-manifest.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 +4 -4
- package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/combos.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/environment.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/environment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/environment.segments/!KGRhc2hib2FyZCk/dashboard/environment/__PAGE__.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/environment.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/environment.segments/_tree.segment.rsc +2 -2
- 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 +6 -6
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/mitm.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/presidio.html +1 -0
- package/app/.next-cli-build/server/app/dashboard/presidio.meta +36 -0
- package/app/.next-cli-build/server/app/dashboard/presidio.rsc +26 -0
- package/app/.next-cli-build/server/app/dashboard/presidio.segments/!KGRhc2hib2FyZCk/dashboard/presidio/__PAGE__.segment.rsc +32 -0
- package/app/.next-cli-build/server/app/dashboard/presidio.segments/_full.segment.rsc +26 -0
- package/app/.next-cli-build/server/app/dashboard/presidio.segments/_tree.segment.rsc +5 -0
- package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/profile.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/quota.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
- 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 +5 -5
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/skills.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/translator.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/usage.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard.html +1 -1
- package/app/.next-cli-build/server/app/dashboard.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
- 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 +4 -4
- package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
- 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 +4 -4
- package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +4 -4
- 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 +5 -5
- package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +5 -5
- 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 +13 -11
- package/app/.next-cli-build/server/chunks/2365.js +1 -1
- package/app/.next-cli-build/server/chunks/412.js +2 -2
- package/app/.next-cli-build/server/chunks/5330.js +11 -11
- package/app/.next-cli-build/server/chunks/6182.js +4 -4
- package/app/.next-cli-build/server/chunks/6200.js +3 -0
- package/app/.next-cli-build/server/chunks/706.js +1 -1
- package/app/.next-cli-build/server/chunks/7153.js +1 -1
- package/app/.next-cli-build/server/chunks/7276.js +1 -1
- package/app/.next-cli-build/server/chunks/8238.js +1 -1
- package/app/.next-cli-build/server/chunks/8361.js +1 -1
- package/app/.next-cli-build/server/chunks/8895.js +1 -1
- package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
- package/app/.next-cli-build/server/middleware.js +5 -5
- 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/prefetch-hints.json +24 -0
- package/app/.next-cli-build/static/alT51K3CdFyFBv27IY7wb/_buildManifest.js +1 -0
- package/app/.next-cli-build/static/chunks/{1321-7abcf5df16effef0.js → 1321-6c49a954d60cdf8d.js} +1 -1
- package/app/.next-cli-build/static/chunks/5497-df084be192db340d.js +7 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/presidio/page-d99bb3a54c3dbb50.js +13 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-b1182e42595e08ba.js +1 -0
- package/app/.next-cli-build/static/chunks/app/_global-error/{page-679268ce464db514.js → page-0a9962733d0ef748.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/login/{route-679268ce464db514.js → route-0a9962733d0ef748.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/logout/{route-679268ce464db514.js → route-0a9962733d0ef748.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/{route-679268ce464db514.js → route-0a9962733d0ef748.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/status/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cache/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/combos/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/health/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/import/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/init/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/keys/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/locale/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/mitm/cert/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/alias/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/availability/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/custom/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/live/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/live-by-connection/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/preview/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/test/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pricing/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/client/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/health/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/zenith/log/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/zenith/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/settings/database/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/settings/environment/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/settings/presidio/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/settings/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/shutdown/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tags/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/load/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/save/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/send/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/history/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/models/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/search/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/version/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/version/update/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/dashboard/settings/pricing/page-045957f92dd4e66b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/app/page-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-0a9962733d0ef748.js +1 -0
- package/app/.next-cli-build/static/css/ec08ba27b16d57e9.css +1 -0
- package/app/cli/package.json +1 -1
- package/app/package.json +2 -1
- package/app/src/mitm/server.js +1 -1
- package/package.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/environment/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/cache/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/health/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/import/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/init/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/mitm/cert/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/models/live/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/models/live-by-connection/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/models/preview/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/models/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/providers/health/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/providers/zenith/log/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/providers/zenith/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/settings/environment/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/version/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/callback/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/landing/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/login/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +0 -1
- package/app/.next-cli-build/server/app/page.js.nft.json +0 -1
- package/app/.next-cli-build/server/chunks/9489.js +0 -3
- package/app/.next-cli-build/static/chunks/5497-15b03497ab8e5fce.js +0 -7
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-64fc5c6c998f5551.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/status/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cache/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/combos/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/health/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/import/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/init/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/keys/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/locale/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/mitm/cert/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/alias/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/availability/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/custom/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/live/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/live-by-connection/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/preview/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/test/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pricing/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/client/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/health/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/zenith/log/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/zenith/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/settings/database/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/settings/environment/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/settings/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/shutdown/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tags/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/translator/load/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/translator/save/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/translator/send/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/history/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/models/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/search/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/version/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/version/update/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/dashboard/settings/pricing/page-016fc417daafa8c4.js +0 -1
- package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/app/page-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-679268ce464db514.js +0 -1
- package/app/.next-cli-build/static/css/c2f5122f40c47e19.css +0 -1
- package/app/.next-cli-build/static/p4jE6g-j-05K8E74ySO-I/_buildManifest.js +0 -1
- package/app/cli/.build-home/.krouter/db/backups/upgrade-0.5.115-to-0.5.116-0.5.116-20260718-013135/data.sqlite +0 -0
- package/app/cli/.build-home/.krouter/db/backups/upgrade-0.5.116-to-0.5.117-0.5.117-20260718-032541/data.sqlite +0 -0
- package/app/cli/.build-home/.krouter/db/backups/upgrade-0.5.117-to-0.5.118-0.5.118-20260718-064958/data.sqlite +0 -0
- package/app/cli/.build-home/.krouter/db/backups/upgrade-0.5.118-to-0.5.143-0.5.143-20260822-000036/data.sqlite +0 -0
- package/app/cli/.build-home/.krouter/db/data.sqlite +0 -0
- package/app/cli/.build-home/.krouter/jwt-secret +0 -1
- package/app/cli/.build-home/.krouter/machine-id +0 -1
- package/app/cli/.build-home/Library/Preferences/nextjs-nodejs/config.json +0 -7
- /package/app/.next-cli-build/static/{p4jE6g-j-05K8E74ySO-I → alT51K3CdFyFBv27IY7wb}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
(()=>{var a={};a.id=1581,a.ids=[1581],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")},14985:a=>{"use strict";a.exports=require("dns")},16192:(a,b,c)=>{Promise.resolve().then(c.bind(c,32763))},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")},20406:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>k});var d=c(48249),e=c(67484),f=c(17660);function g(a,b){let c=[a?.message,a?.details].filter(Boolean);return c.length>0?c.join(": "):b}async function h(a){let b={enabled:a.enabled,piiRedaction:a.piiRedaction,customRegex:a.customRegex};a.customRegex&&void 0!==a.yamlContent&&(b.yamlContent=a.yamlContent);let c=await fetch("/api/settings/presidio",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(b)});if(!c.ok){let a=await c.json();throw Error(g(a?.error,`HTTP ${c.status}: ${c.statusText}`))}let d=await c.json();if(!d.success)throw Error(g(d.error,"Failed to update Presidio settings"));return{enabled:d.data.enabled,piiRedaction:d.data.piiRedaction,customRegex:d.data.customRegex,yamlContent:d.data.yamlContent||"",yamlPath:d.data.yamlPath,updatedAt:d.data.updatedAt}}function i(){var a;let b,[c,g]=(0,e.useState)({enabled:!1,piiRedaction:!1,customRegex:!1,yamlContent:""}),[i,k]=(0,e.useState)(""),[l,m]=(0,e.useState)(!0),[n,o]=(0,e.useState)(!1),[p,q]=(0,e.useState)(null),[r,s]=(0,e.useState)(null),[t,u]=(0,e.useState)("idle"),v=(0,e.useCallback)((a=a=>{let b=function(a){try{let b=a.split("\n"),c=a.trim();if(!c)return{valid:!0};if(!c.includes("rules:"))return{valid:!1,error:'Missing "rules:" key in YAML'};let d=!1;for(let a of b){let b=a.trim();b.startsWith("rules:")?d=!0:d&&b.startsWith("- entity:")||d&&b.startsWith("pattern:")||d&&b.startsWith("description:")}return{valid:!0}}catch(a){return{valid:!1,error:a.message}}}(a);s(b.valid?null:b.error)},function(...c){clearTimeout(b),b=setTimeout(()=>{clearTimeout(b),a(...c)},500)}),[]),w=a=>{g(b=>({...b,[a]:!b[a]}))},x=async()=>{if(r)return void q("Please fix validation errors before saving");o(!0),q(null);try{await h({enabled:c.enabled,piiRedaction:c.piiRedaction,customRegex:c.customRegex,yamlContent:c.customRegex?i:void 0}),u("success"),setTimeout(()=>u("idle"),3e3)}catch(a){q(a.message),u("error"),setTimeout(()=>u("idle"),3e3),console.error("Failed to save Presidio settings:",a)}finally{o(!1)}};return(0,d.jsxs)(f.default,{title:"Presidio Settings",subtitle:"Configure PII redaction using Microsoft Presidio",icon:"security",children:[l&&(0,d.jsxs)("div",{className:"flex items-center justify-center py-8 text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin mr-2",children:"refresh"}),"Loading settings..."]}),p&&(0,d.jsx)("div",{className:"mb-4 p-4 bg-error/10 border border-error/30 rounded-lg text-error text-sm",children:(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-lg",children:"error"}),p]})}),!l&&(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsxs)(f.default.ListItem,{children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"font-medium text-text-main",children:"Presidio Sidecar"}),c.enabled&&(0,d.jsx)("span",{className:"px-2 py-0.5 text-xs bg-success/20 text-success rounded-full",children:"Active"})]}),(0,d.jsx)("p",{className:"text-sm text-text-muted mt-0.5",children:"Enable PII redaction middleware"})]}),(0,d.jsx)(j,{label:"Presidio Sidecar",checked:c.enabled,onChange:()=>w("enabled"),disabled:n})]}),c.enabled&&(0,d.jsxs)("div",{className:"ml-4 pl-4 border-l-2 border-border-subtle space-y-4",children:[(0,d.jsxs)(f.default.ListItem,{children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"font-medium text-text-main",children:"PII Redaction"}),(0,d.jsx)("p",{className:"text-sm text-text-muted mt-0.5",children:"Redact PII from messages using Presidio"})]}),(0,d.jsx)(j,{label:"PII Redaction",checked:c.piiRedaction,onChange:()=>w("piiRedaction"),disabled:n})]}),(0,d.jsxs)(f.default.ListItem,{children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"font-medium text-text-main",children:"Custom Regex Patterns"}),(0,d.jsx)("p",{className:"text-sm text-text-muted mt-0.5",children:"Use custom regex patterns from YAML config"})]}),(0,d.jsx)(j,{label:"Custom Regex Patterns",checked:c.customRegex,onChange:()=>w("customRegex"),disabled:n})]}),c.customRegex&&(0,d.jsxs)("div",{className:"mt-4",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,d.jsx)("label",{className:"text-sm font-medium text-text-main",children:"Custom Regex Patterns"}),r?(0,d.jsxs)("span",{className:"flex items-center gap-1 text-xs text-error",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"error"}),r]}):(0,d.jsxs)("span",{className:"flex items-center gap-1 text-xs text-success",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"check_circle"}),"Valid"]})]}),(0,d.jsx)("textarea",{value:i,onChange:a=>{let b=a.target.value;k(b),g(a=>({...a,yamlContent:b})),v(b)},className:"w-full h-64 p-4 font-mono text-sm bg-bg border border-border-subtle rounded-lg resize-y focus:outline-none focus:ring-2 focus:ring-primary/50",placeholder:'# Presidio Redaction Configuration\nrules:\n - entity: "EMAIL_REGEX"\n pattern: "\\\\S+@\\\\S+"\n description: "Email pattern"',spellCheck:!1}),(0,d.jsx)("div",{className:"flex justify-end mt-2",children:(0,d.jsx)("button",{onClick:x,disabled:n||!!r,className:`
|
|
2
|
+
px-4 py-2 rounded-lg font-medium text-sm transition-all
|
|
3
|
+
${n?"bg-text-muted text-text-muted-foreground cursor-not-allowed":"success"===t?"bg-success text-white":"error"===t?"bg-error text-white":r?"bg-text-muted text-text-muted-foreground cursor-not-allowed":"bg-primary text-white hover:bg-primary/90"}
|
|
4
|
+
`,children:n?(0,d.jsxs)("span",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"refresh"}),"Saving..."]}):"success"===t?(0,d.jsxs)("span",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"check"}),"Saved"]}):"error"===t?(0,d.jsxs)("span",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"close"}),"Failed"]}):"Save Configuration"})})]})]}),c.enabled&&!c.customRegex&&(0,d.jsx)("div",{className:"flex justify-end pt-4 border-t border-border-subtle",children:(0,d.jsx)("button",{onClick:x,disabled:n,className:"px-4 py-2 bg-primary text-white rounded-lg font-medium text-sm hover:bg-primary/90 disabled:opacity-50 disabled:cursor-not-allowed transition-all",children:n?"Saving...":"Save Changes"})})]})]})}function j({checked:a,onChange:b,disabled:c,label:e}){return(0,d.jsx)("button",{type:"button",role:"switch","aria-checked":a,"aria-label":e,onClick:()=>!c&&b(!a),disabled:c,className:`
|
|
5
|
+
relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent
|
|
6
|
+
transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-primary/50 focus:ring-offset-2
|
|
7
|
+
${a?"bg-primary":"bg-surface-3"}
|
|
8
|
+
${c?"opacity-50 cursor-not-allowed":""}
|
|
9
|
+
`,children:(0,d.jsx)("span",{className:`
|
|
10
|
+
pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0
|
|
11
|
+
transition duration-200 ease-in-out
|
|
12
|
+
${a?"translate-x-5":"translate-x-0"}
|
|
13
|
+
`})})}function k(){return(0,d.jsxs)("div",{className:"max-w-4xl mx-auto p-6 space-y-6",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h1",{className:"text-3xl font-bold text-text-main",children:"Settings"}),(0,d.jsx)("p",{className:"text-text-muted mt-1",children:"Configure kRouter security and middleware settings"})]}),(0,d.jsx)(i,{})]})}},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")},32763:(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 \"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/presidio/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.")},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/presidio/page.js","default")},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")},43920:(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:["presidio",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,32763))),"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/presidio/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,"/Users/shofiqulislam/9router-master/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,"/Users/shofiqulislam/9router-master/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/presidio/page",pathname:"/dashboard/presidio",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),w=v.__next_app__,x=v.routeModule,y=v.handler},45568:(a,b,c)=>{Promise.resolve().then(c.bind(c,20406))},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")},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")},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")},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")},79868: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,[4741,7774,5433,4380,2430,5030,1344,4884,5024,5681,4404,4315,8590,4746,6306,1450,7276,8361,5330,8895,6182,6457,706,412,9560],()=>b(b.s=43920));module.exports=c})();
|
|
@@ -0,0 +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}},"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}},"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}},"77241":{"*":{"id":"7592","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}},"92622":{"*":{"id":"42196","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":"43173","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":{"/Users/shofiqulislam/9router-master/node_modules/next/dist/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/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-6c49a954d60cdf8d.js","7177","static/chunks/app/layout-ad1b0eddf87f5d0d.js"],"async":false},"/Users/shofiqulislam/9router-master/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-6c49a954d60cdf8d.js","7177","static/chunks/app/layout-ad1b0eddf87f5d0d.js"],"async":false},"/Users/shofiqulislam/9router-master/node_modules/material-symbols/outlined.css":{"id":5887,"name":"*","chunks":["1321","static/chunks/1321-6c49a954d60cdf8d.js","7177","static/chunks/app/layout-ad1b0eddf87f5d0d.js"],"async":false},"/Users/shofiqulislam/9router-master/src/app/globals.css":{"id":51743,"name":"*","chunks":["1321","static/chunks/1321-6c49a954d60cdf8d.js","7177","static/chunks/app/layout-ad1b0eddf87f5d0d.js"],"async":false},"/Users/shofiqulislam/9router-master/src/i18n/RuntimeI18nProvider.js":{"id":94635,"name":"*","chunks":["1321","static/chunks/1321-6c49a954d60cdf8d.js","7177","static/chunks/app/layout-ad1b0eddf87f5d0d.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/ThemeProvider.js":{"id":21110,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/app/callback/page.js":{"id":59884,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/dashboard/settings/pricing/page.js":{"id":87304,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/landing/page.js":{"id":85941,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/login/page.js":{"id":83016,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/AddCustomEmbeddingModal.js":{"id":96748,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Avatar.js":{"id":56319,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Badge.js":{"id":56061,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Button.js":{"id":92542,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/CapacityBadges.js":{"id":29366,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Card.js":{"id":84588,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/ChangelogModal.js":{"id":97556,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/ComboFormModal.js":{"id":45455,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/CursorAuthModal.js":{"id":30815,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/EditConnectionModal.js":{"id":73579,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Footer.js":{"id":92173,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/GitLabAuthModal.js":{"id":95088,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Header.js":{"id":8823,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/HeaderMenu.js":{"id":80752,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/IFlowCookieModal.js":{"id":23936,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Input.js":{"id":11910,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/KiroAuthModal.js":{"id":61500,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/KiroOAuthWrapper.js":{"id":62899,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/KiroSocialOAuthModal.js":{"id":94230,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/LanguageSwitcher.js":{"id":21931,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/layouts/AuthLayout.js":{"id":91450,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/layouts/DashboardLayout.js":{"id":7648,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Loading.js":{"id":25086,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/ManualConfigModal.js":{"id":28815,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/McpMarketplaceModal.js":{"id":28058,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Modal.js":{"id":81127,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/ModelSelectModal.js":{"id":46067,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/NoAuthProxyCard.js":{"id":4823,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/OAuthModal.js":{"id":90882,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/ProviderInfoCard.js":{"id":51825,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/RequestLogger.js":{"id":23615,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/SegmentedControl.js":{"id":28067,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Select.js":{"id":98,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Sidebar.js":{"id":92622,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/ThemeToggle.js":{"id":38587,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Toggle.js":{"id":98542,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Tooltip.js":{"id":97677,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/UsageStats.js":{"id":10319,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/basic-chat/BasicChatPageClient.js":{"id":88512,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/cli-tools/[toolId]/ToolDetailClient.js":{"id":85309,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/cli-tools/CLIToolsPageClient.js":{"id":53501,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/combos/page.js":{"id":80191,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.js":{"id":95907,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","3395","static/chunks/3395-ee203e7ee50296be.js","6337","static/chunks/app/(dashboard)/dashboard/page-dcf16d0f112217c2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/environment/page.js":{"id":61521,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js":{"id":94588,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/media-providers/[kind]/page.js":{"id":16144,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js":{"id":22662,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/media-providers/web/page.js":{"id":71088,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/mitm/MitmPageClient.js":{"id":22879,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/providers/new/page.js":{"id":15615,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/pxpipe/PxpipeClient.js":{"id":71470,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/usage/components/ProviderLimits/index.js":{"id":75095,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/skills/page.js":{"id":64082,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/token-saver/TokenSaverClient.js":{"id":70323,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/translator/page.js":{"id":76084,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/usage/page.js":{"id":81772,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/console-log/ConsoleLogClient.js":{"id":44493,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/presidio/page.js":{"id":47766,"name":"*","chunks":["1581","static/chunks/app/(dashboard)/dashboard/presidio/page-d99bb3a54c3dbb50.js"],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/profile/page.js":{"id":64561,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/providers/[id]/page.js":{"id":77241,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/providers/page.js":{"id":18160,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/proxy-pools/page.js":{"id":57076,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/shofiqulislam/9router-master/src/":[],"/Users/shofiqulislam/9router-master/src/app/layout":[{"inlined":false,"path":"static/css/f408a041a2395281.css"},{"inlined":false,"path":"static/css/ec08ba27b16d57e9.css"}],"/Users/shofiqulislam/9router-master/src/app/page":[],"/Users/shofiqulislam/9router-master/src/app/(dashboard)/layout":[],"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/page":[],"/Users/shofiqulislam/9router-master/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}},"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}},"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}},"77241":{"*":{"id":"93110","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}},"92622":{"*":{"id":"26866","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")},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 \"/Users/shofiqulislam/9router-master/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.")},"/Users/shofiqulislam/9router-master/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")},55908:(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))),"/Users/shofiqulislam/9router-master/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,"/Users/shofiqulislam/9router-master/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,"/Users/shofiqulislam/9router-master/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},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=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)}}},al=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)}},am=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)}},an=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)}},ao=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)}},ap=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)}},aq=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)}},ar=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)}},as=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)}},at=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)}},au=(a,b)=>{O(c=>({...c,[a]:b}))},av=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)}},aw=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)}},ax=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)}},ay=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)}},az=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)}},aA=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 ay(),J({type:"success",message:"Database imported successfully"})}catch(a){J({type:"error",message:a.message||"Invalid backup file"})}finally{M.current=null,H(!1)}}},aB=async()=>{let{mode:a,password:b}=K;L({open:!1,mode:"",password:""}),"export"===a?await az(b):"import"===a&&await aA(b)},aC=!0===w.enableObservability,aD=async()=>{v(!0);try{await fetch("/api/version/shutdown",{method:"POST"})}catch(a){}v(!1),t(!1)},aE=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:"Local Mode"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"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:()=>at(!w.requireLogin),disabled:y})]}),!0===w.requireLogin&&(0,d.jsxs)("form",{onSubmit:an,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:()=>au("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=>au("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=>au("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=>au("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=>au("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:()=>av(),className:"w-full sm:w-auto",children:"Save auth mode"}),(0,d.jsx)(g.$n,{type:"button",variant:"outline",loading:V,onClick:aw,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=>ao(a.target.value),disabled:y,className:"w-44 sm:w-56 shrink-0",options:[{value:"fill-first",label:"Fill First (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=>ar(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:"Cycle through providers in combos instead of always starting with first"})]}),(0,d.jsx)(g.lM,{checked:"round-robin"===w.comboStrategy,onChange:()=>aq("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=>as(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?`Distributing requests across all available accounts with ${w.stickyRoundRobinLimit||3} calls per account.`:"p2c"===w.fallbackStrategy?"Picking the healthier of 2 random accounts on each request (good for load-balancing equal-tier accounts).":"random"===w.fallbackStrategy?"Picking a uniformly random account on each request.":"Using accounts in priority order (Fill First).","round-robin"===w.comboStrategy?` Combos rotate after ${w.comboStickyRoundRobinLimit||1} call${1===(w.comboStickyRoundRobinLimit||1)?"":"s"} per model.`:" Combos always start with their first model."]})]})]}),(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:()=>ap("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:()=>ap("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=>ap("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=>ap("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:()=>ap("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=>ap("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:()=>ap("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:()=>am(!0!==w.outboundProxyEnabled),disabled:y||ag})]}),!0===w.outboundProxyEnabled&&(0,d.jsxs)("form",{onSubmit:ak,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:al,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:aC,onChange:ax,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:aE,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:"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:aD,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:aB,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&&aB()},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")},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")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81432:(a,b,c)=>{Promise.resolve().then(c.bind(c,50047))},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")},91160:(a,b,c)=>{Promise.resolve().then(c.bind(c,61377))},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,[4741,7774,5433,4380,2430,5030,1344,4884,5024,5681,4404,4315,8590,4746,6306,1450,7276,8361,5330,8895,6182,6457,706,412,9560],()=>b(b.s=55908));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")},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 \"/Users/shofiqulislam/9router-master/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.")},"/Users/shofiqulislam/9router-master/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=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)}}},al=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)}},am=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)}},an=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)}},ao=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)}},ap=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)}},aq=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)}},ar=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)}},as=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)}},at=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)}},au=(a,b)=>{O(c=>({...c,[a]:b}))},av=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)}},aw=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)}},ax=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)}},ay=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)}},az=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)}},aA=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 ay(),J({type:"success",message:"Database imported successfully"})}catch(a){J({type:"error",message:a.message||"Invalid backup file"})}finally{M.current=null,H(!1)}}},aB=async()=>{let{mode:a,password:b}=K;L({open:!1,mode:"",password:""}),"export"===a?await az(b):"import"===a&&await aA(b)},aC=!0===w.enableObservability,aD=async()=>{v(!0);try{await fetch("/api/version/shutdown",{method:"POST"})}catch(a){}v(!1),t(!1)},aE=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:"Local Mode"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"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:()=>at(!w.requireLogin),disabled:y})]}),!0===w.requireLogin&&(0,d.jsxs)("form",{onSubmit:an,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:()=>au("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=>au("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=>au("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=>au("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=>au("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:()=>av(),className:"w-full sm:w-auto",children:"Save auth mode"}),(0,d.jsx)(g.$n,{type:"button",variant:"outline",loading:V,onClick:aw,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=>ao(a.target.value),disabled:y,className:"w-44 sm:w-56 shrink-0",options:[{value:"fill-first",label:"Fill First (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=>ar(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:"Cycle through providers in combos instead of always starting with first"})]}),(0,d.jsx)(g.lM,{checked:"round-robin"===w.comboStrategy,onChange:()=>aq("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=>as(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?`Distributing requests across all available accounts with ${w.stickyRoundRobinLimit||3} calls per account.`:"p2c"===w.fallbackStrategy?"Picking the healthier of 2 random accounts on each request (good for load-balancing equal-tier accounts).":"random"===w.fallbackStrategy?"Picking a uniformly random account on each request.":"Using accounts in priority order (Fill First).","round-robin"===w.comboStrategy?` Combos rotate after ${w.comboStickyRoundRobinLimit||1} call${1===(w.comboStickyRoundRobinLimit||1)?"":"s"} per model.`:" Combos always start with their first model."]})]})]}),(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:()=>ap("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:()=>ap("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=>ap("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=>ap("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:()=>ap("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=>ap("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:()=>ap("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:()=>am(!0!==w.outboundProxyEnabled),disabled:y||ag})]}),!0===w.outboundProxyEnabled&&(0,d.jsxs)("form",{onSubmit:ak,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:al,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:aC,onChange:ax,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:aE,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:"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:aD,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:aB,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&&aB()},placeholder:"Current password",autoFocus:!0})]})]})}},61670:(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))),"/Users/shofiqulislam/9router-master/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,"/Users/shofiqulislam/9router-master/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,"/Users/shofiqulislam/9router-master/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},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")},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")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81432:(a,b,c)=>{Promise.resolve().then(c.bind(c,50047))},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")},91160:(a,b,c)=>{Promise.resolve().then(c.bind(c,61377))},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,[4741,7774,5433,4380,2430,5030,1344,4884,5024,5681,4404,4315,8590,4746,6306,1450,7276,8361,5330,8895,6182,6457,706,412,9560],()=>b(b.s=61670));module.exports=c})();
|