@synthever/jrouter 1.0.0 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/.next-cli-build/BUILD_ID +1 -1
- package/app/.next-cli-build/app-path-routes-manifest.json +19 -19
- package/app/.next-cli-build/build-manifest.json +3 -3
- package/app/.next-cli-build/prerender-manifest.json +3 -3
- package/app/.next-cli-build/react-loadable-manifest.json +4 -4
- 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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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/health/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/health/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/health/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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/playground/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.nft.json +1 -1
- package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_global-error.html +1 -1
- package/app/.next-cli-build/server/app/_global-error.rsc +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.js.nft.json +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 +6 -6
- package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -5
- 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/login/route.js.nft.json +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/logout/route.js.nft.json +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/callback/route.js.nft.json +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/start/route.js.nft.json +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/oidc/test/route.js.nft.json +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/reset-password/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +9 -9
- package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
- 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/alias/route.js.nft.json +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/antigravity-mitm/route.js.nft.json +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/claude-settings/route.js.nft.json +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/cline-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +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/codex-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
- package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +5 -5
- package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +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/jcode-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +3 -3
- package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
- 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/openclaw-settings/route.js.nft.json +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/cli-tools/opencode-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js.nft.json +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/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/presets/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +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/proxy/[...path]/route.js.nft.json +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/restart/route.js.nft.json +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/start/route.js.nft.json +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/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/init/route.js.nft.json +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/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/keys/[id]/secret/route.js +1 -1
- package/app/.next-cli-build/server/app/api/keys/[id]/secret/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
- package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +2 -2
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +2 -2
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +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/deepgram/voices/route.js.nft.json +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/elevenlabs/voices/route.js.nft.json +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/inworld/voices/route.js.nft.json +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/minimax/voices/route.js.nft.json +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/media-providers/tts/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/model-health/check/route.js +2 -2
- package/app/.next-cli-build/server/app/api/model-health/check/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/model-health/check-all/route.js +2 -2
- package/app/.next-cli-build/server/app/api/model-health/check-all/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/model-health/config/route.js +2 -2
- package/app/.next-cli-build/server/app/api/model-health/config/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/model-health/history/route.js +2 -2
- package/app/.next-cli-build/server/app/api/model-health/history/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/model-health/model/route.js +2 -2
- package/app/.next-cli-build/server/app/api/model-health/model/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/model-health/models/route.js +2 -2
- package/app/.next-cli-build/server/app/api/model-health/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/model-health/route.js +2 -2
- package/app/.next-cli-build/server/app/api/model-health/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/model-health/run-scheduled/route.js +2 -2
- package/app/.next-cli-build/server/app/api/model-health/run-scheduled/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/model-health/summary/route.js +2 -2
- package/app/.next-cli-build/server/app/api/model-health/summary/route.js.nft.json +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/alias/route.js.nft.json +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/availability/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +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/custom/route.js.nft.json +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/disabled/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/limits/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/limits/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +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/[provider]/[action]/route.js.nft.json +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/bulk-import/route.js.nft.json +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/codex/import-token/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +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/cursor/import/route.js.nft.json +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/gitlab/pat/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +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/iflow/cookie/route.js.nft.json +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/api-key/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +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/import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +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-authorize/route.js.nft.json +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/oauth/kiro/social-exchange/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
- package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +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/[id]/route.js.nft.json +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/route.js.nft.json +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/provider-nodes/validate/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/connections/keys/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/connections/keys/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +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/route.js.nft.json +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/[id]/test-models/route.js.nft.json +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/client/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +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/suggested-models/route.js.nft.json +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/test-batch/route.js.nft.json +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/validate/route.js.nft.json +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]/route.js.nft.json +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/[id]/test/route.js.nft.json +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/cloudflare-deploy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
- package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js +4 -4
- package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +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/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +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/require-login/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +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/route.js.nft.json +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/console-logs/stream/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +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/send/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +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/disable/route.js.nft.json +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/enable/route.js.nft.json +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/status/route.js.nft.json +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-check/route.js.nft.json +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-disable/route.js.nft.json +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-enable/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +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/chart/route.js.nft.json +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/history/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +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/providers/route.js.nft.json +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-details/route.js.nft.json +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/request-logs/route.js.nft.json +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/stats/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +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/api/chat/route.js.nft.json +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/speech/route.js.nft.json +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/transcriptions/route.js.nft.json +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/audio/voices/route.js.nft.json +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/chat/completions/route.js.nft.json +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/embeddings/route.js.nft.json +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/images/generations/route.js.nft.json +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/count_tokens/route.js.nft.json +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/messages/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +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/info/route.js.nft.json +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/models/route.js.nft.json +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/compact/route.js.nft.json +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/responses/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +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/search/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +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/[id]/route.js.nft.json +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/edits/route.js.nft.json +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/extensions/route.js.nft.json +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/videos/generations/route.js.nft.json +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/v1/web/fetch/route.js.nft.json +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.js.nft.json +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.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/version/route.js +1 -1
- package/app/.next-cli-build/server/app/api/version/route.js.nft.json +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/shutdown/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
- package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/callback/page.js +1 -1
- package/app/.next-cli-build/server/app/callback/page.js.nft.json +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 +6 -6
- package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +6 -6
- 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 +5 -5
- package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +8 -8
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +8 -8
- 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 +8 -8
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +8 -8
- 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 +8 -8
- package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +8 -8
- 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 +8 -8
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +8 -8
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/health.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/health.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/health.segments/!KGRhc2hib2FyZCk/dashboard/health/__PAGE__.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/health.segments/_full.segment.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/health.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 +8 -8
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +8 -8
- 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 +8 -8
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +8 -8
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/playground.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/playground.rsc +8 -8
- package/app/.next-cli-build/server/app/dashboard/playground.segments/!KGRhc2hib2FyZCk/dashboard/playground/__PAGE__.segment.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/playground.segments/_full.segment.rsc +8 -8
- package/app/.next-cli-build/server/app/dashboard/playground.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/profile.rsc +8 -8
- package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +8 -8
- 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 +8 -8
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +8 -8
- 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 +8 -8
- package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +8 -8
- 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 +8 -8
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +8 -8
- 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 +8 -8
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +8 -8
- 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 +1 -1
- package/app/.next-cli-build/server/app/dashboard/quota.rsc +9 -9
- package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +8 -8
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +9 -9
- 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.js.nft.json +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 +6 -6
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +6 -6
- 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 +8 -8
- package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +8 -8
- 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 +8 -8
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +8 -8
- 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 +8 -8
- package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +8 -8
- 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 +8 -8
- package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +8 -8
- 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 +7 -7
- 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 +7 -7
- package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/index.html +1 -1
- package/app/.next-cli-build/server/app/index.rsc +6 -6
- package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +6 -6
- 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.js.nft.json +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 +7 -7
- package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +7 -7
- 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 +6 -6
- package/app/.next-cli-build/server/app/login/page.js +1 -1
- package/app/.next-cli-build/server/app/login/page.js.nft.json +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 +7 -7
- package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +7 -7
- 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 +6 -6
- package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +1 -1
- package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/manifest.webmanifest.body +1 -1
- package/app/.next-cli-build/server/app/page.js +1 -1
- package/app/.next-cli-build/server/app/page.js.nft.json +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 +19 -19
- package/app/.next-cli-build/server/chunks/1133.js +1 -1
- package/app/.next-cli-build/server/chunks/1757.js +2 -2
- package/app/.next-cli-build/server/chunks/2132.js +1 -1
- package/app/.next-cli-build/server/chunks/2318.js +1 -1
- package/app/.next-cli-build/server/chunks/2631.js +1 -1
- package/app/.next-cli-build/server/chunks/2732.js +1 -1
- package/app/.next-cli-build/server/chunks/2760.js +3 -3
- package/app/.next-cli-build/server/chunks/3192.js +4 -4
- package/app/.next-cli-build/server/chunks/3360.js +1 -1
- package/app/.next-cli-build/server/chunks/3449.js +1 -1
- package/app/.next-cli-build/server/chunks/3535.js +1 -1
- package/app/.next-cli-build/server/chunks/3966.js +6 -6
- package/app/.next-cli-build/server/chunks/412.js +1 -1
- package/app/.next-cli-build/server/chunks/4123.js +3 -3
- package/app/.next-cli-build/server/chunks/4152.js +1 -1
- package/app/.next-cli-build/server/chunks/4190.js +1 -1
- package/app/.next-cli-build/server/chunks/436.js +1 -1
- package/app/.next-cli-build/server/chunks/4406.js +1 -0
- package/app/.next-cli-build/server/chunks/455.js +1 -1
- package/app/.next-cli-build/server/chunks/4746.js +1 -1
- package/app/.next-cli-build/server/chunks/4764.js +1 -1
- package/app/.next-cli-build/server/chunks/4827.js +1 -1
- package/app/.next-cli-build/server/chunks/4864.js +6 -6
- package/app/.next-cli-build/server/chunks/5299.js +25 -25
- package/app/.next-cli-build/server/chunks/5330.js +1 -1
- package/app/.next-cli-build/server/chunks/5615.js +2 -2
- package/app/.next-cli-build/server/chunks/6070.js +1 -1
- package/app/.next-cli-build/server/chunks/615.js +1 -1
- package/app/.next-cli-build/server/chunks/6296.js +10 -10
- package/app/.next-cli-build/server/chunks/6708.js +1 -1
- package/app/.next-cli-build/server/chunks/7066.js +1 -1
- package/app/.next-cli-build/server/chunks/7247.js +1 -1
- package/app/.next-cli-build/server/chunks/735.js +1 -1
- package/app/.next-cli-build/server/chunks/7373.js +1 -1
- package/app/.next-cli-build/server/chunks/7525.js +1 -1
- package/app/.next-cli-build/server/chunks/7716.js +1 -1
- package/app/.next-cli-build/server/chunks/8126.js +1 -1
- package/app/.next-cli-build/server/chunks/8306.js +1 -1
- package/app/.next-cli-build/server/chunks/8432.js +1 -1
- package/app/.next-cli-build/server/chunks/{2524.js → 8451.js} +1 -1
- package/app/.next-cli-build/server/chunks/8749.js +1 -1
- package/app/.next-cli-build/server/chunks/9032.js +1 -1
- package/app/.next-cli-build/server/chunks/9046.js +1 -1
- package/app/.next-cli-build/server/chunks/9128.js +1 -1
- package/app/.next-cli-build/server/chunks/9489.js +1 -1
- package/app/.next-cli-build/server/chunks/9609.js +1 -1
- package/app/.next-cli-build/server/chunks/9906.js +1 -0
- package/app/.next-cli-build/server/instrumentation.js +1 -1
- package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
- package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
- package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
- package/app/.next-cli-build/server/middleware.js +5 -5
- package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
- 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/static/chunks/{124.2812449f50e38c6c.js → 124.129f13ee23ff9b23.js} +1 -1
- package/app/.next-cli-build/static/chunks/1321-f3534bbafebb96c9.js +1 -0
- package/app/.next-cli-build/static/chunks/{2435.7dca2c9630249a05.js → 2435.683f65cfb8f79701.js} +2 -2
- package/app/.next-cli-build/static/chunks/{5462.75bfd156f9bc4e3b.js → 5462.79bf24eb0584ddda.js} +2 -2
- package/app/.next-cli-build/static/chunks/{5497-66e7c2a2b715a638.js → 5497-973a06c94a94aff7.js} +1 -1
- package/app/.next-cli-build/static/chunks/6808-10f960f3fc924a76.js +1 -0
- package/app/.next-cli-build/static/chunks/761-1bcb7334763d5645.js +132 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-9f4426c30039c7d5.js → page-3960bffd1fddbbad.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/{page-0c7b45a45ba51753.js → page-61b17862582ff807.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-0616e02f3ff06acd.js → page-0c2a1f2542917271.js} +12 -12
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/{page-de6dfc43c2687bd8.js → page-1a560f2b5cdf2e31.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-eb6a5a055eded9f8.js +27 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/page-4c6b176d5c59d8a4.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/{page-e631d28dd402dc1e.js → page-d0031965cf7eff51.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/landing/{page-431f7e8093b8ca51.js → page-5bc39b166588b878.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/login/{page-80c4e229a5f38a6b.js → page-f2b166590b653d36.js} +1 -1
- package/app/.next-cli-build/static/chunks/webpack-6a79f0ded38135ba.js +1 -0
- package/app/.next-cli-build/static/css/{f0e9ffc68c4f886a.css → 3b896d96bcd3ef7a.css} +1 -1
- package/app/custom-server.js +2 -2
- package/app/package.json +1 -1
- package/app/public/providers/beatapi.png +0 -0
- package/app/src/lib/oauth/providers/xiaomi-mimo.js +2 -2
- package/app/src/lib/updater/updater.js +3 -3
- package/app/src/mitm/server.js +10 -10
- package/cli.js +6 -6
- package/hooks/postinstall.js +2 -2
- package/hooks/sqliteRuntime.js +2 -2
- package/hooks/trayRuntime.js +3 -3
- package/package.json +7 -3
- package/src/cli/api/client.js +3 -3
- package/src/cli/commands/connect.js +3 -3
- package/src/cli/commands/connectTools.js +12 -12
- package/src/cli/commands/xaiVideo.js +1 -1
- package/src/cli/menus/cliTools.js +18 -18
- package/src/cli/menus/settings.js +1 -1
- package/src/cli/tray/autostart.js +1 -1
- package/app/.next-cli-build/server/chunks/238.js +0 -1
- package/app/.next-cli-build/server/chunks/4642.js +0 -1
- package/app/.next-cli-build/static/chunks/1321-b2785838003873e1.js +0 -1
- package/app/.next-cli-build/static/chunks/6808-ed8012b059559430.js +0 -1
- package/app/.next-cli-build/static/chunks/761-57ed45cdddcf32eb.js +0 -132
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-d2787f11613d3447.js +0 -27
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/page-316b3186a841d862.js +0 -1
- package/app/.next-cli-build/static/chunks/webpack-e582fe7763255be4.js +0 -1
- /package/app/.next-cli-build/static/{fjLlI_-eBYMOp6J-a-q-6 → rJzsAZX3-_OjA05HFqaR_}/_buildManifest.js +0 -0
- /package/app/.next-cli-build/static/{fjLlI_-eBYMOp6J-a-q-6 → rJzsAZX3-_OjA05HFqaR_}/_ssgManifest.js +0 -0
package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/page-4c6b176d5c59d8a4.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9516],{5895:(e,s,i)=>{Promise.resolve().then(i.bind(i,64082))},51513:e=>{e.exports={page:"skills_page__BcOXn usage_page__TfrVH DashboardControls_formScope__ID02o",header:"skills_header__B0vSK usage_header__Pj5rE",description:"skills_description__cVcfA usage_description___N7_0",section:"skills_section__HcGBd usage_section__Q1FLM",sectionHeader:"skills_sectionHeader__Po5WD usage_sectionHeader__ikyc_",sectionDescription:"skills_sectionDescription__B36_K usage_sectionDescription__hUHjE",hint:"skills_hint__e9ECF",command:"skills_command__2tMeb",rows:"skills_rows__Zf9N_",row:"skills_row__DbV7C",identity:"skills_identity__XRZ9Z",icon:"skills_icon__d_qRC",titleLine:"skills_titleLine__vDBuc",title:"skills_title__RWwN8",endpoint:"skills_endpoint__GrxIx",metadata:"skills_metadata__NYKys",url:"skills_url__13nhN",urlText:"skills_urlText__HNFGe",actions:"skills_actions__bY309",linkButton:"skills_linkButton__mVXTi"}},64082:(e,s,i)=>{"use strict";i.r(s),i.d(s,{default:()=>b});var a=i(95155),n=i(96439),t=i(35497),l=i(66119),r=i(11059);let c="Synthever/JRouter",o="master",d="skills",h=`https://github.com/${c}`,_=`https://raw.githubusercontent.com/${c}/refs/heads/${o}/${d}`,m=`https://github.com/${c}/blob/${o}/${d}`,p=[{id:"jrouter",name:"JRouter (Entry)",description:"Setup + index of all capabilities. Start here — covers base URL, auth, model discovery, and links to every capability skill.",endpoint:null,icon:"hub",isEntry:!0},{id:"jrouter-chat",name:"Chat",description:"Chat / code-gen via OpenAI or Anthropic format with streaming.",endpoint:"/v1/chat/completions",icon:"chat"},{id:"jrouter-image",name:"Image Generation",description:"Text-to-image via DALL-E, Imagen, FLUX, MiniMax, SDWebUI…",endpoint:"/v1/images/generations",icon:"image"},{id:"jrouter-tts",name:"Text-to-Speech",description:"OpenAI / ElevenLabs / Edge / Google / Deepgram voices.",endpoint:"/v1/audio/speech",icon:"record_voice_over"},{id:"jrouter-stt",name:"Speech-to-Text",description:"Transcribe audio via OpenAI Whisper, Groq, Gemini, Deepgram, AssemblyAI…",endpoint:"/v1/audio/transcriptions",icon:"mic"},{id:"jrouter-embeddings",name:"Embeddings",description:"Vectors for RAG / semantic search via OpenAI, Gemini, Mistral…",endpoint:"/v1/embeddings",icon:"scatter_plot"},{id:"jrouter-web-search",name:"Web Search",description:"Web and X search via Tavily / Exa / Brave / Serper / SearXNG / Google PSE / You.com / Xquik.",endpoint:"/v1/search",icon:"search"},{id:"jrouter-web-fetch",name:"Web Fetch",description:"URL → markdown / text / HTML via Firecrawl, Jina, Tavily, Exa.",endpoint:"/v1/web/fetch",icon:"language"}];function u(e){return`${_}/${e}/SKILL.md`}var x=i(51513),k=i.n(x);function j({value:e,skillName:s,label:i="Copy link"}){let{copied:n,copy:l}=(0,r.C)(2e3);return(0,a.jsx)(t.$n,{variant:"secondary",size:"sm",icon:n?"check":"content_copy",onClick:()=>l(e),title:e,"aria-label":n?`Copied ${s} link`:`${i} for ${s}`,children:n?"Copied!":i})}function N({skill:e}){var s;let i=u(e.id);return(0,a.jsxs)("li",{className:k().row,children:[(0,a.jsxs)("div",{className:k().identity,children:[(0,a.jsx)("span",{className:k().icon,"data-entry":e.isEntry?"true":"false","aria-hidden":"true",children:(0,a.jsx)(n.default,{className:"text-[18px]",children:e.icon})}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsxs)("div",{className:k().titleLine,children:[(0,a.jsx)("h3",{className:k().title,children:e.name}),e.isEntry&&(0,a.jsx)(l.A,{dot:!1,children:"Start here"}),e.endpoint&&(0,a.jsx)("code",{className:k().endpoint,children:e.endpoint})]}),(0,a.jsx)("p",{className:k().metadata,children:e.description}),(0,a.jsxs)("a",{className:k().url,href:(s=e.id,`${m}/${s}/SKILL.md`),target:"_blank",rel:"noreferrer",title:i,children:[(0,a.jsx)("span",{className:k().urlText,children:i}),(0,a.jsx)(n.default,{className:"mt-[3px] shrink-0 text-[13px]",children:"open_in_new"})]})]})]}),(0,a.jsx)("div",{className:k().actions,children:(0,a.jsx)(j,{value:i,skillName:e.name})})]})}function b(){return(0,a.jsxs)("div",{className:`dashboard-surface ${k().page}`,children:[(0,a.jsx)("header",{className:k().header,children:(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsxs)("h1",{className:"ui-eyebrow flex items-center gap-2",children:[(0,a.jsx)(n.default,{className:"text-[16px]",children:"extension"})," Skills"]}),(0,a.jsx)("p",{className:k().description,children:"Reusable agent skills — copy a raw URL and paste it into any AI agent"})]})}),(0,a.jsxs)("section",{className:`ui-card ${k().section}`,"aria-labelledby":"skills-quickstart-heading",children:[(0,a.jsx)("div",{className:k().sectionHeader,children:(0,a.jsx)("h2",{id:"skills-quickstart-heading",className:"ui-eyebrow",children:"Quick start"})}),(0,a.jsx)("p",{className:k().hint,children:"Paste this to your AI:"}),(0,a.jsx)("div",{className:k().command,children:(0,a.jsxs)("code",{children:["Read this skill and use it: ",u("jrouter")]})})]}),(0,a.jsxs)("section",{className:`ui-card ${k().section}`,"aria-labelledby":"skills-list-heading",children:[(0,a.jsx)("div",{className:k().sectionHeader,children:(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsxs)("h2",{id:"skills-list-heading",className:"ui-eyebrow flex items-center gap-2",children:[(0,a.jsx)(n.default,{className:"text-[16px]",children:"list_alt"})," Available skills"]}),(0,a.jsxs)("p",{className:k().sectionDescription,children:[p.length," skills \xb7 each one is a single SKILL.md you can hand to an agent"]})]})}),(0,a.jsx)("ul",{className:k().rows,children:p.map(e=>(0,a.jsx)(N,{skill:e},e.id))})]}),(0,a.jsx)("section",{className:`ui-card ${k().section}`,"aria-labelledby":"skills-repo-heading",children:(0,a.jsxs)("div",{className:k().sectionHeader,children:[(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("h2",{id:"skills-repo-heading",className:"ui-eyebrow",children:"More on GitHub"}),(0,a.jsx)("p",{className:k().sectionDescription,children:"Browse source, README, and examples."})]}),(0,a.jsxs)("a",{className:k().linkButton,href:`${h}/tree/master/skills`,target:"_blank",rel:"noreferrer",children:[(0,a.jsx)(n.default,{className:"text-[16px]",children:"open_in_new"}),"View on GitHub"]})]})})]})}}},e=>{e.O(0,[3493,8679,970,2904,6506,8500,3847,1321,705,5497,8441,3794,7358],()=>e(e.s=5895)),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9839],{15536:(e,a,s)=>{"use strict";s.d(a,{Cp:()=>i,Hx:()=>n,Iv:()=>d,Nv:()=>m,RL:()=>c,ev:()=>h,fl:()=>r,hT:()=>t,oX:()=>l,t6:()=>o});let t=["zh-CN","zh-TW"],l=[{icon:"public",title:"Access Anywhere",desc:"Use your API from any network"},{icon:"group",title:"Share Endpoint",desc:"Share URL with team members"},{icon:"code",title:"Use in Cursor/Cline",desc:"Connect AI tools remotely"},{icon:"lock",title:"Encrypted",desc:"End-to-end TLS via Cloudflare"}],n=2e3,i=3e5,r=5e3,o=5,c=1e4,d=5e3,h=[{id:"lite",label:"Lite",desc:"Drop filler, keep grammar"},{id:"full",label:"Full",desc:"Drop articles, fragments OK"},{id:"ultra",label:"Ultra",desc:"Telegraphic, max compression"},{id:"wenyan-lite",label:"文 Lite",desc:"Classical Chinese, light compression",wenyan:!0},{id:"wenyan",label:"文 Full",desc:"Maximum 文言文, 80-90% reduction",wenyan:!0},{id:"wenyan-ultra",label:"文 Ultra",desc:"Extreme classical compression",wenyan:!0}],m=[{id:"lite",label:"Lite",desc:"Build asked, name lazier option"},{id:"full",label:"Full",desc:"Ladder enforced: stdlib/native first"},{id:"ultra",label:"Ultra",desc:"YAGNI extremist, deletion first"}]},43407:(e,a,s)=>{Promise.resolve().then(s.bind(s,61203))},61203:(e,a,s)=>{"use strict";s.d(a,{default:()=>x});var t=s(95155),l=s(96439),n=s(12115),i=s(35497),r=s(66119),o=s(11059),c=s(73006),d=s(15536),h=s(96091),m=s.n(h);let p='pip install "headroom-ai[proxy]"';function u({icon:e,title:a,doc:s,docHref:n,active:i,description:o,control:c,children:d}){return(0,t.jsxs)("div",{className:m().strategy,children:[(0,t.jsxs)("div",{className:m().strategyHeader,children:[(0,t.jsxs)("div",{className:m().identity,children:[(0,t.jsx)(l.default,{className:"shrink-0 text-[16px] text-[var(--text-2)]",children:e}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsxs)("div",{className:m().titleLine,children:[(0,t.jsx)("span",{className:m().title,children:a}),(0,t.jsx)("a",{href:n,target:"_blank",rel:"noreferrer",className:m().docLink,children:s}),(0,t.jsx)(r.A,{variant:i?"success":"default",children:i?"Active":"Off"})]}),(0,t.jsx)("p",{className:m().metadata,children:o})]})]}),(0,t.jsx)("div",{className:m().actions,children:c})]}),d]})}function x(){let[e,a]=(0,n.useState)(!0),[s,h]=(0,n.useState)(!1),[x,v]=(0,n.useState)("http://localhost:8787"),[g,f]=(0,n.useState)(3e3),[_,j]=(0,n.useState)({installed:!1,running:!1,python:null,loading:!0}),[y,k]=(0,n.useState)(!1),[b,C]=(0,n.useState)(!1),[N,S]=(0,n.useState)(""),[w,E]=(0,n.useState)({version:null,extras:{code:!1,ml:!1},available:["code","ml"],loading:!1}),[H,L]=(0,n.useState)([]),[P,T]=(0,n.useState)(!1),[R,M]=(0,n.useState)(""),[I,$]=(0,n.useState)(null),[O,U]=(0,n.useState)(""),[A,D]=(0,n.useState)(null),[z,B]=(0,n.useState)(!1),[F,J]=(0,n.useState)(!0),[K,W]=(0,n.useState)(!1),G=(0,n.useRef)(null),[X,q]=(0,n.useState)(!1),[Y,Q]=(0,n.useState)("full"),[V,Z]=(0,n.useState)(!1),[ee,ea]=(0,n.useState)("full"),[es,et]=(0,n.useState)(!1),[el,en]=(0,n.useState)(25e3),[ei,er]=(0,n.useState)({installed:!1,installing:!1,running:!1,version:null,loading:!0}),[eo,ec]=(0,n.useState)(null),[ed,eh]=(0,n.useState)(!1),[em,ep]=(0,n.useState)(!1),[eu,ex]=(0,n.useState)(""),[ev,eg]=(0,n.useState)("en"),{copied:ef,copy:e_}=(0,o.C)();(0,n.useEffect)(()=>(eg((0,c.kk)()),(0,c.oQ)(()=>eg((0,c.kk)()))),[]);let ej=d.hT.includes(ev),ey=ej?d.ev:d.ev.filter(e=>!e.wenyan);(0,n.useEffect)(()=>{let e=d.ev.find(e=>e.id===Y);e?.wenyan&&!ej&&(Q("ultra"),ek({cavemanLevel:"ultra"}))},[ej,Y]);let ek=async e=>{try{await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})}catch(e){console.log("Error updating setting:",e)}},eb=async e=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({rtkEnabled:e})})).ok&&a(e)}catch(e){console.log("Error updating rtkEnabled:",e)}},eC=async()=>{let e=x.trim()||"http://localhost:8787";v(e),await ek({headroomUrl:e}),eN()},eN=(0,n.useCallback)(async()=>{j(e=>({...e,loading:!0}));try{let e=await fetch("/api/headroom/status",{headers:{"Cache-Control":"no-store"}}),a=await e.json();if(j({...a,loading:!1}),!a?.installed){E({version:null,extras:{code:!1,ml:!1},available:["code","ml"],loading:!1}),L([]);return}try{let e=await fetch("/api/headroom/extras",{headers:{"Cache-Control":"no-store"}});if(!e.ok)throw Error("extras status failed");let a=await e.json();E(e=>({...e,version:a.version??null,extras:a.extras||{code:!1,ml:!1},available:a.available||["code","ml"],loading:!1})),L([])}catch{E({version:null,extras:{code:!1,ml:!1},available:["code","ml"],loading:!1}),L([])}}catch{j({installed:!1,running:!1,python:null,loading:!1}),E({version:null,extras:{code:!1,ml:!1},available:["code","ml"],loading:!1}),L([])}},[]),eS=(0,n.useCallback)(async()=>{S(""),C(!0);try{let e=await fetch("/api/headroom/start",{method:"POST"}),a=await e.json().catch(()=>({}));if(!e.ok)throw Error(a.error||"Failed to start proxy");await eN()}catch(e){S(e.message)}finally{C(!1)}},[eN]),ew=(0,n.useCallback)(async()=>{C(!0);try{await fetch("/api/headroom/stop",{method:"POST"}),await eN()}finally{C(!1)}},[eN]),eE=(0,n.useCallback)(()=>{U(""),G.current&&clearInterval(G.current);let e=async()=>{try{let e=await fetch("/api/headroom/extras?log=1",{headers:{"Cache-Control":"no-store"}}),a=await e.json().catch(()=>({}));"string"==typeof a.log&&U(a.log)}catch{}};e(),G.current=setInterval(e,1500)},[]),eH=(0,n.useCallback)(()=>{G.current&&(clearInterval(G.current),G.current=null)},[]);(0,n.useEffect)(()=>()=>eH(),[eH]);let eL=(0,n.useCallback)(async()=>{if(0!==H.length){T(!0),M(""),eE();try{let e=await fetch("/api/headroom/extras",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({extras:H})}),a=await e.json().catch(()=>({}));if(!e.ok)throw Error(a.error||"Install failed");E(e=>({...e,version:a.version??e.version,extras:a.extras||e.extras})),L([])}catch(e){M(e.message)}finally{eH(),T(!1)}}},[H,eE,eH]),eP=(0,n.useCallback)(async e=>{$(e),M(""),eE();try{let a=await fetch("/api/headroom/extras",{method:"DELETE",headers:{"Content-Type":"application/json"},body:JSON.stringify({extras:[e]})}),s=await a.json().catch(()=>({}));if(!a.ok)throw Error(s.error||"Remove failed");E(e=>({...e,version:s.version??e.version,extras:s.extras||e.extras}))}catch(e){M(e.message)}finally{eH(),$(null)}},[eE,eH]),eT=(0,n.useCallback)(()=>{if(0!==H.length){if(H.includes("ml"))return void D({title:"Install [ml]",message:"[ml] downloads ~1 GB (torch + huggingface-hub). Continue?",confirmText:"Install",variant:"primary",onConfirm:eL});eL()}},[H,eL]),eR=(0,n.useCallback)(e=>{D({title:`Remove [${e}]`,message:`Remove [${e}] and its packages?`,confirmText:"Remove",variant:"danger",onConfirm:()=>eP(e)})},[eP]),eM=(0,n.useCallback)(async(e,a)=>{if(M(""),"code"===e&&B(a),"ml"===e&&J(a),await ek({["code"===e?"headroomCodeAware":"headroomKompress"]:a}),_.running){W(!0);try{let e=await fetch("/api/headroom/restart",{method:"POST"}),a=await e.json().catch(()=>({}));if(!e.ok)throw Error(a.error||"Restart failed");await eN()}catch(e){M(e.message)}finally{W(!1)}}},[_.running,eN]),eI=(0,n.useCallback)(async()=>{er(e=>({...e,loading:!0}));try{let e=await fetch("/api/pxpipe/status",{headers:{"Cache-Control":"no-store"}}),a=await e.json();er({...a,loading:!1}),"number"==typeof a.minChars&&en(a.minChars)}catch{er({installed:!1,installing:!1,running:!1,version:null,loading:!1})}},[]),e$=(0,n.useCallback)(async()=>{try{let e=await fetch("/api/pxpipe/health",{method:"POST"});ec(await e.json())}catch(e){ec({healthy:!1,checks:[],error:e.message})}},[]),eO=(0,n.useCallback)(async e=>{ex(""),ep(!0);try{let a=await fetch(`/api/pxpipe/${e}`,{method:"POST"}),s=await a.json().catch(()=>({}));if(!a.ok)throw Error(s.error||`PXPIPE ${e} failed`);await eI(),await e$()}catch(e){ex(e.message)}finally{ep(!1)}},[eI,e$]);(0,n.useEffect)(()=>{(async()=>{try{let e=await fetch("/api/settings");if(e.ok){let s=await e.json();a(!1!==s.rtkEnabled),h(!!s.headroomEnabled),v(s.headroomUrl||"http://localhost:8787"),"number"==typeof s.headroomTimeoutMs&&f(s.headroomTimeoutMs),B(!0===s.headroomCodeAware),J(!1!==s.headroomKompress),q(!!s.cavemanEnabled),Q(s.cavemanLevel||"full"),Z(!!s.ponytailEnabled),ea(s.ponytailLevel||"full"),et(!!s.pxpipeEnabled),"number"==typeof s.pxpipeMinChars&&en(s.pxpipeMinChars),eN(),eI().then(e$)}}catch{}})()},[eN,eI,e$]);let eU=!!_.running,eA=_.loading?"Checking…":eU?"Running":!1===_.localUrl||_.installed?!1!==_.localUrl?"Stopped":"External":"Not installed",eD=!1!==_.localUrl,ez=!!_.canStart,eB=eD&&!!_.managedPid,eF=_.loading?"default":eU?"success":"warning",eJ=eD&&(eU||ez||!_.installed),eK=eo?.healthy===!0,eW=ei.loading?"Checking…":ei.installing?"Installing…":ei.installed?eK?"Healthy":ei.running?"Running":"Stopped":"Not installed",eG=(0,n.useMemo)(()=>ey.map(e=>({value:e.id,label:e.label,title:e.desc})),[ey]),eX=(0,n.useMemo)(()=>d.Nv.map(e=>({value:e.id,label:e.label,title:e.desc})),[]),eq=[e,s,X,V].filter(Boolean).length;return(0,t.jsxs)("div",{className:`dashboard-surface ${m().page}`,children:[(0,t.jsxs)("header",{className:m().header,children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsxs)("h1",{className:"ui-eyebrow flex items-center gap-2",children:[(0,t.jsx)(l.default,{className:"text-[16px]",children:"bolt"})," Token Saver"]}),(0,t.jsx)("p",{className:m().description,children:"Request-time compression that cuts prompt and completion tokens before they reach the model"})]}),(0,t.jsx)("div",{className:m().summary,children:(0,t.jsxs)(r.A,{variant:eq>0?"success":"default",children:[eq," of 4 strategies active"]})})]}),(0,t.jsxs)("section",{className:`ui-card ${m().section}`,"aria-labelledby":"token-saver-strategies-heading",children:[(0,t.jsx)("div",{className:m().sectionHeader,children:(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsxs)("h2",{id:"token-saver-strategies-heading",className:"ui-eyebrow flex items-center gap-2",children:[(0,t.jsx)(l.default,{className:"text-[16px]",children:"list_alt"})," Strategies"]}),(0,t.jsx)("p",{className:m().sectionDescription,children:"Each strategy is applied independently. Changes save immediately."})]})}),(0,t.jsx)(u,{icon:"bolt",title:"Compress tool output",doc:"RTK",docHref:"https://github.com/rtk-ai/rtk",active:e,description:"git/grep/ls/tree/logs → 60-90% fewer input tokens",control:(0,t.jsx)(i.lM,{checked:e,onChange:()=>eb(!e),"aria-label":"Compress tool output (RTK)"})}),(0,t.jsx)(u,{icon:"layers",title:"Compress context",doc:"Headroom",docHref:"https://github.com/chopratejas/headroom",active:s,description:"Compress prompts via /v1/compress before routing to the model",control:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.A,{variant:eF,children:eA}),eJ&&(0,t.jsx)(i.$n,{variant:"secondary",size:"sm",onClick:()=>k(!0),children:eU?"Manage":"Setup"}),(0,t.jsx)(i.lM,{checked:s,onChange:()=>{var e;let a;return e=!s,void(v(a=x.trim()||"http://localhost:8787"),h(e),ek({headroomEnabled:e,headroomUrl:a}))},"aria-label":"Compress context (Headroom)"})]}),children:_.installed&&(0,t.jsxs)("div",{className:m().extras,children:[(0,t.jsxs)("div",{className:m().extrasHeader,children:[(0,t.jsxs)("span",{className:m().extrasMeta,children:["Compression extras",w.version?` \xb7 v${w.version}`:""]}),H.length>0&&(0,t.jsx)(i.$n,{size:"sm",variant:"contrast",onClick:eT,disabled:P,loading:P,children:`Install [proxy,${H.join(",")}]`})]}),(0,t.jsx)("div",{className:m().chips,children:w.available.map(e=>{let a=!!w.extras[e],s=H.includes(e),l="code"===e?"tree-sitter AST compression for code responses":"Kompress-v2 HF model for prose/agentic traces (~+1GB)";if(a){let a="code"===e?z:F;return(0,t.jsxs)("div",{className:m().chip,"data-installed":"true",title:l,children:[(0,t.jsx)(i.lM,{size:"sm",checked:a,disabled:K,onChange:()=>eM(e,!a),"aria-label":`${a?"Disable":"Enable"} [${e}]`}),(0,t.jsxs)("span",{children:["[",e,"]"]}),(0,t.jsx)("button",{type:"button",onClick:()=>eR(e),disabled:I===e,className:m().uninstall,title:`Uninstall [${e}]`,children:I===e?"Uninstalling…":"Uninstall"})]},e)}return(0,t.jsxs)("label",{className:m().chip,"data-selected":s?"true":"false",title:l,children:[(0,t.jsx)("input",{type:"checkbox",checked:s,onChange:()=>{L(a=>a.includes(e)?a.filter(a=>a!==e):[...a,e])}}),(0,t.jsxs)("span",{children:["[",e,"]"]}),(0,t.jsx)("span",{className:m().chipNote,children:"not installed"})]},e)})}),R&&(0,t.jsx)("p",{className:m().notice,children:R}),K&&(0,t.jsx)("p",{className:m().progressNote,children:"Restarting proxy…"}),(P||I)&&O&&(0,t.jsx)("pre",{className:m().installLog,children:O}),(0,t.jsxs)("p",{className:m().extrasHelp,children:["Installing adds the package; use ",(0,t.jsx)("code",{children:"on"}),"/",(0,t.jsx)("code",{children:"off"})," to activate it (restarts the proxy). Default install is ",(0,t.jsx)("code",{children:"[proxy]"})," only (SmartCrusher for JSON). Adding ",(0,t.jsx)("code",{children:"[code]"})," enables AST compression (Python/JS/TS/Go/Rust/Java/C/C++/Perl). Adding ",(0,t.jsx)("code",{children:"[ml]"})," enables the Kompress-v2 HF model for prose/agentic traces but adds ~1 GB (torch + huggingface-hub)."]})]})}),(0,t.jsx)(u,{icon:"record_voice_over",title:"Compress LLM output",doc:"Caveman",docHref:"https://github.com/JuliusBrussee/caveman",active:X,description:"Terse-style system prompt → ~65% fewer output tokens (up to 87%)",control:(0,t.jsxs)(t.Fragment,{children:[X&&(0,t.jsxs)("div",{className:m().levels,children:[(0,t.jsx)(i.Iz,{options:eG,value:Y,onChange:e=>{Q(e),ek({cavemanLevel:e})},size:"sm","aria-label":"Caveman compression level"}),(0,t.jsx)("p",{className:m().levelHint,children:d.ev.find(e=>e.id===Y)?.desc})]}),(0,t.jsx)(i.lM,{checked:X,onChange:()=>{var e;q(e=!X),ek({cavemanEnabled:e})},"aria-label":"Compress LLM output (Caveman)"})]})}),(0,t.jsx)(u,{icon:"code",title:"Lazy senior dev",doc:"Ponytail",docHref:"https://github.com/DietrichGebert/ponytail",active:V,description:"Bias the model toward minimal code: YAGNI, reuse stdlib, deletion over addition",control:(0,t.jsxs)(t.Fragment,{children:[V&&(0,t.jsxs)("div",{className:m().levels,children:[(0,t.jsx)(i.Iz,{options:eX,value:ee,onChange:e=>{ea(e),ek({ponytailLevel:e})},size:"sm","aria-label":"Ponytail level"}),(0,t.jsx)("p",{className:m().levelHint,children:d.Nv.find(e=>e.id===ee)?.desc})]}),(0,t.jsx)(i.lM,{checked:V,onChange:()=>{var e;Z(e=!V),ek({ponytailEnabled:e})},"aria-label":"Lazy senior dev (Ponytail)"})]})}),!1]}),(0,t.jsx)(i.aF,{className:m().dialog,isOpen:y,title:eU?"Headroom":"Setup Headroom",onClose:()=>k(!1),children:(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:m().statusRow,children:[(0,t.jsx)("span",{children:"Status"}),(0,t.jsx)(r.A,{variant:eF,children:eA})]}),eU&&(0,t.jsx)("a",{href:"/api/headroom/proxy/dashboard",target:"_blank",rel:"noreferrer",className:m().linkButton,children:"Open Headroom Dashboard"}),(0,t.jsx)(i.pd,{label:"Proxy URL",value:x,onChange:e=>v(e.target.value),onBlur:eC,placeholder:"http://localhost:8787",hint:"Use a local proxy for Start/Stop, or an external Docker sidecar like http://headroom:8787.",inputClassName:"font-mono text-xs"}),(0,t.jsx)(i.pd,{label:"Timeout (ms)",value:String(g),onChange:e=>f(e.target.value),onBlur:()=>{let e=Math.round(Number(g)),a=Number.isFinite(e)&&e>0?e:3e3;f(a),ek({headroomTimeoutMs:a})},placeholder:"3000",hint:"Request timeout in milliseconds. Defaults to 3000 ms.",inputClassName:"font-mono text-xs"}),eB?(0,t.jsx)(i.$n,{onClick:ew,variant:"ghost",fullWidth:!0,disabled:b,children:b?"Stopping…":"Stop Headroom"}):eU?(0,t.jsx)("p",{className:m().progressNote,children:"Headroom proxy is reachable. You can enable the token saver."}):ez?(0,t.jsx)(i.$n,{onClick:eS,variant:"contrast",fullWidth:!0,disabled:b,children:b?"Starting…":"Start Headroom"}):eD?_.python?(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)("p",{className:m().fieldLabel,children:"Install then click Start"}),(0,t.jsxs)("div",{className:m().installCommand,children:[(0,t.jsx)("code",{className:"flex-1",children:p}),(0,t.jsx)(i.$n,{size:"sm",variant:"secondary",onClick:()=>e_(p),children:ef?"Copied":"Copy"})]})]}):(0,t.jsx)("p",{className:m().notice,children:"Python ≥ 3.10 required for local managed mode. Install Python first, or use an external proxy URL."}):(0,t.jsx)("p",{className:m().notice,children:"Start Headroom separately at the configured URL, then recheck."}),N&&(0,t.jsx)("p",{className:m().notice,children:N}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(i.$n,{onClick:()=>eN(),variant:"ghost",fullWidth:!0,children:"Recheck"}),(0,t.jsx)(i.$n,{onClick:()=>k(!1),variant:"contrast",fullWidth:!0,children:"Done"})]})]})}),(0,t.jsx)(i.aF,{className:m().dialog,isOpen:!1,title:ei.installed?"PXPIPE":"Setup PXPIPE",onClose:()=>eh(!1),children:(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)("p",{className:m().description,children:"Compress prompts using multimodal encoding. Runs in-process — no extra server or environment variables required."}),(0,t.jsxs)("div",{className:m().statusRow,children:[(0,t.jsx)("span",{children:"Status"}),(0,t.jsxs)(r.A,{variant:eK||ei.running?"success":"warning",children:[eW,ei.version?` \xb7 v${ei.version}`:""]})]}),eo?.checks?.length>0&&(0,t.jsxs)("div",{className:m().extras,children:[(0,t.jsx)("p",{className:m().fieldLabel,children:"Health check"}),(0,t.jsx)("div",{className:"flex flex-col gap-1",children:eo.checks.map(e=>(0,t.jsxs)("div",{className:m().statusRow,children:[(0,t.jsx)(r.A,{variant:e.ok?"success":"warning",dot:!1,children:e.label}),e.detail&&(0,t.jsx)("span",{className:`${m().extrasMeta} truncate max-w-[50%]`,children:e.detail})]},e.id))}),eo.error&&(0,t.jsx)("p",{className:m().notice,children:eo.error})]}),ei.installed?(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[ei.running?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.$n,{onClick:()=>eO("restart"),variant:"ghost",disabled:em,children:"Restart"}),(0,t.jsx)(i.$n,{onClick:()=>eO("stop"),variant:"ghost",disabled:em,children:"Stop"})]}):(0,t.jsx)(i.$n,{onClick:()=>eO("start"),variant:"contrast",disabled:em,children:em?"Starting…":"Start"}),(0,t.jsx)(i.$n,{onClick:()=>eO("install"),variant:"ghost",disabled:em,children:"Repair"}),(0,t.jsx)("a",{href:"/dashboard/pxpipe#logs",className:`${m().linkButton} col-span-2`,children:"Open Logs"})]}):(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("p",{className:m().notice,children:"PXPIPE is not installed."}),(0,t.jsx)(i.$n,{onClick:()=>eO("install"),variant:"contrast",fullWidth:!0,disabled:em||ei.installing,children:em||ei.installing?"Installing…":"Install"}),(0,t.jsxs)("p",{className:m().description,children:["Installs the npm package ",(0,t.jsx)("code",{className:m().hintCode,children:"pxpipe-proxy"})," into the 9Router data directory. May take a few minutes."]})]}),(0,t.jsx)(i.pd,{label:"Minimum prompt size (chars)",value:String(el),onChange:e=>en(e.target.value),onBlur:()=>{let e=Math.max(0,Number(el)||25e3);en(e),ek({pxpipeMinChars:e})},placeholder:"25000",hint:"Requests smaller than this bypass PXPIPE and are sent as-is.",inputClassName:"font-mono text-xs"}),eu&&(0,t.jsx)("p",{className:m().notice,children:eu}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(i.$n,{onClick:()=>eI().then(e$),variant:"ghost",fullWidth:!0,children:"Recheck"}),(0,t.jsx)(i.$n,{onClick:()=>eh(!1),variant:"contrast",fullWidth:!0,children:"Done"})]})]})}),(0,t.jsx)(i.uo,{className:m().dialog,isOpen:!!A,onClose:()=>D(null),onConfirm:()=>{let e=A?.onConfirm;D(null),e?.()},title:A?.title,message:A?.message,confirmText:A?.confirmText,variant:A?.variant})]})}},96091:e=>{e.exports={page:"token-saver_page__79V8u usage_page__TfrVH DashboardControls_formScope__ID02o",header:"token-saver_header__Qk3iN usage_header__Pj5rE",description:"token-saver_description__WdRoO usage_description___N7_0",section:"token-saver_section__UHCch usage_section__Q1FLM",sectionHeader:"token-saver_sectionHeader__s_oJS usage_sectionHeader__ikyc_",sectionDescription:"token-saver_sectionDescription__JPhfC usage_sectionDescription__hUHjE",dialog:"token-saver_dialog___IKgp DashboardControls_dialog__YyPS4",inset:"token-saver_inset__biEJH usage_inset__ua4iZ",fieldLabel:"token-saver_fieldLabel__0zEKO usage_fieldLabel__QyUjE",summary:"token-saver_summary__WL02H",strategy:"token-saver_strategy__SOcTp",strategyHeader:"token-saver_strategyHeader__2JL_c",identity:"token-saver_identity__nhMJs",titleLine:"token-saver_titleLine__rRvzO",title:"token-saver_title__9opCy",docLink:"token-saver_docLink__Kfjx_",metadata:"token-saver_metadata__ktGrx",actions:"token-saver_actions__xqMmb",levels:"token-saver_levels__J1_s1",levelHint:"token-saver_levelHint__GXnJL",extras:"token-saver_extras__eedyn",extrasHeader:"token-saver_extrasHeader__E7uTh",extrasMeta:"token-saver_extrasMeta__VHRl_",chips:"token-saver_chips__tXaAY",chip:"token-saver_chip__n9SqO",chipNote:"token-saver_chipNote__urLM1",uninstall:"token-saver_uninstall__oAeyS",extrasHelp:"token-saver_extrasHelp__uU9VU",installCommand:"token-saver_installCommand__DWC4N",hintCode:"token-saver_hintCode__FXy2E",installLog:"token-saver_installLog__Aug__",notice:"token-saver_notice__YUKZQ",progressNote:"token-saver_progressNote__5mq8C",statusRow:"token-saver_statusRow__sBf3V",linkButton:"token-saver_linkButton__vEGct"}}},e=>{e.O(0,[3493,8679,970,636,2904,6506,8500,3847,1321,705,5497,8441,3794,7358],()=>e(e.s=43407)),_N_E=e.O()}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9839],{15536:(e,a,s)=>{"use strict";s.d(a,{Cp:()=>i,Hx:()=>n,Iv:()=>d,Nv:()=>m,RL:()=>c,ev:()=>h,fl:()=>r,hT:()=>t,oX:()=>l,t6:()=>o});let t=["zh-CN","zh-TW"],l=[{icon:"public",title:"Access Anywhere",desc:"Use your API from any network"},{icon:"group",title:"Share Endpoint",desc:"Share URL with team members"},{icon:"code",title:"Use in Cursor/Cline",desc:"Connect AI tools remotely"},{icon:"lock",title:"Encrypted",desc:"End-to-end TLS via Cloudflare"}],n=2e3,i=3e5,r=5e3,o=5,c=1e4,d=5e3,h=[{id:"lite",label:"Lite",desc:"Drop filler, keep grammar"},{id:"full",label:"Full",desc:"Drop articles, fragments OK"},{id:"ultra",label:"Ultra",desc:"Telegraphic, max compression"},{id:"wenyan-lite",label:"文 Lite",desc:"Classical Chinese, light compression",wenyan:!0},{id:"wenyan",label:"文 Full",desc:"Maximum 文言文, 80-90% reduction",wenyan:!0},{id:"wenyan-ultra",label:"文 Ultra",desc:"Extreme classical compression",wenyan:!0}],m=[{id:"lite",label:"Lite",desc:"Build asked, name lazier option"},{id:"full",label:"Full",desc:"Ladder enforced: stdlib/native first"},{id:"ultra",label:"Ultra",desc:"YAGNI extremist, deletion first"}]},43407:(e,a,s)=>{Promise.resolve().then(s.bind(s,61203))},61203:(e,a,s)=>{"use strict";s.d(a,{default:()=>x});var t=s(95155),l=s(96439),n=s(12115),i=s(35497),r=s(66119),o=s(11059),c=s(73006),d=s(15536),h=s(96091),m=s.n(h);let p='pip install "headroom-ai[proxy]"';function u({icon:e,title:a,doc:s,docHref:n,active:i,description:o,control:c,children:d}){return(0,t.jsxs)("div",{className:m().strategy,children:[(0,t.jsxs)("div",{className:m().strategyHeader,children:[(0,t.jsxs)("div",{className:m().identity,children:[(0,t.jsx)(l.default,{className:"shrink-0 text-[16px] text-[var(--text-2)]",children:e}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsxs)("div",{className:m().titleLine,children:[(0,t.jsx)("span",{className:m().title,children:a}),(0,t.jsx)("a",{href:n,target:"_blank",rel:"noreferrer",className:m().docLink,children:s}),(0,t.jsx)(r.A,{variant:i?"success":"default",children:i?"Active":"Off"})]}),(0,t.jsx)("p",{className:m().metadata,children:o})]})]}),(0,t.jsx)("div",{className:m().actions,children:c})]}),d]})}function x(){let[e,a]=(0,n.useState)(!0),[s,h]=(0,n.useState)(!1),[x,v]=(0,n.useState)("http://localhost:8787"),[g,f]=(0,n.useState)(3e3),[_,j]=(0,n.useState)({installed:!1,running:!1,python:null,loading:!0}),[y,k]=(0,n.useState)(!1),[b,C]=(0,n.useState)(!1),[N,S]=(0,n.useState)(""),[w,E]=(0,n.useState)({version:null,extras:{code:!1,ml:!1},available:["code","ml"],loading:!1}),[H,L]=(0,n.useState)([]),[P,T]=(0,n.useState)(!1),[R,M]=(0,n.useState)(""),[I,$]=(0,n.useState)(null),[O,U]=(0,n.useState)(""),[A,D]=(0,n.useState)(null),[z,J]=(0,n.useState)(!1),[B,F]=(0,n.useState)(!0),[K,W]=(0,n.useState)(!1),G=(0,n.useRef)(null),[X,q]=(0,n.useState)(!1),[Y,Q]=(0,n.useState)("full"),[V,Z]=(0,n.useState)(!1),[ee,ea]=(0,n.useState)("full"),[es,et]=(0,n.useState)(!1),[el,en]=(0,n.useState)(25e3),[ei,er]=(0,n.useState)({installed:!1,installing:!1,running:!1,version:null,loading:!0}),[eo,ec]=(0,n.useState)(null),[ed,eh]=(0,n.useState)(!1),[em,ep]=(0,n.useState)(!1),[eu,ex]=(0,n.useState)(""),[ev,eg]=(0,n.useState)("en"),{copied:ef,copy:e_}=(0,o.C)();(0,n.useEffect)(()=>(eg((0,c.kk)()),(0,c.oQ)(()=>eg((0,c.kk)()))),[]);let ej=d.hT.includes(ev),ey=ej?d.ev:d.ev.filter(e=>!e.wenyan);(0,n.useEffect)(()=>{let e=d.ev.find(e=>e.id===Y);e?.wenyan&&!ej&&(Q("ultra"),ek({cavemanLevel:"ultra"}))},[ej,Y]);let ek=async e=>{try{await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})}catch(e){console.log("Error updating setting:",e)}},eb=async e=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({rtkEnabled:e})})).ok&&a(e)}catch(e){console.log("Error updating rtkEnabled:",e)}},eC=async()=>{let e=x.trim()||"http://localhost:8787";v(e),await ek({headroomUrl:e}),eN()},eN=(0,n.useCallback)(async()=>{j(e=>({...e,loading:!0}));try{let e=await fetch("/api/headroom/status",{headers:{"Cache-Control":"no-store"}}),a=await e.json();if(j({...a,loading:!1}),!a?.installed){E({version:null,extras:{code:!1,ml:!1},available:["code","ml"],loading:!1}),L([]);return}try{let e=await fetch("/api/headroom/extras",{headers:{"Cache-Control":"no-store"}});if(!e.ok)throw Error("extras status failed");let a=await e.json();E(e=>({...e,version:a.version??null,extras:a.extras||{code:!1,ml:!1},available:a.available||["code","ml"],loading:!1})),L([])}catch{E({version:null,extras:{code:!1,ml:!1},available:["code","ml"],loading:!1}),L([])}}catch{j({installed:!1,running:!1,python:null,loading:!1}),E({version:null,extras:{code:!1,ml:!1},available:["code","ml"],loading:!1}),L([])}},[]),eS=(0,n.useCallback)(async()=>{S(""),C(!0);try{let e=await fetch("/api/headroom/start",{method:"POST"}),a=await e.json().catch(()=>({}));if(!e.ok)throw Error(a.error||"Failed to start proxy");await eN()}catch(e){S(e.message)}finally{C(!1)}},[eN]),ew=(0,n.useCallback)(async()=>{C(!0);try{await fetch("/api/headroom/stop",{method:"POST"}),await eN()}finally{C(!1)}},[eN]),eE=(0,n.useCallback)(()=>{U(""),G.current&&clearInterval(G.current);let e=async()=>{try{let e=await fetch("/api/headroom/extras?log=1",{headers:{"Cache-Control":"no-store"}}),a=await e.json().catch(()=>({}));"string"==typeof a.log&&U(a.log)}catch{}};e(),G.current=setInterval(e,1500)},[]),eH=(0,n.useCallback)(()=>{G.current&&(clearInterval(G.current),G.current=null)},[]);(0,n.useEffect)(()=>()=>eH(),[eH]);let eL=(0,n.useCallback)(async()=>{if(0!==H.length){T(!0),M(""),eE();try{let e=await fetch("/api/headroom/extras",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({extras:H})}),a=await e.json().catch(()=>({}));if(!e.ok)throw Error(a.error||"Install failed");E(e=>({...e,version:a.version??e.version,extras:a.extras||e.extras})),L([])}catch(e){M(e.message)}finally{eH(),T(!1)}}},[H,eE,eH]),eP=(0,n.useCallback)(async e=>{$(e),M(""),eE();try{let a=await fetch("/api/headroom/extras",{method:"DELETE",headers:{"Content-Type":"application/json"},body:JSON.stringify({extras:[e]})}),s=await a.json().catch(()=>({}));if(!a.ok)throw Error(s.error||"Remove failed");E(e=>({...e,version:s.version??e.version,extras:s.extras||e.extras}))}catch(e){M(e.message)}finally{eH(),$(null)}},[eE,eH]),eT=(0,n.useCallback)(()=>{if(0!==H.length){if(H.includes("ml"))return void D({title:"Install [ml]",message:"[ml] downloads ~1 GB (torch + huggingface-hub). Continue?",confirmText:"Install",variant:"primary",onConfirm:eL});eL()}},[H,eL]),eR=(0,n.useCallback)(e=>{D({title:`Remove [${e}]`,message:`Remove [${e}] and its packages?`,confirmText:"Remove",variant:"danger",onConfirm:()=>eP(e)})},[eP]),eM=(0,n.useCallback)(async(e,a)=>{if(M(""),"code"===e&&J(a),"ml"===e&&F(a),await ek({["code"===e?"headroomCodeAware":"headroomKompress"]:a}),_.running){W(!0);try{let e=await fetch("/api/headroom/restart",{method:"POST"}),a=await e.json().catch(()=>({}));if(!e.ok)throw Error(a.error||"Restart failed");await eN()}catch(e){M(e.message)}finally{W(!1)}}},[_.running,eN]),eI=(0,n.useCallback)(async()=>{er(e=>({...e,loading:!0}));try{let e=await fetch("/api/pxpipe/status",{headers:{"Cache-Control":"no-store"}}),a=await e.json();er({...a,loading:!1}),"number"==typeof a.minChars&&en(a.minChars)}catch{er({installed:!1,installing:!1,running:!1,version:null,loading:!1})}},[]),e$=(0,n.useCallback)(async()=>{try{let e=await fetch("/api/pxpipe/health",{method:"POST"});ec(await e.json())}catch(e){ec({healthy:!1,checks:[],error:e.message})}},[]),eO=(0,n.useCallback)(async e=>{ex(""),ep(!0);try{let a=await fetch(`/api/pxpipe/${e}`,{method:"POST"}),s=await a.json().catch(()=>({}));if(!a.ok)throw Error(s.error||`PXPIPE ${e} failed`);await eI(),await e$()}catch(e){ex(e.message)}finally{ep(!1)}},[eI,e$]);(0,n.useEffect)(()=>{(async()=>{try{let e=await fetch("/api/settings");if(e.ok){let s=await e.json();a(!1!==s.rtkEnabled),h(!!s.headroomEnabled),v(s.headroomUrl||"http://localhost:8787"),"number"==typeof s.headroomTimeoutMs&&f(s.headroomTimeoutMs),J(!0===s.headroomCodeAware),F(!1!==s.headroomKompress),q(!!s.cavemanEnabled),Q(s.cavemanLevel||"full"),Z(!!s.ponytailEnabled),ea(s.ponytailLevel||"full"),et(!!s.pxpipeEnabled),"number"==typeof s.pxpipeMinChars&&en(s.pxpipeMinChars),eN(),eI().then(e$)}}catch{}})()},[eN,eI,e$]);let eU=!!_.running,eA=_.loading?"Checking…":eU?"Running":!1===_.localUrl||_.installed?!1!==_.localUrl?"Stopped":"External":"Not installed",eD=!1!==_.localUrl,ez=!!_.canStart,eJ=eD&&!!_.managedPid,eB=_.loading?"default":eU?"success":"warning",eF=eD&&(eU||ez||!_.installed),eK=eo?.healthy===!0,eW=ei.loading?"Checking…":ei.installing?"Installing…":ei.installed?eK?"Healthy":ei.running?"Running":"Stopped":"Not installed",eG=(0,n.useMemo)(()=>ey.map(e=>({value:e.id,label:e.label,title:e.desc})),[ey]),eX=(0,n.useMemo)(()=>d.Nv.map(e=>({value:e.id,label:e.label,title:e.desc})),[]),eq=[e,s,X,V].filter(Boolean).length;return(0,t.jsxs)("div",{className:`dashboard-surface ${m().page}`,children:[(0,t.jsxs)("header",{className:m().header,children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsxs)("h1",{className:"ui-eyebrow flex items-center gap-2",children:[(0,t.jsx)(l.default,{className:"text-[16px]",children:"bolt"})," Token Saver"]}),(0,t.jsx)("p",{className:m().description,children:"Request-time compression that cuts prompt and completion tokens before they reach the model"})]}),(0,t.jsx)("div",{className:m().summary,children:(0,t.jsxs)(r.A,{variant:eq>0?"success":"default",children:[eq," of 4 strategies active"]})})]}),(0,t.jsxs)("section",{className:`ui-card ${m().section}`,"aria-labelledby":"token-saver-strategies-heading",children:[(0,t.jsx)("div",{className:m().sectionHeader,children:(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsxs)("h2",{id:"token-saver-strategies-heading",className:"ui-eyebrow flex items-center gap-2",children:[(0,t.jsx)(l.default,{className:"text-[16px]",children:"list_alt"})," Strategies"]}),(0,t.jsx)("p",{className:m().sectionDescription,children:"Each strategy is applied independently. Changes save immediately."})]})}),(0,t.jsx)(u,{icon:"bolt",title:"Compress tool output",doc:"RTK",docHref:"https://github.com/rtk-ai/rtk",active:e,description:"git/grep/ls/tree/logs → 60-90% fewer input tokens",control:(0,t.jsx)(i.lM,{checked:e,onChange:()=>eb(!e),"aria-label":"Compress tool output (RTK)"})}),(0,t.jsx)(u,{icon:"layers",title:"Compress context",doc:"Headroom",docHref:"https://github.com/chopratejas/headroom",active:s,description:"Compress prompts via /v1/compress before routing to the model",control:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.A,{variant:eB,children:eA}),eF&&(0,t.jsx)(i.$n,{variant:"secondary",size:"sm",onClick:()=>k(!0),children:eU?"Manage":"Setup"}),(0,t.jsx)(i.lM,{checked:s,onChange:()=>{var e;let a;return e=!s,void(v(a=x.trim()||"http://localhost:8787"),h(e),ek({headroomEnabled:e,headroomUrl:a}))},"aria-label":"Compress context (Headroom)"})]}),children:_.installed&&(0,t.jsxs)("div",{className:m().extras,children:[(0,t.jsxs)("div",{className:m().extrasHeader,children:[(0,t.jsxs)("span",{className:m().extrasMeta,children:["Compression extras",w.version?` \xb7 v${w.version}`:""]}),H.length>0&&(0,t.jsx)(i.$n,{size:"sm",variant:"contrast",onClick:eT,disabled:P,loading:P,children:`Install [proxy,${H.join(",")}]`})]}),(0,t.jsx)("div",{className:m().chips,children:w.available.map(e=>{let a=!!w.extras[e],s=H.includes(e),l="code"===e?"tree-sitter AST compression for code responses":"Kompress-v2 HF model for prose/agentic traces (~+1GB)";if(a){let a="code"===e?z:B;return(0,t.jsxs)("div",{className:m().chip,"data-installed":"true",title:l,children:[(0,t.jsx)(i.lM,{size:"sm",checked:a,disabled:K,onChange:()=>eM(e,!a),"aria-label":`${a?"Disable":"Enable"} [${e}]`}),(0,t.jsxs)("span",{children:["[",e,"]"]}),(0,t.jsx)("button",{type:"button",onClick:()=>eR(e),disabled:I===e,className:m().uninstall,title:`Uninstall [${e}]`,children:I===e?"Uninstalling…":"Uninstall"})]},e)}return(0,t.jsxs)("label",{className:m().chip,"data-selected":s?"true":"false",title:l,children:[(0,t.jsx)("input",{type:"checkbox",checked:s,onChange:()=>{L(a=>a.includes(e)?a.filter(a=>a!==e):[...a,e])}}),(0,t.jsxs)("span",{children:["[",e,"]"]}),(0,t.jsx)("span",{className:m().chipNote,children:"not installed"})]},e)})}),R&&(0,t.jsx)("p",{className:m().notice,children:R}),K&&(0,t.jsx)("p",{className:m().progressNote,children:"Restarting proxy…"}),(P||I)&&O&&(0,t.jsx)("pre",{className:m().installLog,children:O}),(0,t.jsxs)("p",{className:m().extrasHelp,children:["Installing adds the package; use ",(0,t.jsx)("code",{children:"on"}),"/",(0,t.jsx)("code",{children:"off"})," to activate it (restarts the proxy). Default install is ",(0,t.jsx)("code",{children:"[proxy]"})," only (SmartCrusher for JSON). Adding ",(0,t.jsx)("code",{children:"[code]"})," enables AST compression (Python/JS/TS/Go/Rust/Java/C/C++/Perl). Adding ",(0,t.jsx)("code",{children:"[ml]"})," enables the Kompress-v2 HF model for prose/agentic traces but adds ~1 GB (torch + huggingface-hub)."]})]})}),(0,t.jsx)(u,{icon:"record_voice_over",title:"Compress LLM output",doc:"Caveman",docHref:"https://github.com/JuliusBrussee/caveman",active:X,description:"Terse-style system prompt → ~65% fewer output tokens (up to 87%)",control:(0,t.jsxs)(t.Fragment,{children:[X&&(0,t.jsxs)("div",{className:m().levels,children:[(0,t.jsx)(i.Iz,{options:eG,value:Y,onChange:e=>{Q(e),ek({cavemanLevel:e})},size:"sm","aria-label":"Caveman compression level"}),(0,t.jsx)("p",{className:m().levelHint,children:d.ev.find(e=>e.id===Y)?.desc})]}),(0,t.jsx)(i.lM,{checked:X,onChange:()=>{var e;q(e=!X),ek({cavemanEnabled:e})},"aria-label":"Compress LLM output (Caveman)"})]})}),(0,t.jsx)(u,{icon:"code",title:"Lazy senior dev",doc:"Ponytail",docHref:"https://github.com/DietrichGebert/ponytail",active:V,description:"Bias the model toward minimal code: YAGNI, reuse stdlib, deletion over addition",control:(0,t.jsxs)(t.Fragment,{children:[V&&(0,t.jsxs)("div",{className:m().levels,children:[(0,t.jsx)(i.Iz,{options:eX,value:ee,onChange:e=>{ea(e),ek({ponytailLevel:e})},size:"sm","aria-label":"Ponytail level"}),(0,t.jsx)("p",{className:m().levelHint,children:d.Nv.find(e=>e.id===ee)?.desc})]}),(0,t.jsx)(i.lM,{checked:V,onChange:()=>{var e;Z(e=!V),ek({ponytailEnabled:e})},"aria-label":"Lazy senior dev (Ponytail)"})]})}),!1]}),(0,t.jsx)(i.aF,{className:m().dialog,isOpen:y,title:eU?"Headroom":"Setup Headroom",onClose:()=>k(!1),children:(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:m().statusRow,children:[(0,t.jsx)("span",{children:"Status"}),(0,t.jsx)(r.A,{variant:eB,children:eA})]}),eU&&(0,t.jsx)("a",{href:"/api/headroom/proxy/dashboard",target:"_blank",rel:"noreferrer",className:m().linkButton,children:"Open Headroom Dashboard"}),(0,t.jsx)(i.pd,{label:"Proxy URL",value:x,onChange:e=>v(e.target.value),onBlur:eC,placeholder:"http://localhost:8787",hint:"Use a local proxy for Start/Stop, or an external Docker sidecar like http://headroom:8787.",inputClassName:"font-mono text-xs"}),(0,t.jsx)(i.pd,{label:"Timeout (ms)",value:String(g),onChange:e=>f(e.target.value),onBlur:()=>{let e=Math.round(Number(g)),a=Number.isFinite(e)&&e>0?e:3e3;f(a),ek({headroomTimeoutMs:a})},placeholder:"3000",hint:"Request timeout in milliseconds. Defaults to 3000 ms.",inputClassName:"font-mono text-xs"}),eJ?(0,t.jsx)(i.$n,{onClick:ew,variant:"ghost",fullWidth:!0,disabled:b,children:b?"Stopping…":"Stop Headroom"}):eU?(0,t.jsx)("p",{className:m().progressNote,children:"Headroom proxy is reachable. You can enable the token saver."}):ez?(0,t.jsx)(i.$n,{onClick:eS,variant:"contrast",fullWidth:!0,disabled:b,children:b?"Starting…":"Start Headroom"}):eD?_.python?(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)("p",{className:m().fieldLabel,children:"Install then click Start"}),(0,t.jsxs)("div",{className:m().installCommand,children:[(0,t.jsx)("code",{className:"flex-1",children:p}),(0,t.jsx)(i.$n,{size:"sm",variant:"secondary",onClick:()=>e_(p),children:ef?"Copied":"Copy"})]})]}):(0,t.jsx)("p",{className:m().notice,children:"Python ≥ 3.10 required for local managed mode. Install Python first, or use an external proxy URL."}):(0,t.jsx)("p",{className:m().notice,children:"Start Headroom separately at the configured URL, then recheck."}),N&&(0,t.jsx)("p",{className:m().notice,children:N}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(i.$n,{onClick:()=>eN(),variant:"ghost",fullWidth:!0,children:"Recheck"}),(0,t.jsx)(i.$n,{onClick:()=>k(!1),variant:"contrast",fullWidth:!0,children:"Done"})]})]})}),(0,t.jsx)(i.aF,{className:m().dialog,isOpen:!1,title:ei.installed?"PXPIPE":"Setup PXPIPE",onClose:()=>eh(!1),children:(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)("p",{className:m().description,children:"Compress prompts using multimodal encoding. Runs in-process — no extra server or environment variables required."}),(0,t.jsxs)("div",{className:m().statusRow,children:[(0,t.jsx)("span",{children:"Status"}),(0,t.jsxs)(r.A,{variant:eK||ei.running?"success":"warning",children:[eW,ei.version?` \xb7 v${ei.version}`:""]})]}),eo?.checks?.length>0&&(0,t.jsxs)("div",{className:m().extras,children:[(0,t.jsx)("p",{className:m().fieldLabel,children:"Health check"}),(0,t.jsx)("div",{className:"flex flex-col gap-1",children:eo.checks.map(e=>(0,t.jsxs)("div",{className:m().statusRow,children:[(0,t.jsx)(r.A,{variant:e.ok?"success":"warning",dot:!1,children:e.label}),e.detail&&(0,t.jsx)("span",{className:`${m().extrasMeta} truncate max-w-[50%]`,children:e.detail})]},e.id))}),eo.error&&(0,t.jsx)("p",{className:m().notice,children:eo.error})]}),ei.installed?(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[ei.running?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.$n,{onClick:()=>eO("restart"),variant:"ghost",disabled:em,children:"Restart"}),(0,t.jsx)(i.$n,{onClick:()=>eO("stop"),variant:"ghost",disabled:em,children:"Stop"})]}):(0,t.jsx)(i.$n,{onClick:()=>eO("start"),variant:"contrast",disabled:em,children:em?"Starting…":"Start"}),(0,t.jsx)(i.$n,{onClick:()=>eO("install"),variant:"ghost",disabled:em,children:"Repair"}),(0,t.jsx)("a",{href:"/dashboard/pxpipe#logs",className:`${m().linkButton} col-span-2`,children:"Open Logs"})]}):(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("p",{className:m().notice,children:"PXPIPE is not installed."}),(0,t.jsx)(i.$n,{onClick:()=>eO("install"),variant:"contrast",fullWidth:!0,disabled:em||ei.installing,children:em||ei.installing?"Installing…":"Install"}),(0,t.jsxs)("p",{className:m().description,children:["Installs the npm package ",(0,t.jsx)("code",{className:m().hintCode,children:"pxpipe-proxy"})," into the JRouter data directory. May take a few minutes."]})]}),(0,t.jsx)(i.pd,{label:"Minimum prompt size (chars)",value:String(el),onChange:e=>en(e.target.value),onBlur:()=>{let e=Math.max(0,Number(el)||25e3);en(e),ek({pxpipeMinChars:e})},placeholder:"25000",hint:"Requests smaller than this bypass PXPIPE and are sent as-is.",inputClassName:"font-mono text-xs"}),eu&&(0,t.jsx)("p",{className:m().notice,children:eu}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(i.$n,{onClick:()=>eI().then(e$),variant:"ghost",fullWidth:!0,children:"Recheck"}),(0,t.jsx)(i.$n,{onClick:()=>eh(!1),variant:"contrast",fullWidth:!0,children:"Done"})]})]})}),(0,t.jsx)(i.uo,{className:m().dialog,isOpen:!!A,onClose:()=>D(null),onConfirm:()=>{let e=A?.onConfirm;D(null),e?.()},title:A?.title,message:A?.message,confirmText:A?.confirmText,variant:A?.variant})]})}},96091:e=>{e.exports={page:"token-saver_page__79V8u usage_page__TfrVH DashboardControls_formScope__ID02o",header:"token-saver_header__Qk3iN usage_header__Pj5rE",description:"token-saver_description__WdRoO usage_description___N7_0",section:"token-saver_section__UHCch usage_section__Q1FLM",sectionHeader:"token-saver_sectionHeader__s_oJS usage_sectionHeader__ikyc_",sectionDescription:"token-saver_sectionDescription__JPhfC usage_sectionDescription__hUHjE",dialog:"token-saver_dialog___IKgp DashboardControls_dialog__YyPS4",inset:"token-saver_inset__biEJH usage_inset__ua4iZ",fieldLabel:"token-saver_fieldLabel__0zEKO usage_fieldLabel__QyUjE",summary:"token-saver_summary__WL02H",strategy:"token-saver_strategy__SOcTp",strategyHeader:"token-saver_strategyHeader__2JL_c",identity:"token-saver_identity__nhMJs",titleLine:"token-saver_titleLine__rRvzO",title:"token-saver_title__9opCy",docLink:"token-saver_docLink__Kfjx_",metadata:"token-saver_metadata__ktGrx",actions:"token-saver_actions__xqMmb",levels:"token-saver_levels__J1_s1",levelHint:"token-saver_levelHint__GXnJL",extras:"token-saver_extras__eedyn",extrasHeader:"token-saver_extrasHeader__E7uTh",extrasMeta:"token-saver_extrasMeta__VHRl_",chips:"token-saver_chips__tXaAY",chip:"token-saver_chip__n9SqO",chipNote:"token-saver_chipNote__urLM1",uninstall:"token-saver_uninstall__oAeyS",extrasHelp:"token-saver_extrasHelp__uU9VU",installCommand:"token-saver_installCommand__DWC4N",hintCode:"token-saver_hintCode__FXy2E",installLog:"token-saver_installLog__Aug__",notice:"token-saver_notice__YUKZQ",progressNote:"token-saver_progressNote__5mq8C",statusRow:"token-saver_statusRow__sBf3V",linkButton:"token-saver_linkButton__vEGct"}}},e=>{e.O(0,[3493,8679,970,636,2904,6506,8500,3847,1321,705,5497,8441,3794,7358],()=>e(e.s=43407)),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7018],{11059:(e,t,s)=>{"use strict";s.d(t,{C:()=>a});var r=s(12115);function a(e=2e3){let[t,s]=(0,r.useState)(null),n=(0,r.useRef)(null);return{copied:t,copy:(0,r.useCallback)((t,r="default")=>{(async()=>{if(navigator?.clipboard?.writeText)await navigator.clipboard.writeText(t);else{let e=document.createElement("textarea");e.value=t,e.style.position="fixed",e.style.opacity="0",document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e)}})(),s(r),n.current&&clearTimeout(n.current),n.current=setTimeout(()=>{s(null)},e)},[e])}}},15755:(e,t,s)=>{Promise.resolve().then(s.bind(s,80623))},20080:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});var r=s(95155);function a({size:e=36,className:t="",alt:s=""}){return(0,r.jsx)("img",{src:"/brand/jrouter.svg",alt:s,width:e,height:e,className:t,loading:"eager",decoding:"async"})}},31474:(e,t,s)=>{"use strict";function r(...e){return e.filter(Boolean).join(" ").replace(/\s+/g," ").trim()}s.d(t,{cn:()=>r})},80623:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>j});var r=s(95155),a=s(39092),n=s.n(a),i=s(12115),l=s(73321),o=s(96439),c=s(20080);function d(){let[e,t]=(0,i.useState)(!1),[s,a]=(0,i.useState)(!1),[n,d]=(0,i.useState)(!1),x=(0,l.useRouter)();return(0,i.useEffect)(()=>{let e=()=>{a(window.scrollY>24)};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,i.useEffect)(()=>{let e=setTimeout(()=>{d(!0)},60);return()=>clearTimeout(e)},[]),(0,r.jsxs)("nav",{className:"fixed top-0 inset-x-0 z-50 flex justify-center pointer-events-none px-4 sm:px-6",style:{transform:n?"translateY(0)":"translateY(calc(-100% - 24px))",opacity:+!!n,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1)"},children:[(0,r.jsxs)("div",{className:`pointer-events-auto transition-all duration-300 ease-out flex items-center justify-between w-full ${s?"mt-3 sm:mt-4 max-w-4xl px-5 sm:px-6 py-2.5 rounded-full bg-black/30 backdrop-blur-xl border-0 shadow-2xl shadow-black/80":"max-w-7xl px-2 sm:px-4 py-5 bg-transparent border-transparent"}`,children:[(0,r.jsxs)("div",{className:"flex items-center gap-8",children:[(0,r.jsxs)("button",{type:"button",className:"flex items-center gap-2.5 cursor-pointer bg-transparent border-none p-0 text-white",onClick:()=>x.push("/"),"aria-label":"Navigate to home",children:[(0,r.jsx)(c.A,{size:36}),(0,r.jsx)("span",{className:"text-white text-base font-semibold tracking-tight",children:"JRouter"})]}),(0,r.jsxs)("div",{className:"hidden md:flex items-center gap-6 text-sm font-medium text-neutral-300",children:[(0,r.jsx)("a",{className:"hover:text-white transition-colors",href:"#features",children:"Features"}),(0,r.jsx)("a",{className:"hover:text-white transition-colors",href:"#how-it-works",children:"How it Works"}),(0,r.jsx)("a",{className:"hover:text-white transition-colors",href:"https://github.com/Synthever/JRouter#readme",target:"_blank",rel:"noopener noreferrer",children:"Docs"}),(0,r.jsxs)("a",{className:"hover:text-white transition-colors flex items-center gap-1",href:"https://github.com/Synthever/JRouter",target:"_blank",rel:"noopener noreferrer",children:["GitHub ",(0,r.jsx)(o.default,{className:"text-[14px]",children:"open_in_new"})]})]})]}),(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("button",{onClick:()=>x.push("/dashboard"),className:"hidden sm:inline-flex cursor-pointer bg-white/10 hover:bg-white/20 transition px-4 py-1.5 sm:py-2 rounded-md sm:rounded-full text-xs sm:text-sm font-medium backdrop-blur-md text-white shadow-xs",children:"Dashboard"}),(0,r.jsx)("button",{className:"md:hidden text-white p-1.5 flex items-center justify-center cursor-pointer",onClick:()=>t(!e),"aria-label":"Toggle menu",children:(0,r.jsx)(o.default,{className:"text-[20px]",children:e?"close":"menu"})})]})]}),e&&(0,r.jsxs)("div",{className:"pointer-events-auto md:hidden absolute top-full inset-x-4 mt-2 p-5 rounded-2xl bg-black/85 backdrop-blur-2xl border border-white/15 flex flex-col gap-3.5 shadow-2xl",children:[(0,r.jsx)("a",{className:"text-neutral-300 hover:text-white text-sm font-medium transition-colors",href:"#features",onClick:()=>t(!1),children:"Features"}),(0,r.jsx)("a",{className:"text-neutral-300 hover:text-white text-sm font-medium transition-colors",href:"#how-it-works",onClick:()=>t(!1),children:"How it Works"}),(0,r.jsx)("a",{className:"text-neutral-300 hover:text-white text-sm font-medium transition-colors",href:"https://github.com/Synthever/JRouter#readme",target:"_blank",rel:"noopener noreferrer",children:"Docs"}),(0,r.jsxs)("a",{className:"text-neutral-300 hover:text-white text-sm font-medium transition-colors flex items-center justify-between",href:"https://github.com/Synthever/JRouter",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)("span",{children:"GitHub"}),(0,r.jsx)(o.default,{className:"text-[14px]",children:"open_in_new"})]}),(0,r.jsx)("button",{onClick:()=>{t(!1),x.push("/dashboard")},className:"mt-1 w-full bg-white text-black py-2 rounded-lg text-sm font-semibold hover:bg-neutral-200 transition",children:"Dashboard"})]})]})}var x=s(37206);{let e=console.warn;console.warn=(...t)=>{"string"==typeof t[0]&&t[0].includes("THREE.Clock")||e.apply(console,t)}}let m=(0,x.default)(()=>Promise.all([s.e(9367),s.e(1831),s.e(6603),s.e(3916)]).then(s.bind(s,53707)).then(e=>{let{ShaderGradientCanvas:t,ShaderGradient:s}=e;return(0,i.memo)(function(){return(0,r.jsx)(i.Suspense,{fallback:null,children:(0,r.jsx)(t,{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",pointerEvents:"none"},lazyLoad:!1,pixelDensity:Math.min(window.devicePixelRatio||1,2),pointerEvents:"none",children:(0,r.jsx)(s,{animate:"on",type:"sphere",wireframe:!1,shader:"defaults",uTime:0,uSpeed:.3,uStrength:.3,uDensity:.8,uFrequency:5.5,uAmplitude:3.2,positionX:-.1,positionY:0,positionZ:0,rotationX:0,rotationY:130,rotationZ:70,color1:"#949494",color2:"#595959",color3:"#343434",reflection:.35,cAzimuthAngle:270,cPolarAngle:180,cDistance:.5,cameraZoom:15.1,lightType:"3d",brightness:.85,grain:"on",toggleAxis:!1,zoomOut:!1,hoverState:"",enableTransition:!1})})})})}).catch(e=>(console.warn("ShaderGradientCanvas load skipped:",e),()=>null)),{loadableGenerated:{webpack:()=>[53707]},ssr:!1}),p=(0,i.memo)(function(){let[e,t]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=setTimeout(()=>t(!0),50);return()=>clearTimeout(e)},[]),(0,r.jsx)("div",{className:"absolute inset-0 overflow-hidden pointer-events-none z-0",style:{background:"radial-gradient(ellipse 90% 70% at 50% 30%, #27272a 0%, #18181b 45%, #09090b 80%, #000000 100%)"},children:(0,r.jsx)("div",{className:"landing-shader-field w-full h-full",style:{filter:"grayscale(1)",opacity:+!!e,transition:"opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1)"},children:(0,r.jsx)(m,{})})})}),h=["Unified AI Infra for Developer Workflows","One Universal Gateway for 40+ AI Providers","Resilient Model Routing with Zero Markups"];function u(){let e=(0,l.useRouter)(),[t,s]=(0,i.useState)(!1),[a,n]=(0,i.useState)(!1),[c,d]=(0,i.useState)(!1),[x,m]=(0,i.useState)(!1),[p,u]=(0,i.useState)(!1),[b,f]=(0,i.useState)(!1),[g,v]=(0,i.useState)(!1),[y,w]=(0,i.useState)(0),[j,A]=(0,i.useState)(""),[N,k]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=setTimeout(()=>{s(!0)},180),t=setTimeout(()=>{n(!0)},350),r=setTimeout(()=>{d(!0)},500),a=setTimeout(()=>{m(!0)},650),i=setTimeout(()=>{u(!0)},800),l=setTimeout(()=>{f(!0)},800),o=setTimeout(()=>{v(!0)},800);return()=>{clearTimeout(e),clearTimeout(t),clearTimeout(r),clearTimeout(a),clearTimeout(i),clearTimeout(l),clearTimeout(o)}},[]),(0,i.useEffect)(()=>{let e,t=h[y];return e=N||j!==t?N&&""===j?setTimeout(()=>{k(!1),w(e=>(e+1)%h.length)},280):N?setTimeout(()=>{A(e=>e.slice(0,-1))},18):setTimeout(()=>{A(t.slice(0,j.length+1))},""===j&&0===y?100:42):setTimeout(()=>{k(!0)},2e3),()=>clearTimeout(e)},[j,N,y]),(0,r.jsxs)("section",{className:"relative min-h-[92vh] flex flex-col items-center justify-center text-center px-4 sm:px-6 pt-32 pb-20 bg-transparent text-white w-full overflow-hidden",children:[(0,r.jsxs)("div",{className:"relative z-10 max-w-4xl mx-auto flex flex-col items-center gap-6 sm:gap-8",children:[(0,r.jsx)("div",{className:"border border-white/15 flex items-center gap-2.5 rounded-full py-1 px-3.5 bg-white/5 backdrop-blur-md shadow-lg shadow-black/40 hover:bg-white/10 hover:border-white/25",style:{transform:t?"scale(1) translateY(0)":"scale(0.8) translateY(14px)",opacity:+!!t,transition:"transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s, border-color 0.2s",willChange:"transform, opacity"},children:(0,r.jsx)("span",{className:"text-xs sm:text-sm text-neutral-300 font-mono tracking-wider",children:"GATEWAY ENTERPRISE AI PROXY INFRASTRUCTURE"})}),(0,r.jsxs)("h1",{className:"text-4xl sm:text-6xl md:text-7xl font-semibold tracking-tight leading-[1.12] text-white min-h-[5.5rem] sm:min-h-[8.5rem] md:min-h-[10.5rem]","aria-label":h[y],children:[(0,r.jsxs)("span",{"aria-hidden":"true",children:[j,(0,r.jsx)("span",{className:"inline-block w-[3px] sm:w-[4px] md:w-[5px] h-[0.82em] bg-white ml-1.5 align-middle rounded-full animate-pulse"})]}),(0,r.jsx)("span",{className:"sr-only",children:h[y]})]}),(0,r.jsx)("p",{className:"text-neutral-300 text-base sm:text-lg md:text-xl max-w-2xl font-light leading-relaxed",style:{transform:a?"translateY(0)":"translateY(28px)",opacity:+!!a,transition:"transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1)",willChange:"transform, opacity"},children:"One OpenAI-compatible endpoint routing traffic across 40+ providers. Zero-leak credentials, model-combo fallback, token compression, and real-time developer telemetry."}),(0,r.jsxs)("div",{className:"flex flex-col sm:flex-row items-center gap-3.5 pt-2",children:[(0,r.jsxs)("button",{onClick:()=>e.push("/dashboard"),className:"cursor-pointer bg-white text-black px-6 py-3 rounded-md font-semibold flex items-center gap-2 hover:bg-neutral-200 text-sm sm:text-base shadow-xl",style:{transform:c?"translateX(0)":"translateX(-32px)",opacity:+!!c,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.15s ease",willChange:"transform, opacity"},children:[(0,r.jsx)("span",{children:"Launch Dashboard"}),(0,r.jsx)(o.default,{className:"text-[18px]",children:"arrow_forward"})]}),(0,r.jsxs)("a",{href:"https://github.com/Synthever/JRouter",target:"_blank",rel:"noopener noreferrer",className:"cursor-pointer bg-white/10 hover:bg-white/20 px-6 py-3 rounded-md font-medium text-white border border-white/20 backdrop-blur-md flex items-center gap-2 text-sm sm:text-base",style:{transform:c?"translateX(0)":"translateX(32px)",opacity:+!!c,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.15s ease",willChange:"transform, opacity"},children:[(0,r.jsx)(o.default,{className:"text-[18px]",children:"code"}),(0,r.jsx)("span",{children:"GitHub Repository"})]})]})]}),(0,r.jsxs)("div",{className:"relative z-10 mt-16 sm:mt-20 flex flex-col items-center gap-4",children:[(0,r.jsx)("p",{className:"text-xs sm:text-sm font-mono tracking-widest text-neutral-400 uppercase",style:{transform:x?"translateY(0)":"translateY(20px)",opacity:+!!x,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1)",willChange:"transform, opacity"},children:"Routing Across 40+ AI Providers & Developer Tools"}),(0,r.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-6 sm:gap-10 text-neutral-400 text-xs sm:text-sm font-medium",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 hover:text-white",style:{transform:p?"translateX(0)":"translateX(-36px)",opacity:+!!p,transition:"transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease",willChange:"transform, opacity"},children:[(0,r.jsx)("svg",{className:"w-4 h-4 shrink-0 fill-none stroke-current stroke-2",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",d:"M12 3v18M3 12h18M5.6 5.6l12.8 12.8M18.4 5.6L5.6 18.4"})}),(0,r.jsx)("span",{children:"Claude"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2 hover:text-white",style:{transform:p?"translateX(0)":"translateX(-36px)",opacity:+!!p,transition:"transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease",willChange:"transform, opacity"},children:[(0,r.jsx)("svg",{className:"w-4 h-4 shrink-0 fill-current",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{d:"M22.28 9.82a6 6 0 0 0-.52-4.91 6.05 6.05 0 0 0-6.51-2.9 6.07 6.07 0 0 0-6.27 2.17 6 6 0 0 0-4 2.9 6.05 6.05 0 0 0 .74 7.1 6 6 0 0 0 .51 4.91 6.05 6.05 0 0 0 6.51 2.9A6 6 0 0 0 13.26 24a6.06 6.06 0 0 0 5.77-4.21 6 6 0 0 0 4-2.9 6.06 6.06 0 0 0-.75-7.07zm-9.02 12.61a4.48 4.48 0 0 1-2.88-1.04l.14-.08 4.78-2.76a.8.8 0 0 0 .4-.68v-6.74l2.02 1.17a.07.07 0 0 1 .04.05v5.58a4.5 4.5 0 0 1-4.5 4.5zm-9.66-4.13a4.47 4.47 0 0 1-.53-3.01l.14.08 4.78 2.76a.77.77 0 0 0 .78 0l5.85-3.37v2.33a.08.08 0 0 1-.04.06L9.74 20a4.5 4.5 0 0 1-6.14-1.65zM2.34 7.9a4.49 4.49 0 0 1 2.37-1.98v5.69a.77.77 0 0 0 .38.67l5.82 3.36-2.02 1.17a.08.08 0 0 1-.07 0l-4.83-2.79A4.5 4.5 0 0 1 2.34 7.9zm16.1 3.85-5.84-3.37 2.02-1.16a.08.08 0 0 1 .07 0l4.83 2.79a4.5 4.5 0 0 1-.68 8.1v-5.67a.8.8 0 0 0-.4-.69zm2.01-4.54-.14-.09-4.78-2.78a.78.78 0 0 0-.78 0L8.81 7.7V5.37a.07.07 0 0 1 .03-.06l4.83-2.79a4.5 4.5 0 0 1 6.78 4.71zm-10.78 5.8 2.93-1.69 2.93 1.69v3.37l-2.93 1.68-2.93-1.68z"})}),(0,r.jsx)("span",{children:"OpenAI"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2 hover:text-white",style:{transform:b?"translateY(0)":"translateY(24px)",opacity:+!!b,transition:"transform 1.0s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.0s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease",willChange:"transform, opacity"},children:[(0,r.jsx)("svg",{className:"w-4 h-4 shrink-0 fill-current",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{d:"M12 0C12 6.63 6.63 12 0 12c6.63 0 12 5.37 12 12 0-6.63 5.37-12 12-12-6.63 0-12-5.37-12-12z"})}),(0,r.jsx)("span",{children:"Gemini"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2 hover:text-white",style:{transform:g?"translateX(0)":"translateX(36px)",opacity:+!!g,transition:"transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease",willChange:"transform, opacity"},children:[(0,r.jsx)("span",{className:"font-mono font-bold text-sm tracking-tighter italic",children:"Z"}),(0,r.jsx)("span",{children:"Z.ai"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2 hover:text-white",style:{transform:g?"translateX(0)":"translateX(36px)",opacity:+!!g,transition:"transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease",willChange:"transform, opacity"},children:[(0,r.jsx)("svg",{className:"w-4 h-4 shrink-0 fill-current",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{d:"M3 13.5C3 8.8 6.8 5 11.5 5c3.2 0 6 1.8 7.4 4.5l2.6-.8-1.1 2.8c.4.9.6 1.9.6 3 0 4.7-3.8 8.5-8.5 8.5S3 18.2 3 13.5zm8.5-6.5C7.9 7 5 9.9 5 13.5S7.9 20 11.5 20s6.5-2.9 6.5-6.5c0-.9-.2-1.7-.5-2.5l-.3-.6 1.2-3.1-2.9.9-.6-.4c-.9-.5-1.9-.8-3.4-.8z"})}),(0,r.jsx)("span",{children:"deepseek"})]})]})]})]})}function b(){let[e,t]=(0,i.useState)(!1),s=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=s.current;if(!e)return;let r=new IntersectionObserver(([e])=>{e.isIntersecting&&(t(!0),r.disconnect())},{threshold:.12,rootMargin:"0px 0px -40px 0px"});return r.observe(e),()=>r.disconnect()},[]),(0,r.jsx)("section",{ref:s,className:"lp-section bg-transparent border-none",id:"how-it-works",children:(0,r.jsxs)("div",{className:"lp-wrap",children:[(0,r.jsxs)("div",{className:"mb-12",children:[(0,r.jsxs)("div",{className:"lp-eyebrow mb-3",style:{transform:e?"translateY(0)":"translateY(16px)",opacity:+!!e,transition:"transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s, opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s",willChange:"transform, opacity"},children:[(0,r.jsx)("span",{className:"lp-eyebrow__dot"}),(0,r.jsx)("span",{children:"SYSTEM ARCHITECTURE"})]}),(0,r.jsx)("h2",{className:"text-2xl sm:text-3xl font-semibold text-[var(--text)] tracking-tight mb-3",style:{transform:e?"translateY(0)":"translateY(24px)",opacity:+!!e,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s",willChange:"transform, opacity"},children:"How JRouter Operates"}),(0,r.jsx)("p",{className:"text-sm text-[var(--text-2)] max-w-xl leading-relaxed",style:{transform:e?"translateY(0)":"translateY(24px)",opacity:+!!e,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s",willChange:"transform, opacity"},children:"Transparent proxy translation between standard developer SDKs and heterogeneous upstream APIs with automatic fallback and caching."})]}),(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 relative",children:[(0,r.jsxs)("div",{className:"p-6 rounded-[var(--r3)] bg-black/30 backdrop-blur-xl border-0 shadow-2xl shadow-black/80 flex flex-col gap-4",style:{transform:e?"translateY(0)":"translateY(32px)",opacity:+!!e,transition:"transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.35s, opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.35s",willChange:"transform, opacity"},children:[(0,r.jsx)("div",{className:"text-[var(--text)] flex items-center",children:(0,r.jsx)(o.default,{className:"text-[24px]",children:"terminal"})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"text-[11px] font-mono text-[var(--text-3)] mb-1 uppercase tracking-[0.2em]",children:"Step 01"}),(0,r.jsx)("h3",{className:"text-base font-semibold text-[var(--text)] mb-1",children:"Developer Clients"}),(0,r.jsx)("p",{className:"text-xs text-[var(--text-2)] leading-relaxed",children:"Requests originate from CLI tools (Claude Code, Codex, Cline) or standard OpenAI SDKs pointing to localhost:20128."})]})]}),(0,r.jsxs)("div",{className:"p-6 rounded-[var(--r3)] bg-black/30 backdrop-blur-xl border-0 shadow-2xl shadow-black/80 flex flex-col gap-4",style:{transform:e?"translateY(0)":"translateY(32px)",opacity:+!!e,transition:"transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.48s, opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.48s",willChange:"transform, opacity"},children:[(0,r.jsx)("div",{className:"text-[var(--text)] flex items-center",children:(0,r.jsx)(c.A,{size:24})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"text-[11px] font-mono text-[var(--text-3)] mb-1 uppercase tracking-[0.2em]",children:"Step 02"}),(0,r.jsx)("h3",{className:"text-base font-semibold text-[var(--text)] mb-1",children:"JRouter Engine"}),(0,r.jsx)("p",{className:"text-xs text-[var(--text-2)] leading-relaxed",children:"Translates request payload into provider-native format, compresses tool tokens, verifies quotas, and routes across accounts."})]})]}),(0,r.jsxs)("div",{className:"p-6 rounded-[var(--r3)] bg-black/30 backdrop-blur-xl border-0 shadow-2xl shadow-black/80 flex flex-col gap-4",style:{transform:e?"translateY(0)":"translateY(32px)",opacity:+!!e,transition:"transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.61s, opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.61s",willChange:"transform, opacity"},children:[(0,r.jsx)("div",{className:"text-[var(--text)] flex items-center",children:(0,r.jsx)(o.default,{className:"text-[24px]",children:"dns"})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"text-[11px] font-mono text-[var(--text-3)] mb-1 uppercase tracking-[0.2em]",children:"Step 03"}),(0,r.jsx)("h3",{className:"text-base font-semibold text-[var(--text)] mb-1",children:"Upstream Providers"}),(0,r.jsx)("p",{className:"text-xs text-[var(--text-2)] leading-relaxed",children:"Dispatches upstream to Anthropic, OpenAI, Gemini, or local models, streaming SSE responses back with zero translation latency."})]})]})]})]})})}let f=[{icon:"link",title:"Unified Endpoint",desc:"Single OpenAI-compatible /v1/chat/completions route for 40+ providers."},{icon:"shield",title:"Model Fallback",desc:"Automatic failover across providers, models, and credentials on rate-limits."},{icon:"savings",title:"RTK Token Saver",desc:"In-place tool result compression reducing prompt token overhead up to 60%."},{icon:"monitoring",title:"Usage Analytics",desc:"Real-time tabular telemetry, latency metrics, and quota tracking."},{icon:"vpn_key",title:"Credential Vault",desc:"AES-encrypted local SQLite storage for OAuth tokens and raw API keys."},{icon:"lan",title:"Proxy Pools",desc:"Dynamic outbound socks5/http proxy rotation with health ping checks."},{icon:"terminal",title:"CLI Tool Native",desc:"First-class compatibility with Claude Code, Codex, Cline, and Roo."},{icon:"translate",title:"Format Translation",desc:"Direct AST translation between Anthropic, Gemini, Kiro, and OpenAI formats."}];function g(){let[e,t]=(0,i.useState)(!1),s=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=s.current;if(!e)return;let r=new IntersectionObserver(([e])=>{e.isIntersecting&&(t(!0),r.disconnect())},{threshold:.1,rootMargin:"0px 0px -40px 0px"});return r.observe(e),()=>r.disconnect()},[]),(0,r.jsx)("section",{ref:s,className:"lp-section bg-transparent border-none",id:"features",children:(0,r.jsxs)("div",{className:"lp-wrap",children:[(0,r.jsxs)("div",{className:"mb-12",children:[(0,r.jsxs)("div",{className:"lp-eyebrow mb-3",style:{transform:e?"translateY(0)":"translateY(16px)",opacity:+!!e,transition:"transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s, opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s",willChange:"transform, opacity"},children:[(0,r.jsx)("span",{className:"lp-eyebrow__dot"}),(0,r.jsx)("span",{children:"CAPABILITIES"})]}),(0,r.jsx)("h2",{className:"text-2xl sm:text-3xl font-semibold text-[var(--text)] tracking-tight mb-3",style:{transform:e?"translateY(0)":"translateY(24px)",opacity:+!!e,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s",willChange:"transform, opacity"},children:"Core Routing Infrastructure"}),(0,r.jsx)("p",{className:"text-sm text-[var(--text-2)] max-w-xl leading-relaxed",style:{transform:e?"translateY(0)":"translateY(24px)",opacity:+!!e,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s",willChange:"transform, opacity"},children:"High-throughput format translation, model fallbacks, and token metrics built on a clean local SQLite substrate."})]}),(0,r.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",children:f.map((t,s)=>{let a=`${(.3+.07*s).toFixed(2)}s`;return(0,r.jsx)("div",{className:"p-5 rounded-[var(--r3)] bg-black/30 backdrop-blur-xl border-0 shadow-2xl shadow-black/80 hover:bg-black/40 flex flex-col justify-between",style:{transform:e?"translateY(0) scale(1)":"translateY(24px) scale(0.96)",opacity:+!!e,transition:`transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) ${a}, opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) ${a}, background-color 0.2s`,willChange:"transform, opacity"},children:(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"text-[var(--text)] flex items-center mb-3",children:(0,r.jsx)(o.default,{className:"text-[20px]",children:t.icon})}),(0,r.jsx)("h3",{className:"text-sm font-semibold text-[var(--text)] mb-1",children:t.title}),(0,r.jsx)("p",{className:"text-xs text-[var(--text-2)] leading-relaxed",children:t.desc})]})},t.title)})})]})})}var v=s(11059);function y(){let{copied:e,copy:t}=(0,v.C)(),[s,a]=(0,i.useState)(!1),n=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=n.current;if(!e)return;let t=new IntersectionObserver(([e])=>{e.isIntersecting&&(a(!0),t.disconnect())},{threshold:.12,rootMargin:"0px 0px -40px 0px"});return t.observe(e),()=>t.disconnect()},[]),(0,r.jsx)("section",{ref:n,className:"lp-section relative overflow-hidden bg-transparent border-none",children:(0,r.jsx)("div",{className:"lp-wrap relative z-10",children:(0,r.jsxs)("div",{className:"flex flex-col lg:flex-row gap-12 items-start",children:[(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsxs)("div",{className:"lp-eyebrow mb-3",style:{transform:s?"translateY(0)":"translateY(16px)",opacity:+!!s,transition:"transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s, opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s",willChange:"transform, opacity"},children:[(0,r.jsx)("span",{className:"lp-eyebrow__dot"}),(0,r.jsx)("span",{children:"QUICKSTART"})]}),(0,r.jsx)("h2",{className:"text-2xl sm:text-3xl font-semibold text-[var(--text)] tracking-tight mb-4",style:{transform:s?"translateY(0)":"translateY(24px)",opacity:+!!s,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s",willChange:"transform, opacity"},children:"Initialize in 30 Seconds"}),(0,r.jsx)("p",{className:"text-sm text-[var(--text-2)] mb-8 max-w-lg leading-relaxed",style:{transform:s?"translateY(0)":"translateY(24px)",opacity:+!!s,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s",willChange:"transform, opacity"},children:"Launch local gateway, configure providers in the developer dashboard, and point any OpenAI-compatible client to port 20128."}),(0,r.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,r.jsxs)("div",{className:"flex gap-4",style:{transform:s?"translateX(0)":"translateX(-32px)",opacity:+!!s,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s",willChange:"transform, opacity"},children:[(0,r.jsx)("div",{className:"flex-none size-7 rounded-lg bg-black/40 backdrop-blur-xl border-0 text-[var(--text)] flex items-center justify-center font-mono text-xs font-semibold shadow-md shadow-black/50",children:"1"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"font-semibold text-sm text-[var(--text)]",children:"Launch Gateway"}),(0,r.jsx)("p",{className:"text-xs text-[var(--text-2)] mt-0.5",children:"Run CLI command to launch local proxy process"})]})]}),(0,r.jsxs)("div",{className:"flex gap-4",style:{transform:s?"translateX(0)":"translateX(-32px)",opacity:+!!s,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s",willChange:"transform, opacity"},children:[(0,r.jsx)("div",{className:"flex-none size-7 rounded-lg bg-black/40 backdrop-blur-xl border-0 text-[var(--text)] flex items-center justify-center font-mono text-xs font-semibold shadow-md shadow-black/50",children:"2"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"font-semibold text-sm text-[var(--text)]",children:"Open Dashboard"}),(0,r.jsx)("p",{className:"text-xs text-[var(--text-2)] mt-0.5",children:"Configure API credentials, combos, and proxy pools"})]})]}),(0,r.jsxs)("div",{className:"flex gap-4",style:{transform:s?"translateX(0)":"translateX(-32px)",opacity:+!!s,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s",willChange:"transform, opacity"},children:[(0,r.jsx)("div",{className:"flex-none size-7 rounded-lg bg-black/40 backdrop-blur-xl border-0 text-[var(--text)] flex items-center justify-center font-mono text-xs font-semibold shadow-md shadow-black/50",children:"3"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"font-semibold text-sm text-[var(--text)]",children:"Route Traffic"}),(0,r.jsx)("p",{className:"text-xs text-[var(--text-2)] mt-0.5",children:"Point Claude Code, Codex, or agents to http://localhost:20128"})]})]})]})]}),(0,r.jsx)("div",{className:"flex-1 w-full",style:{transform:s?"translateX(0) scale(1)":"translateX(40px) scale(0.97)",opacity:+!!s,transition:"transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s, opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s",willChange:"transform, opacity"},children:(0,r.jsxs)("div",{className:"rounded-[var(--r3)] overflow-hidden bg-[var(--surface-inset)]/90 backdrop-blur-xl border border-[var(--line-2)] shadow-[var(--shadow-card)]",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 px-4 py-2.5 bg-[var(--surface-2)]/90 border-b border-[var(--line)]",children:[(0,r.jsx)("div",{className:"w-2.5 h-2.5 rounded-full bg-[#FF5F56]/80"}),(0,r.jsx)("div",{className:"w-2.5 h-2.5 rounded-full bg-[#FFBD2E]/80"}),(0,r.jsx)("div",{className:"w-2.5 h-2.5 rounded-full bg-[#27C93F]/80"}),(0,r.jsx)("div",{className:"ml-2 text-[11px] text-[var(--text-3)] font-mono",children:"bash — 80x24"})]}),(0,r.jsxs)("div",{className:"p-5 font-mono text-xs leading-relaxed overflow-x-auto text-[var(--text)]",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 mb-4 group cursor-pointer",onClick:()=>{t("npm run start","landing")},children:[(0,r.jsx)("span",{className:"text-[var(--pos)]",children:"$"}),(0,r.jsx)("span",{className:"text-[var(--text)] font-semibold",children:"npm run start"}),(0,r.jsx)("span",{className:"ml-auto text-[10px] text-[var(--text-3)] group-hover:text-[var(--text)]",children:"landing"===e?"✓ Copied":"Copy"})]}),(0,r.jsxs)("div",{className:"text-[var(--text-2)] mb-5 space-y-1",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-[var(--text-3)]",children:">"})," Initializing JRouter gateway..."]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-[var(--text-3)]",children:">"})," OpenAI proxy listening on ",(0,r.jsx)("span",{className:"text-[var(--text)] underline",children:"http://localhost:20128/v1"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-[var(--text-3)]",children:">"})," Dashboard available on ",(0,r.jsx)("span",{className:"text-[var(--text)] underline",children:"http://localhost:20128/dashboard"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-[var(--pos)]",children:">"})," Ready for incoming connections ✓"]})]}),(0,r.jsx)("div",{className:"text-[11px] text-[var(--text-3)] pt-3 border-t border-[var(--line)]",children:(0,r.jsx)("div",{children:"Local SQLite DB: ~/.9router/db/data.sqlite"})})]})]})})]})})})}function w(){let[e,t]=(0,i.useState)(!1),s=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=s.current;if(!e)return;let r=new IntersectionObserver(([e])=>{e.isIntersecting&&(t(!0),r.disconnect())},{threshold:.1,rootMargin:"0px 0px -20px 0px"});return r.observe(e),()=>r.disconnect()},[]),(0,r.jsxs)("footer",{ref:s,className:"relative z-10 border-none bg-gradient-to-b from-transparent via-black/40 to-black/80 pt-16 pb-12 px-6 overflow-hidden",children:[(0,r.jsx)("div",{"aria-hidden":"true",className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 pointer-events-none select-none text-[18vw] font-black font-sans tracking-[-0.06em] leading-none whitespace-nowrap text-white",style:{opacity:.045*!!e,transition:"opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1)"},children:"JROUTER"}),(0,r.jsxs)("div",{className:"lp-wrap relative z-10",children:[(0,r.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-4 lg:grid-cols-5 gap-8 mb-14",children:[(0,r.jsxs)("div",{className:"col-span-2 lg:col-span-2",style:{transform:e?"translateY(0)":"translateY(24px)",opacity:+!!e,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s",willChange:"transform, opacity"},children:[(0,r.jsxs)("div",{className:"flex items-center gap-2.5 mb-4",children:[(0,r.jsx)(c.A,{size:28}),(0,r.jsx)("h3",{className:"text-white text-sm font-semibold tracking-tight",children:"JRouter"})]}),(0,r.jsx)("p",{className:"text-neutral-400 text-xs max-w-xs leading-relaxed mb-5",children:"Unified API routing gateway and developer dashboard. Universal format translation and model fallbacks."})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-2.5",style:{transform:e?"translateY(0)":"translateY(24px)",opacity:+!!e,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.22s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.22s",willChange:"transform, opacity"},children:[(0,r.jsx)("h4",{className:"text-xs font-mono font-medium text-neutral-300 uppercase tracking-wider",children:"Product"}),(0,r.jsx)("a",{className:"text-neutral-400 hover:text-white text-xs transition-colors",href:"#features",children:"Features"}),(0,r.jsx)("a",{className:"text-neutral-400 hover:text-white text-xs transition-colors",href:"/dashboard",children:"Dashboard"}),(0,r.jsx)("a",{className:"text-neutral-400 hover:text-white text-xs transition-colors",href:"https://github.com/Synthever/JRouter",target:"_blank",rel:"noopener noreferrer",children:"Releases"})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-2.5",style:{transform:e?"translateY(0)":"translateY(24px)",opacity:+!!e,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.34s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.34s",willChange:"transform, opacity"},children:[(0,r.jsx)("h4",{className:"text-xs font-mono font-medium text-neutral-300 uppercase tracking-wider",children:"Resources"}),(0,r.jsx)("a",{className:"text-neutral-400 hover:text-white text-xs transition-colors",href:"https://github.com/Synthever/JRouter#readme",target:"_blank",rel:"noopener noreferrer",children:"Documentation"}),(0,r.jsx)("a",{className:"text-neutral-400 hover:text-white text-xs transition-colors",href:"https://github.com/Synthever/JRouter",target:"_blank",rel:"noopener noreferrer",children:"GitHub"}),(0,r.jsx)("a",{className:"text-neutral-400 hover:text-white text-xs transition-colors",href:"https://www.npmjs.com/package/9router",target:"_blank",rel:"noopener noreferrer",children:"CLI Launcher"})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-2.5",style:{transform:e?"translateY(0)":"translateY(24px)",opacity:+!!e,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.46s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.46s",willChange:"transform, opacity"},children:[(0,r.jsx)("h4",{className:"text-xs font-mono font-medium text-neutral-300 uppercase tracking-wider",children:"License"}),(0,r.jsx)("a",{className:"text-neutral-400 hover:text-white text-xs transition-colors",href:"https://github.com/Synthever/JRouter/blob/main/LICENSE",target:"_blank",rel:"noopener noreferrer",children:"MIT License"})]})]}),(0,r.jsxs)("div",{className:"pt-6 flex flex-col md:flex-row justify-between items-center gap-3 border-t border-white/5",style:{transform:e?"translateY(0)":"translateY(16px)",opacity:+!!e,transition:"transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.55s, opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.55s",willChange:"transform, opacity"},children:[(0,r.jsx)("p",{className:"text-neutral-400 text-xs font-mono",children:"\xa9 2026 JRouter. Open source software."}),(0,r.jsxs)("div",{className:"flex items-center gap-5",children:[(0,r.jsx)("a",{className:"text-neutral-400 hover:text-white text-xs font-mono transition-colors",href:"https://github.com/Synthever/JRouter",target:"_blank",rel:"noopener noreferrer",children:"GitHub"}),(0,r.jsx)("a",{className:"text-neutral-400 hover:text-white text-xs font-mono transition-colors",href:"https://www.npmjs.com/package/9router",target:"_blank",rel:"noopener noreferrer",children:"NPM"})]})]})]})]})}{let e=console.warn;console.warn=(...t)=>{"string"==typeof t[0]&&t[0].includes("THREE.Clock")||e.apply(console,t)}}function j(){let e=(0,l.useRouter)(),t=(0,i.useRef)(null),[s,a]=(0,i.useState)(!1);return(0,i.useEffect)(()=>(document.documentElement.classList.add("no-scrollbar"),document.body.classList.add("no-scrollbar"),()=>{document.documentElement.classList.remove("no-scrollbar"),document.body.classList.remove("no-scrollbar")}),[]),(0,i.useEffect)(()=>{let e=t.current;if(!e)return;let s=new IntersectionObserver(([e])=>{e.isIntersecting&&(a(!0),s.disconnect())},{threshold:.15,rootMargin:"0px 0px -40px 0px"});return s.observe(e),()=>s.disconnect()},[]),(0,r.jsxs)("div",{className:"jsx-e3c2b8307e92fee6 landing-page dark relative text-[var(--text)] bg-[var(--bg)] font-sans overflow-x-hidden antialiased min-h-screen",children:[(0,r.jsx)("div",{className:"jsx-e3c2b8307e92fee6 fixed inset-0 z-0 overflow-hidden pointer-events-none bg-[var(--bg)]",children:(0,r.jsx)("div",{style:{backgroundImage:"linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px)",backgroundSize:"48px 48px"},className:"jsx-e3c2b8307e92fee6 absolute inset-0 opacity-40"})}),(0,r.jsxs)("div",{className:"jsx-e3c2b8307e92fee6 relative z-10",children:[(0,r.jsx)(d,{}),(0,r.jsxs)("main",{className:"jsx-e3c2b8307e92fee6",children:[(0,r.jsx)("div",{className:"jsx-e3c2b8307e92fee6 fixed inset-0 pointer-events-none z-0 overflow-hidden bg-black",children:(0,r.jsx)(p,{})}),(0,r.jsxs)("div",{className:"jsx-e3c2b8307e92fee6 relative z-10",children:[(0,r.jsx)(u,{}),(0,r.jsx)(y,{}),(0,r.jsx)(b,{}),(0,r.jsx)(g,{}),(0,r.jsx)("section",{ref:t,className:"jsx-e3c2b8307e92fee6 lp-section bg-transparent text-center border-none",children:(0,r.jsxs)("div",{className:"jsx-e3c2b8307e92fee6 lp-wrap py-8",children:[(0,r.jsxs)("div",{style:{transform:s?"translateY(0)":"translateY(16px)",opacity:+!!s,transition:"transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s, opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s",willChange:"transform, opacity"},className:"jsx-e3c2b8307e92fee6 lp-eyebrow mb-3",children:[(0,r.jsx)("span",{className:"jsx-e3c2b8307e92fee6 lp-eyebrow__dot"}),(0,r.jsx)("span",{className:"jsx-e3c2b8307e92fee6",children:"OPEN SOURCE GATEWAY"})]}),(0,r.jsx)("h2",{style:{transform:s?"translateY(0)":"translateY(24px)",opacity:+!!s,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s",willChange:"transform, opacity"},className:"jsx-e3c2b8307e92fee6 text-2xl sm:text-3xl md:text-4xl font-semibold tracking-tight text-[var(--text)] mb-3",children:"Streamline Your AI Stack"}),(0,r.jsx)("p",{style:{transform:s?"translateY(0)":"translateY(24px)",opacity:+!!s,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s",willChange:"transform, opacity"},className:"jsx-e3c2b8307e92fee6 text-sm text-[var(--text-2)] mb-8 max-w-lg mx-auto leading-relaxed",children:"Connect your IDE, CLI tools, and background agents to a unified proxy layer. Local execution, zero subscription markups."}),(0,r.jsxs)("div",{className:"jsx-e3c2b8307e92fee6 flex flex-col sm:flex-row items-center justify-center gap-3",children:[(0,r.jsx)("button",{onClick:()=>e.push("/dashboard"),style:{transform:s?"translateX(0)":"translateX(-24px)",opacity:+!!s,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s",willChange:"transform, opacity"},className:"jsx-e3c2b8307e92fee6 ui-btn ui-btn--primary px-6 py-2.5 text-xs sm:text-sm font-semibold cursor-pointer w-full sm:w-auto",children:"Launch Dashboard"}),(0,r.jsx)("a",{href:"https://github.com/Synthever/JRouter#readme",target:"_blank",rel:"noopener noreferrer",style:{transform:s?"translateX(0)":"translateX(24px)",opacity:+!!s,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s",willChange:"transform, opacity"},className:"jsx-e3c2b8307e92fee6 ui-btn ui-btn--soft px-6 py-2.5 text-xs sm:text-sm font-medium w-full sm:w-auto",children:"Documentation"})]})]})})]})]}),(0,r.jsx)(w,{})]}),(0,r.jsx)(n(),{id:"e3c2b8307e92fee6",children:"html,body,html.no-scrollbar,body.no-scrollbar{scrollbar-width:none!important;-ms-overflow-style:none!important}html::-webkit-scrollbar,body::-webkit-scrollbar,html.no-scrollbar::-webkit-scrollbar,body.no-scrollbar::-webkit-scrollbar,html.no-scrollbar *::-webkit-scrollbar,*::-webkit-scrollbar{display:none!important;width:0!important;height:0!important;background:transparent!important}@keyframes float{0%,100%{transform:translatey(0)}50%{transform:translatey(-6px)}}@keyframes dash{to{stroke-dashoffset:-16}}"})]})}},96439:(e,t,s)=>{"use strict";s.d(t,{default:()=>tz});var r=s(95155),a=s(12115),n=s(96304),i=s(91669),l=s(69058),o=s(69272),c=s(9005),d=s(64577),x=s(64962),m=s(67401),p=s(2125),h=s(25879),u=s(18986),b=s(797),f=s(65377),g=s(37058),v=s(82749),y=s(92298),w=s(77031),j=s(61663),A=s(81402),N=s(9383),k=s(99314),_=s(50825),z=s(68562),C=s(23637),S=s(27502),Y=s(87606),R=s(68426),T=s(89434),E=s(61665),I=s(31966),L=s(90467),X=s(38158),O=s(19805),D=s(78780),M=s(76721),P=s(12363),J=s(94088),F=s(71849),G=s(30966),U=s(18402),H=s(36619),q=s(90446),B=s(65360),Z=s(40852),W=s(74336),K=s(92571),$=s(32159),Q=s(19928),V=s(5736),ee=s(47391),et=s(96339),es=s(7428),er=s(46844),ea=s(50981),en=s(34018),ei=s(69203),el=s(34779),eo=s(48384),ec=s(11012),ed=s(35484),ex=s(94890),em=s(14577),ep=s(17356),eh=s(79762),eu=s(49804),eb=s(70299),ef=s(85633),eg=s(83599),ev=s(22200),ey=s(16449),ew=s(28786),ej=s(92782),eA=s(91161),eN=s(92e3),ek=s(1275),e_=s(89066),ez=s(65878),eC=s(15532),eS=s(94910),eY=s(4972),eR=s(85618),eT=s(22189),eE=s(58309),eI=s(8143),eL=s(97804),eX=s(19707),eO=s(49960),eD=s(84863),eM=s(47603),eP=s(78890),eJ=s(88074),eF=s(94774),eG=s(36338),eU=s(58910),eH=s(874),eq=s(49288),eB=s(12651),eZ=s(715),eW=s(6923),eK=s(93954),e$=s(28324),eQ=s(86210),eV=s(19323),e0=s(39979),e1=s(83132),e2=s(15688),e3=s(56395),e6=s(92437),e5=s(9661),e8=s(5045),e4=s(90710),e7=s(84824),e9=s(44825),te=s(153),tt=s(69182),ts=s(98993),tr=s(15561),ta=s(95660),tn=s(94295),ti=s(88193),tl=s(72788),to=s(93744),tc=s(57465),td=s(22350),tx=s(50626),tm=s(25684),tp=s(24413),th=s(50908),tu=s(95697),tb=s(86272),tf=s(32061),tg=s(40557),tv=s(25494),ty=s(25182),tw=s(89034),tj=s(31396),tA=s(29450),tN=s(36483),tk=s(31474);let t_={menu:n.A,panel_left:i.A,"panel-left":i.A,panel_left_close:l.A,"panel-left-close":l.A,panel_left_open:o.A,"panel-left-open":o.A,close:c.A,check:d.A,check_circle:x.A,radio_button_unchecked:m.A,add:p.A,delete:h.A,edit:u.A,edit_note:b.A,search:f.A,search_off:g.A,refresh:v.A,restart_alt:y.A,restore:y.A,sync:v.A,sync_alt:w.A,history:j.A,save:A.A,send:N.A,content_copy:k.A,download:_.A,upload:z.A,upload_file:C.A,file_upload:z.A,cloud_upload:S.A,cloud_off:Y.A,cloud:R.A,filter_alt_off:T.A,inbox:E.A,arrow_back:I.A,arrow_forward:L.A,arrow_upward:X.A,arrow_downward:O.A,chevron_left:D.A,chevron_right:M.A,expand_more:P.A,expand_less:J.A,keyboard_arrow_down:P.A,keyboard_arrow_up:J.A,swap_calls:F.A,swap_vert:F.A,power_settings_new:G.A,power_off:U.A,play_arrow:H.A,play_circle:q.A,pause_circle:B.A,stop:Z.A,stop_circle:W.A,progress_activity:K.A,toggle_off:$.A,toggle_on:Q.A,lock:V.A,lock_open:ee.A,login:et.A,logout:es.A,key:er.A,api_key:er.A,vpn_key:er.A,vpn_lock:ea.A,shield:en.A,shield_lock:ei.A,security:en.A,verified:el.A,verified_user:ea.A,gavel:eo.A,warning:ec.A,error:ed.A,cancel:ex.A,info:em.A,help:ep.A,block:eh.A,bolt:eu.A,computer:eb.A,desktop_windows:eb.A,monitor:eb.A,devices:ef.A,lan:eg.A,hub:eg.A,dns:ev.A,terminal:ey.A,code:ew.A,api:ej.A,link:eA.A,link_off:eN.A,open_in_new:ek.A,wifi:e_.A,wifi_off:ez.A,wifi_tethering:eC.A,route:eS.A,input:et.A,output:es.A,cast:eY.A,apps:eR.A,grid_view:eR.A,table_rows:eT.A,list_alt:eE.A,checklist:eI.A,playlist_add:eL.A,layers:eX.A,space_dashboard:eO.A,"layout-dashboard":eO.A,layout_dashboard:eO.A,layoutdashboard:eO.A,dashboard:eO.A,contrast:eD.A,light:eM.A,light_mode:eM.A,dark:eP.A,dark_mode:eP.A,settings:eJ.A,bar_chart:eF.A,data_usage:eG.A,data_array:eU.A,data_object:eH.A,monitoring:eG.A,scatter_plot:eq.A,memory:eB.A,hourglass_top:eZ.A,schedule:eW.A,timeline:eK.A,pie_chart:e$.A,image:eQ.A,image_search:f.A,perm_media:eV.A,movie:e0.A,music_note:e1.A,mic:e2.A,graphic_eq:e3.A,record_voice_over:e6.A,brush:e5.A,psychology:e8.A,neurology:e8.A,smart_toy:e4.A,science:e7.A,rocket_launch:e9.A,volunteer_activism:te.A,savings:tt.A,attach_money:ts.A,attach_file:tr.A,folder_open:ta.A,cookie:tn.A,account_circle:ti.A,account_tree:tl.A,person:to.A,group:tc.A,business:td.A,language:tx.A,translate:tm.A,travel_explore:tp.A,explore:tp.A,public:tx.A,qr_code_scanner:th.A,star:tu.A,stars:tb.A,extension:tf.A,menu_book:tg.A,chat:tv.A,visibility:ty.A,visibility_off:tw.A,sparkles:tb.A,auto_awesome:tb.A,functions:tj.A,view_in_ar:tA.A,article:tN.A};function tz({name:e,children:t,size:s,className:n,style:i,strokeWidth:l=2,...o}){if(a.isValidElement(e))return e;if(a.isValidElement(t))return t;if("function"==typeof e)return(0,r.jsx)(e,{size:s||"1em",className:(0,tk.cn)("inline-block shrink-0 align-middle",n),style:i,...o});if("function"==typeof t)return(0,r.jsx)(t,{size:s||"1em",className:(0,tk.cn)("inline-block shrink-0 align-middle",n),style:i,...o});let c=e||("string"==typeof t?t.trim():Array.isArray(t)?t.filter(e=>"string"==typeof e).join("").trim():"");if(!c||"string"!=typeof c)return null;let d=c.trim().toLowerCase(),x=d.replace(/-/g,"_"),m=d.replace(/_/g,"-"),p=t_[d]||t_[m]||t_[x]||t_[c.trim()]||ep.A;return(0,r.jsx)(p,{size:s||"1em",className:(0,tk.cn)("inline-block shrink-0 align-middle",n),style:i,strokeWidth:l,...o})}}},e=>{e.O(0,[2904,6506,4787,8441,3794,7358],()=>e(e.s=15755)),_N_E=e.O()}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7018],{11059:(e,t,s)=>{"use strict";s.d(t,{C:()=>a});var r=s(12115);function a(e=2e3){let[t,s]=(0,r.useState)(null),n=(0,r.useRef)(null);return{copied:t,copy:(0,r.useCallback)((t,r="default")=>{(async()=>{if(navigator?.clipboard?.writeText)await navigator.clipboard.writeText(t);else{let e=document.createElement("textarea");e.value=t,e.style.position="fixed",e.style.opacity="0",document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e)}})(),s(r),n.current&&clearTimeout(n.current),n.current=setTimeout(()=>{s(null)},e)},[e])}}},15755:(e,t,s)=>{Promise.resolve().then(s.bind(s,80623))},20080:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});var r=s(95155);function a({size:e=36,className:t="",alt:s=""}){return(0,r.jsx)("img",{src:"/brand/jrouter.svg",alt:s,width:e,height:e,className:t,loading:"eager",decoding:"async"})}},31474:(e,t,s)=>{"use strict";function r(...e){return e.filter(Boolean).join(" ").replace(/\s+/g," ").trim()}s.d(t,{cn:()=>r})},80623:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>j});var r=s(95155),a=s(39092),n=s.n(a),i=s(12115),l=s(73321),o=s(96439),c=s(20080);function d(){let[e,t]=(0,i.useState)(!1),[s,a]=(0,i.useState)(!1),[n,d]=(0,i.useState)(!1),x=(0,l.useRouter)();return(0,i.useEffect)(()=>{let e=()=>{a(window.scrollY>24)};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,i.useEffect)(()=>{let e=setTimeout(()=>{d(!0)},60);return()=>clearTimeout(e)},[]),(0,r.jsxs)("nav",{className:"fixed top-0 inset-x-0 z-50 flex justify-center pointer-events-none px-4 sm:px-6",style:{transform:n?"translateY(0)":"translateY(calc(-100% - 24px))",opacity:+!!n,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1)"},children:[(0,r.jsxs)("div",{className:`pointer-events-auto transition-all duration-300 ease-out flex items-center justify-between w-full ${s?"mt-3 sm:mt-4 max-w-4xl px-5 sm:px-6 py-2.5 rounded-full bg-black/30 backdrop-blur-xl border-0 shadow-2xl shadow-black/80":"max-w-7xl px-2 sm:px-4 py-5 bg-transparent border-transparent"}`,children:[(0,r.jsxs)("div",{className:"flex items-center gap-8",children:[(0,r.jsxs)("button",{type:"button",className:"flex items-center gap-2.5 cursor-pointer bg-transparent border-none p-0 text-white",onClick:()=>x.push("/"),"aria-label":"Navigate to home",children:[(0,r.jsx)(c.A,{size:36}),(0,r.jsx)("span",{className:"text-white text-base font-semibold tracking-tight",children:"JRouter"})]}),(0,r.jsxs)("div",{className:"hidden md:flex items-center gap-6 text-sm font-medium text-neutral-300",children:[(0,r.jsx)("a",{className:"hover:text-white transition-colors",href:"#features",children:"Features"}),(0,r.jsx)("a",{className:"hover:text-white transition-colors",href:"#how-it-works",children:"How it Works"}),(0,r.jsx)("a",{className:"hover:text-white transition-colors",href:"https://github.com/Synthever/JRouter#readme",target:"_blank",rel:"noopener noreferrer",children:"Docs"}),(0,r.jsxs)("a",{className:"hover:text-white transition-colors flex items-center gap-1",href:"https://github.com/Synthever/JRouter",target:"_blank",rel:"noopener noreferrer",children:["GitHub ",(0,r.jsx)(o.default,{className:"text-[14px]",children:"open_in_new"})]})]})]}),(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("button",{onClick:()=>x.push("/dashboard"),className:"hidden sm:inline-flex cursor-pointer bg-white/10 hover:bg-white/20 transition px-4 py-1.5 sm:py-2 rounded-md sm:rounded-full text-xs sm:text-sm font-medium backdrop-blur-md text-white shadow-xs",children:"Dashboard"}),(0,r.jsx)("button",{className:"md:hidden text-white p-1.5 flex items-center justify-center cursor-pointer",onClick:()=>t(!e),"aria-label":"Toggle menu",children:(0,r.jsx)(o.default,{className:"text-[20px]",children:e?"close":"menu"})})]})]}),e&&(0,r.jsxs)("div",{className:"pointer-events-auto md:hidden absolute top-full inset-x-4 mt-2 p-5 rounded-2xl bg-black/85 backdrop-blur-2xl border border-white/15 flex flex-col gap-3.5 shadow-2xl",children:[(0,r.jsx)("a",{className:"text-neutral-300 hover:text-white text-sm font-medium transition-colors",href:"#features",onClick:()=>t(!1),children:"Features"}),(0,r.jsx)("a",{className:"text-neutral-300 hover:text-white text-sm font-medium transition-colors",href:"#how-it-works",onClick:()=>t(!1),children:"How it Works"}),(0,r.jsx)("a",{className:"text-neutral-300 hover:text-white text-sm font-medium transition-colors",href:"https://github.com/Synthever/JRouter#readme",target:"_blank",rel:"noopener noreferrer",children:"Docs"}),(0,r.jsxs)("a",{className:"text-neutral-300 hover:text-white text-sm font-medium transition-colors flex items-center justify-between",href:"https://github.com/Synthever/JRouter",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)("span",{children:"GitHub"}),(0,r.jsx)(o.default,{className:"text-[14px]",children:"open_in_new"})]}),(0,r.jsx)("button",{onClick:()=>{t(!1),x.push("/dashboard")},className:"mt-1 w-full bg-white text-black py-2 rounded-lg text-sm font-semibold hover:bg-neutral-200 transition",children:"Dashboard"})]})]})}var x=s(37206);{let e=console.warn;console.warn=(...t)=>{"string"==typeof t[0]&&t[0].includes("THREE.Clock")||e.apply(console,t)}}let m=(0,x.default)(()=>Promise.all([s.e(9367),s.e(1831),s.e(6603),s.e(3916)]).then(s.bind(s,53707)).then(e=>{let{ShaderGradientCanvas:t,ShaderGradient:s}=e;return(0,i.memo)(function(){return(0,r.jsx)(i.Suspense,{fallback:null,children:(0,r.jsx)(t,{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",pointerEvents:"none"},lazyLoad:!1,pixelDensity:Math.min(window.devicePixelRatio||1,2),pointerEvents:"none",children:(0,r.jsx)(s,{animate:"on",type:"sphere",wireframe:!1,shader:"defaults",uTime:0,uSpeed:.3,uStrength:.3,uDensity:.8,uFrequency:5.5,uAmplitude:3.2,positionX:-.1,positionY:0,positionZ:0,rotationX:0,rotationY:130,rotationZ:70,color1:"#949494",color2:"#595959",color3:"#343434",reflection:.35,cAzimuthAngle:270,cPolarAngle:180,cDistance:.5,cameraZoom:15.1,lightType:"3d",brightness:.85,grain:"on",toggleAxis:!1,zoomOut:!1,hoverState:"",enableTransition:!1})})})})}).catch(e=>(console.warn("ShaderGradientCanvas load skipped:",e),()=>null)),{loadableGenerated:{webpack:()=>[53707]},ssr:!1}),p=(0,i.memo)(function(){let[e,t]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=setTimeout(()=>t(!0),50);return()=>clearTimeout(e)},[]),(0,r.jsx)("div",{className:"absolute inset-0 overflow-hidden pointer-events-none z-0",style:{background:"radial-gradient(ellipse 90% 70% at 50% 30%, #27272a 0%, #18181b 45%, #09090b 80%, #000000 100%)"},children:(0,r.jsx)("div",{className:"landing-shader-field w-full h-full",style:{filter:"grayscale(1)",opacity:+!!e,transition:"opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1)"},children:(0,r.jsx)(m,{})})})}),h=["Unified AI Infra for Developer Workflows","One Universal Gateway for 40+ AI Providers","Resilient Model Routing with Zero Markups"];function u(){let e=(0,l.useRouter)(),[t,s]=(0,i.useState)(!1),[a,n]=(0,i.useState)(!1),[c,d]=(0,i.useState)(!1),[x,m]=(0,i.useState)(!1),[p,u]=(0,i.useState)(!1),[b,f]=(0,i.useState)(!1),[g,v]=(0,i.useState)(!1),[y,w]=(0,i.useState)(0),[j,A]=(0,i.useState)(""),[N,k]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=setTimeout(()=>{s(!0)},180),t=setTimeout(()=>{n(!0)},350),r=setTimeout(()=>{d(!0)},500),a=setTimeout(()=>{m(!0)},650),i=setTimeout(()=>{u(!0)},800),l=setTimeout(()=>{f(!0)},800),o=setTimeout(()=>{v(!0)},800);return()=>{clearTimeout(e),clearTimeout(t),clearTimeout(r),clearTimeout(a),clearTimeout(i),clearTimeout(l),clearTimeout(o)}},[]),(0,i.useEffect)(()=>{let e,t=h[y];return e=N||j!==t?N&&""===j?setTimeout(()=>{k(!1),w(e=>(e+1)%h.length)},280):N?setTimeout(()=>{A(e=>e.slice(0,-1))},18):setTimeout(()=>{A(t.slice(0,j.length+1))},""===j&&0===y?100:42):setTimeout(()=>{k(!0)},2e3),()=>clearTimeout(e)},[j,N,y]),(0,r.jsxs)("section",{className:"relative min-h-[92vh] flex flex-col items-center justify-center text-center px-4 sm:px-6 pt-32 pb-20 bg-transparent text-white w-full overflow-hidden",children:[(0,r.jsxs)("div",{className:"relative z-10 max-w-4xl mx-auto flex flex-col items-center gap-6 sm:gap-8",children:[(0,r.jsx)("div",{className:"border border-white/15 flex items-center gap-2.5 rounded-full py-1 px-3.5 bg-white/5 backdrop-blur-md shadow-lg shadow-black/40 hover:bg-white/10 hover:border-white/25",style:{transform:t?"scale(1) translateY(0)":"scale(0.8) translateY(14px)",opacity:+!!t,transition:"transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s, border-color 0.2s",willChange:"transform, opacity"},children:(0,r.jsx)("span",{className:"text-xs sm:text-sm text-neutral-300 font-mono tracking-wider",children:"GATEWAY ENTERPRISE AI PROXY INFRASTRUCTURE"})}),(0,r.jsxs)("h1",{className:"text-4xl sm:text-6xl md:text-7xl font-semibold tracking-tight leading-[1.12] text-white min-h-[5.5rem] sm:min-h-[8.5rem] md:min-h-[10.5rem]","aria-label":h[y],children:[(0,r.jsxs)("span",{"aria-hidden":"true",children:[j,(0,r.jsx)("span",{className:"inline-block w-[3px] sm:w-[4px] md:w-[5px] h-[0.82em] bg-white ml-1.5 align-middle rounded-full animate-pulse"})]}),(0,r.jsx)("span",{className:"sr-only",children:h[y]})]}),(0,r.jsx)("p",{className:"text-neutral-300 text-base sm:text-lg md:text-xl max-w-2xl font-light leading-relaxed",style:{transform:a?"translateY(0)":"translateY(28px)",opacity:+!!a,transition:"transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1)",willChange:"transform, opacity"},children:"One OpenAI-compatible endpoint routing traffic across 40+ providers. Zero-leak credentials, model-combo fallback, token compression, and real-time developer telemetry."}),(0,r.jsxs)("div",{className:"flex flex-col sm:flex-row items-center gap-3.5 pt-2",children:[(0,r.jsxs)("button",{onClick:()=>e.push("/dashboard"),className:"cursor-pointer bg-white text-black px-6 py-3 rounded-md font-semibold flex items-center gap-2 hover:bg-neutral-200 text-sm sm:text-base shadow-xl",style:{transform:c?"translateX(0)":"translateX(-32px)",opacity:+!!c,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.15s ease",willChange:"transform, opacity"},children:[(0,r.jsx)("span",{children:"Launch Dashboard"}),(0,r.jsx)(o.default,{className:"text-[18px]",children:"arrow_forward"})]}),(0,r.jsxs)("a",{href:"https://github.com/Synthever/JRouter",target:"_blank",rel:"noopener noreferrer",className:"cursor-pointer bg-white/10 hover:bg-white/20 px-6 py-3 rounded-md font-medium text-white border border-white/20 backdrop-blur-md flex items-center gap-2 text-sm sm:text-base",style:{transform:c?"translateX(0)":"translateX(32px)",opacity:+!!c,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.15s ease",willChange:"transform, opacity"},children:[(0,r.jsx)(o.default,{className:"text-[18px]",children:"code"}),(0,r.jsx)("span",{children:"GitHub Repository"})]})]})]}),(0,r.jsxs)("div",{className:"relative z-10 mt-16 sm:mt-20 flex flex-col items-center gap-4",children:[(0,r.jsx)("p",{className:"text-xs sm:text-sm font-mono tracking-widest text-neutral-400 uppercase",style:{transform:x?"translateY(0)":"translateY(20px)",opacity:+!!x,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1)",willChange:"transform, opacity"},children:"Routing Across 40+ AI Providers & Developer Tools"}),(0,r.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-6 sm:gap-10 text-neutral-400 text-xs sm:text-sm font-medium",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 hover:text-white",style:{transform:p?"translateX(0)":"translateX(-36px)",opacity:+!!p,transition:"transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease",willChange:"transform, opacity"},children:[(0,r.jsx)("svg",{className:"w-4 h-4 shrink-0 fill-none stroke-current stroke-2",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",d:"M12 3v18M3 12h18M5.6 5.6l12.8 12.8M18.4 5.6L5.6 18.4"})}),(0,r.jsx)("span",{children:"Claude"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2 hover:text-white",style:{transform:p?"translateX(0)":"translateX(-36px)",opacity:+!!p,transition:"transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease",willChange:"transform, opacity"},children:[(0,r.jsx)("svg",{className:"w-4 h-4 shrink-0 fill-current",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{d:"M22.28 9.82a6 6 0 0 0-.52-4.91 6.05 6.05 0 0 0-6.51-2.9 6.07 6.07 0 0 0-6.27 2.17 6 6 0 0 0-4 2.9 6.05 6.05 0 0 0 .74 7.1 6 6 0 0 0 .51 4.91 6.05 6.05 0 0 0 6.51 2.9A6 6 0 0 0 13.26 24a6.06 6.06 0 0 0 5.77-4.21 6 6 0 0 0 4-2.9 6.06 6.06 0 0 0-.75-7.07zm-9.02 12.61a4.48 4.48 0 0 1-2.88-1.04l.14-.08 4.78-2.76a.8.8 0 0 0 .4-.68v-6.74l2.02 1.17a.07.07 0 0 1 .04.05v5.58a4.5 4.5 0 0 1-4.5 4.5zm-9.66-4.13a4.47 4.47 0 0 1-.53-3.01l.14.08 4.78 2.76a.77.77 0 0 0 .78 0l5.85-3.37v2.33a.08.08 0 0 1-.04.06L9.74 20a4.5 4.5 0 0 1-6.14-1.65zM2.34 7.9a4.49 4.49 0 0 1 2.37-1.98v5.69a.77.77 0 0 0 .38.67l5.82 3.36-2.02 1.17a.08.08 0 0 1-.07 0l-4.83-2.79A4.5 4.5 0 0 1 2.34 7.9zm16.1 3.85-5.84-3.37 2.02-1.16a.08.08 0 0 1 .07 0l4.83 2.79a4.5 4.5 0 0 1-.68 8.1v-5.67a.8.8 0 0 0-.4-.69zm2.01-4.54-.14-.09-4.78-2.78a.78.78 0 0 0-.78 0L8.81 7.7V5.37a.07.07 0 0 1 .03-.06l4.83-2.79a4.5 4.5 0 0 1 6.78 4.71zm-10.78 5.8 2.93-1.69 2.93 1.69v3.37l-2.93 1.68-2.93-1.68z"})}),(0,r.jsx)("span",{children:"OpenAI"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2 hover:text-white",style:{transform:b?"translateY(0)":"translateY(24px)",opacity:+!!b,transition:"transform 1.0s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.0s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease",willChange:"transform, opacity"},children:[(0,r.jsx)("svg",{className:"w-4 h-4 shrink-0 fill-current",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{d:"M12 0C12 6.63 6.63 12 0 12c6.63 0 12 5.37 12 12 0-6.63 5.37-12 12-12-6.63 0-12-5.37-12-12z"})}),(0,r.jsx)("span",{children:"Gemini"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2 hover:text-white",style:{transform:g?"translateX(0)":"translateX(36px)",opacity:+!!g,transition:"transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease",willChange:"transform, opacity"},children:[(0,r.jsx)("span",{className:"font-mono font-bold text-sm tracking-tighter italic",children:"Z"}),(0,r.jsx)("span",{children:"Z.ai"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2 hover:text-white",style:{transform:g?"translateX(0)":"translateX(36px)",opacity:+!!g,transition:"transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease",willChange:"transform, opacity"},children:[(0,r.jsx)("svg",{className:"w-4 h-4 shrink-0 fill-current",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{d:"M3 13.5C3 8.8 6.8 5 11.5 5c3.2 0 6 1.8 7.4 4.5l2.6-.8-1.1 2.8c.4.9.6 1.9.6 3 0 4.7-3.8 8.5-8.5 8.5S3 18.2 3 13.5zm8.5-6.5C7.9 7 5 9.9 5 13.5S7.9 20 11.5 20s6.5-2.9 6.5-6.5c0-.9-.2-1.7-.5-2.5l-.3-.6 1.2-3.1-2.9.9-.6-.4c-.9-.5-1.9-.8-3.4-.8z"})}),(0,r.jsx)("span",{children:"deepseek"})]})]})]})]})}function b(){let[e,t]=(0,i.useState)(!1),s=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=s.current;if(!e)return;let r=new IntersectionObserver(([e])=>{e.isIntersecting&&(t(!0),r.disconnect())},{threshold:.12,rootMargin:"0px 0px -40px 0px"});return r.observe(e),()=>r.disconnect()},[]),(0,r.jsx)("section",{ref:s,className:"lp-section bg-transparent border-none",id:"how-it-works",children:(0,r.jsxs)("div",{className:"lp-wrap",children:[(0,r.jsxs)("div",{className:"mb-12",children:[(0,r.jsxs)("div",{className:"lp-eyebrow mb-3",style:{transform:e?"translateY(0)":"translateY(16px)",opacity:+!!e,transition:"transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s, opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s",willChange:"transform, opacity"},children:[(0,r.jsx)("span",{className:"lp-eyebrow__dot"}),(0,r.jsx)("span",{children:"SYSTEM ARCHITECTURE"})]}),(0,r.jsx)("h2",{className:"text-2xl sm:text-3xl font-semibold text-[var(--text)] tracking-tight mb-3",style:{transform:e?"translateY(0)":"translateY(24px)",opacity:+!!e,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s",willChange:"transform, opacity"},children:"How JRouter Operates"}),(0,r.jsx)("p",{className:"text-sm text-[var(--text-2)] max-w-xl leading-relaxed",style:{transform:e?"translateY(0)":"translateY(24px)",opacity:+!!e,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s",willChange:"transform, opacity"},children:"Transparent proxy translation between standard developer SDKs and heterogeneous upstream APIs with automatic fallback and caching."})]}),(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 relative",children:[(0,r.jsxs)("div",{className:"p-6 rounded-[var(--r3)] bg-black/30 backdrop-blur-xl border-0 shadow-2xl shadow-black/80 flex flex-col gap-4",style:{transform:e?"translateY(0)":"translateY(32px)",opacity:+!!e,transition:"transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.35s, opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.35s",willChange:"transform, opacity"},children:[(0,r.jsx)("div",{className:"text-[var(--text)] flex items-center",children:(0,r.jsx)(o.default,{className:"text-[24px]",children:"terminal"})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"text-[11px] font-mono text-[var(--text-3)] mb-1 uppercase tracking-[0.2em]",children:"Step 01"}),(0,r.jsx)("h3",{className:"text-base font-semibold text-[var(--text)] mb-1",children:"Developer Clients"}),(0,r.jsx)("p",{className:"text-xs text-[var(--text-2)] leading-relaxed",children:"Requests originate from CLI tools (Claude Code, Codex, Cline) or standard OpenAI SDKs pointing to localhost:20128."})]})]}),(0,r.jsxs)("div",{className:"p-6 rounded-[var(--r3)] bg-black/30 backdrop-blur-xl border-0 shadow-2xl shadow-black/80 flex flex-col gap-4",style:{transform:e?"translateY(0)":"translateY(32px)",opacity:+!!e,transition:"transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.48s, opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.48s",willChange:"transform, opacity"},children:[(0,r.jsx)("div",{className:"text-[var(--text)] flex items-center",children:(0,r.jsx)(c.A,{size:24})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"text-[11px] font-mono text-[var(--text-3)] mb-1 uppercase tracking-[0.2em]",children:"Step 02"}),(0,r.jsx)("h3",{className:"text-base font-semibold text-[var(--text)] mb-1",children:"JRouter Engine"}),(0,r.jsx)("p",{className:"text-xs text-[var(--text-2)] leading-relaxed",children:"Translates request payload into provider-native format, compresses tool tokens, verifies quotas, and routes across accounts."})]})]}),(0,r.jsxs)("div",{className:"p-6 rounded-[var(--r3)] bg-black/30 backdrop-blur-xl border-0 shadow-2xl shadow-black/80 flex flex-col gap-4",style:{transform:e?"translateY(0)":"translateY(32px)",opacity:+!!e,transition:"transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.61s, opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.61s",willChange:"transform, opacity"},children:[(0,r.jsx)("div",{className:"text-[var(--text)] flex items-center",children:(0,r.jsx)(o.default,{className:"text-[24px]",children:"dns"})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"text-[11px] font-mono text-[var(--text-3)] mb-1 uppercase tracking-[0.2em]",children:"Step 03"}),(0,r.jsx)("h3",{className:"text-base font-semibold text-[var(--text)] mb-1",children:"Upstream Providers"}),(0,r.jsx)("p",{className:"text-xs text-[var(--text-2)] leading-relaxed",children:"Dispatches upstream to Anthropic, OpenAI, Gemini, or local models, streaming SSE responses back with zero translation latency."})]})]})]})]})})}let f=[{icon:"link",title:"Unified Endpoint",desc:"Single OpenAI-compatible /v1/chat/completions route for 40+ providers."},{icon:"shield",title:"Model Fallback",desc:"Automatic failover across providers, models, and credentials on rate-limits."},{icon:"savings",title:"RTK Token Saver",desc:"In-place tool result compression reducing prompt token overhead up to 60%."},{icon:"monitoring",title:"Usage Analytics",desc:"Real-time tabular telemetry, latency metrics, and quota tracking."},{icon:"vpn_key",title:"Credential Vault",desc:"AES-encrypted local SQLite storage for OAuth tokens and raw API keys."},{icon:"lan",title:"Proxy Pools",desc:"Dynamic outbound socks5/http proxy rotation with health ping checks."},{icon:"terminal",title:"CLI Tool Native",desc:"First-class compatibility with Claude Code, Codex, Cline, and Roo."},{icon:"translate",title:"Format Translation",desc:"Direct AST translation between Anthropic, Gemini, Kiro, and OpenAI formats."}];function g(){let[e,t]=(0,i.useState)(!1),s=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=s.current;if(!e)return;let r=new IntersectionObserver(([e])=>{e.isIntersecting&&(t(!0),r.disconnect())},{threshold:.1,rootMargin:"0px 0px -40px 0px"});return r.observe(e),()=>r.disconnect()},[]),(0,r.jsx)("section",{ref:s,className:"lp-section bg-transparent border-none",id:"features",children:(0,r.jsxs)("div",{className:"lp-wrap",children:[(0,r.jsxs)("div",{className:"mb-12",children:[(0,r.jsxs)("div",{className:"lp-eyebrow mb-3",style:{transform:e?"translateY(0)":"translateY(16px)",opacity:+!!e,transition:"transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s, opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s",willChange:"transform, opacity"},children:[(0,r.jsx)("span",{className:"lp-eyebrow__dot"}),(0,r.jsx)("span",{children:"CAPABILITIES"})]}),(0,r.jsx)("h2",{className:"text-2xl sm:text-3xl font-semibold text-[var(--text)] tracking-tight mb-3",style:{transform:e?"translateY(0)":"translateY(24px)",opacity:+!!e,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s",willChange:"transform, opacity"},children:"Core Routing Infrastructure"}),(0,r.jsx)("p",{className:"text-sm text-[var(--text-2)] max-w-xl leading-relaxed",style:{transform:e?"translateY(0)":"translateY(24px)",opacity:+!!e,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s",willChange:"transform, opacity"},children:"High-throughput format translation, model fallbacks, and token metrics built on a clean local SQLite substrate."})]}),(0,r.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",children:f.map((t,s)=>{let a=`${(.3+.07*s).toFixed(2)}s`;return(0,r.jsx)("div",{className:"p-5 rounded-[var(--r3)] bg-black/30 backdrop-blur-xl border-0 shadow-2xl shadow-black/80 hover:bg-black/40 flex flex-col justify-between",style:{transform:e?"translateY(0) scale(1)":"translateY(24px) scale(0.96)",opacity:+!!e,transition:`transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) ${a}, opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) ${a}, background-color 0.2s`,willChange:"transform, opacity"},children:(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"text-[var(--text)] flex items-center mb-3",children:(0,r.jsx)(o.default,{className:"text-[20px]",children:t.icon})}),(0,r.jsx)("h3",{className:"text-sm font-semibold text-[var(--text)] mb-1",children:t.title}),(0,r.jsx)("p",{className:"text-xs text-[var(--text-2)] leading-relaxed",children:t.desc})]})},t.title)})})]})})}var v=s(11059);function y(){let{copied:e,copy:t}=(0,v.C)(),[s,a]=(0,i.useState)(!1),n=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=n.current;if(!e)return;let t=new IntersectionObserver(([e])=>{e.isIntersecting&&(a(!0),t.disconnect())},{threshold:.12,rootMargin:"0px 0px -40px 0px"});return t.observe(e),()=>t.disconnect()},[]),(0,r.jsx)("section",{ref:n,className:"lp-section relative overflow-hidden bg-transparent border-none",children:(0,r.jsx)("div",{className:"lp-wrap relative z-10",children:(0,r.jsxs)("div",{className:"flex flex-col lg:flex-row gap-12 items-start",children:[(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsxs)("div",{className:"lp-eyebrow mb-3",style:{transform:s?"translateY(0)":"translateY(16px)",opacity:+!!s,transition:"transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s, opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s",willChange:"transform, opacity"},children:[(0,r.jsx)("span",{className:"lp-eyebrow__dot"}),(0,r.jsx)("span",{children:"QUICKSTART"})]}),(0,r.jsx)("h2",{className:"text-2xl sm:text-3xl font-semibold text-[var(--text)] tracking-tight mb-4",style:{transform:s?"translateY(0)":"translateY(24px)",opacity:+!!s,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s",willChange:"transform, opacity"},children:"Initialize in 30 Seconds"}),(0,r.jsx)("p",{className:"text-sm text-[var(--text-2)] mb-8 max-w-lg leading-relaxed",style:{transform:s?"translateY(0)":"translateY(24px)",opacity:+!!s,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s",willChange:"transform, opacity"},children:"Launch local gateway, configure providers in the developer dashboard, and point any OpenAI-compatible client to port 20128."}),(0,r.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,r.jsxs)("div",{className:"flex gap-4",style:{transform:s?"translateX(0)":"translateX(-32px)",opacity:+!!s,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s",willChange:"transform, opacity"},children:[(0,r.jsx)("div",{className:"flex-none size-7 rounded-lg bg-black/40 backdrop-blur-xl border-0 text-[var(--text)] flex items-center justify-center font-mono text-xs font-semibold shadow-md shadow-black/50",children:"1"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"font-semibold text-sm text-[var(--text)]",children:"Launch Gateway"}),(0,r.jsx)("p",{className:"text-xs text-[var(--text-2)] mt-0.5",children:"Run CLI command to launch local proxy process"})]})]}),(0,r.jsxs)("div",{className:"flex gap-4",style:{transform:s?"translateX(0)":"translateX(-32px)",opacity:+!!s,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s",willChange:"transform, opacity"},children:[(0,r.jsx)("div",{className:"flex-none size-7 rounded-lg bg-black/40 backdrop-blur-xl border-0 text-[var(--text)] flex items-center justify-center font-mono text-xs font-semibold shadow-md shadow-black/50",children:"2"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"font-semibold text-sm text-[var(--text)]",children:"Open Dashboard"}),(0,r.jsx)("p",{className:"text-xs text-[var(--text-2)] mt-0.5",children:"Configure API credentials, combos, and proxy pools"})]})]}),(0,r.jsxs)("div",{className:"flex gap-4",style:{transform:s?"translateX(0)":"translateX(-32px)",opacity:+!!s,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s",willChange:"transform, opacity"},children:[(0,r.jsx)("div",{className:"flex-none size-7 rounded-lg bg-black/40 backdrop-blur-xl border-0 text-[var(--text)] flex items-center justify-center font-mono text-xs font-semibold shadow-md shadow-black/50",children:"3"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"font-semibold text-sm text-[var(--text)]",children:"Route Traffic"}),(0,r.jsx)("p",{className:"text-xs text-[var(--text-2)] mt-0.5",children:"Point Claude Code, Codex, or agents to http://localhost:20128"})]})]})]})]}),(0,r.jsx)("div",{className:"flex-1 w-full",style:{transform:s?"translateX(0) scale(1)":"translateX(40px) scale(0.97)",opacity:+!!s,transition:"transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s, opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s",willChange:"transform, opacity"},children:(0,r.jsxs)("div",{className:"rounded-[var(--r3)] overflow-hidden bg-[var(--surface-inset)]/90 backdrop-blur-xl border border-[var(--line-2)] shadow-[var(--shadow-card)]",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 px-4 py-2.5 bg-[var(--surface-2)]/90 border-b border-[var(--line)]",children:[(0,r.jsx)("div",{className:"w-2.5 h-2.5 rounded-full bg-[#FF5F56]/80"}),(0,r.jsx)("div",{className:"w-2.5 h-2.5 rounded-full bg-[#FFBD2E]/80"}),(0,r.jsx)("div",{className:"w-2.5 h-2.5 rounded-full bg-[#27C93F]/80"}),(0,r.jsx)("div",{className:"ml-2 text-[11px] text-[var(--text-3)] font-mono",children:"bash — 80x24"})]}),(0,r.jsxs)("div",{className:"p-5 font-mono text-xs leading-relaxed overflow-x-auto text-[var(--text)]",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 mb-4 group cursor-pointer",onClick:()=>{t("npm run start","landing")},children:[(0,r.jsx)("span",{className:"text-[var(--pos)]",children:"$"}),(0,r.jsx)("span",{className:"text-[var(--text)] font-semibold",children:"npm run start"}),(0,r.jsx)("span",{className:"ml-auto text-[10px] text-[var(--text-3)] group-hover:text-[var(--text)]",children:"landing"===e?"✓ Copied":"Copy"})]}),(0,r.jsxs)("div",{className:"text-[var(--text-2)] mb-5 space-y-1",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-[var(--text-3)]",children:">"})," Initializing JRouter gateway..."]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-[var(--text-3)]",children:">"})," OpenAI proxy listening on ",(0,r.jsx)("span",{className:"text-[var(--text)] underline",children:"http://localhost:20128/v1"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-[var(--text-3)]",children:">"})," Dashboard available on ",(0,r.jsx)("span",{className:"text-[var(--text)] underline",children:"http://localhost:20128/dashboard"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-[var(--pos)]",children:">"})," Ready for incoming connections ✓"]})]}),(0,r.jsx)("div",{className:"text-[11px] text-[var(--text-3)] pt-3 border-t border-[var(--line)]",children:(0,r.jsx)("div",{children:"Local SQLite DB: ~/.jrouter/db/data.sqlite"})})]})]})})]})})})}function w(){let[e,t]=(0,i.useState)(!1),s=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=s.current;if(!e)return;let r=new IntersectionObserver(([e])=>{e.isIntersecting&&(t(!0),r.disconnect())},{threshold:.1,rootMargin:"0px 0px -20px 0px"});return r.observe(e),()=>r.disconnect()},[]),(0,r.jsxs)("footer",{ref:s,className:"relative z-10 border-none bg-gradient-to-b from-transparent via-black/40 to-black/80 pt-16 pb-12 px-6 overflow-hidden",children:[(0,r.jsx)("div",{"aria-hidden":"true",className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 pointer-events-none select-none text-[18vw] font-black font-sans tracking-[-0.06em] leading-none whitespace-nowrap text-white",style:{opacity:.045*!!e,transition:"opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1)"},children:"JROUTER"}),(0,r.jsxs)("div",{className:"lp-wrap relative z-10",children:[(0,r.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-4 lg:grid-cols-5 gap-8 mb-14",children:[(0,r.jsxs)("div",{className:"col-span-2 lg:col-span-2",style:{transform:e?"translateY(0)":"translateY(24px)",opacity:+!!e,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s",willChange:"transform, opacity"},children:[(0,r.jsxs)("div",{className:"flex items-center gap-2.5 mb-4",children:[(0,r.jsx)(c.A,{size:28}),(0,r.jsx)("h3",{className:"text-white text-sm font-semibold tracking-tight",children:"JRouter"})]}),(0,r.jsx)("p",{className:"text-neutral-400 text-xs max-w-xs leading-relaxed mb-5",children:"Unified API routing gateway and developer dashboard. Universal format translation and model fallbacks."})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-2.5",style:{transform:e?"translateY(0)":"translateY(24px)",opacity:+!!e,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.22s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.22s",willChange:"transform, opacity"},children:[(0,r.jsx)("h4",{className:"text-xs font-mono font-medium text-neutral-300 uppercase tracking-wider",children:"Product"}),(0,r.jsx)("a",{className:"text-neutral-400 hover:text-white text-xs transition-colors",href:"#features",children:"Features"}),(0,r.jsx)("a",{className:"text-neutral-400 hover:text-white text-xs transition-colors",href:"/dashboard",children:"Dashboard"}),(0,r.jsx)("a",{className:"text-neutral-400 hover:text-white text-xs transition-colors",href:"https://github.com/Synthever/JRouter",target:"_blank",rel:"noopener noreferrer",children:"Releases"})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-2.5",style:{transform:e?"translateY(0)":"translateY(24px)",opacity:+!!e,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.34s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.34s",willChange:"transform, opacity"},children:[(0,r.jsx)("h4",{className:"text-xs font-mono font-medium text-neutral-300 uppercase tracking-wider",children:"Resources"}),(0,r.jsx)("a",{className:"text-neutral-400 hover:text-white text-xs transition-colors",href:"https://github.com/Synthever/JRouter#readme",target:"_blank",rel:"noopener noreferrer",children:"Documentation"}),(0,r.jsx)("a",{className:"text-neutral-400 hover:text-white text-xs transition-colors",href:"https://github.com/Synthever/JRouter",target:"_blank",rel:"noopener noreferrer",children:"GitHub"}),(0,r.jsx)("a",{className:"text-neutral-400 hover:text-white text-xs transition-colors",href:"https://www.npmjs.com/package/@synthever/jrouter",target:"_blank",rel:"noopener noreferrer",children:"CLI Launcher"})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-2.5",style:{transform:e?"translateY(0)":"translateY(24px)",opacity:+!!e,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.46s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.46s",willChange:"transform, opacity"},children:[(0,r.jsx)("h4",{className:"text-xs font-mono font-medium text-neutral-300 uppercase tracking-wider",children:"License"}),(0,r.jsx)("a",{className:"text-neutral-400 hover:text-white text-xs transition-colors",href:"https://github.com/Synthever/JRouter/blob/main/LICENSE",target:"_blank",rel:"noopener noreferrer",children:"MIT License"})]})]}),(0,r.jsxs)("div",{className:"pt-6 flex flex-col md:flex-row justify-between items-center gap-3 border-t border-white/5",style:{transform:e?"translateY(0)":"translateY(16px)",opacity:+!!e,transition:"transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.55s, opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.55s",willChange:"transform, opacity"},children:[(0,r.jsx)("p",{className:"text-neutral-400 text-xs font-mono",children:"\xa9 2026 JRouter. Open source software."}),(0,r.jsxs)("div",{className:"flex items-center gap-5",children:[(0,r.jsx)("a",{className:"text-neutral-400 hover:text-white text-xs font-mono transition-colors",href:"https://github.com/Synthever/JRouter",target:"_blank",rel:"noopener noreferrer",children:"GitHub"}),(0,r.jsx)("a",{className:"text-neutral-400 hover:text-white text-xs font-mono transition-colors",href:"https://www.npmjs.com/package/@synthever/jrouter",target:"_blank",rel:"noopener noreferrer",children:"NPM"})]})]})]})]})}{let e=console.warn;console.warn=(...t)=>{"string"==typeof t[0]&&t[0].includes("THREE.Clock")||e.apply(console,t)}}function j(){let e=(0,l.useRouter)(),t=(0,i.useRef)(null),[s,a]=(0,i.useState)(!1);return(0,i.useEffect)(()=>(document.documentElement.classList.add("no-scrollbar"),document.body.classList.add("no-scrollbar"),()=>{document.documentElement.classList.remove("no-scrollbar"),document.body.classList.remove("no-scrollbar")}),[]),(0,i.useEffect)(()=>{let e=t.current;if(!e)return;let s=new IntersectionObserver(([e])=>{e.isIntersecting&&(a(!0),s.disconnect())},{threshold:.15,rootMargin:"0px 0px -40px 0px"});return s.observe(e),()=>s.disconnect()},[]),(0,r.jsxs)("div",{className:"jsx-e3c2b8307e92fee6 landing-page dark relative text-[var(--text)] bg-[var(--bg)] font-sans overflow-x-hidden antialiased min-h-screen",children:[(0,r.jsx)("div",{className:"jsx-e3c2b8307e92fee6 fixed inset-0 z-0 overflow-hidden pointer-events-none bg-[var(--bg)]",children:(0,r.jsx)("div",{style:{backgroundImage:"linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px)",backgroundSize:"48px 48px"},className:"jsx-e3c2b8307e92fee6 absolute inset-0 opacity-40"})}),(0,r.jsxs)("div",{className:"jsx-e3c2b8307e92fee6 relative z-10",children:[(0,r.jsx)(d,{}),(0,r.jsxs)("main",{className:"jsx-e3c2b8307e92fee6",children:[(0,r.jsx)("div",{className:"jsx-e3c2b8307e92fee6 fixed inset-0 pointer-events-none z-0 overflow-hidden bg-black",children:(0,r.jsx)(p,{})}),(0,r.jsxs)("div",{className:"jsx-e3c2b8307e92fee6 relative z-10",children:[(0,r.jsx)(u,{}),(0,r.jsx)(y,{}),(0,r.jsx)(b,{}),(0,r.jsx)(g,{}),(0,r.jsx)("section",{ref:t,className:"jsx-e3c2b8307e92fee6 lp-section bg-transparent text-center border-none",children:(0,r.jsxs)("div",{className:"jsx-e3c2b8307e92fee6 lp-wrap py-8",children:[(0,r.jsxs)("div",{style:{transform:s?"translateY(0)":"translateY(16px)",opacity:+!!s,transition:"transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s, opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s",willChange:"transform, opacity"},className:"jsx-e3c2b8307e92fee6 lp-eyebrow mb-3",children:[(0,r.jsx)("span",{className:"jsx-e3c2b8307e92fee6 lp-eyebrow__dot"}),(0,r.jsx)("span",{className:"jsx-e3c2b8307e92fee6",children:"OPEN SOURCE GATEWAY"})]}),(0,r.jsx)("h2",{style:{transform:s?"translateY(0)":"translateY(24px)",opacity:+!!s,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s",willChange:"transform, opacity"},className:"jsx-e3c2b8307e92fee6 text-2xl sm:text-3xl md:text-4xl font-semibold tracking-tight text-[var(--text)] mb-3",children:"Streamline Your AI Stack"}),(0,r.jsx)("p",{style:{transform:s?"translateY(0)":"translateY(24px)",opacity:+!!s,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s",willChange:"transform, opacity"},className:"jsx-e3c2b8307e92fee6 text-sm text-[var(--text-2)] mb-8 max-w-lg mx-auto leading-relaxed",children:"Connect your IDE, CLI tools, and background agents to a unified proxy layer. Local execution, zero subscription markups."}),(0,r.jsxs)("div",{className:"jsx-e3c2b8307e92fee6 flex flex-col sm:flex-row items-center justify-center gap-3",children:[(0,r.jsx)("button",{onClick:()=>e.push("/dashboard"),style:{transform:s?"translateX(0)":"translateX(-24px)",opacity:+!!s,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s",willChange:"transform, opacity"},className:"jsx-e3c2b8307e92fee6 ui-btn ui-btn--primary px-6 py-2.5 text-xs sm:text-sm font-semibold cursor-pointer w-full sm:w-auto",children:"Launch Dashboard"}),(0,r.jsx)("a",{href:"https://github.com/Synthever/JRouter#readme",target:"_blank",rel:"noopener noreferrer",style:{transform:s?"translateX(0)":"translateX(24px)",opacity:+!!s,transition:"transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s",willChange:"transform, opacity"},className:"jsx-e3c2b8307e92fee6 ui-btn ui-btn--soft px-6 py-2.5 text-xs sm:text-sm font-medium w-full sm:w-auto",children:"Documentation"})]})]})})]})]}),(0,r.jsx)(w,{})]}),(0,r.jsx)(n(),{id:"e3c2b8307e92fee6",children:"html,body,html.no-scrollbar,body.no-scrollbar{scrollbar-width:none!important;-ms-overflow-style:none!important}html::-webkit-scrollbar,body::-webkit-scrollbar,html.no-scrollbar::-webkit-scrollbar,body.no-scrollbar::-webkit-scrollbar,html.no-scrollbar *::-webkit-scrollbar,*::-webkit-scrollbar{display:none!important;width:0!important;height:0!important;background:transparent!important}@keyframes float{0%,100%{transform:translatey(0)}50%{transform:translatey(-6px)}}@keyframes dash{to{stroke-dashoffset:-16}}"})]})}},96439:(e,t,s)=>{"use strict";s.d(t,{default:()=>tz});var r=s(95155),a=s(12115),n=s(96304),i=s(91669),l=s(69058),o=s(69272),c=s(9005),d=s(64577),x=s(64962),m=s(67401),p=s(2125),h=s(25879),u=s(18986),b=s(797),f=s(65377),g=s(37058),v=s(82749),y=s(92298),w=s(77031),j=s(61663),A=s(81402),N=s(9383),k=s(99314),_=s(50825),z=s(68562),C=s(23637),S=s(27502),Y=s(87606),R=s(68426),T=s(89434),E=s(61665),I=s(31966),L=s(90467),X=s(38158),O=s(19805),D=s(78780),M=s(76721),P=s(12363),J=s(94088),F=s(71849),G=s(30966),U=s(18402),H=s(36619),q=s(90446),B=s(65360),Z=s(40852),W=s(74336),K=s(92571),$=s(32159),Q=s(19928),V=s(5736),ee=s(47391),et=s(96339),es=s(7428),er=s(46844),ea=s(50981),en=s(34018),ei=s(69203),el=s(34779),eo=s(48384),ec=s(11012),ed=s(35484),ex=s(94890),em=s(14577),ep=s(17356),eh=s(79762),eu=s(49804),eb=s(70299),ef=s(85633),eg=s(83599),ev=s(22200),ey=s(16449),ew=s(28786),ej=s(92782),eA=s(91161),eN=s(92e3),ek=s(1275),e_=s(89066),ez=s(65878),eC=s(15532),eS=s(94910),eY=s(4972),eR=s(85618),eT=s(22189),eE=s(58309),eI=s(8143),eL=s(97804),eX=s(19707),eO=s(49960),eD=s(84863),eM=s(47603),eP=s(78890),eJ=s(88074),eF=s(94774),eG=s(36338),eU=s(58910),eH=s(874),eq=s(49288),eB=s(12651),eZ=s(715),eW=s(6923),eK=s(93954),e$=s(28324),eQ=s(86210),eV=s(19323),e0=s(39979),e1=s(83132),e2=s(15688),e3=s(56395),e6=s(92437),e5=s(9661),e8=s(5045),e4=s(90710),e7=s(84824),e9=s(44825),te=s(153),tt=s(69182),ts=s(98993),tr=s(15561),ta=s(95660),tn=s(94295),ti=s(88193),tl=s(72788),to=s(93744),tc=s(57465),td=s(22350),tx=s(50626),tm=s(25684),tp=s(24413),th=s(50908),tu=s(95697),tb=s(86272),tf=s(32061),tg=s(40557),tv=s(25494),ty=s(25182),tw=s(89034),tj=s(31396),tA=s(29450),tN=s(36483),tk=s(31474);let t_={menu:n.A,panel_left:i.A,"panel-left":i.A,panel_left_close:l.A,"panel-left-close":l.A,panel_left_open:o.A,"panel-left-open":o.A,close:c.A,check:d.A,check_circle:x.A,radio_button_unchecked:m.A,add:p.A,delete:h.A,edit:u.A,edit_note:b.A,search:f.A,search_off:g.A,refresh:v.A,restart_alt:y.A,restore:y.A,sync:v.A,sync_alt:w.A,history:j.A,save:A.A,send:N.A,content_copy:k.A,download:_.A,upload:z.A,upload_file:C.A,file_upload:z.A,cloud_upload:S.A,cloud_off:Y.A,cloud:R.A,filter_alt_off:T.A,inbox:E.A,arrow_back:I.A,arrow_forward:L.A,arrow_upward:X.A,arrow_downward:O.A,chevron_left:D.A,chevron_right:M.A,expand_more:P.A,expand_less:J.A,keyboard_arrow_down:P.A,keyboard_arrow_up:J.A,swap_calls:F.A,swap_vert:F.A,power_settings_new:G.A,power_off:U.A,play_arrow:H.A,play_circle:q.A,pause_circle:B.A,stop:Z.A,stop_circle:W.A,progress_activity:K.A,toggle_off:$.A,toggle_on:Q.A,lock:V.A,lock_open:ee.A,login:et.A,logout:es.A,key:er.A,api_key:er.A,vpn_key:er.A,vpn_lock:ea.A,shield:en.A,shield_lock:ei.A,security:en.A,verified:el.A,verified_user:ea.A,gavel:eo.A,warning:ec.A,error:ed.A,cancel:ex.A,info:em.A,help:ep.A,block:eh.A,bolt:eu.A,computer:eb.A,desktop_windows:eb.A,monitor:eb.A,devices:ef.A,lan:eg.A,hub:eg.A,dns:ev.A,terminal:ey.A,code:ew.A,api:ej.A,link:eA.A,link_off:eN.A,open_in_new:ek.A,wifi:e_.A,wifi_off:ez.A,wifi_tethering:eC.A,route:eS.A,input:et.A,output:es.A,cast:eY.A,apps:eR.A,grid_view:eR.A,table_rows:eT.A,list_alt:eE.A,checklist:eI.A,playlist_add:eL.A,layers:eX.A,space_dashboard:eO.A,"layout-dashboard":eO.A,layout_dashboard:eO.A,layoutdashboard:eO.A,dashboard:eO.A,contrast:eD.A,light:eM.A,light_mode:eM.A,dark:eP.A,dark_mode:eP.A,settings:eJ.A,bar_chart:eF.A,data_usage:eG.A,data_array:eU.A,data_object:eH.A,monitoring:eG.A,scatter_plot:eq.A,memory:eB.A,hourglass_top:eZ.A,schedule:eW.A,timeline:eK.A,pie_chart:e$.A,image:eQ.A,image_search:f.A,perm_media:eV.A,movie:e0.A,music_note:e1.A,mic:e2.A,graphic_eq:e3.A,record_voice_over:e6.A,brush:e5.A,psychology:e8.A,neurology:e8.A,smart_toy:e4.A,science:e7.A,rocket_launch:e9.A,volunteer_activism:te.A,savings:tt.A,attach_money:ts.A,attach_file:tr.A,folder_open:ta.A,cookie:tn.A,account_circle:ti.A,account_tree:tl.A,person:to.A,group:tc.A,business:td.A,language:tx.A,translate:tm.A,travel_explore:tp.A,explore:tp.A,public:tx.A,qr_code_scanner:th.A,star:tu.A,stars:tb.A,extension:tf.A,menu_book:tg.A,chat:tv.A,visibility:ty.A,visibility_off:tw.A,sparkles:tb.A,auto_awesome:tb.A,functions:tj.A,view_in_ar:tA.A,article:tN.A};function tz({name:e,children:t,size:s,className:n,style:i,strokeWidth:l=2,...o}){if(a.isValidElement(e))return e;if(a.isValidElement(t))return t;if("function"==typeof e)return(0,r.jsx)(e,{size:s||"1em",className:(0,tk.cn)("inline-block shrink-0 align-middle",n),style:i,...o});if("function"==typeof t)return(0,r.jsx)(t,{size:s||"1em",className:(0,tk.cn)("inline-block shrink-0 align-middle",n),style:i,...o});let c=e||("string"==typeof t?t.trim():Array.isArray(t)?t.filter(e=>"string"==typeof e).join("").trim():"");if(!c||"string"!=typeof c)return null;let d=c.trim().toLowerCase(),x=d.replace(/-/g,"_"),m=d.replace(/_/g,"-"),p=t_[d]||t_[m]||t_[x]||t_[c.trim()]||ep.A;return(0,r.jsx)(p,{size:s||"1em",className:(0,tk.cn)("inline-block shrink-0 align-middle",n),style:i,strokeWidth:l,...o})}}},e=>{e.O(0,[2904,6506,4787,8441,3794,7358],()=>e(e.s=15755)),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2139],{41833:(e,t,s)=>{Promise.resolve().then(s.bind(s,83016))},83016:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>n});var a=s(95155),r=s(12115),i=s(35497);function n(){let[e,t]=(0,r.useState)(""),[s,n]=(0,r.useState)(""),[l,o]=(0,r.useState)(""),[d,c]=(0,r.useState)(0),[x,m]=(0,r.useState)(!1),[u,h]=(0,r.useState)(null),[p,b]=(0,r.useState)("password"),[w,f]=(0,r.useState)("oidc"),[g,j]=(0,r.useState)(!1),[S,N]=(0,r.useState)("Sign in with OIDC"),[y,v]=(0,r.useState)(!1),[C,k]=(0,r.useState)("Sign in with SAML SSO"),[O,L]=(0,r.useState)(!1),[P,A]=(0,r.useState)("");(0,r.useEffect)(()=>{if(d<=0)return;let e=setInterval(()=>c(e=>e>0?e-1:0),1e3);return()=>clearInterval(e)},[d]),(0,r.useEffect)(()=>{!async function(){let e=new AbortController,t=setTimeout(()=>e.abort(),5e3),s=window.location.origin;try{let a=await fetch(`${s}/api/auth/status`,{signal:e.signal});if(clearTimeout(t),a.ok){let e=await a.json();if(!0===e.authenticated||!1===e.requireLogin)return void window.location.assign("/dashboard");h(!!e.hasPassword),b(e.authMode||"password"),f(e.ssoType||"oidc"),j(!0===e.oidcConfigured),N(e.oidcLoginLabel||"Sign in with OIDC"),v(!0===e.samlConfigured),k(e.samlLoginLabel||"Sign in with SAML SSO")}else h(!0)}catch(e){clearTimeout(t),h(!0)}}()},[]);let D=async t=>{t.preventDefault(),m(!0),n(""),o("");try{let t=await fetch("/api/auth/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({password:e})});if(t.ok){if((await t.json()).mustChangePassword)return void L(!0);window.location.assign("/dashboard")}else{let e=await t.json();n(e.error||"Invalid password"),e.resetHint&&o(e.resetHint),e.retryAfter&&c(Number(e.retryAfter))}}catch(e){n("An error occurred. Please try again.")}finally{m(!1)}},I=async t=>{t.preventDefault(),m(!0),n("");try{let t=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({currentPassword:e,newPassword:P})});if(t.ok)window.location.assign("/dashboard");else{let e=await t.json();n(e.error||"Failed to set password")}}catch(e){n("An error occurred. Please try again.")}finally{m(!1)}},E=["sso","oidc","saml","both"].includes(p),T=w||("saml"===p?"saml":"oidc"),M=E&&"saml"===T&&y,$=E&&"oidc"===T&&g,_=M||$,F="password"===p||"both"===p||!_;return null===u?(0,a.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-bg p-4",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"inline-block animate-spin rounded-full h-8 w-8 border-b-2 border-primary"}),(0,a.jsx)("p",{className:"text-text-muted mt-4",children:"Loading..."})]})}):(0,a.jsxs)("div",{className:"min-h-screen flex items-center justify-center bg-bg p-4 relative overflow-hidden",children:[(0,a.jsx)("div",{className:"landing-grid absolute inset-0 pointer-events-none","aria-hidden":"true"}),(0,a.jsxs)("div",{className:"relative z-10 w-full max-w-md",children:[(0,a.jsxs)("div",{className:"text-center mb-8",children:[(0,a.jsx)("h1",{className:"text-3xl font-bold text-primary mb-2",children:"
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2139],{41833:(e,t,s)=>{Promise.resolve().then(s.bind(s,83016))},83016:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>n});var a=s(95155),r=s(12115),i=s(35497);function n(){let[e,t]=(0,r.useState)(""),[s,n]=(0,r.useState)(""),[l,o]=(0,r.useState)(""),[d,c]=(0,r.useState)(0),[x,m]=(0,r.useState)(!1),[u,h]=(0,r.useState)(null),[p,b]=(0,r.useState)("password"),[w,f]=(0,r.useState)("oidc"),[g,j]=(0,r.useState)(!1),[S,N]=(0,r.useState)("Sign in with OIDC"),[y,v]=(0,r.useState)(!1),[C,k]=(0,r.useState)("Sign in with SAML SSO"),[O,L]=(0,r.useState)(!1),[P,A]=(0,r.useState)("");(0,r.useEffect)(()=>{if(d<=0)return;let e=setInterval(()=>c(e=>e>0?e-1:0),1e3);return()=>clearInterval(e)},[d]),(0,r.useEffect)(()=>{!async function(){let e=new AbortController,t=setTimeout(()=>e.abort(),5e3),s=window.location.origin;try{let a=await fetch(`${s}/api/auth/status`,{signal:e.signal});if(clearTimeout(t),a.ok){let e=await a.json();if(!0===e.authenticated||!1===e.requireLogin)return void window.location.assign("/dashboard");h(!!e.hasPassword),b(e.authMode||"password"),f(e.ssoType||"oidc"),j(!0===e.oidcConfigured),N(e.oidcLoginLabel||"Sign in with OIDC"),v(!0===e.samlConfigured),k(e.samlLoginLabel||"Sign in with SAML SSO")}else h(!0)}catch(e){clearTimeout(t),h(!0)}}()},[]);let D=async t=>{t.preventDefault(),m(!0),n(""),o("");try{let t=await fetch("/api/auth/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({password:e})});if(t.ok){if((await t.json()).mustChangePassword)return void L(!0);window.location.assign("/dashboard")}else{let e=await t.json();n(e.error||"Invalid password"),e.resetHint&&o(e.resetHint),e.retryAfter&&c(Number(e.retryAfter))}}catch(e){n("An error occurred. Please try again.")}finally{m(!1)}},I=async t=>{t.preventDefault(),m(!0),n("");try{let t=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({currentPassword:e,newPassword:P})});if(t.ok)window.location.assign("/dashboard");else{let e=await t.json();n(e.error||"Failed to set password")}}catch(e){n("An error occurred. Please try again.")}finally{m(!1)}},E=["sso","oidc","saml","both"].includes(p),T=w||("saml"===p?"saml":"oidc"),M=E&&"saml"===T&&y,$=E&&"oidc"===T&&g,_=M||$,F="password"===p||"both"===p||!_;return null===u?(0,a.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-bg p-4",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"inline-block animate-spin rounded-full h-8 w-8 border-b-2 border-primary"}),(0,a.jsx)("p",{className:"text-text-muted mt-4",children:"Loading..."})]})}):(0,a.jsxs)("div",{className:"min-h-screen flex items-center justify-center bg-bg p-4 relative overflow-hidden",children:[(0,a.jsx)("div",{className:"landing-grid absolute inset-0 pointer-events-none","aria-hidden":"true"}),(0,a.jsxs)("div",{className:"relative z-10 w-full max-w-md",children:[(0,a.jsxs)("div",{className:"text-center mb-8",children:[(0,a.jsx)("h1",{className:"text-3xl font-bold text-primary mb-2",children:"JRouter"}),(0,a.jsx)("p",{className:"text-text-muted",children:M?"Sign in with SAML 2.0 Single Sign-On":$?"Sign in with your OIDC provider to access the dashboard":"Enter your password to access the dashboard"})]}),(0,a.jsx)(i.Zp,{children:O?(0,a.jsxs)("form",{onSubmit:I,className:"flex flex-col gap-4",children:[(0,a.jsx)("p",{className:"text-sm text-amber-600 dark:text-amber-400 text-center",children:"Set a new password before accessing the dashboard remotely."}),(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)("label",{className:"text-sm font-medium",children:"New password"}),(0,a.jsx)(i.pd,{type:"password",placeholder:"Enter new password",value:P,onChange:e=>A(e.target.value),required:!0,autoFocus:!0}),s&&(0,a.jsx)("p",{className:"text-xs text-red-500",children:s})]}),(0,a.jsx)(i.$n,{type:"submit",variant:"primary",className:"w-full",loading:x,disabled:!P,children:"Set password"})]}):(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[M&&(0,a.jsx)(i.$n,{type:"button",variant:"primary",className:"w-full",onClick:()=>{window.location.href="/api/auth/saml/start"},children:C}),$&&(0,a.jsx)(i.$n,{type:"button",variant:"primary",className:"w-full",onClick:()=>{window.location.href="/api/auth/oidc/start"},children:S}),_&&F&&(0,a.jsx)("div",{className:"h-px bg-border/60"}),F?(0,a.jsxs)("form",{onSubmit:D,className:"flex flex-col gap-4",children:[E&&!_&&(0,a.jsxs)("p",{className:"text-xs text-amber-600 dark:text-amber-400 text-center",children:["saml"===T?"SAML SSO":"OIDC"," login is enabled, but configuration is incomplete. Password login is still available for recovery."]}),"both"===p&&_&&(0,a.jsxs)("p",{className:"text-xs text-text-muted text-center",children:["Password and ","saml"===T?"SAML SSO":"OIDC"," login are both enabled."]}),(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)("label",{className:"text-sm font-medium",children:"Password"}),(0,a.jsx)(i.pd,{type:"password",placeholder:"Enter password",value:e,onChange:e=>t(e.target.value),required:!0,autoFocus:!$}),s&&(0,a.jsx)("p",{className:"text-xs text-red-500",children:s}),d>0&&(0,a.jsxs)("p",{className:"text-xs text-amber-600 dark:text-amber-400",children:["Locked. Retry in ",(0,a.jsxs)("span",{className:"font-mono",children:[d,"s"]}),"."]}),l&&(0,a.jsxs)("p",{className:"text-xs text-text-muted",children:["Forgot password? Open ",(0,a.jsx)("code",{className:"bg-sidebar px-1 rounded",children:"jrouter"})," CLI on the host → ",(0,a.jsx)("b",{children:"Settings"})," → ",(0,a.jsx)("b",{children:"Reset Password to Default"}),"."]})]}),(0,a.jsx)(i.$n,{type:"submit",variant:"primary",className:"w-full",loading:x,disabled:d>0,children:d>0?`Wait ${d}s`:"Login"}),(0,a.jsxs)("p",{className:"text-xs text-center text-text-muted mt-2",children:["Default password is ",(0,a.jsx)("code",{className:"bg-sidebar px-1 rounded",children:"123456"})]}),!1===u&&(0,a.jsx)("p",{className:"text-xs text-center text-amber-600 dark:text-amber-400",children:"Security risk: no password set. You will be asked to set one when logging in remotely."})]}):s&&(0,a.jsx)("p",{className:"text-xs text-red-500",children:s})]})})]})]})}}},e=>{e.O(0,[3493,8679,2904,6506,8500,3847,1321,705,5497,8441,3794,7358],()=>e(e.s=41833)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{"use strict";var e,t,r,a,o,n,i,c,d,f={},l={};function s(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={exports:{}},a=!0;try{f[e].call(r.exports,r,r.exports,s),a=!1}finally{a&&delete l[e]}return r.exports}s.m=f,e=[],s.O=(t,r,a,o)=>{if(r){o=o||0;for(var n=e.length;n>0&&e[n-1][2]>o;n--)e[n]=e[n-1];e[n]=[r,a,o];return}for(var i=1/0,n=0;n<e.length;n++){for(var[r,a,o]=e[n],c=!0,d=0;d<r.length;d++)(!1&o||i>=o)&&Object.keys(s.O).every(e=>s.O[e](r[d]))?r.splice(d--,1):(c=!1,o<i&&(i=o));if(c){e.splice(n--,1);var f=a();void 0!==f&&(t=f)}}return t},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(e,a){if(1&a&&(e=this(e)),8&a||"object"==typeof e&&e&&(4&a&&e.__esModule||16&a&&"function"==typeof e.then))return e;var o=Object.create(null);s.r(o);var n={};t=t||[null,r({}),r([]),r(r)];for(var i=2&a&&e;"object"==typeof i&&!~t.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach(t=>n[t]=()=>e[t]);return n.default=()=>e,s.d(o,n),o},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,r)=>(s.f[r](e,t),t),[])),s.u=e=>6808===e?"static/chunks/6808-10f960f3fc924a76.js":3842===e?"static/chunks/3842-da1878db3339b090.js":5815===e?"static/chunks/5815-de6408f8865f88f8.js":1649===e?"static/chunks/1649-772a31b7f3a65900.js":"static/chunks/"+(({1831:"bd904a5c",3862:"1a258343",6603:"f5ef5e1c",9367:"b536a0f1"})[e]||e)+"."+({124:"129f13ee23ff9b23",1415:"afcb10ca309bfdcc",1831:"90c130a0395f68cc",2435:"683f65cfb8f79701",3081:"82e1c33daaaf7b14",3521:"4d7f9c5dbc1dbf08",3862:"290297ea7c7f28c0",3916:"76b951b1b948b78b",4816:"24c9689ec18a4857",5462:"79bf24eb0584ddda",6357:"59e23f8c59426c8f",6603:"6154c40175735447",7743:"adc151b8013bc35b",8202:"1ffc6ce531e066ce",9233:"1939b75215f8cdcf",9367:"38a847592118e1c9"})[e]+".js",s.miniCssF=e=>"static/css/"+({970:"76dfb82832e9da52",2574:"e07f2bf4fa519943"})[e]+".css",s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},s.l=(e,t,r,o)=>{if(a[e])return void a[e].push(t);if(void 0!==r)for(var n,i,c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var f=c[d];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")=="_N_E:"+r){n=f;break}}n||(i=!0,(n=document.createElement("script")).charset="utf-8",n.timeout=120,s.nc&&n.setAttribute("nonce",s.nc),n.setAttribute("data-webpack","_N_E:"+r),n.src=s.tu(e)),a[e]=[t];var l=(t,r)=>{n.onerror=n.onload=null,clearTimeout(u);var o=a[e];if(delete a[e],n.parentNode&&n.parentNode.removeChild(n),o&&o.forEach(e=>e(r)),t)return t(r)},u=setTimeout(l.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=l.bind(null,n.onerror),n.onload=l.bind(null,n.onload),i&&document.head.appendChild(n)},s.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.tt=()=>(void 0===o&&(o={createScriptURL:e=>e},"u">typeof trustedTypes&&trustedTypes.createPolicy&&(o=trustedTypes.createPolicy("nextjs#bundler",o))),o),s.tu=e=>s.tt().createScriptURL(e),s.p="/_next/",n={8068:0},s.f.miniCss=(e,t)=>{if(n[e])t.push(n[e]);else 0!==n[e]&&({970:1,2574:1})[e]&&t.push(n[e]=new Promise((t,r)=>{var a=s.miniCssF(e),o=s.p+a;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),a=0;a<r.length;a++){var o=r[a],n=o.getAttribute("data-href")||o.getAttribute("href");if("stylesheet"===o.rel&&(n===e||n===t))return o}for(var i=document.getElementsByTagName("style"),a=0;a<i.length;a++){var o=i[a],n=o.getAttribute("data-href");if(n===e||n===t)return o}})(a,o))return t();((e,t,r,a)=>{var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.onerror=o.onload=n=>{if(o.onerror=o.onload=null,"load"===n.type)r();else{var i=n&&("load"===n.type?"missing":n.type),c=n&&n.target&&n.target.href||t,d=Error("Loading CSS chunk "+e+" failed.\n("+c+")");d.code="CSS_CHUNK_LOAD_FAILED",d.type=i,d.request=c,o.parentNode.removeChild(o),a(d)}},o.href=t;if("function"==typeof _N_E_STYLE_LOAD){var n=o.href,i=o.onload,c=o.onerror;_N_E_STYLE_LOAD(0===n.indexOf(window.location.origin)?new URL(n).pathname:n).then(function(){i&&i.call(o,{type:"load"})},function(){c&&c.call(o,{})})}else document.head.appendChild(o)})(e,o,t,r)}).then(()=>{n[e]=0},t=>{throw delete n[e],t}))},i={8068:0,8271:0,3334:0,3493:0,8679:0,970:0,4391:0,4660:0,2175:0,636:0,7754:0,1852:0},s.f.j=(e,t)=>{var r=s.o(i,e)?i[e]:void 0;if(0!==r)if(r)t.push(r[2]);else if(/^(8(068|271|679)|(257|333|775)4|1852|2175|3493|4391|4660|636|970)$/.test(e))i[e]=0;else{var a=new Promise((t,a)=>r=i[e]=[t,a]);t.push(r[2]=a);var o=s.p+s.u(e),n=Error();s.l(o,t=>{if(s.o(i,e)&&(0!==(r=i[e])&&(i[e]=void 0),r)){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;n.message="Loading chunk "+e+" failed.\n("+a+": "+o+")",n.name="ChunkLoadError",n.type=a,n.request=o,r[1](n)}},"chunk-"+e,e)}},s.O.j=e=>0===i[e],c=(e,t)=>{var r,a,[o,n,c]=t,d=0;if(o.some(e=>0!==i[e])){for(r in n)s.o(n,r)&&(s.m[r]=n[r]);if(c)var f=c(s)}for(e&&e(t);d<o.length;d++)a=o[d],s.o(i,a)&&i[a]&&i[a][0](),i[a]=0;return s.O(f)},(d=self.webpackChunk_N_E=self.webpackChunk_N_E||[]).forEach(c.bind(null,0)),d.push=c.bind(null,d.push.bind(d))})();
|