zevairouter 1.0.154 → 1.0.155
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/CHANGELOG.md +29 -0
- package/DOCKER.md +403 -0
- package/README.md +49 -22
- package/README.zh-CN.md +18 -11
- package/cli/LICENSE +1 -22
- package/cli/app/.next-cli-build/BUILD_ID +1 -1
- package/cli/app/.next-cli-build/app-path-routes-manifest.json +9 -9
- package/cli/app/.next-cli-build/build-manifest.json +2 -2
- package/cli/app/.next-cli-build/required-server-files.json +4 -4
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/terminal/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/terminal/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/terminal/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.html +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found.html +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/login/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/callback/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/start/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/test/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/status/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cache/stats/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cache/stats/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cache/stats/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/changelog/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/changelog/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/changelog/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-gateway/accounts/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-gateway/accounts/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-gateway/accounts/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/combos/[id]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/combos/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/combos/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/[id]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/bulk/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/bulk/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/bulk/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/chat/completions/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/chat/completions/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/chat/completions/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/cli-tools/keys/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/cli-tools/keys/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/cli-tools/keys/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/media/[operation]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/media/[operation]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/media/[operation]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/extras/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/restart/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/start/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/status/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/stop/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/health/ready/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/health/ready/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/health/ready/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/health/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/health/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/init/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/init/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/[id]/rotate/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/[id]/rotate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/[id]/rotate/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/[id]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/locale/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/locale/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/voices/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/metrics/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/metrics/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/metrics/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/alias/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/availability/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/custom/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/disabled/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/test/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/latest/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/latest/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/cancel/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/cancel/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/manual/[workerId]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/latest/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/latest/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/latest/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/latest/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-token/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-token/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-token/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/quota-cookie/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/quota-cookie/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/quota-cookie/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/latest/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/latest/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-token/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-token/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-token/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/quota-cookie/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/quota-cookie/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/quota-cookie/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codex/import-token/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cursor/import/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/latest/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/latest/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/import/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/latest/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/latest/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pricing/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/[id]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/validate/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/models/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/test/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/test-models/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/bulk-delete/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/bulk-delete/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/bulk-delete/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/client/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/kilo/free-models/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/suggested-models/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/test-batch/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/validate/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/health/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/health/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/install/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/install/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/restart/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/start/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/start/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/stats/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/status/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/status/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/stop/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/database/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/proxy-test/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/require-login/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/shutdown/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tags/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tags/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/setup/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/setup/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/setup/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/status/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/status/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/unlock/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/unlock/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/unlock/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/input/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/input/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/input/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/resize/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/resize/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/resize/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/stream/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/stream/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/stream/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/console-logs/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/console-logs/stream/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/load/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/save/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/send/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/translate/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/disable/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/enable/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/status/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/aggregate/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/aggregate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/aggregate/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/chart/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/history/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/providers/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/request-details/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/request-logs/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/stats/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/stream/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/api/chat/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/speech/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/voices/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/chat/completions/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/embeddings/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/images/generations/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/messages/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/[kind]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/info/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/responses/compact/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/responses/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/search/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/web/fetch/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1beta/models/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/shutdown/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/update/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/callback/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/callback.html +1 -1
- package/cli/app/.next-cli-build/server/app/callback.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/automation.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/automation.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk/dashboard/automation/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk/dashboard/automation.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/combos.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/context.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/context.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/!KGRhc2hib2FyZCk/dashboard/context/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/!KGRhc2hib2FyZCk/dashboard/context.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/playground.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/playground.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/!KGRhc2hib2FyZCk/dashboard/playground/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/!KGRhc2hib2FyZCk/dashboard/playground.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/profile.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/quota.rsc +6 -6
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +6 -6
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/translator.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/usage.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/index.html +1 -1
- package/cli/app/.next-cli-build/server/app/index.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/landing/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/landing.html +1 -1
- package/cli/app/.next-cli-build/server/app/landing.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/login/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/login.html +1 -1
- package/cli/app/.next-cli-build/server/app/login.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app-paths-manifest.json +9 -9
- package/cli/app/.next-cli-build/server/chunks/2030.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/3155.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/319.js +3 -3
- package/cli/app/.next-cli-build/server/chunks/4650.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/4746.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/5307.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/5469.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/5949.js +12 -11
- package/cli/app/.next-cli-build/server/chunks/8242.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/8306.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/9372.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/9621.js +1 -1
- package/cli/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/next-font-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/next-font-manifest.json +1 -1
- package/cli/app/.next-cli-build/server/pages/404.html +1 -1
- package/cli/app/.next-cli-build/server/pages/500.html +1 -1
- package/cli/app/.next-cli-build/static/chunks/{620-a13f0f7b318585ab.js → 620-90911eeb765ca4bd.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/login/page-f7df7d9a053d65b7.js +1 -0
- package/cli/app/CHANGELOG.md +29 -0
- package/cli/app/cli/hooks/postinstall.js +82 -50
- package/cli/app/cli/hooks/safeGlobalInstall.js +178 -10
- package/cli/app/cli/hooks/startupRuntime.js +31 -0
- package/cli/app/cli/hooks/streamCommand.js +63 -0
- package/cli/app/package.json +46 -39
- package/cli/app/server.js +1 -1
- package/cli/cli.js +708 -248
- package/cli/hooks/postinstall.js +82 -50
- package/cli/hooks/safeGlobalInstall.js +178 -10
- package/cli/hooks/startupRuntime.js +31 -0
- package/cli/hooks/streamCommand.js +63 -0
- package/cli/package.json +6 -5
- package/cli/src/cli/systemdEnv.js +93 -0
- package/cli/src/cli/tray/autostart.js +55 -21
- package/cli/src/cli/tray/tray.js +1 -1
- package/cli/src/cli/updateRuntimeState.js +976 -0
- package/package.json +46 -39
- package/scripts/start-standalone.mjs +24 -15
- package/cli/app/.next-cli-build/static/chunks/app/login/page-9ea3f794879db097.js +0 -1
- package/i18n/README.ja-JP.md +0 -34
- package/i18n/README.ru.md +0 -34
- package/i18n/README.vi.md +0 -34
- package/i18n/README.zh-CN.md +0 -34
- package/images/screenshots/automation.png +0 -0
- package/images/screenshots/endpoint.png +0 -0
- package/images/screenshots/playground.png +0 -0
- package/images/screenshots/providers.png +0 -0
- package/images/screenshots/usage.png +0 -0
- package/images/zevairouter.png +0 -0
- package/jsconfig.json +0 -12
- package/next.config.mjs +0 -96
- package/open-sse/config/appConstants.js +0 -230
- package/open-sse/config/codexInstructions.js +0 -119
- package/open-sse/config/constants.js +0 -4
- package/open-sse/config/defaultThinkingSignature.js +0 -12
- package/open-sse/config/errorConfig.js +0 -92
- package/open-sse/config/googleTtsLanguages.js +0 -62
- package/open-sse/config/kiroConstants.js +0 -360
- package/open-sse/config/models.js +0 -13
- package/open-sse/config/ollamaModels.js +0 -19
- package/open-sse/config/providerModels.js +0 -1058
- package/open-sse/config/providers.js +0 -543
- package/open-sse/config/runtimeConfig.js +0 -72
- package/open-sse/config/ttsModels.js +0 -129
- package/open-sse/context/injectContext.js +0 -82
- package/open-sse/executors/antigravity.js +0 -605
- package/open-sse/executors/autoclaw.js +0 -121
- package/open-sse/executors/azure.js +0 -57
- package/open-sse/executors/base.js +0 -221
- package/open-sse/executors/codebuddy-cn.js +0 -31
- package/open-sse/executors/codex.js +0 -484
- package/open-sse/executors/commandcode.js +0 -88
- package/open-sse/executors/cursor.js +0 -795
- package/open-sse/executors/default.js +0 -532
- package/open-sse/executors/gemini-cli.js +0 -89
- package/open-sse/executors/github.js +0 -383
- package/open-sse/executors/grok-cli.js +0 -397
- package/open-sse/executors/grok-web.js +0 -345
- package/open-sse/executors/iflow.js +0 -108
- package/open-sse/executors/index.js +0 -92
- package/open-sse/executors/kimchi.js +0 -123
- package/open-sse/executors/kiro.js +0 -537
- package/open-sse/executors/mimo-free.js +0 -156
- package/open-sse/executors/ollama-local.js +0 -14
- package/open-sse/executors/opencode-go.js +0 -41
- package/open-sse/executors/opencode.js +0 -32
- package/open-sse/executors/perplexity-web.js +0 -507
- package/open-sse/executors/qoder.js +0 -468
- package/open-sse/executors/qwen.js +0 -129
- package/open-sse/executors/vertex.js +0 -131
- package/open-sse/executors/xiaomi-tokenplan.js +0 -19
- package/open-sse/handlers/chatCore/nonStreamingHandler.js +0 -261
- package/open-sse/handlers/chatCore/requestDetail.js +0 -112
- package/open-sse/handlers/chatCore/sseToJsonHandler.js +0 -540
- package/open-sse/handlers/chatCore/streamingHandler.js +0 -125
- package/open-sse/handlers/chatCore.js +0 -398
- package/open-sse/handlers/embeddingProviders/_base.js +0 -4
- package/open-sse/handlers/embeddingProviders/gemini.js +0 -57
- package/open-sse/handlers/embeddingProviders/index.js +0 -23
- package/open-sse/handlers/embeddingProviders/openai.js +0 -39
- package/open-sse/handlers/embeddingProviders/openaiCompatNode.js +0 -16
- package/open-sse/handlers/embeddingsCore.js +0 -126
- package/open-sse/handlers/fetch/index.js +0 -237
- package/open-sse/handlers/imageGenerationCore.js +0 -189
- package/open-sse/handlers/imageProviders/_base.js +0 -31
- package/open-sse/handlers/imageProviders/blackForestLabs.js +0 -46
- package/open-sse/handlers/imageProviders/cloudflareAi.js +0 -181
- package/open-sse/handlers/imageProviders/codex.js +0 -201
- package/open-sse/handlers/imageProviders/comfyui.js +0 -11
- package/open-sse/handlers/imageProviders/falAi.js +0 -44
- package/open-sse/handlers/imageProviders/gemini.js +0 -28
- package/open-sse/handlers/imageProviders/huggingface.js +0 -25
- package/open-sse/handlers/imageProviders/index.js +0 -40
- package/open-sse/handlers/imageProviders/nanobanana.js +0 -61
- package/open-sse/handlers/imageProviders/openai.js +0 -40
- package/open-sse/handlers/imageProviders/runwayml.js +0 -50
- package/open-sse/handlers/imageProviders/sdwebui.js +0 -20
- package/open-sse/handlers/imageProviders/stabilityAi.js +0 -37
- package/open-sse/handlers/responsesHandler.js +0 -46
- package/open-sse/handlers/search/callers.js +0 -371
- package/open-sse/handlers/search/chatSearch.js +0 -409
- package/open-sse/handlers/search/index.js +0 -201
- package/open-sse/handlers/search/normalizers.js +0 -223
- package/open-sse/handlers/sttCore.js +0 -194
- package/open-sse/handlers/ttsCore.js +0 -74
- package/open-sse/handlers/ttsProviders/_base.js +0 -39
- package/open-sse/handlers/ttsProviders/edgeTts.js +0 -92
- package/open-sse/handlers/ttsProviders/elevenlabs.js +0 -51
- package/open-sse/handlers/ttsProviders/gemini.js +0 -120
- package/open-sse/handlers/ttsProviders/genericFormats.js +0 -169
- package/open-sse/handlers/ttsProviders/googleTts.js +0 -57
- package/open-sse/handlers/ttsProviders/index.js +0 -50
- package/open-sse/handlers/ttsProviders/localDevice.js +0 -90
- package/open-sse/handlers/ttsProviders/minimax.js +0 -59
- package/open-sse/handlers/ttsProviders/openai.js +0 -33
- package/open-sse/handlers/ttsProviders/openrouter.js +0 -73
- package/open-sse/index.js +0 -82
- package/open-sse/rtk/applyFilter.js +0 -15
- package/open-sse/rtk/autodetect.js +0 -111
- package/open-sse/rtk/caveman.js +0 -100
- package/open-sse/rtk/cavemanPrompts.js +0 -78
- package/open-sse/rtk/constants.js +0 -55
- package/open-sse/rtk/filters/buildOutput.js +0 -127
- package/open-sse/rtk/filters/dedupLog.js +0 -44
- package/open-sse/rtk/filters/find.js +0 -49
- package/open-sse/rtk/filters/gitDiff.js +0 -92
- package/open-sse/rtk/filters/gitStatus.js +0 -117
- package/open-sse/rtk/filters/grep.js +0 -48
- package/open-sse/rtk/filters/ls.js +0 -79
- package/open-sse/rtk/filters/readNumbered.js +0 -27
- package/open-sse/rtk/filters/searchList.js +0 -52
- package/open-sse/rtk/filters/smartTruncate.js +0 -15
- package/open-sse/rtk/filters/tree.js +0 -32
- package/open-sse/rtk/headroom.js +0 -348
- package/open-sse/rtk/index.js +0 -155
- package/open-sse/rtk/ponytail.js +0 -91
- package/open-sse/rtk/ponytailPrompts.js +0 -44
- package/open-sse/rtk/pxpipe.js +0 -104
- package/open-sse/rtk/registry.js +0 -38
- package/open-sse/services/accountFallback.js +0 -467
- package/open-sse/services/antigravityHeaderScrub.js +0 -78
- package/open-sse/services/antigravityIdentity.js +0 -115
- package/open-sse/services/antigravityObfuscation.js +0 -92
- package/open-sse/services/clinepassModels.js +0 -63
- package/open-sse/services/combo.js +0 -189
- package/open-sse/services/compact.js +0 -71
- package/open-sse/services/copilotModels.js +0 -155
- package/open-sse/services/kimchiModels.js +0 -176
- package/open-sse/services/kiroModels.js +0 -320
- package/open-sse/services/model.js +0 -281
- package/open-sse/services/oauthCredentialManager.js +0 -151
- package/open-sse/services/projectId.js +0 -463
- package/open-sse/services/provider.js +0 -356
- package/open-sse/services/qoderModels.js +0 -216
- package/open-sse/services/tokenRefresh.js +0 -949
- package/open-sse/services/usage.js +0 -2415
- package/open-sse/transformer/responsesTransformer.js +0 -509
- package/open-sse/transformer/streamToJsonConverter.js +0 -151
- package/open-sse/translator/formats.js +0 -36
- package/open-sse/translator/helpers/claudeHelper.js +0 -217
- package/open-sse/translator/helpers/geminiHelper.js +0 -372
- package/open-sse/translator/helpers/imageHelper.js +0 -98
- package/open-sse/translator/helpers/maxTokensHelper.js +0 -27
- package/open-sse/translator/helpers/openaiHelper.js +0 -130
- package/open-sse/translator/helpers/responsesApiHelper.js +0 -214
- package/open-sse/translator/helpers/toolCallHelper.js +0 -148
- package/open-sse/translator/index.js +0 -254
- package/open-sse/translator/request/antigravity-to-openai.js +0 -255
- package/open-sse/translator/request/claude-to-openai.js +0 -278
- package/open-sse/translator/request/gemini-to-openai.js +0 -147
- package/open-sse/translator/request/openai-responses.js +0 -212
- package/open-sse/translator/request/openai-to-claude.js +0 -427
- package/open-sse/translator/request/openai-to-commandcode.js +0 -178
- package/open-sse/translator/request/openai-to-cursor.js +0 -195
- package/open-sse/translator/request/openai-to-gemini.js +0 -478
- package/open-sse/translator/request/openai-to-kiro.js +0 -641
- package/open-sse/translator/request/openai-to-kiro.old.js +0 -278
- package/open-sse/translator/request/openai-to-ollama.js +0 -192
- package/open-sse/translator/request/openai-to-vertex.js +0 -42
- package/open-sse/translator/response/claude-to-openai.js +0 -206
- package/open-sse/translator/response/commandcode-to-openai.js +0 -197
- package/open-sse/translator/response/cursor-to-openai.js +0 -30
- package/open-sse/translator/response/gemini-to-openai.js +0 -245
- package/open-sse/translator/response/kiro-to-openai.js +0 -195
- package/open-sse/translator/response/ollama-to-openai.js +0 -152
- package/open-sse/translator/response/openai-responses.js +0 -624
- package/open-sse/translator/response/openai-to-antigravity.js +0 -122
- package/open-sse/translator/response/openai-to-claude.js +0 -266
- package/open-sse/utils/bypassHandler.js +0 -298
- package/open-sse/utils/claudeCloaking.js +0 -155
- package/open-sse/utils/claudeHeaderCache.js +0 -70
- package/open-sse/utils/clientDetector.js +0 -64
- package/open-sse/utils/cursorChecksum.js +0 -152
- package/open-sse/utils/cursorProtobuf.js +0 -907
- package/open-sse/utils/debugLog.js +0 -14
- package/open-sse/utils/error.js +0 -147
- package/open-sse/utils/ollamaTransform.js +0 -85
- package/open-sse/utils/proxyFetch.js +0 -369
- package/open-sse/utils/reasoningContentInjector.js +0 -79
- package/open-sse/utils/requestLogger.js +0 -251
- package/open-sse/utils/responsesStreamHelpers.js +0 -106
- package/open-sse/utils/sessionManager.js +0 -231
- package/open-sse/utils/stream.js +0 -590
- package/open-sse/utils/streamHandler.js +0 -274
- package/open-sse/utils/streamHelpers.js +0 -122
- package/open-sse/utils/thinkingSuffix.js +0 -64
- package/open-sse/utils/toolDeduper.js +0 -49
- package/open-sse/utils/usageTracking.js +0 -351
- package/postcss.config.mjs +0 -14
- package/public/favicon.svg +0 -16
- package/public/file.svg +0 -1
- package/public/globe.svg +0 -1
- package/public/i18n/literals/ar.json +0 -195
- package/public/i18n/literals/bn.json +0 -195
- package/public/i18n/literals/cs.json +0 -195
- package/public/i18n/literals/da.json +0 -195
- package/public/i18n/literals/de.json +0 -195
- package/public/i18n/literals/el.json +0 -195
- package/public/i18n/literals/es.json +0 -195
- package/public/i18n/literals/fi.json +0 -195
- package/public/i18n/literals/fr.json +0 -195
- package/public/i18n/literals/he.json +0 -195
- package/public/i18n/literals/hi.json +0 -195
- package/public/i18n/literals/hu.json +0 -195
- package/public/i18n/literals/id.json +0 -195
- package/public/i18n/literals/it.json +0 -195
- package/public/i18n/literals/ja.json +0 -195
- package/public/i18n/literals/ko.json +0 -195
- package/public/i18n/literals/nl.json +0 -195
- package/public/i18n/literals/no.json +0 -195
- package/public/i18n/literals/pl.json +0 -195
- package/public/i18n/literals/pt-BR.json +0 -195
- package/public/i18n/literals/pt-PT.json +0 -195
- package/public/i18n/literals/ro.json +0 -195
- package/public/i18n/literals/ru.json +0 -195
- package/public/i18n/literals/sv.json +0 -195
- package/public/i18n/literals/th.json +0 -195
- package/public/i18n/literals/tl.json +0 -195
- package/public/i18n/literals/tr.json +0 -195
- package/public/i18n/literals/uk.json +0 -195
- package/public/i18n/literals/ur.json +0 -195
- package/public/i18n/literals/vi.json +0 -195
- package/public/i18n/literals/zh-CN.json +0 -772
- package/public/i18n/literals/zh-TW.json +0 -195
- package/public/icons/discord.svg +0 -4
- package/public/icons/icon-192.svg +0 -16
- package/public/icons/icon-512.svg +0 -16
- package/public/next.svg +0 -1
- package/public/providers/alicode-intl.png +0 -0
- package/public/providers/alicode.png +0 -0
- package/public/providers/amp.png +0 -0
- package/public/providers/anthropic-m.png +0 -0
- package/public/providers/anthropic.png +0 -0
- package/public/providers/antigravity.png +0 -0
- package/public/providers/assemblyai.png +0 -0
- package/public/providers/autoclaw.png +0 -0
- package/public/providers/aws-polly.png +0 -0
- package/public/providers/azure.png +0 -0
- package/public/providers/black-forest-labs.png +0 -0
- package/public/providers/blackbox.png +0 -0
- package/public/providers/brave-search.png +0 -0
- package/public/providers/byteplus.png +0 -0
- package/public/providers/cartesia.png +0 -0
- package/public/providers/cerebras.png +0 -0
- package/public/providers/chutes.png +0 -0
- package/public/providers/claude.png +0 -0
- package/public/providers/cline.png +0 -0
- package/public/providers/clinepass.png +0 -0
- package/public/providers/cloudflare-ai.png +0 -0
- package/public/providers/codebuddy-cn.png +0 -0
- package/public/providers/codebuddy.png +0 -0
- package/public/providers/codebuddy.svg +0 -37
- package/public/providers/codex.png +0 -0
- package/public/providers/cohere.png +0 -0
- package/public/providers/comfyui.png +0 -0
- package/public/providers/commandcode.png +0 -0
- package/public/providers/continue.png +0 -0
- package/public/providers/copilot.png +0 -0
- package/public/providers/coqui.png +0 -0
- package/public/providers/cursor.png +0 -0
- package/public/providers/deepgram.png +0 -0
- package/public/providers/deepseek-tui.png +0 -0
- package/public/providers/deepseek.png +0 -0
- package/public/providers/droid.png +0 -0
- package/public/providers/edge-tts.png +0 -0
- package/public/providers/elevenlabs.png +0 -0
- package/public/providers/exa.png +0 -0
- package/public/providers/fal-ai.png +0 -0
- package/public/providers/firecrawl.png +0 -0
- package/public/providers/fireworks.png +0 -0
- package/public/providers/gemini-cli.png +0 -0
- package/public/providers/gemini.png +0 -0
- package/public/providers/github.png +0 -0
- package/public/providers/glm-cn.png +0 -0
- package/public/providers/glm.png +0 -0
- package/public/providers/google-pse.png +0 -0
- package/public/providers/google-tts.png +0 -0
- package/public/providers/grok-cli.png +0 -0
- package/public/providers/grok-web.png +0 -0
- package/public/providers/groq.png +0 -0
- package/public/providers/hermes.png +0 -0
- package/public/providers/huggingface.png +0 -0
- package/public/providers/hyperbolic.png +0 -0
- package/public/providers/iflow.png +0 -0
- package/public/providers/inworld.png +0 -0
- package/public/providers/jcode.png +0 -0
- package/public/providers/jina-ai.png +0 -0
- package/public/providers/jina-reader.png +0 -0
- package/public/providers/kilocode.png +0 -0
- package/public/providers/kimchi.png +0 -0
- package/public/providers/kimchi.svg +0 -4
- package/public/providers/kimi-coding.png +0 -0
- package/public/providers/kimi.png +0 -0
- package/public/providers/kiro.png +0 -0
- package/public/providers/linkup.png +0 -0
- package/public/providers/local-device.png +0 -0
- package/public/providers/mimo-free.png +0 -0
- package/public/providers/minimax-cn.png +0 -0
- package/public/providers/minimax.png +0 -0
- package/public/providers/mistral.png +0 -0
- package/public/providers/nanobanana.png +0 -0
- package/public/providers/nebius.png +0 -0
- package/public/providers/nvidia.png +0 -0
- package/public/providers/oai-cc.png +0 -0
- package/public/providers/oai-r.png +0 -0
- package/public/providers/ollama-local.png +0 -0
- package/public/providers/ollama.png +0 -0
- package/public/providers/openai.png +0 -0
- package/public/providers/openclaw.png +0 -0
- package/public/providers/opencode-go.png +0 -0
- package/public/providers/opencode.png +0 -0
- package/public/providers/openrouter.png +0 -0
- package/public/providers/perplexity-agent.png +0 -0
- package/public/providers/perplexity-web.png +0 -0
- package/public/providers/perplexity.png +0 -0
- package/public/providers/playht.png +0 -0
- package/public/providers/qoder.png +0 -0
- package/public/providers/qwen.png +0 -0
- package/public/providers/recraft.png +0 -0
- package/public/providers/roo.png +0 -0
- package/public/providers/runwayml.png +0 -0
- package/public/providers/sdwebui.png +0 -0
- package/public/providers/searchapi.png +0 -0
- package/public/providers/searxng.png +0 -0
- package/public/providers/serper.png +0 -0
- package/public/providers/siliconflow.png +0 -0
- package/public/providers/stability-ai.png +0 -0
- package/public/providers/tavily.png +0 -0
- package/public/providers/together.png +0 -0
- package/public/providers/topaz.png +0 -0
- package/public/providers/tortoise.png +0 -0
- package/public/providers/vertex-partner.png +0 -0
- package/public/providers/vertex.png +0 -0
- package/public/providers/volcengine-ark.png +0 -0
- package/public/providers/voyage-ai.png +0 -0
- package/public/providers/xai.png +0 -0
- package/public/providers/xiaomi-mimo.png +0 -0
- package/public/providers/xiaomi-tokenplan.png +0 -0
- package/public/providers/youcom.png +0 -0
- package/public/sw.js +0 -22
- package/public/vercel.svg +0 -1
- package/public/window.svg +0 -1
- package/scripts/translate-readme.js +0 -201
- package/src/app/(dashboard)/dashboard/automation/page.js +0 -774
- package/src/app/(dashboard)/dashboard/basic-chat/BasicChatPageClient.js +0 -1592
- package/src/app/(dashboard)/dashboard/basic-chat/page.js +0 -5
- package/src/app/(dashboard)/dashboard/cli-tools/CLIToolsPageClient.js +0 -81
- package/src/app/(dashboard)/dashboard/cli-tools/[toolId]/ToolDetailClient.js +0 -173
- package/src/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +0 -11
- package/src/app/(dashboard)/dashboard/cli-tools/components/AntigravityToolCard.js +0 -487
- package/src/app/(dashboard)/dashboard/cli-tools/components/ApiKeySelect.js +0 -14
- package/src/app/(dashboard)/dashboard/cli-tools/components/BaseUrlSelect.js +0 -176
- package/src/app/(dashboard)/dashboard/cli-tools/components/ClaudeToolCard.js +0 -396
- package/src/app/(dashboard)/dashboard/cli-tools/components/ClineToolCard.js +0 -307
- package/src/app/(dashboard)/dashboard/cli-tools/components/CodexToolCard.js +0 -466
- package/src/app/(dashboard)/dashboard/cli-tools/components/CopilotToolCard.js +0 -330
- package/src/app/(dashboard)/dashboard/cli-tools/components/CoworkToolCard.js +0 -646
- package/src/app/(dashboard)/dashboard/cli-tools/components/DeepSeekTuiToolCard.js +0 -344
- package/src/app/(dashboard)/dashboard/cli-tools/components/DefaultToolCard.js +0 -271
- package/src/app/(dashboard)/dashboard/cli-tools/components/DroidToolCard.js +0 -421
- package/src/app/(dashboard)/dashboard/cli-tools/components/EndpointPresetControl.js +0 -129
- package/src/app/(dashboard)/dashboard/cli-tools/components/HermesToolCard.js +0 -323
- package/src/app/(dashboard)/dashboard/cli-tools/components/JcodeToolCard.js +0 -386
- package/src/app/(dashboard)/dashboard/cli-tools/components/KiloToolCard.js +0 -280
- package/src/app/(dashboard)/dashboard/cli-tools/components/MitmLinkCard.js +0 -40
- package/src/app/(dashboard)/dashboard/cli-tools/components/MitmServerCard.js +0 -329
- package/src/app/(dashboard)/dashboard/cli-tools/components/MitmToolCard.js +0 -320
- package/src/app/(dashboard)/dashboard/cli-tools/components/OpenClawToolCard.js +0 -394
- package/src/app/(dashboard)/dashboard/cli-tools/components/OpenCodeToolCard.js +0 -512
- package/src/app/(dashboard)/dashboard/cli-tools/components/ToolSummaryCard.js +0 -40
- package/src/app/(dashboard)/dashboard/cli-tools/components/cliEndpointMatch.js +0 -13
- package/src/app/(dashboard)/dashboard/cli-tools/components/index.js +0 -19
- package/src/app/(dashboard)/dashboard/cli-tools/page.js +0 -7
- package/src/app/(dashboard)/dashboard/combos/page.js +0 -615
- package/src/app/(dashboard)/dashboard/console-log/ConsoleLogClient.js +0 -118
- package/src/app/(dashboard)/dashboard/console-log/page.js +0 -8
- package/src/app/(dashboard)/dashboard/context/page.js +0 -276
- package/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.js +0 -1594
- package/src/app/(dashboard)/dashboard/endpoint/endpointConstants.js +0 -32
- package/src/app/(dashboard)/dashboard/endpoint/page.js +0 -7
- package/src/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +0 -1907
- package/src/app/(dashboard)/dashboard/media-providers/[kind]/page.js +0 -289
- package/src/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +0 -413
- package/src/app/(dashboard)/dashboard/media-providers/web/page.js +0 -209
- package/src/app/(dashboard)/dashboard/mitm/MitmPageClient.js +0 -121
- package/src/app/(dashboard)/dashboard/mitm/page.js +0 -5
- package/src/app/(dashboard)/dashboard/page.js +0 -7
- package/src/app/(dashboard)/dashboard/playground/page.js +0 -5
- package/src/app/(dashboard)/dashboard/profile/page.js +0 -1284
- package/src/app/(dashboard)/dashboard/providers/[id]/AddApiKeyModal.js +0 -389
- package/src/app/(dashboard)/dashboard/providers/[id]/AddCustomModelModal.js +0 -126
- package/src/app/(dashboard)/dashboard/providers/[id]/CompatibleModelsSection.js +0 -250
- package/src/app/(dashboard)/dashboard/providers/[id]/ConnectionRow.js +0 -295
- package/src/app/(dashboard)/dashboard/providers/[id]/CooldownTimer.js +0 -42
- package/src/app/(dashboard)/dashboard/providers/[id]/EditCompatibleNodeModal.js +0 -162
- package/src/app/(dashboard)/dashboard/providers/[id]/ModelRow.js +0 -99
- package/src/app/(dashboard)/dashboard/providers/[id]/PassthroughModelsSection.js +0 -183
- package/src/app/(dashboard)/dashboard/providers/[id]/page.js +0 -2170
- package/src/app/(dashboard)/dashboard/providers/[id]/page.new.js +0 -1726
- package/src/app/(dashboard)/dashboard/providers/components/ConnectionsCard.js +0 -486
- package/src/app/(dashboard)/dashboard/providers/components/ModelAvailabilityBadge.js +0 -186
- package/src/app/(dashboard)/dashboard/providers/components/ModelsCard.js +0 -295
- package/src/app/(dashboard)/dashboard/providers/new/page.js +0 -220
- package/src/app/(dashboard)/dashboard/providers/page.js +0 -1518
- package/src/app/(dashboard)/dashboard/proxy-pools/page.js +0 -1107
- package/src/app/(dashboard)/dashboard/pxpipe/PxpipeClient.js +0 -284
- package/src/app/(dashboard)/dashboard/pxpipe/page.js +0 -5
- package/src/app/(dashboard)/dashboard/quota/page.js +0 -11
- package/src/app/(dashboard)/dashboard/terminal/TerminalPageClient.js +0 -735
- package/src/app/(dashboard)/dashboard/terminal/page.js +0 -7
- package/src/app/(dashboard)/dashboard/token-saver/TokenSaverClient.js +0 -1018
- package/src/app/(dashboard)/dashboard/token-saver/page.js +0 -5
- package/src/app/(dashboard)/dashboard/translator/page.js +0 -303
- package/src/app/(dashboard)/dashboard/usage/components/OverviewCards.js +0 -87
- package/src/app/(dashboard)/dashboard/usage/components/ProviderLimits/ProviderLimitCard.js +0 -183
- package/src/app/(dashboard)/dashboard/usage/components/ProviderLimits/QuotaProgressBar.js +0 -127
- package/src/app/(dashboard)/dashboard/usage/components/ProviderLimits/QuotaTable.js +0 -269
- package/src/app/(dashboard)/dashboard/usage/components/ProviderLimits/index.js +0 -1571
- package/src/app/(dashboard)/dashboard/usage/components/ProviderLimits/utils.js +0 -320
- package/src/app/(dashboard)/dashboard/usage/components/ProviderTopology.js +0 -468
- package/src/app/(dashboard)/dashboard/usage/components/RequestDetailsTab.js +0 -454
- package/src/app/(dashboard)/dashboard/usage/components/UsageChart.js +0 -155
- package/src/app/(dashboard)/dashboard/usage/components/UsageTable.js +0 -253
- package/src/app/(dashboard)/dashboard/usage/page.js +0 -75
- package/src/app/(dashboard)/layout.js +0 -6
- package/src/app/api/auth/login/route.js +0 -76
- package/src/app/api/auth/logout/route.js +0 -14
- package/src/app/api/auth/oidc/callback/route.js +0 -87
- package/src/app/api/auth/oidc/start/route.js +0 -52
- package/src/app/api/auth/oidc/test/route.js +0 -86
- package/src/app/api/auth/status/route.js +0 -45
- package/src/app/api/cache/stats/route.js +0 -13
- package/src/app/api/changelog/route.js +0 -48
- package/src/app/api/cli-tools/all-statuses/route.js +0 -46
- package/src/app/api/cli-tools/antigravity-mitm/alias/route.js +0 -53
- package/src/app/api/cli-tools/antigravity-mitm/route.js +0 -202
- package/src/app/api/cli-tools/claude-settings/route.js +0 -203
- package/src/app/api/cli-tools/cline-settings/route.js +0 -133
- package/src/app/api/cli-tools/codex-gateway/accounts/route.js +0 -16
- package/src/app/api/cli-tools/codex-settings/route.js +0 -271
- package/src/app/api/cli-tools/copilot-settings/route.js +0 -153
- package/src/app/api/cli-tools/cowork-mcp-registry/route.js +0 -77
- package/src/app/api/cli-tools/cowork-mcp-tools/route.js +0 -95
- package/src/app/api/cli-tools/cowork-settings/route.js +0 -412
- package/src/app/api/cli-tools/deepseek-tui-settings/route.js +0 -164
- package/src/app/api/cli-tools/droid-settings/route.js +0 -213
- package/src/app/api/cli-tools/hermes-settings/route.js +0 -175
- package/src/app/api/cli-tools/jcode-settings/route.js +0 -216
- package/src/app/api/cli-tools/kilo-settings/route.js +0 -131
- package/src/app/api/cli-tools/openclaw-settings/route.js +0 -292
- package/src/app/api/cli-tools/opencode-settings/route.js +0 -259
- package/src/app/api/combos/[id]/route.js +0 -81
- package/src/app/api/combos/route.js +0 -48
- package/src/app/api/context/[id]/route.js +0 -35
- package/src/app/api/context/bulk/route.js +0 -25
- package/src/app/api/context/route.js +0 -33
- package/src/app/api/dashboard/chat/completions/route.js +0 -74
- package/src/app/api/dashboard/cli-tools/keys/route.js +0 -33
- package/src/app/api/dashboard/media/[operation]/route.js +0 -60
- package/src/app/api/headroom/extras/route.js +0 -46
- package/src/app/api/headroom/proxy/[...path]/route.js +0 -104
- package/src/app/api/headroom/restart/route.js +0 -35
- package/src/app/api/headroom/start/route.js +0 -35
- package/src/app/api/headroom/status/route.js +0 -18
- package/src/app/api/headroom/stop/route.js +0 -14
- package/src/app/api/health/ready/route.js +0 -21
- package/src/app/api/health/route.js +0 -15
- package/src/app/api/init/route.js +0 -12
- package/src/app/api/keys/[id]/rotate/route.js +0 -14
- package/src/app/api/keys/[id]/route.js +0 -119
- package/src/app/api/keys/route.js +0 -56
- package/src/app/api/locale/route.js +0 -30
- package/src/app/api/mcp/[plugin]/message/route.js +0 -21
- package/src/app/api/mcp/[plugin]/sse/route.js +0 -37
- package/src/app/api/media-providers/tts/deepgram/voices/route.js +0 -65
- package/src/app/api/media-providers/tts/elevenlabs/voices/route.js +0 -71
- package/src/app/api/media-providers/tts/inworld/voices/route.js +0 -61
- package/src/app/api/media-providers/tts/minimax/voices/route.js +0 -113
- package/src/app/api/media-providers/tts/voices/route.js +0 -99
- package/src/app/api/metrics/route.js +0 -33
- package/src/app/api/models/alias/route.js +0 -53
- package/src/app/api/models/availability/route.js +0 -103
- package/src/app/api/models/custom/route.js +0 -48
- package/src/app/api/models/disabled/route.js +0 -50
- package/src/app/api/models/route.js +0 -68
- package/src/app/api/models/test/ping.js +0 -191
- package/src/app/api/models/test/route.js +0 -14
- package/src/app/api/oauth/[provider]/[action]/route.js +0 -340
- package/src/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route.js +0 -19
- package/src/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route.js +0 -30
- package/src/app/api/oauth/antigravity/bulk-import/[jobId]/route.js +0 -23
- package/src/app/api/oauth/antigravity/bulk-import/latest/route.js +0 -24
- package/src/app/api/oauth/antigravity/bulk-import/route.js +0 -51
- package/src/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/cancel/route.js +0 -19
- package/src/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/manual/[workerId]/route.js +0 -30
- package/src/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/route.js +0 -25
- package/src/app/api/oauth/cloudflare-ai/bulk-import/latest/route.js +0 -27
- package/src/app/api/oauth/cloudflare-ai/bulk-import/route.js +0 -56
- package/src/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route.js +0 -19
- package/src/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route.js +0 -30
- package/src/app/api/oauth/codebuddy/bulk-import/[jobId]/route.js +0 -23
- package/src/app/api/oauth/codebuddy/bulk-import/latest/route.js +0 -25
- package/src/app/api/oauth/codebuddy/bulk-import/route.js +0 -51
- package/src/app/api/oauth/codebuddy/bulk-token/route.js +0 -118
- package/src/app/api/oauth/codebuddy/quota-cookie/route.js +0 -133
- package/src/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route.js +0 -19
- package/src/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route.js +0 -30
- package/src/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route.js +0 -26
- package/src/app/api/oauth/codebuddy-cn/bulk-import/latest/route.js +0 -27
- package/src/app/api/oauth/codebuddy-cn/bulk-import/route.js +0 -61
- package/src/app/api/oauth/codebuddy-cn/bulk-token/route.js +0 -119
- package/src/app/api/oauth/codebuddy-cn/quota-cookie/route.js +0 -28
- package/src/app/api/oauth/codex/import-token/route.js +0 -96
- package/src/app/api/oauth/cursor/auto-import/route.js +0 -257
- package/src/app/api/oauth/cursor/import/route.js +0 -100
- package/src/app/api/oauth/gitlab/pat/route.js +0 -62
- package/src/app/api/oauth/iflow/cookie/route.js +0 -137
- package/src/app/api/oauth/kiro/auto-import/route.js +0 -85
- package/src/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route.js +0 -19
- package/src/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route.js +0 -30
- package/src/app/api/oauth/kiro/bulk-import/[jobId]/route.js +0 -23
- package/src/app/api/oauth/kiro/bulk-import/latest/route.js +0 -25
- package/src/app/api/oauth/kiro/bulk-import/route.js +0 -51
- package/src/app/api/oauth/kiro/import/route.js +0 -110
- package/src/app/api/oauth/kiro/social-authorize/route.js +0 -27
- package/src/app/api/oauth/kiro/social-exchange/route.js +0 -41
- package/src/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route.js +0 -19
- package/src/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route.js +0 -30
- package/src/app/api/oauth/qoder/bulk-import/[jobId]/route.js +0 -23
- package/src/app/api/oauth/qoder/bulk-import/latest/route.js +0 -24
- package/src/app/api/oauth/qoder/bulk-import/route.js +0 -49
- package/src/app/api/pricing/route.js +0 -134
- package/src/app/api/provider-nodes/[id]/route.js +0 -101
- package/src/app/api/provider-nodes/route.js +0 -104
- package/src/app/api/provider-nodes/validate/route.js +0 -201
- package/src/app/api/providers/[id]/models/route.js +0 -605
- package/src/app/api/providers/[id]/route.js +0 -251
- package/src/app/api/providers/[id]/test/route.js +0 -23
- package/src/app/api/providers/[id]/test/testUtils.js +0 -811
- package/src/app/api/providers/[id]/test-models/route.js +0 -66
- package/src/app/api/providers/bulk-delete/route.js +0 -60
- package/src/app/api/providers/client/route.js +0 -136
- package/src/app/api/providers/kilo/free-models/route.js +0 -55
- package/src/app/api/providers/route.js +0 -278
- package/src/app/api/providers/suggested-models/filters.js +0 -20
- package/src/app/api/providers/suggested-models/route.js +0 -34
- package/src/app/api/providers/test-batch/route.js +0 -131
- package/src/app/api/providers/validate/route.js +0 -637
- package/src/app/api/proxy-pools/[id]/route.js +0 -135
- package/src/app/api/proxy-pools/[id]/test/route.js +0 -72
- package/src/app/api/proxy-pools/cloudflare-deploy/route.js +0 -145
- package/src/app/api/proxy-pools/deno-deploy/route.js +0 -175
- package/src/app/api/proxy-pools/route.js +0 -112
- package/src/app/api/proxy-pools/vercel-deploy/route.js +0 -142
- package/src/app/api/pxpipe/health/route.js +0 -16
- package/src/app/api/pxpipe/install/route.js +0 -20
- package/src/app/api/pxpipe/logs/route.js +0 -21
- package/src/app/api/pxpipe/restart/route.js +0 -16
- package/src/app/api/pxpipe/start/route.js +0 -26
- package/src/app/api/pxpipe/stats/route.js +0 -17
- package/src/app/api/pxpipe/status/route.js +0 -21
- package/src/app/api/pxpipe/stop/route.js +0 -16
- package/src/app/api/settings/database/route.js +0 -36
- package/src/app/api/settings/proxy-test/route.js +0 -23
- package/src/app/api/settings/require-login/route.js +0 -15
- package/src/app/api/settings/route.js +0 -115
- package/src/app/api/shutdown/route.js +0 -24
- package/src/app/api/tags/route.js +0 -18
- package/src/app/api/terminal/auth/setup/route.js +0 -72
- package/src/app/api/terminal/auth/status/route.js +0 -27
- package/src/app/api/terminal/auth/unlock/route.js +0 -69
- package/src/app/api/terminal/session/[id]/input/route.js +0 -32
- package/src/app/api/terminal/session/[id]/resize/route.js +0 -18
- package/src/app/api/terminal/session/[id]/route.js +0 -37
- package/src/app/api/terminal/session/[id]/stream/route.js +0 -100
- package/src/app/api/terminal/session/route.js +0 -30
- package/src/app/api/translator/console-logs/route.js +0 -24
- package/src/app/api/translator/console-logs/stream/route.js +0 -79
- package/src/app/api/translator/load/route.js +0 -45
- package/src/app/api/translator/save/route.js +0 -44
- package/src/app/api/translator/send/route.js +0 -94
- package/src/app/api/translator/translate/route.js +0 -90
- package/src/app/api/tunnel/disable/route.js +0 -12
- package/src/app/api/tunnel/enable/route.js +0 -16
- package/src/app/api/tunnel/status/route.js +0 -13
- package/src/app/api/tunnel/tailscale-check/route.js +0 -50
- package/src/app/api/tunnel/tailscale-disable/route.js +0 -12
- package/src/app/api/tunnel/tailscale-enable/route.js +0 -12
- package/src/app/api/tunnel/tailscale-install/route.js +0 -72
- package/src/app/api/usage/[connectionId]/route.js +0 -40
- package/src/app/api/usage/aggregate/route.js +0 -126
- package/src/app/api/usage/chart/route.js +0 -21
- package/src/app/api/usage/history/route.js +0 -12
- package/src/app/api/usage/logs/route.js +0 -12
- package/src/app/api/usage/providers/route.js +0 -42
- package/src/app/api/usage/request-details/route.js +0 -57
- package/src/app/api/usage/request-logs/route.js +0 -13
- package/src/app/api/usage/stats/route.js +0 -23
- package/src/app/api/usage/stream/route.js +0 -142
- package/src/app/api/v1/api/chat/route.js +0 -37
- package/src/app/api/v1/audio/speech/route.js +0 -16
- package/src/app/api/v1/audio/transcriptions/route.js +0 -19
- package/src/app/api/v1/audio/voices/route.js +0 -68
- package/src/app/api/v1/chat/completions/route.js +0 -35
- package/src/app/api/v1/embeddings/route.js +0 -21
- package/src/app/api/v1/images/generations/route.js +0 -16
- package/src/app/api/v1/messages/count_tokens/route.js +0 -59
- package/src/app/api/v1/messages/route.js +0 -36
- package/src/app/api/v1/models/[kind]/route.js +0 -55
- package/src/app/api/v1/models/info/route.js +0 -110
- package/src/app/api/v1/models/route.js +0 -497
- package/src/app/api/v1/responses/compact/route.js +0 -55
- package/src/app/api/v1/responses/route.js +0 -30
- package/src/app/api/v1/route.js +0 -1
- package/src/app/api/v1/search/route.js +0 -21
- package/src/app/api/v1/web/fetch/route.js +0 -21
- package/src/app/api/v1beta/models/[...path]/route.js +0 -368
- package/src/app/api/v1beta/models/route.js +0 -44
- package/src/app/api/version/route.js +0 -198
- package/src/app/api/version/shutdown/route.js +0 -15
- package/src/app/api/version/update/route.js +0 -21
- package/src/app/callback/page.js +0 -149
- package/src/app/dashboard/settings/pricing/page.js +0 -174
- package/src/app/globals.css +0 -659
- package/src/app/landing/components/AnimatedBackground.js +0 -57
- package/src/app/landing/components/Features.js +0 -133
- package/src/app/landing/components/FlowAnimation.js +0 -175
- package/src/app/landing/components/Footer.js +0 -61
- package/src/app/landing/components/GetStarted.js +0 -97
- package/src/app/landing/components/HeroSection.js +0 -72
- package/src/app/landing/components/HowItWorks.js +0 -66
- package/src/app/landing/components/Navigation.js +0 -77
- package/src/app/landing/page.js +0 -106
- package/src/app/layout.js +0 -48
- package/src/app/login/page.js +0 -197
- package/src/app/manifest.js +0 -30
- package/src/app/page.js +0 -5
- package/src/dashboardGuard.js +0 -288
- package/src/i18n/RuntimeI18nProvider.js +0 -27
- package/src/i18n/config.js +0 -146
- package/src/i18n/runtime.js +0 -162
- package/src/lib/alerter.js +0 -122
- package/src/lib/appUpdater.js +0 -204
- package/src/lib/auth/dashboardSession.js +0 -68
- package/src/lib/auth/loginLimiter.js +0 -52
- package/src/lib/auth/oidc.js +0 -303
- package/src/lib/auth/terminalSession.js +0 -88
- package/src/lib/autoclaw/constants.js +0 -63
- package/src/lib/consoleLogBuffer.js +0 -79
- package/src/lib/dataDir.js +0 -29
- package/src/lib/db/adapters/betterSqliteAdapter.js +0 -58
- package/src/lib/db/adapters/bunSqliteAdapter.js +0 -65
- package/src/lib/db/adapters/nodeSqliteAdapter.js +0 -86
- package/src/lib/db/adapters/sqljsAdapter.js +0 -207
- package/src/lib/db/backup.js +0 -36
- package/src/lib/db/dataDirMigration.js +0 -52
- package/src/lib/db/driver.js +0 -131
- package/src/lib/db/helpers/jsonCol.js +0 -9
- package/src/lib/db/helpers/kvStore.js +0 -39
- package/src/lib/db/helpers/metaStore.js +0 -22
- package/src/lib/db/index.js +0 -218
- package/src/lib/db/maintenance.js +0 -78
- package/src/lib/db/migrate.js +0 -295
- package/src/lib/db/migrations/001-initial.js +0 -17
- package/src/lib/db/migrations/index.js +0 -10
- package/src/lib/db/paths.js +0 -21
- package/src/lib/db/repos/aliasRepo.js +0 -62
- package/src/lib/db/repos/apiKeysRepo.js +0 -193
- package/src/lib/db/repos/combosRepo.js +0 -73
- package/src/lib/db/repos/connectionsRepo.js +0 -247
- package/src/lib/db/repos/contextFilesRepo.js +0 -124
- package/src/lib/db/repos/disabledModelsRepo.js +0 -56
- package/src/lib/db/repos/nodesRepo.js +0 -95
- package/src/lib/db/repos/pricingRepo.js +0 -108
- package/src/lib/db/repos/proxyPoolsRepo.js +0 -103
- package/src/lib/db/repos/quotaCacheRepo.js +0 -80
- package/src/lib/db/repos/requestDetailsRepo.js +0 -275
- package/src/lib/db/repos/settingsRepo.js +0 -120
- package/src/lib/db/repos/usageRepo.js +0 -935
- package/src/lib/db/schema.js +0 -193
- package/src/lib/db/version.js +0 -21
- package/src/lib/disabledModelsDb.js +0 -4
- package/src/lib/headroom/detect.js +0 -192
- package/src/lib/headroom/process.js +0 -327
- package/src/lib/localDb.js +0 -26
- package/src/lib/mcp/stdioSseBridge.js +0 -198
- package/src/lib/mitmAliasCache.js +0 -46
- package/src/lib/network/connectionProxy.js +0 -187
- package/src/lib/network/initOutboundProxy.js +0 -25
- package/src/lib/network/outboundProxy.js +0 -82
- package/src/lib/network/proxyTest.js +0 -91
- package/src/lib/oauth/constants/oauth.js +0 -337
- package/src/lib/oauth/constants/xai.js +0 -61
- package/src/lib/oauth/providers.js +0 -1821
- package/src/lib/oauth/services/antigravity.js +0 -321
- package/src/lib/oauth/services/antigravityBulkImportManager.js +0 -364
- package/src/lib/oauth/services/autoclawTokenMonitor.js +0 -145
- package/src/lib/oauth/services/bulkImportBrowserEngine.js +0 -756
- package/src/lib/oauth/services/claude.js +0 -136
- package/src/lib/oauth/services/cloudflareAiBulkImportManager.js +0 -503
- package/src/lib/oauth/services/codebuddyAutomation.js +0 -6
- package/src/lib/oauth/services/codebuddyBulkImportManager.js +0 -1033
- package/src/lib/oauth/services/codebuddyCnBulkImportManager.js +0 -2088
- package/src/lib/oauth/services/codebuddyCnPhoneAutomation.js +0 -1294
- package/src/lib/oauth/services/codex.js +0 -144
- package/src/lib/oauth/services/cursor.js +0 -179
- package/src/lib/oauth/services/displayEnv.js +0 -134
- package/src/lib/oauth/services/fiveSimClient.js +0 -567
- package/src/lib/oauth/services/gemini.js +0 -240
- package/src/lib/oauth/services/github.js +0 -225
- package/src/lib/oauth/services/googleAutomation.js +0 -9
- package/src/lib/oauth/services/iflow.js +0 -202
- package/src/lib/oauth/services/index.js +0 -17
- package/src/lib/oauth/services/kiro.js +0 -334
- package/src/lib/oauth/services/kiroBulkImportManager.js +0 -1522
- package/src/lib/oauth/services/kiroConnections.js +0 -93
- package/src/lib/oauth/services/kiroGoogleAutomation.js +0 -2587
- package/src/lib/oauth/services/oauth.js +0 -157
- package/src/lib/oauth/services/openai.js +0 -123
- package/src/lib/oauth/services/proxyUtils.js +0 -26
- package/src/lib/oauth/services/qoder.js +0 -233
- package/src/lib/oauth/services/qoderBulkImportManager.js +0 -340
- package/src/lib/oauth/services/qwen.js +0 -170
- package/src/lib/oauth/services/socksHttpBridge.js +0 -165
- package/src/lib/oauth/services/tempmailClient.js +0 -288
- package/src/lib/oauth/services/xai.js +0 -238
- package/src/lib/oauth/utils/banner.js +0 -63
- package/src/lib/oauth/utils/pkce.js +0 -39
- package/src/lib/oauth/utils/server.js +0 -415
- package/src/lib/oauth/utils/ui.js +0 -48
- package/src/lib/providerConnectionSanitizer.js +0 -180
- package/src/lib/providerNormalization.js +0 -45
- package/src/lib/pxpipe/events.js +0 -125
- package/src/lib/pxpipe/install.js +0 -123
- package/src/lib/pxpipe/loader.js +0 -70
- package/src/lib/pxpipe/service.js +0 -49
- package/src/lib/qoder/constants.js +0 -64
- package/src/lib/qoder/cosy.js +0 -175
- package/src/lib/qoder/encoding.js +0 -55
- package/src/lib/requestDetailsDb.js +0 -4
- package/src/lib/responseCache.js +0 -169
- package/src/lib/safeFetch.js +0 -167
- package/src/lib/systemSpecs.js +0 -167
- package/src/lib/terminal/ptyBridge.py +0 -163
- package/src/lib/terminal/sessionManager.js +0 -434
- package/src/lib/tunnel/cloudflare/cloudflared.js +0 -460
- package/src/lib/tunnel/cloudflare/config.js +0 -9
- package/src/lib/tunnel/cloudflare/healthCheck.js +0 -29
- package/src/lib/tunnel/cloudflare/manager.js +0 -151
- package/src/lib/tunnel/cloudflare/pid.js +0 -23
- package/src/lib/tunnel/index.js +0 -48
- package/src/lib/tunnel/shared/dnsResolver.js +0 -17
- package/src/lib/tunnel/shared/internetCheck.js +0 -26
- package/src/lib/tunnel/shared/state.js +0 -41
- package/src/lib/tunnel/shared/watchdogConfig.js +0 -8
- package/src/lib/tunnel/tailscale/config.js +0 -7
- package/src/lib/tunnel/tailscale/healthCheck.js +0 -29
- package/src/lib/tunnel/tailscale/manager.js +0 -129
- package/src/lib/tunnel/tailscale/tailscale.js +0 -790
- package/src/lib/updater/updater.js +0 -327
- package/src/lib/usage/fetcher.js +0 -208
- package/src/lib/usage/quotaRefresh.js +0 -100
- package/src/lib/usage/quotaService.js +0 -206
- package/src/lib/usageDb.js +0 -7
- package/src/mitm/antigravityIdeVersion.js +0 -50
- package/src/mitm/cert/generate.js +0 -32
- package/src/mitm/cert/install.js +0 -274
- package/src/mitm/cert/rootCA.js +0 -173
- package/src/mitm/config.js +0 -87
- package/src/mitm/dbReader.js +0 -22
- package/src/mitm/dns/dnsConfig.js +0 -266
- package/src/mitm/handlers/antigravity.js +0 -33
- package/src/mitm/handlers/base.js +0 -226
- package/src/mitm/handlers/copilot.js +0 -35
- package/src/mitm/handlers/cursor.js +0 -15
- package/src/mitm/handlers/kiro.js +0 -533
- package/src/mitm/logger.js +0 -106
- package/src/mitm/manager.js +0 -862
- package/src/mitm/paths.js +0 -32
- package/src/mitm/server.js +0 -447
- package/src/mitm/winElevated.js +0 -81
- package/src/models/index.js +0 -38
- package/src/proxy.js +0 -5
- package/src/shared/components/AddCustomEmbeddingModal.js +0 -184
- package/src/shared/components/Avatar.js +0 -88
- package/src/shared/components/Badge.js +0 -54
- package/src/shared/components/BulkAccountAutomationModal.js +0 -640
- package/src/shared/components/Button.js +0 -57
- package/src/shared/components/Card.js +0 -116
- package/src/shared/components/ChangelogModal.js +0 -108
- package/src/shared/components/CodeBuddyCnPhoneRegisterModal.js +0 -563
- package/src/shared/components/CodeBuddyQuotaCookieModal.js +0 -109
- package/src/shared/components/ComboFormModal.js +0 -176
- package/src/shared/components/CursorAuthModal.js +0 -213
- package/src/shared/components/Drawer.js +0 -82
- package/src/shared/components/EditConnectionModal.js +0 -287
- package/src/shared/components/Footer.js +0 -132
- package/src/shared/components/GitLabAuthModal.js +0 -194
- package/src/shared/components/Header.js +0 -399
- package/src/shared/components/HeaderLanguage.js +0 -48
- package/src/shared/components/HeaderMenu.js +0 -127
- package/src/shared/components/IFlowCookieModal.js +0 -132
- package/src/shared/components/Input.js +0 -76
- package/src/shared/components/KiroAuthModal.js +0 -1169
- package/src/shared/components/KiroOAuthWrapper.js +0 -150
- package/src/shared/components/KiroSocialOAuthModal.js +0 -205
- package/src/shared/components/LanguageSwitcher.js +0 -192
- package/src/shared/components/Loading.js +0 -75
- package/src/shared/components/ManualConfigModal.js +0 -44
- package/src/shared/components/McpMarketplaceModal.js +0 -255
- package/src/shared/components/Modal.js +0 -196
- package/src/shared/components/ModelSelectModal.js +0 -547
- package/src/shared/components/NoAuthProxyCard.js +0 -134
- package/src/shared/components/OAuthModal.js +0 -709
- package/src/shared/components/Pagination.js +0 -150
- package/src/shared/components/PricingModal.js +0 -209
- package/src/shared/components/ProviderIcon.js +0 -68
- package/src/shared/components/ProviderInfoCard.js +0 -82
- package/src/shared/components/RequestLogger.js +0 -122
- package/src/shared/components/SegmentedControl.js +0 -53
- package/src/shared/components/Select.js +0 -67
- package/src/shared/components/Sidebar.js +0 -486
- package/src/shared/components/ThemeProvider.js +0 -15
- package/src/shared/components/ThemeToggle.js +0 -42
- package/src/shared/components/Toggle.js +0 -95
- package/src/shared/components/Tooltip.js +0 -25
- package/src/shared/components/UsageStats.js +0 -571
- package/src/shared/components/index.js +0 -46
- package/src/shared/components/layouts/AuthLayout.js +0 -29
- package/src/shared/components/layouts/DashboardLayout.js +0 -121
- package/src/shared/components/layouts/index.js +0 -4
- package/src/shared/constants/automationProviders.js +0 -23
- package/src/shared/constants/cliTools.js +0 -397
- package/src/shared/constants/colors.js +0 -77
- package/src/shared/constants/config.js +0 -98
- package/src/shared/constants/coworkPlugins.js +0 -75
- package/src/shared/constants/index.js +0 -4
- package/src/shared/constants/locales.js +0 -36
- package/src/shared/constants/mitmToolHosts.js +0 -12
- package/src/shared/constants/models.js +0 -38
- package/src/shared/constants/pricing.js +0 -311
- package/src/shared/constants/providers.js +0 -450
- package/src/shared/constants/ttsProviders.js +0 -138
- package/src/shared/hooks/index.js +0 -2
- package/src/shared/hooks/useCopyToClipboard.js +0 -43
- package/src/shared/hooks/useModelLockUntil.js +0 -18
- package/src/shared/hooks/useTheme.js +0 -60
- package/src/shared/services/bootstrap.js +0 -12
- package/src/shared/services/initializeApp.js +0 -294
- package/src/shared/utils/api.js +0 -93
- package/src/shared/utils/apiKey.js +0 -98
- package/src/shared/utils/asyncPolling.js +0 -27
- package/src/shared/utils/clineAuth.js +0 -37
- package/src/shared/utils/cn.js +0 -11
- package/src/shared/utils/codexCliConfig.js +0 -44
- package/src/shared/utils/connectionStatus.js +0 -168
- package/src/shared/utils/dashboardMedia.js +0 -19
- package/src/shared/utils/index.js +0 -40
- package/src/shared/utils/machine.js +0 -6
- package/src/shared/utils/machineId.js +0 -66
- package/src/shared/utils/modelLockTimer.js +0 -32
- package/src/shared/utils/providerModelsFetcher.js +0 -30
- package/src/shared/utils/usageStats.js +0 -10
- package/src/sse/handlers/chat.js +0 -445
- package/src/sse/handlers/embeddings.js +0 -141
- package/src/sse/handlers/fetch.js +0 -213
- package/src/sse/handlers/imageGeneration.js +0 -142
- package/src/sse/handlers/search.js +0 -206
- package/src/sse/handlers/streamFailure.js +0 -34
- package/src/sse/handlers/stt.js +0 -88
- package/src/sse/handlers/tts.js +0 -114
- package/src/sse/services/auth.js +0 -576
- package/src/sse/services/codexGateway.js +0 -215
- package/src/sse/services/model.js +0 -99
- package/src/sse/services/tokenRefresh.js +0 -319
- package/src/sse/utils/logger.js +0 -75
- package/src/store/headerSearchStore.js +0 -19
- package/src/store/index.js +0 -6
- package/src/store/notificationStore.js +0 -45
- package/src/store/providerStore.js +0 -55
- package/src/store/settingsStore.js +0 -51
- package/src/store/themeStore.js +0 -54
- package/src/store/userStore.js +0 -20
- package/start.sh +0 -4
- /package/cli/app/.next-cli-build/static/{SC3btW1lCuB9q-iyIwwWK → sRgS_5eNahHOIlOLEqVvI}/_buildManifest.js +0 -0
- /package/cli/app/.next-cli-build/static/{SC3btW1lCuB9q-iyIwwWK → sRgS_5eNahHOIlOLEqVvI}/_ssgManifest.js +0 -0
|
@@ -1,1594 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
import { useState, useEffect, useRef, useCallback } from "react";
|
|
4
|
-
import PropTypes from "prop-types";
|
|
5
|
-
import Link from "next/link";
|
|
6
|
-
import { Card, Button, Input, Modal, CardSkeleton, Toggle, ConfirmModal } from "@/shared/components";
|
|
7
|
-
import { useCopyToClipboard } from "@/shared/hooks/useCopyToClipboard";
|
|
8
|
-
|
|
9
|
-
const TUNNEL_BENEFITS = [
|
|
10
|
-
{ icon: "public", title: "Access Anywhere", desc: "Use your API from any network" },
|
|
11
|
-
{ icon: "group", title: "Share Endpoint", desc: "Share URL with team members" },
|
|
12
|
-
{ icon: "code", title: "Use in Cursor/Cline", desc: "Connect AI tools remotely" },
|
|
13
|
-
{ icon: "lock", title: "Encrypted", desc: "End-to-end TLS via Cloudflare" },
|
|
14
|
-
];
|
|
15
|
-
|
|
16
|
-
const TUNNEL_PING_INTERVAL_MS = 2000;
|
|
17
|
-
const TUNNEL_PING_MAX_MS = 300000;
|
|
18
|
-
const STATUS_POLL_FAST_MS = 5000;
|
|
19
|
-
const STATUS_POLL_SLOW_MS = 30000;
|
|
20
|
-
const REACHABLE_MISS_THRESHOLD = 5;
|
|
21
|
-
const CLIENT_PING_FAST_MS = 10000;
|
|
22
|
-
const CLIENT_PING_SLOW_MS = 60000;
|
|
23
|
-
const CLIENT_PING_TIMEOUT_MS = 5000;
|
|
24
|
-
|
|
25
|
-
// Browser-side health probe: must reach origin (not just CF/TS edge).
|
|
26
|
-
// cors mode → res.ok=false for 5xx (e.g. Cloudflare 530 when origin dead).
|
|
27
|
-
// /api/health route sets Access-Control-Allow-Origin: * → CORS works through tunnel.
|
|
28
|
-
async function clientPingUrl(url) {
|
|
29
|
-
if (!url) return false;
|
|
30
|
-
try {
|
|
31
|
-
const res = await fetch(`${url}/api/health`, {
|
|
32
|
-
mode: "cors",
|
|
33
|
-
cache: "no-store",
|
|
34
|
-
signal: AbortSignal.timeout(CLIENT_PING_TIMEOUT_MS),
|
|
35
|
-
});
|
|
36
|
-
return res.ok;
|
|
37
|
-
} catch { return false; }
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
// Race multiple URLs: resolve true as soon as any one passes ping.
|
|
41
|
-
async function clientPingAny(...urls) {
|
|
42
|
-
const checks = urls.filter(Boolean).map(clientPingUrl);
|
|
43
|
-
if (!checks.length) return false;
|
|
44
|
-
return new Promise((resolve) => {
|
|
45
|
-
let pending = checks.length;
|
|
46
|
-
checks.forEach((p) => p.then((ok) => {
|
|
47
|
-
if (ok) resolve(true);
|
|
48
|
-
else if (--pending === 0) resolve(false);
|
|
49
|
-
}));
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export default function APIPageClient({ machineId }) {
|
|
54
|
-
const [keys, setKeys] = useState([]);
|
|
55
|
-
const [loading, setLoading] = useState(true);
|
|
56
|
-
const [showAddModal, setShowAddModal] = useState(false);
|
|
57
|
-
const [newKeyName, setNewKeyName] = useState("");
|
|
58
|
-
const [createdKey, setCreatedKey] = useState(null);
|
|
59
|
-
const [confirmState, setConfirmState] = useState(null);
|
|
60
|
-
const [keyPending, setKeyPending] = useState(null);
|
|
61
|
-
const [keyStatus, setKeyStatus] = useState(null);
|
|
62
|
-
// Which keys are currently unmasked in the UI + cached secrets after reveal
|
|
63
|
-
const [visibleKeys, setVisibleKeys] = useState(() => new Set());
|
|
64
|
-
const [revealedSecrets, setRevealedSecrets] = useState(() => ({}));
|
|
65
|
-
|
|
66
|
-
const [requireApiKey, setRequireApiKey] = useState(false);
|
|
67
|
-
const [requireLogin, setRequireLogin] = useState(true);
|
|
68
|
-
const [hasPassword, setHasPassword] = useState(true);
|
|
69
|
-
const [tunnelDashboardAccess, setTunnelDashboardAccess] = useState(false);
|
|
70
|
-
|
|
71
|
-
// Cloudflare Tunnel state
|
|
72
|
-
const [tunnelChecking, setTunnelChecking] = useState(true);
|
|
73
|
-
const [tunnelEnabled, setTunnelEnabled] = useState(false);
|
|
74
|
-
const [tunnelReachable, setTunnelReachable] = useState(false);
|
|
75
|
-
const [tunnelUrl, setTunnelUrl] = useState("");
|
|
76
|
-
const [tunnelPublicUrl, setTunnelPublicUrl] = useState("");
|
|
77
|
-
const [tunnelLoading, setTunnelLoading] = useState(false);
|
|
78
|
-
const [tunnelProgress, setTunnelProgress] = useState("");
|
|
79
|
-
const [tunnelStatus, setTunnelStatus] = useState(null);
|
|
80
|
-
const [showEnableTunnelModal, setShowEnableTunnelModal] = useState(false);
|
|
81
|
-
const [showDisableTunnelModal, setShowDisableTunnelModal] = useState(false);
|
|
82
|
-
|
|
83
|
-
// Tailscale state
|
|
84
|
-
const [tsEnabled, setTsEnabled] = useState(false);
|
|
85
|
-
const [tsReachable, setTsReachable] = useState(false);
|
|
86
|
-
const [tsUrl, setTsUrl] = useState("");
|
|
87
|
-
const [tsLoading, setTsLoading] = useState(false);
|
|
88
|
-
const [tsProgress, setTsProgress] = useState("");
|
|
89
|
-
const [tsStatus, setTsStatus] = useState(null);
|
|
90
|
-
const [tsAuthUrl, setTsAuthUrl] = useState("");
|
|
91
|
-
const [tsAuthLabel, setTsAuthLabel] = useState("");
|
|
92
|
-
const [tsInstalled, setTsInstalled] = useState(null); // null=checking, true/false
|
|
93
|
-
const [tsInstalling, setTsInstalling] = useState(false);
|
|
94
|
-
const [tsInstallLog, setTsInstallLog] = useState([]);
|
|
95
|
-
const [tsSudoPassword, setTsSudoPassword] = useState("");
|
|
96
|
-
const [tsConnecting, setTsConnecting] = useState(false);
|
|
97
|
-
const [showTsModal, setShowTsModal] = useState(false);
|
|
98
|
-
const [showDisableTsModal, setShowDisableTsModal] = useState(false);
|
|
99
|
-
const tsLogRef = useRef(null);
|
|
100
|
-
|
|
101
|
-
// Debounce reachable=false: server may briefly return false during background refresh.
|
|
102
|
-
// Only flip UI to "reconnecting" after N consecutive misses to avoid spinner flicker.
|
|
103
|
-
const tunnelMissRef = useRef(0);
|
|
104
|
-
const tsMissRef = useRef(0);
|
|
105
|
-
// Browser-side reachable cache (independent of backend DNS quirks)
|
|
106
|
-
const tunnelClientReachableRef = useRef(false);
|
|
107
|
-
const tsClientReachableRef = useRef(false);
|
|
108
|
-
// Track whether reachable=true was ever observed in this session.
|
|
109
|
-
// Distinguishes "Checking..." (initial cold cache) from "Reconnecting..." (lost connection).
|
|
110
|
-
const tunnelEverReachableRef = useRef(false);
|
|
111
|
-
const tsEverReachableRef = useRef(false);
|
|
112
|
-
const [tunnelEverReachable, setTunnelEverReachable] = useState(false);
|
|
113
|
-
const [tsEverReachable, setTsEverReachable] = useState(false);
|
|
114
|
-
|
|
115
|
-
// Client-side local/remote detection (UI hint only, not a security gate)
|
|
116
|
-
const [isRemoteHost, setIsRemoteHost] = useState(false);
|
|
117
|
-
useEffect(() => {
|
|
118
|
-
if (typeof window !== "undefined")
|
|
119
|
-
// eslint-disable-next-line react-hooks/set-state-in-effect -- one-time mount initialization from window.location (external source, client-only, avoids hydration mismatch)
|
|
120
|
-
setIsRemoteHost(!["localhost", "127.0.0.1", "::1"].includes(window.location.hostname));
|
|
121
|
-
}, []);
|
|
122
|
-
|
|
123
|
-
const { copied, copy } = useCopyToClipboard();
|
|
124
|
-
|
|
125
|
-
// Security gate: block remote exposure while dashboard uses default password or login is off.
|
|
126
|
-
const isLoginUnsafe = !requireLogin || !hasPassword;
|
|
127
|
-
const unsafeReason = !requireLogin
|
|
128
|
-
? "Enable \"Require login\" and set a custom password before activating the tunnel."
|
|
129
|
-
: "Change the default dashboard password before activating the tunnel.";
|
|
130
|
-
|
|
131
|
-
// Auto-scroll install log
|
|
132
|
-
useEffect(() => {
|
|
133
|
-
if (tsLogRef.current) tsLogRef.current.scrollTop = tsLogRef.current.scrollHeight;
|
|
134
|
-
}, [tsInstallLog]);
|
|
135
|
-
|
|
136
|
-
useEffect(() => {
|
|
137
|
-
// eslint-disable-next-line react-hooks/immutability -- false positive: these are local fetch+setState helpers invoked once on effect fire (not during render); defined with const below because all invocations are deferred (effects/events), so no TDZ issue at runtime
|
|
138
|
-
fetchData();
|
|
139
|
-
// eslint-disable-next-line react-hooks/immutability -- false positive: these are local fetch+setState helpers invoked once on effect fire (not during render); defined with const below because all invocations are deferred (effects/events), so no TDZ issue at runtime
|
|
140
|
-
loadSettings();
|
|
141
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps -- mount-only initial load; fetchData/loadSettings are stable fetch+setState helpers
|
|
142
|
-
}, []);
|
|
143
|
-
|
|
144
|
-
// Status poll: only while degraded (not yet reachable). Stop once healthy to avoid spam.
|
|
145
|
-
// Visibility re-check: refresh once when tab becomes visible.
|
|
146
|
-
useEffect(() => {
|
|
147
|
-
const anyEnabled = tunnelEnabled || tsEnabled;
|
|
148
|
-
if (!anyEnabled) return;
|
|
149
|
-
const tunnelHealthy = !tunnelEnabled || tunnelReachable;
|
|
150
|
-
const tsHealthy = !tsEnabled || tsReachable;
|
|
151
|
-
const allHealthy = tunnelHealthy && tsHealthy;
|
|
152
|
-
// eslint-disable-next-line react-hooks/immutability -- false positive: these are local fetch+setState helpers invoked once on effect fire (not during render); defined with const below because all invocations are deferred (effects/events), so no TDZ issue at runtime
|
|
153
|
-
const onVisible = () => { if (!document.hidden) syncTunnelStatus(); };
|
|
154
|
-
document.addEventListener("visibilitychange", onVisible);
|
|
155
|
-
if (allHealthy) return () => document.removeEventListener("visibilitychange", onVisible);
|
|
156
|
-
const timer = setInterval(() => { if (!document.hidden) syncTunnelStatus(); }, STATUS_POLL_FAST_MS);
|
|
157
|
-
return () => {
|
|
158
|
-
clearInterval(timer);
|
|
159
|
-
document.removeEventListener("visibilitychange", onVisible);
|
|
160
|
-
};
|
|
161
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps -- syncTunnelStatus is a stable fetch+setState helper (reads via refs/setters, no stale state)
|
|
162
|
-
}, [tunnelEnabled, tsEnabled, tunnelReachable, tsReachable]);
|
|
163
|
-
|
|
164
|
-
// Browser-side periodic ping: probes tunnel/tailscale URLs directly so UI stays
|
|
165
|
-
// "reachable" even when backend DNS (1.1.1.1) hiccups on *.ts.net or *.trycloudflare.com.
|
|
166
|
-
// Adaptive: slow when healthy, fast when degraded; pause when tab hidden.
|
|
167
|
-
useEffect(() => {
|
|
168
|
-
const probeBoth = async () => {
|
|
169
|
-
if (document.hidden) return;
|
|
170
|
-
if (tunnelEnabled && (tunnelUrl || tunnelPublicUrl)) {
|
|
171
|
-
const ok = await clientPingAny(tunnelPublicUrl, tunnelUrl);
|
|
172
|
-
tunnelClientReachableRef.current = ok;
|
|
173
|
-
if (ok) { tunnelMissRef.current = 0; setTunnelReachable(true); if (!tunnelEverReachableRef.current) { tunnelEverReachableRef.current = true; setTunnelEverReachable(true); } }
|
|
174
|
-
else { tunnelMissRef.current += 1; if (tunnelMissRef.current >= REACHABLE_MISS_THRESHOLD) setTunnelReachable(false); }
|
|
175
|
-
} else {
|
|
176
|
-
tunnelClientReachableRef.current = false;
|
|
177
|
-
}
|
|
178
|
-
if (tsEnabled && tsUrl) {
|
|
179
|
-
const ok = await clientPingUrl(tsUrl);
|
|
180
|
-
tsClientReachableRef.current = ok;
|
|
181
|
-
if (ok) { tsMissRef.current = 0; setTsReachable(true); if (!tsEverReachableRef.current) { tsEverReachableRef.current = true; setTsEverReachable(true); } }
|
|
182
|
-
else { tsMissRef.current += 1; if (tsMissRef.current >= REACHABLE_MISS_THRESHOLD) setTsReachable(false); }
|
|
183
|
-
} else {
|
|
184
|
-
tsClientReachableRef.current = false;
|
|
185
|
-
}
|
|
186
|
-
};
|
|
187
|
-
const anyEnabled = (tunnelEnabled && (tunnelUrl || tunnelPublicUrl)) || (tsEnabled && tsUrl);
|
|
188
|
-
if (!anyEnabled) return;
|
|
189
|
-
probeBoth();
|
|
190
|
-
const tunnelHealthy = !tunnelEnabled || tunnelReachable;
|
|
191
|
-
const tsHealthy = !tsEnabled || tsReachable;
|
|
192
|
-
if (tunnelHealthy && tsHealthy) return;
|
|
193
|
-
const id = setInterval(probeBoth, CLIENT_PING_FAST_MS);
|
|
194
|
-
return () => clearInterval(id);
|
|
195
|
-
}, [tunnelEnabled, tunnelUrl, tunnelPublicUrl, tsEnabled, tsUrl, tunnelReachable, tsReachable]);
|
|
196
|
-
|
|
197
|
-
// Client-side reachable only (server no longer probes; watchdog handles backend health).
|
|
198
|
-
// Miss-debounce: only flip to false after N consecutive misses.
|
|
199
|
-
const updateReachable = useCallback((_unused, clientRef, missRef, setter, everRef, everSetter) => {
|
|
200
|
-
const reachable = clientRef.current;
|
|
201
|
-
if (reachable) {
|
|
202
|
-
missRef.current = 0;
|
|
203
|
-
setter(true);
|
|
204
|
-
if (!everRef.current) {
|
|
205
|
-
everRef.current = true;
|
|
206
|
-
everSetter(true);
|
|
207
|
-
}
|
|
208
|
-
} else {
|
|
209
|
-
missRef.current += 1;
|
|
210
|
-
if (missRef.current >= REACHABLE_MISS_THRESHOLD) setter(false);
|
|
211
|
-
}
|
|
212
|
-
}, []);
|
|
213
|
-
|
|
214
|
-
// Trust user intent (settingsEnabled): UI stays "enabled" while watchdog restarts process
|
|
215
|
-
const syncTunnelStatus = async () => {
|
|
216
|
-
try {
|
|
217
|
-
const statusRes = await fetch("/api/tunnel/status", { cache: "no-store" });
|
|
218
|
-
if (!statusRes.ok) return;
|
|
219
|
-
const data = await statusRes.json();
|
|
220
|
-
const tEnabled = data.tunnel?.settingsEnabled ?? data.tunnel?.enabled ?? false;
|
|
221
|
-
const tUrl = data.tunnel?.tunnelUrl || "";
|
|
222
|
-
setTunnelUrl(tUrl);
|
|
223
|
-
setTunnelPublicUrl(data.tunnel?.publicUrl || "");
|
|
224
|
-
setTunnelEnabled(tEnabled);
|
|
225
|
-
updateReachable(null, tunnelClientReachableRef, tunnelMissRef, setTunnelReachable, tunnelEverReachableRef, setTunnelEverReachable);
|
|
226
|
-
|
|
227
|
-
const tsEn = data.tailscale?.settingsEnabled ?? data.tailscale?.enabled ?? false;
|
|
228
|
-
const tsUrlVal = data.tailscale?.tunnelUrl || "";
|
|
229
|
-
setTsUrl(tsUrlVal);
|
|
230
|
-
setTsEnabled(tsEn);
|
|
231
|
-
updateReachable(null, tsClientReachableRef, tsMissRef, setTsReachable, tsEverReachableRef, setTsEverReachable);
|
|
232
|
-
} catch { /* ignore poll errors */ }
|
|
233
|
-
};
|
|
234
|
-
|
|
235
|
-
const loadSettings = async () => {
|
|
236
|
-
setTunnelChecking(true);
|
|
237
|
-
try {
|
|
238
|
-
const [settingsRes, statusRes] = await Promise.all([
|
|
239
|
-
fetch("/api/settings"),
|
|
240
|
-
fetch("/api/tunnel/status", { cache: "no-store" })
|
|
241
|
-
]);
|
|
242
|
-
if (settingsRes.ok) {
|
|
243
|
-
const data = await settingsRes.json();
|
|
244
|
-
setRequireApiKey(data.requireApiKey || false);
|
|
245
|
-
setRequireLogin(data.requireLogin !== false);
|
|
246
|
-
setHasPassword(data.hasPassword || false);
|
|
247
|
-
setTunnelDashboardAccess(data.tunnelDashboardAccess || false);
|
|
248
|
-
}
|
|
249
|
-
if (statusRes.ok) {
|
|
250
|
-
const data = await statusRes.json();
|
|
251
|
-
const tEnabled = data.tunnel?.settingsEnabled ?? data.tunnel?.enabled ?? false;
|
|
252
|
-
const tUrl = data.tunnel?.tunnelUrl || "";
|
|
253
|
-
setTunnelUrl(tUrl);
|
|
254
|
-
setTunnelPublicUrl(data.tunnel?.publicUrl || "");
|
|
255
|
-
setTunnelEnabled(tEnabled);
|
|
256
|
-
updateReachable(null, tunnelClientReachableRef, tunnelMissRef, setTunnelReachable, tunnelEverReachableRef, setTunnelEverReachable);
|
|
257
|
-
|
|
258
|
-
const tsEn = data.tailscale?.settingsEnabled ?? data.tailscale?.enabled ?? false;
|
|
259
|
-
const tsUrlVal = data.tailscale?.tunnelUrl || "";
|
|
260
|
-
setTsUrl(tsUrlVal);
|
|
261
|
-
setTsEnabled(tsEn);
|
|
262
|
-
updateReachable(null, tsClientReachableRef, tsMissRef, setTsReachable, tsEverReachableRef, setTsEverReachable);
|
|
263
|
-
}
|
|
264
|
-
} catch (error) {
|
|
265
|
-
console.log("Error loading settings:", error);
|
|
266
|
-
} finally {
|
|
267
|
-
setTunnelChecking(false);
|
|
268
|
-
}
|
|
269
|
-
};
|
|
270
|
-
|
|
271
|
-
const handleTunnelDashboardAccess = async (value) => {
|
|
272
|
-
try {
|
|
273
|
-
const res = await fetch("/api/settings", {
|
|
274
|
-
method: "PATCH",
|
|
275
|
-
headers: { "Content-Type": "application/json" },
|
|
276
|
-
body: JSON.stringify({ tunnelDashboardAccess: value }),
|
|
277
|
-
});
|
|
278
|
-
if (res.ok) setTunnelDashboardAccess(value);
|
|
279
|
-
} catch (error) {
|
|
280
|
-
console.log("Error updating tunnelDashboardAccess:", error);
|
|
281
|
-
}
|
|
282
|
-
};
|
|
283
|
-
|
|
284
|
-
const handleRequireApiKey = async (value) => {
|
|
285
|
-
try {
|
|
286
|
-
const res = await fetch("/api/settings", {
|
|
287
|
-
method: "PATCH",
|
|
288
|
-
headers: { "Content-Type": "application/json" },
|
|
289
|
-
body: JSON.stringify({ requireApiKey: value }),
|
|
290
|
-
});
|
|
291
|
-
if (res.ok) setRequireApiKey(value);
|
|
292
|
-
} catch (error) {
|
|
293
|
-
console.log("Error updating requireApiKey:", error);
|
|
294
|
-
}
|
|
295
|
-
};
|
|
296
|
-
|
|
297
|
-
const fetchData = async () => {
|
|
298
|
-
try {
|
|
299
|
-
const keysRes = await fetch("/api/keys");
|
|
300
|
-
const keysData = await keysRes.json();
|
|
301
|
-
if (keysRes.ok) {
|
|
302
|
-
setKeys(keysData.keys || []);
|
|
303
|
-
}
|
|
304
|
-
} catch (error) {
|
|
305
|
-
console.log("Error fetching data:", error);
|
|
306
|
-
} finally {
|
|
307
|
-
setLoading(false);
|
|
308
|
-
}
|
|
309
|
-
};
|
|
310
|
-
|
|
311
|
-
// u2500u2500u2500 Cloudflare Tunnel handlers
|
|
312
|
-
// Ping tunnel health until reachable. Race multiple URLs (shortlink + direct) — 1 OK is enough.
|
|
313
|
-
const pingTunnelHealth = async (...urls) => {
|
|
314
|
-
setTunnelLoading(true);
|
|
315
|
-
setTunnelProgress("Waiting for tunnel ready...");
|
|
316
|
-
const targets = urls.filter(Boolean).map((u) => `${u}/api/health`);
|
|
317
|
-
const start = Date.now();
|
|
318
|
-
while (Date.now() - start < TUNNEL_PING_MAX_MS) {
|
|
319
|
-
await new Promise((r) => setTimeout(r, TUNNEL_PING_INTERVAL_MS));
|
|
320
|
-
const ok = await Promise.any(targets.map(async (h) => {
|
|
321
|
-
const p = await fetch(h, { mode: "cors", cache: "no-store" });
|
|
322
|
-
if (p.ok) return true;
|
|
323
|
-
throw new Error("not ready");
|
|
324
|
-
})).catch(() => false);
|
|
325
|
-
if (ok) {
|
|
326
|
-
setTunnelEnabled(true);
|
|
327
|
-
setTunnelLoading(false);
|
|
328
|
-
setTunnelProgress("");
|
|
329
|
-
return true;
|
|
330
|
-
}
|
|
331
|
-
// Every 5 pings (~10s), check if backend process still alive
|
|
332
|
-
if ((Date.now() - start) % 10000 < TUNNEL_PING_INTERVAL_MS) {
|
|
333
|
-
try {
|
|
334
|
-
const statusRes = await fetch("/api/tunnel/status");
|
|
335
|
-
if (statusRes.ok) {
|
|
336
|
-
const status = await statusRes.json();
|
|
337
|
-
if (!status.tunnel?.enabled) {
|
|
338
|
-
setTunnelStatus({ type: "error", message: "Tunnel process stopped unexpectedly." });
|
|
339
|
-
setTunnelLoading(false);
|
|
340
|
-
setTunnelProgress("");
|
|
341
|
-
return false;
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
} catch { /* ignore */ }
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
setTunnelStatus({ type: "error", message: "Tunnel created but not reachable. Please try again." });
|
|
348
|
-
setTunnelLoading(false);
|
|
349
|
-
setTunnelProgress("");
|
|
350
|
-
return false;
|
|
351
|
-
};
|
|
352
|
-
|
|
353
|
-
const handleEnableTunnel = async () => {
|
|
354
|
-
setShowEnableTunnelModal(false);
|
|
355
|
-
setTunnelLoading(true);
|
|
356
|
-
setTunnelStatus(null);
|
|
357
|
-
setTunnelProgress("Creating tunnel...");
|
|
358
|
-
|
|
359
|
-
// Poll download progress while enable request is pending
|
|
360
|
-
let polling = true;
|
|
361
|
-
const pollProgress = async () => {
|
|
362
|
-
while (polling) {
|
|
363
|
-
try {
|
|
364
|
-
const r = await fetch("/api/tunnel/status");
|
|
365
|
-
if (r.ok) {
|
|
366
|
-
const s = await r.json();
|
|
367
|
-
if (s.download?.downloading) {
|
|
368
|
-
setTunnelProgress(`Downloading cloudflared... ${s.download.progress}%`);
|
|
369
|
-
} else if (polling) {
|
|
370
|
-
setTunnelProgress("Creating tunnel...");
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
} catch { /* ignore */ }
|
|
374
|
-
await new Promise((r) => setTimeout(r, 1000));
|
|
375
|
-
}
|
|
376
|
-
};
|
|
377
|
-
pollProgress();
|
|
378
|
-
|
|
379
|
-
try {
|
|
380
|
-
const res = await fetch("/api/tunnel/enable", { method: "POST" });
|
|
381
|
-
polling = false;
|
|
382
|
-
const data = await res.json();
|
|
383
|
-
if (!res.ok) {
|
|
384
|
-
setTunnelStatus({ type: "error", message: data.error || "Failed to enable tunnel" });
|
|
385
|
-
return;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
const url = data.tunnelUrl;
|
|
389
|
-
if (!url) {
|
|
390
|
-
setTunnelStatus({ type: "error", message: "No tunnel URL returned" });
|
|
391
|
-
return;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
setTunnelUrl(url);
|
|
395
|
-
setTunnelPublicUrl(data.publicUrl || "");
|
|
396
|
-
await pingTunnelHealth(data.publicUrl, url);
|
|
397
|
-
} catch (error) {
|
|
398
|
-
setTunnelStatus({ type: "error", message: error.message });
|
|
399
|
-
} finally {
|
|
400
|
-
polling = false;
|
|
401
|
-
setTunnelLoading(false);
|
|
402
|
-
setTunnelProgress("");
|
|
403
|
-
}
|
|
404
|
-
};
|
|
405
|
-
|
|
406
|
-
const handleDisableTunnel = async () => {
|
|
407
|
-
setTunnelLoading(true);
|
|
408
|
-
setTunnelStatus(null);
|
|
409
|
-
try {
|
|
410
|
-
const res = await fetch("/api/tunnel/disable", { method: "POST" });
|
|
411
|
-
const data = await res.json();
|
|
412
|
-
if (res.ok) {
|
|
413
|
-
setTunnelEnabled(false);
|
|
414
|
-
setTunnelUrl("");
|
|
415
|
-
setShowDisableTunnelModal(false);
|
|
416
|
-
setTunnelStatus({ type: "success", message: "Tunnel disabled" });
|
|
417
|
-
} else {
|
|
418
|
-
setTunnelStatus({ type: "error", message: data.error || "Failed to disable tunnel" });
|
|
419
|
-
}
|
|
420
|
-
} catch (error) {
|
|
421
|
-
setTunnelStatus({ type: "error", message: error.message });
|
|
422
|
-
} finally {
|
|
423
|
-
setTunnelLoading(false);
|
|
424
|
-
}
|
|
425
|
-
};
|
|
426
|
-
|
|
427
|
-
// u2500u2500u2500 Tailscale handlers
|
|
428
|
-
const checkTailscaleInstalled = async () => {
|
|
429
|
-
setTsInstalled(null);
|
|
430
|
-
try {
|
|
431
|
-
const res = await fetch("/api/tunnel/tailscale-check");
|
|
432
|
-
if (res.ok) {
|
|
433
|
-
const data = await res.json();
|
|
434
|
-
setTsInstalled(data.installed);
|
|
435
|
-
return data;
|
|
436
|
-
}
|
|
437
|
-
} catch { /* ignore */ }
|
|
438
|
-
setTsInstalled(false);
|
|
439
|
-
return { installed: false };
|
|
440
|
-
};
|
|
441
|
-
|
|
442
|
-
const handleInstallTailscale = async () => {
|
|
443
|
-
setTsInstalling(true);
|
|
444
|
-
setTsStatus(null);
|
|
445
|
-
setTsInstallLog([]);
|
|
446
|
-
try {
|
|
447
|
-
const res = await fetch("/api/tunnel/tailscale-install", {
|
|
448
|
-
method: "POST",
|
|
449
|
-
headers: { "Content-Type": "application/json" },
|
|
450
|
-
body: JSON.stringify({ sudoPassword: tsSudoPassword }),
|
|
451
|
-
});
|
|
452
|
-
setTsSudoPassword("");
|
|
453
|
-
|
|
454
|
-
const reader = res.body.getReader();
|
|
455
|
-
const decoder = new TextDecoder();
|
|
456
|
-
let buffer = "";
|
|
457
|
-
|
|
458
|
-
while (true) {
|
|
459
|
-
const { done, value } = await reader.read();
|
|
460
|
-
if (done) break;
|
|
461
|
-
buffer += decoder.decode(value, { stream: true });
|
|
462
|
-
const parts = buffer.split("\n\n");
|
|
463
|
-
buffer = parts.pop() || "";
|
|
464
|
-
for (const part of parts) {
|
|
465
|
-
const lines = part.split("\n");
|
|
466
|
-
let event = "progress";
|
|
467
|
-
let data = null;
|
|
468
|
-
for (const line of lines) {
|
|
469
|
-
if (line.startsWith("event: ")) event = line.slice(7).trim();
|
|
470
|
-
if (line.startsWith("data: ")) {
|
|
471
|
-
try { data = JSON.parse(line.slice(6)); } catch { /* skip */ }
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
if (!data) continue;
|
|
475
|
-
if (event === "progress") {
|
|
476
|
-
setTsInstallLog((prev) => [...prev.slice(-50), data.message]);
|
|
477
|
-
} else if (event === "done") {
|
|
478
|
-
setTsInstalled(true);
|
|
479
|
-
setTsInstalling(false);
|
|
480
|
-
setShowTsModal(false);
|
|
481
|
-
handleConnectTailscale();
|
|
482
|
-
return;
|
|
483
|
-
} else if (event === "error") {
|
|
484
|
-
setTsStatus({ type: "error", message: data.error || "Install failed" });
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
} catch (e) {
|
|
489
|
-
setTsStatus({ type: "error", message: e.message });
|
|
490
|
-
} finally {
|
|
491
|
-
setTsInstalling(false);
|
|
492
|
-
}
|
|
493
|
-
};
|
|
494
|
-
|
|
495
|
-
// Ping Tailscale health until reachable
|
|
496
|
-
const pingTsHealth = async (url) => {
|
|
497
|
-
setTsProgress("Waiting for Tailscale ready...");
|
|
498
|
-
const healthUrl = `${url}/api/health`;
|
|
499
|
-
const start = Date.now();
|
|
500
|
-
while (Date.now() - start < TUNNEL_PING_MAX_MS) {
|
|
501
|
-
await new Promise((r) => setTimeout(r, TUNNEL_PING_INTERVAL_MS));
|
|
502
|
-
try {
|
|
503
|
-
const ping = await fetch(healthUrl, { mode: "no-cors", cache: "no-store" });
|
|
504
|
-
if (ping.ok || ping.type === "opaque") return true;
|
|
505
|
-
} catch { /* not ready yet */ }
|
|
506
|
-
}
|
|
507
|
-
return false;
|
|
508
|
-
};
|
|
509
|
-
|
|
510
|
-
// Show inline login button instead of auto-opening popup (browsers block popups
|
|
511
|
-
// opened after async work because the user gesture is lost).
|
|
512
|
-
const requestUserAuth = (url, label) => {
|
|
513
|
-
setTsAuthUrl(url);
|
|
514
|
-
setTsAuthLabel(label);
|
|
515
|
-
};
|
|
516
|
-
|
|
517
|
-
const clearUserAuth = () => {
|
|
518
|
-
setTsAuthUrl("");
|
|
519
|
-
setTsAuthLabel("");
|
|
520
|
-
};
|
|
521
|
-
|
|
522
|
-
const handleConnectTailscale = async () => {
|
|
523
|
-
setShowTsModal(false);
|
|
524
|
-
setTsConnecting(true);
|
|
525
|
-
setTsLoading(true);
|
|
526
|
-
setTsStatus(null);
|
|
527
|
-
setTsProgress("Connecting...");
|
|
528
|
-
clearUserAuth();
|
|
529
|
-
try {
|
|
530
|
-
const res = await fetch("/api/tunnel/tailscale-enable", { method: "POST" });
|
|
531
|
-
const data = await res.json();
|
|
532
|
-
|
|
533
|
-
if (res.ok && data.success) {
|
|
534
|
-
setTsUrl(data.tunnelUrl || "");
|
|
535
|
-
const reachable = await pingTsHealth(data.tunnelUrl);
|
|
536
|
-
setTsEnabled(true);
|
|
537
|
-
setTsStatus(reachable ? null : { type: "warning", message: "Connected but not reachable yet." });
|
|
538
|
-
return;
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
if (data.needsLogin && data.authUrl) {
|
|
542
|
-
requestUserAuth(data.authUrl, "Open Login Page");
|
|
543
|
-
setTsProgress("Login required — click \"Open Login Page\" to continue");
|
|
544
|
-
for (let i = 0; i < 40; i++) {
|
|
545
|
-
await new Promise((r) => setTimeout(r, 3000));
|
|
546
|
-
try {
|
|
547
|
-
const r2 = await fetch("/api/tunnel/tailscale-check");
|
|
548
|
-
if (r2.ok) {
|
|
549
|
-
const check = await r2.json();
|
|
550
|
-
if (check.loggedIn) {
|
|
551
|
-
clearUserAuth();
|
|
552
|
-
setTsProgress("Starting funnel...");
|
|
553
|
-
const res2 = await fetch("/api/tunnel/tailscale-enable", { method: "POST" });
|
|
554
|
-
const data2 = await res2.json();
|
|
555
|
-
if (res2.ok && data2.success) {
|
|
556
|
-
setTsUrl(data2.tunnelUrl || "");
|
|
557
|
-
const ok2 = await pingTsHealth(data2.tunnelUrl);
|
|
558
|
-
setTsEnabled(true);
|
|
559
|
-
setTsStatus(ok2 ? null : { type: "warning", message: "Connected but not reachable yet." });
|
|
560
|
-
} else if (data2.funnelNotEnabled && data2.enableUrl) {
|
|
561
|
-
await pollFunnelEnable(data2.enableUrl);
|
|
562
|
-
} else {
|
|
563
|
-
setTsStatus({ type: "error", message: data2.error || "Failed to start funnel" });
|
|
564
|
-
}
|
|
565
|
-
return;
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
} catch { /* retry */ }
|
|
569
|
-
}
|
|
570
|
-
clearUserAuth();
|
|
571
|
-
setTsStatus({ type: "error", message: "Login timed out. Please try again." });
|
|
572
|
-
return;
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
if (data.funnelNotEnabled && data.enableUrl) {
|
|
576
|
-
await pollFunnelEnable(data.enableUrl);
|
|
577
|
-
return;
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
setTsStatus({ type: "error", message: data.error || "Failed to connect" });
|
|
581
|
-
} catch (error) {
|
|
582
|
-
setTsStatus({ type: "error", message: error.message });
|
|
583
|
-
} finally {
|
|
584
|
-
setTsLoading(false);
|
|
585
|
-
setTsConnecting(false);
|
|
586
|
-
setTsProgress("");
|
|
587
|
-
clearUserAuth();
|
|
588
|
-
}
|
|
589
|
-
};
|
|
590
|
-
|
|
591
|
-
const pollFunnelEnable = async (enableUrl) => {
|
|
592
|
-
requestUserAuth(enableUrl, "Open Funnel Settings");
|
|
593
|
-
setTsProgress("Click \"Open Funnel Settings\" to enable Funnel...");
|
|
594
|
-
for (let i = 0; i < 40; i++) {
|
|
595
|
-
await new Promise((r) => setTimeout(r, 3000));
|
|
596
|
-
try {
|
|
597
|
-
const res = await fetch("/api/tunnel/tailscale-enable", { method: "POST" });
|
|
598
|
-
const data = await res.json();
|
|
599
|
-
if (res.ok && data.success) {
|
|
600
|
-
clearUserAuth();
|
|
601
|
-
setTsUrl(data.tunnelUrl || "");
|
|
602
|
-
const ok3 = await pingTsHealth(data.tunnelUrl);
|
|
603
|
-
setTsEnabled(true);
|
|
604
|
-
setTsStatus(ok3 ? null : { type: "warning", message: "Connected but not reachable yet." });
|
|
605
|
-
return;
|
|
606
|
-
}
|
|
607
|
-
if (data.funnelNotEnabled) continue;
|
|
608
|
-
if (data.error) {
|
|
609
|
-
clearUserAuth();
|
|
610
|
-
setTsStatus({ type: "error", message: data.error });
|
|
611
|
-
return;
|
|
612
|
-
}
|
|
613
|
-
} catch { /* retry */ }
|
|
614
|
-
}
|
|
615
|
-
clearUserAuth();
|
|
616
|
-
setTsStatus({ type: "error", message: "Timed out waiting for Funnel to be enabled." });
|
|
617
|
-
};
|
|
618
|
-
|
|
619
|
-
const handleDisableTailscale = async () => {
|
|
620
|
-
setTsLoading(true);
|
|
621
|
-
setTsStatus(null);
|
|
622
|
-
try {
|
|
623
|
-
const res = await fetch("/api/tunnel/tailscale-disable", { method: "POST" });
|
|
624
|
-
const data = await res.json();
|
|
625
|
-
if (res.ok) {
|
|
626
|
-
setTsEnabled(false);
|
|
627
|
-
setTsUrl("");
|
|
628
|
-
setShowDisableTsModal(false);
|
|
629
|
-
setTsStatus({ type: "success", message: "Tailscale disabled" });
|
|
630
|
-
} else {
|
|
631
|
-
setTsStatus({ type: "error", message: data.error || "Failed to disable Tailscale" });
|
|
632
|
-
}
|
|
633
|
-
} catch (e) {
|
|
634
|
-
setTsStatus({ type: "error", message: e.message });
|
|
635
|
-
} finally {
|
|
636
|
-
setTsLoading(false);
|
|
637
|
-
}
|
|
638
|
-
};
|
|
639
|
-
|
|
640
|
-
const handleOpenTsModal = async () => {
|
|
641
|
-
setTsStatus(null);
|
|
642
|
-
setTsInstallLog([]);
|
|
643
|
-
const data = await checkTailscaleInstalled();
|
|
644
|
-
if (data?.installed && data?.hasCachedPassword) {
|
|
645
|
-
handleConnectTailscale();
|
|
646
|
-
} else {
|
|
647
|
-
setShowTsModal(true);
|
|
648
|
-
}
|
|
649
|
-
};
|
|
650
|
-
|
|
651
|
-
const handleCreateKey = async (event) => {
|
|
652
|
-
event.preventDefault();
|
|
653
|
-
if (!newKeyName.trim() || keyPending) return;
|
|
654
|
-
setKeyPending("create");
|
|
655
|
-
setKeyStatus(null);
|
|
656
|
-
try {
|
|
657
|
-
const res = await fetch("/api/keys", {
|
|
658
|
-
method: "POST",
|
|
659
|
-
headers: { "Content-Type": "application/json" },
|
|
660
|
-
body: JSON.stringify({ name: newKeyName }),
|
|
661
|
-
});
|
|
662
|
-
const data = await res.json();
|
|
663
|
-
if (!res.ok) throw new Error(data.error || `Failed to create key (${res.status})`);
|
|
664
|
-
setCreatedKey(data.key);
|
|
665
|
-
// Cache secret so the eye/copy controls work immediately after create
|
|
666
|
-
if (data.id && data.key) {
|
|
667
|
-
setRevealedSecrets((prev) => ({ ...prev, [data.id]: data.key }));
|
|
668
|
-
}
|
|
669
|
-
await fetchData();
|
|
670
|
-
setNewKeyName("");
|
|
671
|
-
setShowAddModal(false);
|
|
672
|
-
setKeyStatus({ type: "success", message: "API key created" });
|
|
673
|
-
} catch (error) {
|
|
674
|
-
setKeyStatus({ type: "error", message: error.message });
|
|
675
|
-
} finally {
|
|
676
|
-
setKeyPending(null);
|
|
677
|
-
}
|
|
678
|
-
};
|
|
679
|
-
|
|
680
|
-
const handleDeleteKey = (id) => {
|
|
681
|
-
if (keyPending) return;
|
|
682
|
-
setConfirmState({
|
|
683
|
-
title: "Delete API Key",
|
|
684
|
-
message: "Delete this API key?",
|
|
685
|
-
onConfirm: async () => {
|
|
686
|
-
setConfirmState(null);
|
|
687
|
-
setKeyPending(`delete:${id}`);
|
|
688
|
-
setKeyStatus(null);
|
|
689
|
-
try {
|
|
690
|
-
const res = await fetch(`/api/keys/${id}`, { method: "DELETE" });
|
|
691
|
-
if (!res.ok) throw new Error(`Failed to delete key (${res.status})`);
|
|
692
|
-
setKeys((prev) => prev.filter((key) => key.id !== id));
|
|
693
|
-
setVisibleKeys((prev) => {
|
|
694
|
-
const next = new Set(prev);
|
|
695
|
-
next.delete(id);
|
|
696
|
-
return next;
|
|
697
|
-
});
|
|
698
|
-
setRevealedSecrets((prev) => {
|
|
699
|
-
if (!(id in prev)) return prev;
|
|
700
|
-
const next = { ...prev };
|
|
701
|
-
delete next[id];
|
|
702
|
-
return next;
|
|
703
|
-
});
|
|
704
|
-
setKeyStatus({ type: "success", message: "API key deleted" });
|
|
705
|
-
} catch (error) {
|
|
706
|
-
setKeyStatus({ type: "error", message: error.message });
|
|
707
|
-
} finally {
|
|
708
|
-
setKeyPending(null);
|
|
709
|
-
}
|
|
710
|
-
},
|
|
711
|
-
});
|
|
712
|
-
};
|
|
713
|
-
|
|
714
|
-
const handleToggleKey = async (id, isActive) => {
|
|
715
|
-
if (keyPending) return;
|
|
716
|
-
setKeyPending(`toggle:${id}`);
|
|
717
|
-
setKeyStatus(null);
|
|
718
|
-
try {
|
|
719
|
-
const res = await fetch(`/api/keys/${id}`, {
|
|
720
|
-
method: "PUT",
|
|
721
|
-
headers: { "Content-Type": "application/json" },
|
|
722
|
-
body: JSON.stringify({ isActive }),
|
|
723
|
-
});
|
|
724
|
-
if (!res.ok) throw new Error(`Failed to update key (${res.status})`);
|
|
725
|
-
setKeys((prev) => prev.map((key) => key.id === id ? { ...key, isActive } : key));
|
|
726
|
-
setKeyStatus({ type: "success", message: "API key updated" });
|
|
727
|
-
} catch (error) {
|
|
728
|
-
setKeyStatus({ type: "error", message: error.message });
|
|
729
|
-
} finally {
|
|
730
|
-
setKeyPending(null);
|
|
731
|
-
}
|
|
732
|
-
};
|
|
733
|
-
|
|
734
|
-
const handleBudgetChange = async (id, field, value) => {
|
|
735
|
-
if (keyPending) return;
|
|
736
|
-
const num = value === "" ? 0 : Math.max(0, Number(value) || 0);
|
|
737
|
-
setKeyPending(`budget:${id}`);
|
|
738
|
-
setKeyStatus(null);
|
|
739
|
-
try {
|
|
740
|
-
const res = await fetch(`/api/keys/${id}`, {
|
|
741
|
-
method: "PUT",
|
|
742
|
-
headers: { "Content-Type": "application/json" },
|
|
743
|
-
body: JSON.stringify({ [field]: num }),
|
|
744
|
-
});
|
|
745
|
-
if (!res.ok) throw new Error(`Failed to update budget (${res.status})`);
|
|
746
|
-
setKeys((prev) => prev.map((key) => key.id === id ? { ...key, [field]: num } : key));
|
|
747
|
-
setKeyStatus({ type: "success", message: "Budget updated" });
|
|
748
|
-
} catch (error) {
|
|
749
|
-
setKeyStatus({ type: "error", message: error.message });
|
|
750
|
-
} finally {
|
|
751
|
-
setKeyPending(null);
|
|
752
|
-
}
|
|
753
|
-
};
|
|
754
|
-
|
|
755
|
-
const maskKey = (fullKey) => {
|
|
756
|
-
if (!fullKey) return "";
|
|
757
|
-
return fullKey.length > 8 ? fullKey.slice(0, 8) + "..." : fullKey;
|
|
758
|
-
};
|
|
759
|
-
|
|
760
|
-
const displayKeyValue = (key) => {
|
|
761
|
-
if (visibleKeys.has(key.id) && revealedSecrets[key.id]) {
|
|
762
|
-
return revealedSecrets[key.id];
|
|
763
|
-
}
|
|
764
|
-
return key.maskedKey || maskKey(key.key) || "••••••••";
|
|
765
|
-
};
|
|
766
|
-
|
|
767
|
-
const ensureSecret = async (keyId) => {
|
|
768
|
-
if (revealedSecrets[keyId]) return revealedSecrets[keyId];
|
|
769
|
-
const res = await fetch(`/api/keys/${keyId}?reveal=1`, { cache: "no-store" });
|
|
770
|
-
const data = await res.json().catch(() => ({}));
|
|
771
|
-
if (!res.ok) throw new Error(data.error || `Failed to reveal key (${res.status})`);
|
|
772
|
-
const secret = data.key?.key || data.key;
|
|
773
|
-
if (typeof secret !== "string" || !secret) {
|
|
774
|
-
throw new Error("Key secret is not available");
|
|
775
|
-
}
|
|
776
|
-
setRevealedSecrets((prev) => ({ ...prev, [keyId]: secret }));
|
|
777
|
-
return secret;
|
|
778
|
-
};
|
|
779
|
-
|
|
780
|
-
const toggleKeyVisibility = async (keyId) => {
|
|
781
|
-
if (visibleKeys.has(keyId)) {
|
|
782
|
-
setVisibleKeys((prev) => {
|
|
783
|
-
const next = new Set(prev);
|
|
784
|
-
next.delete(keyId);
|
|
785
|
-
return next;
|
|
786
|
-
});
|
|
787
|
-
return;
|
|
788
|
-
}
|
|
789
|
-
try {
|
|
790
|
-
await ensureSecret(keyId);
|
|
791
|
-
setVisibleKeys((prev) => {
|
|
792
|
-
const next = new Set(prev);
|
|
793
|
-
next.add(keyId);
|
|
794
|
-
return next;
|
|
795
|
-
});
|
|
796
|
-
setKeyStatus(null);
|
|
797
|
-
} catch (error) {
|
|
798
|
-
setKeyStatus({ type: "error", message: error.message });
|
|
799
|
-
}
|
|
800
|
-
};
|
|
801
|
-
|
|
802
|
-
const handleCopyKey = async (keyId) => {
|
|
803
|
-
try {
|
|
804
|
-
const secret = await ensureSecret(keyId);
|
|
805
|
-
copy(secret, keyId);
|
|
806
|
-
setKeyStatus(null);
|
|
807
|
-
} catch (error) {
|
|
808
|
-
setKeyStatus({ type: "error", message: error.message });
|
|
809
|
-
}
|
|
810
|
-
};
|
|
811
|
-
|
|
812
|
-
const [baseUrl, setBaseUrl] = useState("/v1");
|
|
813
|
-
|
|
814
|
-
// Hydration fix: Only access window on client side
|
|
815
|
-
useEffect(() => {
|
|
816
|
-
if (typeof window !== "undefined") {
|
|
817
|
-
// eslint-disable-next-line react-hooks/set-state-in-effect -- one-time mount initialization from window.location (external source, client-only, avoids hydration mismatch)
|
|
818
|
-
setBaseUrl(`${window.location.origin}/v1`);
|
|
819
|
-
}
|
|
820
|
-
}, []);
|
|
821
|
-
|
|
822
|
-
if (loading) {
|
|
823
|
-
return (
|
|
824
|
-
<div className="flex flex-col gap-6 lg:gap-7">
|
|
825
|
-
<CardSkeleton />
|
|
826
|
-
<CardSkeleton />
|
|
827
|
-
</div>
|
|
828
|
-
);
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
const currentEndpoint = baseUrl;
|
|
832
|
-
|
|
833
|
-
return (
|
|
834
|
-
<div className="flex flex-col gap-6 lg:gap-7">
|
|
835
|
-
{/* Endpoint Card */}
|
|
836
|
-
<Card padding="none">
|
|
837
|
-
<div className="flex items-center gap-3 rounded-t-[13px] border-b border-border-subtle bg-linear-to-r from-primary/[0.07] via-primary/[0.025] to-transparent px-4 py-4 sm:px-5">
|
|
838
|
-
<span className="material-symbols-outlined flex size-11 shrink-0 items-center justify-center rounded-xl bg-primary/12 text-[22px] text-primary ring-1 ring-primary/15">
|
|
839
|
-
terminal
|
|
840
|
-
</span>
|
|
841
|
-
<div>
|
|
842
|
-
<h2 className="text-lg font-semibold leading-tight">API Endpoint</h2>
|
|
843
|
-
<p className="mt-0.5 text-xs text-text-muted">Choose how local and remote clients connect to Zevai Router.</p>
|
|
844
|
-
</div>
|
|
845
|
-
</div>
|
|
846
|
-
|
|
847
|
-
<div className="p-4 sm:p-5">
|
|
848
|
-
|
|
849
|
-
{/* Endpoint rows */}
|
|
850
|
-
<div className="flex flex-col gap-3">
|
|
851
|
-
{/* Local */}
|
|
852
|
-
<EndpointRow
|
|
853
|
-
label="Local"
|
|
854
|
-
url={currentEndpoint}
|
|
855
|
-
copyId="local_url"
|
|
856
|
-
copied={copied}
|
|
857
|
-
onCopy={copy}
|
|
858
|
-
/>
|
|
859
|
-
{/* Cloudflare Tunnel */}
|
|
860
|
-
<div className="grid min-w-0 grid-cols-[minmax(0,1fr)_auto_auto] items-center gap-2.5 rounded-xl border border-border-subtle bg-bg/55 p-3 transition-colors hover:border-primary/20 sm:flex">
|
|
861
|
-
<span className={`col-span-full inline-flex min-h-8 w-full shrink-0 items-center justify-center rounded-lg px-2.5 text-[11px] font-semibold uppercase tracking-[0.08em] sm:w-[96px] ${
|
|
862
|
-
tunnelEnabled ? "bg-primary/10 text-primary" : "bg-surface-2 text-text-muted"
|
|
863
|
-
}`}>Tunnel</span>
|
|
864
|
-
{tunnelEnabled && !tunnelLoading && tunnelReachable ? (
|
|
865
|
-
<>
|
|
866
|
-
<Input aria-label="Cloudflare Tunnel endpoint URL" value={`${tunnelPublicUrl || tunnelUrl}/v1`} readOnly className="w-full min-w-0 font-mono text-sm sm:flex-1" />
|
|
867
|
-
<button
|
|
868
|
-
onClick={() => copy(`${tunnelPublicUrl || tunnelUrl}/v1`, "tunnel_url")}
|
|
869
|
-
className="flex size-11 shrink-0 items-center justify-center rounded-xl text-text-muted transition-colors hover:bg-black/5 hover:text-primary dark:hover:bg-white/5 sm:size-9 sm:rounded-lg"
|
|
870
|
-
>
|
|
871
|
-
<span className="material-symbols-outlined text-[18px]">{copied === "tunnel_url" ? "check" : "content_copy"}</span>
|
|
872
|
-
</button>
|
|
873
|
-
<button
|
|
874
|
-
onClick={() => setShowDisableTunnelModal(true)}
|
|
875
|
-
className="flex size-11 shrink-0 items-center justify-center rounded-xl text-red-500 transition-colors hover:bg-red-500/10 sm:size-9 sm:rounded-lg"
|
|
876
|
-
title="Disable Tunnel"
|
|
877
|
-
>
|
|
878
|
-
<span className="material-symbols-outlined text-[18px]">power_settings_new</span>
|
|
879
|
-
</button>
|
|
880
|
-
</>
|
|
881
|
-
) : tunnelEnabled && !tunnelLoading && !tunnelReachable ? (
|
|
882
|
-
<>
|
|
883
|
-
<div className="flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-amber-300 dark:border-amber-800 bg-amber-500/5 text-sm text-amber-600 dark:text-amber-400">
|
|
884
|
-
<span className="material-symbols-outlined animate-spin text-sm">progress_activity</span>
|
|
885
|
-
{tunnelEverReachable ? "Tunnel reconnecting..." : "Tunnel checking..."}
|
|
886
|
-
</div>
|
|
887
|
-
<button
|
|
888
|
-
onClick={() => setShowDisableTunnelModal(true)}
|
|
889
|
-
className="flex size-11 shrink-0 items-center justify-center rounded-xl text-red-500 transition-colors hover:bg-red-500/10 sm:size-9 sm:rounded-lg"
|
|
890
|
-
title="Disable Tunnel"
|
|
891
|
-
>
|
|
892
|
-
<span className="material-symbols-outlined text-[18px]">power_settings_new</span>
|
|
893
|
-
</button>
|
|
894
|
-
</>
|
|
895
|
-
) : tunnelLoading ? (
|
|
896
|
-
<>
|
|
897
|
-
<div className="flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-border bg-input text-sm text-text-muted">
|
|
898
|
-
<span className="material-symbols-outlined animate-spin text-sm">progress_activity</span>
|
|
899
|
-
{tunnelProgress || "Creating tunnel..."}
|
|
900
|
-
</div>
|
|
901
|
-
<button
|
|
902
|
-
onClick={() => { setTunnelLoading(false); setTunnelProgress(""); }}
|
|
903
|
-
className="flex size-11 shrink-0 items-center justify-center rounded-xl text-red-500 transition-colors hover:bg-red-500/10 sm:size-9 sm:rounded-lg"
|
|
904
|
-
title="Stop"
|
|
905
|
-
>
|
|
906
|
-
<span className="material-symbols-outlined text-[18px]">power_settings_new</span>
|
|
907
|
-
</button>
|
|
908
|
-
</>
|
|
909
|
-
) : tunnelStatus?.type === "error" ? (
|
|
910
|
-
<>
|
|
911
|
-
<div className="flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-red-300 dark:border-red-800 bg-red-500/5 text-sm text-red-600 dark:text-red-400">
|
|
912
|
-
<span className="material-symbols-outlined text-sm">error</span>
|
|
913
|
-
{tunnelStatus.message}
|
|
914
|
-
</div>
|
|
915
|
-
<Button size="sm" icon="cloud_upload" className="min-h-11 sm:min-h-8" onClick={() => setShowEnableTunnelModal(true)}>Enable</Button>
|
|
916
|
-
</>
|
|
917
|
-
) : tunnelChecking ? (
|
|
918
|
-
<>
|
|
919
|
-
<div className="flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-border bg-input text-sm text-text-muted">
|
|
920
|
-
<span className="material-symbols-outlined animate-spin text-sm">progress_activity</span>
|
|
921
|
-
Checking...
|
|
922
|
-
</div>
|
|
923
|
-
<button
|
|
924
|
-
onClick={() => setTunnelChecking(false)}
|
|
925
|
-
className="flex size-11 shrink-0 items-center justify-center rounded-xl text-red-500 transition-colors hover:bg-red-500/10 sm:size-9 sm:rounded-lg"
|
|
926
|
-
title="Stop"
|
|
927
|
-
>
|
|
928
|
-
<span className="material-symbols-outlined text-[18px]">power_settings_new</span>
|
|
929
|
-
</button>
|
|
930
|
-
</>
|
|
931
|
-
) : (
|
|
932
|
-
<Button
|
|
933
|
-
size="sm"
|
|
934
|
-
icon="cloud_upload"
|
|
935
|
-
className="min-h-11 sm:min-h-8"
|
|
936
|
-
onClick={() => {
|
|
937
|
-
if (isLoginUnsafe) {
|
|
938
|
-
setTunnelStatus({ type: "error", message: `Security required: ${unsafeReason}` });
|
|
939
|
-
return;
|
|
940
|
-
}
|
|
941
|
-
if (!requireApiKey) {
|
|
942
|
-
setTunnelStatus({ type: "error", message: "Security required: Enable \"Require API key\" before activating the tunnel." });
|
|
943
|
-
return;
|
|
944
|
-
}
|
|
945
|
-
setShowEnableTunnelModal(true);
|
|
946
|
-
}}
|
|
947
|
-
>
|
|
948
|
-
Enable
|
|
949
|
-
</Button>
|
|
950
|
-
)}
|
|
951
|
-
</div>
|
|
952
|
-
{/* Tailscale */}
|
|
953
|
-
<div className="grid min-w-0 grid-cols-[minmax(0,1fr)_auto_auto] items-center gap-2.5 rounded-xl border border-border-subtle bg-bg/55 p-3 transition-colors hover:border-primary/20 sm:flex">
|
|
954
|
-
<span className={`col-span-full inline-flex min-h-8 w-full shrink-0 items-center justify-center rounded-lg px-2.5 text-[11px] font-semibold uppercase tracking-[0.08em] sm:w-[96px] ${
|
|
955
|
-
tsEnabled ? "bg-primary/10 text-primary" : "bg-surface-2 text-text-muted"
|
|
956
|
-
}`}>Tailscale</span>
|
|
957
|
-
{tsEnabled && !tsLoading && tsReachable ? (
|
|
958
|
-
<>
|
|
959
|
-
<Input aria-label="Tailscale endpoint URL" value={`${tsUrl}/v1`} readOnly className="w-full min-w-0 font-mono text-sm sm:flex-1" />
|
|
960
|
-
<button
|
|
961
|
-
onClick={() => copy(`${tsUrl}/v1`, "ts_url")}
|
|
962
|
-
className="flex size-11 shrink-0 items-center justify-center rounded-xl text-text-muted transition-colors hover:bg-black/5 hover:text-primary dark:hover:bg-white/5 sm:size-9 sm:rounded-lg"
|
|
963
|
-
>
|
|
964
|
-
<span className="material-symbols-outlined text-[18px]">{copied === "ts_url" ? "check" : "content_copy"}</span>
|
|
965
|
-
</button>
|
|
966
|
-
<button
|
|
967
|
-
onClick={() => setShowDisableTsModal(true)}
|
|
968
|
-
className="flex size-11 shrink-0 items-center justify-center rounded-xl text-red-500 transition-colors hover:bg-red-500/10 sm:size-9 sm:rounded-lg"
|
|
969
|
-
title="Disable Tailscale"
|
|
970
|
-
>
|
|
971
|
-
<span className="material-symbols-outlined text-[18px]">power_settings_new</span>
|
|
972
|
-
</button>
|
|
973
|
-
</>
|
|
974
|
-
) : tsEnabled && !tsLoading && !tsReachable ? (
|
|
975
|
-
<>
|
|
976
|
-
<div className="flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-amber-300 dark:border-amber-800 bg-amber-500/5 text-sm text-amber-600 dark:text-amber-400">
|
|
977
|
-
<span className="material-symbols-outlined animate-spin text-sm">progress_activity</span>
|
|
978
|
-
{tsEverReachable ? "Tailscale reconnecting..." : "Tailscale checking..."}
|
|
979
|
-
</div>
|
|
980
|
-
<button
|
|
981
|
-
onClick={() => setShowDisableTsModal(true)}
|
|
982
|
-
className="flex size-11 shrink-0 items-center justify-center rounded-xl text-red-500 transition-colors hover:bg-red-500/10 sm:size-9 sm:rounded-lg"
|
|
983
|
-
title="Disable Tailscale"
|
|
984
|
-
>
|
|
985
|
-
<span className="material-symbols-outlined text-[18px]">power_settings_new</span>
|
|
986
|
-
</button>
|
|
987
|
-
</>
|
|
988
|
-
) : (tsLoading || tsConnecting) ? (
|
|
989
|
-
<>
|
|
990
|
-
<div className="flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-border bg-input text-sm text-text-muted">
|
|
991
|
-
<span className="material-symbols-outlined animate-spin text-sm">progress_activity</span>
|
|
992
|
-
{tsProgress || "Connecting..."}
|
|
993
|
-
</div>
|
|
994
|
-
{tsAuthUrl && (
|
|
995
|
-
<Button
|
|
996
|
-
size="sm"
|
|
997
|
-
icon="open_in_new"
|
|
998
|
-
onClick={() => window.open(tsAuthUrl, "tailscale_auth", "width=600,height=700,noopener,noreferrer")}
|
|
999
|
-
>
|
|
1000
|
-
{tsAuthLabel || "Open"}
|
|
1001
|
-
</Button>
|
|
1002
|
-
)}
|
|
1003
|
-
<button
|
|
1004
|
-
onClick={() => { setTsLoading(false); setTsConnecting(false); setTsProgress(""); clearUserAuth(); }}
|
|
1005
|
-
className="flex size-11 shrink-0 items-center justify-center rounded-xl text-red-500 transition-colors hover:bg-red-500/10 sm:size-9 sm:rounded-lg"
|
|
1006
|
-
title="Stop"
|
|
1007
|
-
>
|
|
1008
|
-
<span className="material-symbols-outlined text-[18px]">power_settings_new</span>
|
|
1009
|
-
</button>
|
|
1010
|
-
</>
|
|
1011
|
-
) : tsStatus?.type === "error" ? (
|
|
1012
|
-
<>
|
|
1013
|
-
<div className="flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-red-300 dark:border-red-800 bg-red-500/5 text-sm text-red-600 dark:text-red-400">
|
|
1014
|
-
<span className="material-symbols-outlined text-sm">error</span>
|
|
1015
|
-
{tsStatus.message}
|
|
1016
|
-
</div>
|
|
1017
|
-
<Button size="sm" icon="vpn_lock" className="min-h-11 sm:min-h-8" onClick={handleOpenTsModal}>Enable</Button>
|
|
1018
|
-
</>
|
|
1019
|
-
) : (
|
|
1020
|
-
<Button
|
|
1021
|
-
size="sm"
|
|
1022
|
-
icon="vpn_lock"
|
|
1023
|
-
onClick={() => {
|
|
1024
|
-
if (isLoginUnsafe) {
|
|
1025
|
-
setTsStatus({ type: "error", message: `Security required: ${unsafeReason}` });
|
|
1026
|
-
return;
|
|
1027
|
-
}
|
|
1028
|
-
handleOpenTsModal();
|
|
1029
|
-
}}
|
|
1030
|
-
className="min-h-11 sm:min-h-8"
|
|
1031
|
-
>
|
|
1032
|
-
Enable
|
|
1033
|
-
</Button>
|
|
1034
|
-
)}
|
|
1035
|
-
</div>
|
|
1036
|
-
</div>
|
|
1037
|
-
|
|
1038
|
-
{/* Pre-enable security gate banner */}
|
|
1039
|
-
{isLoginUnsafe && !tunnelEnabled && !tsEnabled && (
|
|
1040
|
-
<div className="mt-4">
|
|
1041
|
-
<SecurityWarning
|
|
1042
|
-
message={unsafeReason}
|
|
1043
|
-
action={{ label: "Open settings", href: "/dashboard/profile" }}
|
|
1044
|
-
/>
|
|
1045
|
-
</div>
|
|
1046
|
-
)}
|
|
1047
|
-
|
|
1048
|
-
{/* Security warnings when tunnel or tailscale is active */}
|
|
1049
|
-
{(tunnelEnabled || tsEnabled) && (
|
|
1050
|
-
<div className="mt-4 flex flex-col gap-2">
|
|
1051
|
-
{!requireApiKey && (
|
|
1052
|
-
<SecurityWarning
|
|
1053
|
-
message="Require API key is disabled — your endpoint is publicly accessible without authentication."
|
|
1054
|
-
action={{ label: "Enable", href: "#require-api-key" }}
|
|
1055
|
-
/>
|
|
1056
|
-
)}
|
|
1057
|
-
{(!requireLogin || !hasPassword) && (
|
|
1058
|
-
<SecurityWarning
|
|
1059
|
-
message={
|
|
1060
|
-
!requireLogin
|
|
1061
|
-
? "Require login is disabled — anyone can access your dashboard via tunnel."
|
|
1062
|
-
: "Dashboard uses the default password — change it in Profile settings."
|
|
1063
|
-
}
|
|
1064
|
-
action={{
|
|
1065
|
-
label: !requireLogin ? "Enable" : "Change password",
|
|
1066
|
-
href: "/dashboard/profile",
|
|
1067
|
-
}}
|
|
1068
|
-
/>
|
|
1069
|
-
)}
|
|
1070
|
-
</div>
|
|
1071
|
-
)}
|
|
1072
|
-
|
|
1073
|
-
{/* Tunnel dashboard access option */}
|
|
1074
|
-
{(tunnelEnabled || tsEnabled) && (
|
|
1075
|
-
<div className="mt-4 pt-4 border-t border-border flex items-center gap-3">
|
|
1076
|
-
<Toggle
|
|
1077
|
-
touchTarget
|
|
1078
|
-
label="Allow dashboard access via tunnel"
|
|
1079
|
-
checked={tunnelDashboardAccess}
|
|
1080
|
-
onChange={() => handleTunnelDashboardAccess(!tunnelDashboardAccess)}
|
|
1081
|
-
/>
|
|
1082
|
-
<Tooltip text="When enabled, the dashboard can be accessed through your tunnel or Tailscale URL (login still required). When disabled, dashboard access via tunnel/Tailscale is completely blocked." />
|
|
1083
|
-
</div>
|
|
1084
|
-
)}
|
|
1085
|
-
</div>
|
|
1086
|
-
</Card>
|
|
1087
|
-
|
|
1088
|
-
{/* Token Saver moved to its own page */}
|
|
1089
|
-
<Card id="rtk" padding="none" className="relative overflow-hidden border-primary/20 bg-linear-to-br from-primary/[0.08] via-surface to-surface">
|
|
1090
|
-
<div className="relative flex flex-col gap-4 p-5 sm:flex-row sm:items-center sm:justify-between">
|
|
1091
|
-
<div className="flex min-w-0 items-center gap-3.5">
|
|
1092
|
-
<span className="material-symbols-outlined flex size-11 shrink-0 items-center justify-center rounded-xl bg-primary text-[22px] text-white shadow-[0_10px_24px_-14px_rgba(229,106,74,0.9)]">
|
|
1093
|
-
bolt
|
|
1094
|
-
</span>
|
|
1095
|
-
<div className="min-w-0">
|
|
1096
|
-
<h2 className="text-lg font-semibold leading-tight">Token Saver</h2>
|
|
1097
|
-
<p className="mt-1 text-sm text-text-muted">
|
|
1098
|
-
Tune RTK, Caveman, Ponytail, Headroom, and PXPIPE in one workspace.
|
|
1099
|
-
</p>
|
|
1100
|
-
</div>
|
|
1101
|
-
</div>
|
|
1102
|
-
<Link
|
|
1103
|
-
href="/dashboard/token-saver"
|
|
1104
|
-
className="inline-flex min-h-11 w-full shrink-0 items-center justify-center gap-1.5 rounded-xl border border-primary/25 bg-surface/80 px-3.5 py-2 text-sm font-semibold text-text-main shadow-sm transition-[border-color,color,transform] hover:translate-x-0.5 hover:border-primary/50 hover:text-primary sm:min-h-0 sm:w-auto sm:rounded-lg"
|
|
1105
|
-
>
|
|
1106
|
-
Open workspace
|
|
1107
|
-
<span className="material-symbols-outlined text-[16px]">arrow_forward</span>
|
|
1108
|
-
</Link>
|
|
1109
|
-
</div>
|
|
1110
|
-
</Card>
|
|
1111
|
-
|
|
1112
|
-
{/* API Keys */}
|
|
1113
|
-
<Card id="require-api-key">
|
|
1114
|
-
<div className="mb-5 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between">
|
|
1115
|
-
<div className="flex min-w-0 items-center gap-3">
|
|
1116
|
-
<span className="material-symbols-outlined flex size-11 shrink-0 items-center justify-center rounded-xl bg-primary/10 text-[21px] text-primary ring-1 ring-primary/15">
|
|
1117
|
-
vpn_key
|
|
1118
|
-
</span>
|
|
1119
|
-
<div className="min-w-0">
|
|
1120
|
-
<div className="flex flex-wrap items-center gap-2">
|
|
1121
|
-
<h2 className="text-lg font-semibold leading-tight">API Keys</h2>
|
|
1122
|
-
<span className="rounded-full bg-surface-2 px-2 py-0.5 text-[10px] font-semibold text-text-muted ring-1 ring-border-subtle">
|
|
1123
|
-
{keys.length} {keys.length === 1 ? "key" : "keys"}
|
|
1124
|
-
</span>
|
|
1125
|
-
</div>
|
|
1126
|
-
<p className="mt-0.5 text-xs text-text-muted">Control authentication and spending per client.</p>
|
|
1127
|
-
</div>
|
|
1128
|
-
</div>
|
|
1129
|
-
<Button icon="add" onClick={() => setShowAddModal(true)} className="w-full sm:w-auto">
|
|
1130
|
-
Create Key
|
|
1131
|
-
</Button>
|
|
1132
|
-
</div>
|
|
1133
|
-
|
|
1134
|
-
{keyStatus && (
|
|
1135
|
-
<p role="status" className={`mb-4 text-sm ${keyStatus.type === "error" ? "text-red-500" : "text-green-500"}`}>
|
|
1136
|
-
{keyStatus.message}
|
|
1137
|
-
</p>
|
|
1138
|
-
)}
|
|
1139
|
-
|
|
1140
|
-
<div className="mb-4 flex flex-col gap-3 rounded-xl border border-primary/15 bg-primary/[0.045] p-4 sm:flex-row sm:items-center sm:justify-between">
|
|
1141
|
-
<div className="flex items-start gap-3">
|
|
1142
|
-
<span className="material-symbols-outlined mt-0.5 flex size-8 shrink-0 items-center justify-center rounded-lg bg-surface text-[17px] text-primary ring-1 ring-border-subtle">
|
|
1143
|
-
shield_lock
|
|
1144
|
-
</span>
|
|
1145
|
-
<div>
|
|
1146
|
-
<p className="font-medium">Require API key</p>
|
|
1147
|
-
<p className="mt-0.5 text-sm text-text-muted">
|
|
1148
|
-
Reject requests that do not include a valid client key.
|
|
1149
|
-
</p>
|
|
1150
|
-
</div>
|
|
1151
|
-
</div>
|
|
1152
|
-
<div className="shrink-0 self-end sm:self-auto">
|
|
1153
|
-
<Toggle
|
|
1154
|
-
touchTarget
|
|
1155
|
-
label="Require API key"
|
|
1156
|
-
checked={requireApiKey}
|
|
1157
|
-
onChange={() => handleRequireApiKey(!requireApiKey)}
|
|
1158
|
-
/>
|
|
1159
|
-
</div>
|
|
1160
|
-
</div>
|
|
1161
|
-
|
|
1162
|
-
{isRemoteHost && !requireApiKey && (
|
|
1163
|
-
<div className="mb-4 -mt-2">
|
|
1164
|
-
<SecurityWarning message="Endpoint is exposed without an API key." />
|
|
1165
|
-
</div>
|
|
1166
|
-
)}
|
|
1167
|
-
|
|
1168
|
-
{keys.length === 0 ? (
|
|
1169
|
-
<div className="rounded-xl border border-dashed border-border bg-surface-2/25 py-12 text-center">
|
|
1170
|
-
<div className="inline-flex items-center justify-center w-16 h-16 rounded-full bg-primary/10 text-primary mb-4">
|
|
1171
|
-
<span className="material-symbols-outlined text-[32px]">vpn_key</span>
|
|
1172
|
-
</div>
|
|
1173
|
-
<p className="text-text-main font-medium mb-1">No API keys yet</p>
|
|
1174
|
-
<p className="text-sm text-text-muted mb-4">Create your first API key to get started</p>
|
|
1175
|
-
<Button icon="add" onClick={() => setShowAddModal(true)}>
|
|
1176
|
-
Create Key
|
|
1177
|
-
</Button>
|
|
1178
|
-
</div>
|
|
1179
|
-
) : (
|
|
1180
|
-
<div className="grid grid-cols-1 gap-3 lg:grid-cols-2">
|
|
1181
|
-
{keys.map((key) => (
|
|
1182
|
-
<div
|
|
1183
|
-
key={key.id}
|
|
1184
|
-
className={`group flex min-w-0 flex-wrap items-center justify-between gap-3 rounded-xl border border-border-subtle bg-surface-2/25 p-4 transition-[border-color,box-shadow,opacity] hover:border-primary/20 hover:shadow-[0_14px_28px_-26px_rgba(15,23,42,0.65)] ${key.isActive === false ? "opacity-60" : ""}`}
|
|
1185
|
-
>
|
|
1186
|
-
<div className="flex-1 min-w-0">
|
|
1187
|
-
<p className="text-sm font-medium">{key.name}</p>
|
|
1188
|
-
<div className="flex items-center gap-2 mt-1 min-w-0">
|
|
1189
|
-
<code className="text-xs text-text-muted font-mono truncate max-w-[min(100%,28rem)]">
|
|
1190
|
-
{displayKeyValue(key)}
|
|
1191
|
-
</code>
|
|
1192
|
-
<button
|
|
1193
|
-
type="button"
|
|
1194
|
-
onClick={() => toggleKeyVisibility(key.id)}
|
|
1195
|
-
className="flex size-11 shrink-0 items-center justify-center rounded-xl text-text-muted opacity-100 transition-all hover:bg-black/5 hover:text-primary dark:hover:bg-white/5 sm:size-7 sm:rounded-lg sm:opacity-0 sm:group-hover:opacity-100"
|
|
1196
|
-
title={visibleKeys.has(key.id) ? "Hide key" : "Show key"}
|
|
1197
|
-
aria-label={visibleKeys.has(key.id) ? "Hide API key" : "Show API key"}
|
|
1198
|
-
>
|
|
1199
|
-
<span className="material-symbols-outlined text-[14px]">
|
|
1200
|
-
{visibleKeys.has(key.id) ? "visibility_off" : "visibility"}
|
|
1201
|
-
</span>
|
|
1202
|
-
</button>
|
|
1203
|
-
<button
|
|
1204
|
-
type="button"
|
|
1205
|
-
onClick={() => handleCopyKey(key.id)}
|
|
1206
|
-
className="flex size-11 shrink-0 items-center justify-center rounded-xl text-text-muted opacity-100 transition-all hover:bg-black/5 hover:text-primary dark:hover:bg-white/5 sm:size-7 sm:rounded-lg sm:opacity-0 sm:group-hover:opacity-100"
|
|
1207
|
-
title="Copy key"
|
|
1208
|
-
aria-label="Copy API key"
|
|
1209
|
-
>
|
|
1210
|
-
<span className="material-symbols-outlined text-[14px]">
|
|
1211
|
-
{copied === key.id ? "check" : "content_copy"}
|
|
1212
|
-
</span>
|
|
1213
|
-
</button>
|
|
1214
|
-
</div>
|
|
1215
|
-
<p className="text-xs text-text-muted mt-1">
|
|
1216
|
-
Created {new Date(key.createdAt).toLocaleDateString()}
|
|
1217
|
-
</p>
|
|
1218
|
-
{key.isActive === false && (
|
|
1219
|
-
<p className="text-xs text-orange-500 mt-1">Paused</p>
|
|
1220
|
-
)}
|
|
1221
|
-
{/* Per-key budget caps (0 = unlimited) */}
|
|
1222
|
-
<div className="mt-3 flex flex-wrap items-center gap-3">
|
|
1223
|
-
<label className="flex items-center gap-1 text-[11px] text-text-muted">
|
|
1224
|
-
Daily $
|
|
1225
|
-
<input
|
|
1226
|
-
type="number" min="0" step="0.01"
|
|
1227
|
-
disabled={keyPending === `budget:${key.id}`}
|
|
1228
|
-
defaultValue={key.budgetDaily || 0}
|
|
1229
|
-
onBlur={(e) => handleBudgetChange(key.id, "budgetDaily", e.target.value)}
|
|
1230
|
-
className="w-16 rounded border border-border bg-surface px-1 py-0.5 text-[11px]"
|
|
1231
|
-
title="Daily budget cap in USD (0 = unlimited)"
|
|
1232
|
-
/>
|
|
1233
|
-
</label>
|
|
1234
|
-
<label className="flex items-center gap-1 text-[11px] text-text-muted">
|
|
1235
|
-
Monthly $
|
|
1236
|
-
<input
|
|
1237
|
-
type="number" min="0" step="0.01"
|
|
1238
|
-
disabled={keyPending === `budget:${key.id}`}
|
|
1239
|
-
defaultValue={key.budgetMonthly || 0}
|
|
1240
|
-
onBlur={(e) => handleBudgetChange(key.id, "budgetMonthly", e.target.value)}
|
|
1241
|
-
className="w-16 rounded border border-border bg-surface px-1 py-0.5 text-[11px]"
|
|
1242
|
-
title="Monthly budget cap in USD (0 = unlimited)"
|
|
1243
|
-
/>
|
|
1244
|
-
</label>
|
|
1245
|
-
</div>
|
|
1246
|
-
</div>
|
|
1247
|
-
<div className="flex items-center gap-2">
|
|
1248
|
-
<div className="flex size-11 items-center justify-center sm:size-auto">
|
|
1249
|
-
<Toggle
|
|
1250
|
-
size="sm"
|
|
1251
|
-
touchTarget
|
|
1252
|
-
disabled={keyPending === `toggle:${key.id}`}
|
|
1253
|
-
checked={key.isActive ?? true}
|
|
1254
|
-
onChange={(checked) => {
|
|
1255
|
-
if (key.isActive && !checked) {
|
|
1256
|
-
setConfirmState({
|
|
1257
|
-
title: "Pause API Key",
|
|
1258
|
-
message: `Pause API key "${key.name}"?\n\nThis key will stop working immediately but can be resumed later.`,
|
|
1259
|
-
onConfirm: async () => {
|
|
1260
|
-
setConfirmState(null);
|
|
1261
|
-
handleToggleKey(key.id, checked);
|
|
1262
|
-
}
|
|
1263
|
-
});
|
|
1264
|
-
} else {
|
|
1265
|
-
handleToggleKey(key.id, checked);
|
|
1266
|
-
}
|
|
1267
|
-
}}
|
|
1268
|
-
title={key.isActive ? "Pause key" : "Resume key"}
|
|
1269
|
-
/>
|
|
1270
|
-
</div>
|
|
1271
|
-
<button
|
|
1272
|
-
disabled={keyPending === `delete:${key.id}`}
|
|
1273
|
-
onClick={() => handleDeleteKey(key.id)}
|
|
1274
|
-
className="flex size-11 items-center justify-center rounded-xl text-red-500 opacity-100 transition-all hover:bg-red-500/10 sm:size-9 sm:rounded-lg sm:opacity-0 sm:group-hover:opacity-100"
|
|
1275
|
-
aria-label={`Delete ${key.name}`}
|
|
1276
|
-
>
|
|
1277
|
-
<span className="material-symbols-outlined text-[18px]">delete</span>
|
|
1278
|
-
</button>
|
|
1279
|
-
</div>
|
|
1280
|
-
</div>
|
|
1281
|
-
))}
|
|
1282
|
-
</div>
|
|
1283
|
-
)}
|
|
1284
|
-
</Card>
|
|
1285
|
-
|
|
1286
|
-
{/* Add Key Modal */}
|
|
1287
|
-
<Modal
|
|
1288
|
-
isOpen={showAddModal}
|
|
1289
|
-
title="Create API Key"
|
|
1290
|
-
onClose={() => {
|
|
1291
|
-
setShowAddModal(false);
|
|
1292
|
-
setNewKeyName("");
|
|
1293
|
-
}}
|
|
1294
|
-
>
|
|
1295
|
-
<form className="flex flex-col gap-4" onSubmit={handleCreateKey}>
|
|
1296
|
-
<Input
|
|
1297
|
-
label="Key Name"
|
|
1298
|
-
value={newKeyName}
|
|
1299
|
-
onChange={(e) => setNewKeyName(e.target.value)}
|
|
1300
|
-
placeholder="Production Key"
|
|
1301
|
-
/>
|
|
1302
|
-
<div className="flex gap-2">
|
|
1303
|
-
<Button type="submit" fullWidth disabled={!newKeyName.trim() || keyPending === "create"}>
|
|
1304
|
-
{keyPending === "create" ? "Creating..." : "Create"}
|
|
1305
|
-
</Button>
|
|
1306
|
-
<Button
|
|
1307
|
-
type="button"
|
|
1308
|
-
onClick={() => {
|
|
1309
|
-
setShowAddModal(false);
|
|
1310
|
-
setNewKeyName("");
|
|
1311
|
-
}}
|
|
1312
|
-
variant="ghost"
|
|
1313
|
-
fullWidth
|
|
1314
|
-
>
|
|
1315
|
-
Cancel
|
|
1316
|
-
</Button>
|
|
1317
|
-
</div>
|
|
1318
|
-
</form>
|
|
1319
|
-
</Modal>
|
|
1320
|
-
|
|
1321
|
-
{/* Created Key Modal */}
|
|
1322
|
-
<Modal
|
|
1323
|
-
isOpen={!!createdKey}
|
|
1324
|
-
title="API Key Created"
|
|
1325
|
-
onClose={() => setCreatedKey(null)}
|
|
1326
|
-
>
|
|
1327
|
-
<div className="flex flex-col gap-4">
|
|
1328
|
-
<div className="bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg p-4">
|
|
1329
|
-
<p className="text-sm text-yellow-800 dark:text-yellow-200 mb-2 font-medium">
|
|
1330
|
-
Save this key now!
|
|
1331
|
-
</p>
|
|
1332
|
-
<p className="text-sm text-yellow-700 dark:text-yellow-300">
|
|
1333
|
-
This is the only time you will see this key. Store it securely.
|
|
1334
|
-
</p>
|
|
1335
|
-
</div>
|
|
1336
|
-
<div className="flex gap-2">
|
|
1337
|
-
<Input
|
|
1338
|
-
value={createdKey || ""}
|
|
1339
|
-
readOnly
|
|
1340
|
-
className="flex-1 font-mono text-sm"
|
|
1341
|
-
/>
|
|
1342
|
-
<Button
|
|
1343
|
-
variant="secondary"
|
|
1344
|
-
icon={copied === "created_key" ? "check" : "content_copy"}
|
|
1345
|
-
onClick={() => copy(createdKey, "created_key")}
|
|
1346
|
-
>
|
|
1347
|
-
{copied === "created_key" ? "Copied!" : "Copy"}
|
|
1348
|
-
</Button>
|
|
1349
|
-
</div>
|
|
1350
|
-
<Button onClick={() => setCreatedKey(null)} fullWidth>
|
|
1351
|
-
Done
|
|
1352
|
-
</Button>
|
|
1353
|
-
</div>
|
|
1354
|
-
</Modal>
|
|
1355
|
-
|
|
1356
|
-
{/* Enable Tunnel Modal */}
|
|
1357
|
-
<Modal
|
|
1358
|
-
isOpen={showEnableTunnelModal}
|
|
1359
|
-
title="Enable Tunnel"
|
|
1360
|
-
onClose={() => setShowEnableTunnelModal(false)}
|
|
1361
|
-
>
|
|
1362
|
-
<div className="flex flex-col gap-4">
|
|
1363
|
-
<div className="bg-surface-2 border border-border-subtle rounded-lg p-4">
|
|
1364
|
-
<div className="flex items-start gap-3">
|
|
1365
|
-
<span className="material-symbols-outlined text-primary">cloud_upload</span>
|
|
1366
|
-
<div>
|
|
1367
|
-
<p className="text-sm text-text-main font-medium mb-1">
|
|
1368
|
-
Cloudflare Tunnel
|
|
1369
|
-
</p>
|
|
1370
|
-
<p className="text-sm text-text-muted">
|
|
1371
|
-
Expose your local ZevaiRouter to the internet. No port forwarding, no static IP needed. Share endpoint URL with your team or use it in Cursor, Cline, and other AI tools from anywhere.
|
|
1372
|
-
</p>
|
|
1373
|
-
</div>
|
|
1374
|
-
</div>
|
|
1375
|
-
</div>
|
|
1376
|
-
|
|
1377
|
-
<div className="grid grid-cols-2 gap-3">
|
|
1378
|
-
{TUNNEL_BENEFITS.map((benefit) => (
|
|
1379
|
-
<div key={benefit.title} className="flex flex-col items-center text-center p-3 rounded-lg bg-sidebar/50">
|
|
1380
|
-
<span className="material-symbols-outlined text-xl text-primary mb-1">{benefit.icon}</span>
|
|
1381
|
-
<p className="text-xs font-semibold">{benefit.title}</p>
|
|
1382
|
-
<p className="text-xs text-text-muted">{benefit.desc}</p>
|
|
1383
|
-
</div>
|
|
1384
|
-
))}
|
|
1385
|
-
</div>
|
|
1386
|
-
|
|
1387
|
-
<p className="text-xs text-text-muted">
|
|
1388
|
-
Requires outbound port 7844 (TCP/UDP). Connection may take 10-30s.
|
|
1389
|
-
</p>
|
|
1390
|
-
|
|
1391
|
-
<div className="flex gap-2">
|
|
1392
|
-
<Button onClick={handleEnableTunnel} fullWidth>
|
|
1393
|
-
Start Tunnel
|
|
1394
|
-
</Button>
|
|
1395
|
-
<Button onClick={() => setShowEnableTunnelModal(false)} variant="ghost" fullWidth>Cancel</Button>
|
|
1396
|
-
</div>
|
|
1397
|
-
</div>
|
|
1398
|
-
</Modal>
|
|
1399
|
-
|
|
1400
|
-
{/* Disable Cloudflare Tunnel Modal */}
|
|
1401
|
-
<Modal
|
|
1402
|
-
isOpen={showDisableTunnelModal}
|
|
1403
|
-
title="Disable Tunnel"
|
|
1404
|
-
onClose={() => !tunnelLoading && setShowDisableTunnelModal(false)}
|
|
1405
|
-
>
|
|
1406
|
-
<div className="flex flex-col gap-4">
|
|
1407
|
-
<p className="text-sm text-text-muted">The Cloudflare tunnel will be disconnected. Remote access via tunnel URL will stop working.</p>
|
|
1408
|
-
<div className="flex gap-2">
|
|
1409
|
-
<Button onClick={handleDisableTunnel} fullWidth disabled={tunnelLoading} variant="danger">
|
|
1410
|
-
{tunnelLoading ? "Disabling..." : "Disable"}
|
|
1411
|
-
</Button>
|
|
1412
|
-
<Button onClick={() => setShowDisableTunnelModal(false)} variant="ghost" fullWidth disabled={tunnelLoading}>Cancel</Button>
|
|
1413
|
-
</div>
|
|
1414
|
-
</div>
|
|
1415
|
-
</Modal>
|
|
1416
|
-
|
|
1417
|
-
{/* Tailscale Modal */}
|
|
1418
|
-
<Modal
|
|
1419
|
-
isOpen={showTsModal}
|
|
1420
|
-
title="Tailscale Funnel"
|
|
1421
|
-
onClose={() => { if (!tsInstalling) { setShowTsModal(false); setTsSudoPassword(""); setTsStatus(null); } }}
|
|
1422
|
-
>
|
|
1423
|
-
<div className="flex flex-col gap-4">
|
|
1424
|
-
{/* Checking state */}
|
|
1425
|
-
{tsInstalled === null && (
|
|
1426
|
-
<p className="text-sm text-text-muted flex items-center gap-2">
|
|
1427
|
-
<span className="material-symbols-outlined animate-spin text-sm">progress_activity</span>
|
|
1428
|
-
Checking...
|
|
1429
|
-
</p>
|
|
1430
|
-
)}
|
|
1431
|
-
|
|
1432
|
-
{/* Not installed */}
|
|
1433
|
-
{tsInstalled === false && !tsInstalling && (
|
|
1434
|
-
<div className="flex flex-col gap-3">
|
|
1435
|
-
<p className="text-sm text-text-muted">Tailscale is not installed. Install it to enable Funnel.</p>
|
|
1436
|
-
<div className="flex gap-2">
|
|
1437
|
-
<Button onClick={handleInstallTailscale} fullWidth>
|
|
1438
|
-
Install Tailscale
|
|
1439
|
-
</Button>
|
|
1440
|
-
<Button onClick={() => setShowTsModal(false)} variant="ghost" fullWidth>Cancel</Button>
|
|
1441
|
-
</div>
|
|
1442
|
-
</div>
|
|
1443
|
-
)}
|
|
1444
|
-
|
|
1445
|
-
{/* Installing with progress log */}
|
|
1446
|
-
{tsInstalling && (
|
|
1447
|
-
<div className="flex flex-col gap-2">
|
|
1448
|
-
<div className="flex items-center gap-2 text-sm text-text-muted">
|
|
1449
|
-
<span className="material-symbols-outlined animate-spin text-sm">progress_activity</span>
|
|
1450
|
-
Installing Tailscale...
|
|
1451
|
-
</div>
|
|
1452
|
-
{tsInstallLog.length > 0 && (
|
|
1453
|
-
<div ref={tsLogRef} className="bg-black/5 dark:bg-white/5 rounded p-2 max-h-40 overflow-y-auto font-mono text-xs text-text-muted">
|
|
1454
|
-
{tsInstallLog.map((line, i) => (
|
|
1455
|
-
<div key={i}>{line}</div>
|
|
1456
|
-
))}
|
|
1457
|
-
</div>
|
|
1458
|
-
)}
|
|
1459
|
-
</div>
|
|
1460
|
-
)}
|
|
1461
|
-
|
|
1462
|
-
{/* Installed: show Connect button */}
|
|
1463
|
-
{tsInstalled === true && !tsInstalling && (
|
|
1464
|
-
<div className="flex flex-col gap-3">
|
|
1465
|
-
<div className="flex items-center gap-2 text-sm text-green-600 dark:text-green-400">
|
|
1466
|
-
<span className="material-symbols-outlined text-[16px]">check_circle</span>
|
|
1467
|
-
Tailscale installed
|
|
1468
|
-
</div>
|
|
1469
|
-
<div className="flex gap-2">
|
|
1470
|
-
<Button
|
|
1471
|
-
onClick={() => handleConnectTailscale()}
|
|
1472
|
-
fullWidth
|
|
1473
|
-
>
|
|
1474
|
-
Connect
|
|
1475
|
-
</Button>
|
|
1476
|
-
<Button onClick={() => setShowTsModal(false)} variant="ghost" fullWidth>Cancel</Button>
|
|
1477
|
-
</div>
|
|
1478
|
-
</div>
|
|
1479
|
-
)}
|
|
1480
|
-
|
|
1481
|
-
{tsStatus && <StatusAlert status={tsStatus} />}
|
|
1482
|
-
</div>
|
|
1483
|
-
</Modal>
|
|
1484
|
-
|
|
1485
|
-
{/* Disable Tailscale Modal */}
|
|
1486
|
-
<Modal
|
|
1487
|
-
isOpen={showDisableTsModal}
|
|
1488
|
-
title="Disable Tailscale"
|
|
1489
|
-
onClose={() => !tsLoading && setShowDisableTsModal(false)}
|
|
1490
|
-
>
|
|
1491
|
-
<div className="flex flex-col gap-4">
|
|
1492
|
-
<p className="text-sm text-text-muted">Tailscale Funnel will be stopped. Remote access via Tailscale URL will stop working.</p>
|
|
1493
|
-
<div className="flex gap-2">
|
|
1494
|
-
<Button onClick={handleDisableTailscale} fullWidth disabled={tsLoading} variant="danger">
|
|
1495
|
-
{tsLoading ? "Disabling..." : "Disable"}
|
|
1496
|
-
</Button>
|
|
1497
|
-
<Button onClick={() => setShowDisableTsModal(false)} variant="ghost" fullWidth disabled={tsLoading}>Cancel</Button>
|
|
1498
|
-
</div>
|
|
1499
|
-
</div>
|
|
1500
|
-
</Modal>
|
|
1501
|
-
|
|
1502
|
-
{/* Confirm Modal */}
|
|
1503
|
-
<ConfirmModal
|
|
1504
|
-
isOpen={!!confirmState}
|
|
1505
|
-
onClose={() => setConfirmState(null)}
|
|
1506
|
-
onConfirm={confirmState?.onConfirm}
|
|
1507
|
-
title={confirmState?.title || "Confirm"}
|
|
1508
|
-
message={confirmState?.message}
|
|
1509
|
-
variant="danger"
|
|
1510
|
-
/>
|
|
1511
|
-
</div>
|
|
1512
|
-
);
|
|
1513
|
-
}
|
|
1514
|
-
|
|
1515
|
-
/** Reusable endpoint row component */
|
|
1516
|
-
function EndpointRow({ label, url, copyId, copied, onCopy, badge, actions }) {
|
|
1517
|
-
return (
|
|
1518
|
-
<div className="grid min-w-0 grid-cols-[minmax(0,1fr)_auto_auto] items-center gap-2.5 rounded-xl border border-border-subtle bg-bg/55 p-3 transition-colors hover:border-primary/20 sm:flex">
|
|
1519
|
-
<span className={`col-span-full inline-flex min-h-8 w-full shrink-0 items-center justify-center rounded-lg px-2.5 text-[11px] font-semibold uppercase tracking-[0.08em] sm:w-[96px] ${
|
|
1520
|
-
(badge === "CF" || badge === "TS") ? "bg-primary/10 text-primary" : "bg-surface-2 text-text-muted"
|
|
1521
|
-
}`}>{label}</span>
|
|
1522
|
-
<Input aria-label={`${label} endpoint URL`} value={url} readOnly className="w-full min-w-0 font-mono text-sm sm:flex-1" />
|
|
1523
|
-
<button
|
|
1524
|
-
onClick={() => onCopy(url, copyId)}
|
|
1525
|
-
className="flex size-11 shrink-0 items-center justify-center rounded-xl text-text-muted transition-colors hover:bg-black/5 hover:text-primary dark:hover:bg-white/5 sm:size-9 sm:rounded-lg"
|
|
1526
|
-
aria-label={`Copy ${label} endpoint URL`}
|
|
1527
|
-
>
|
|
1528
|
-
<span className="material-symbols-outlined text-[18px]">{copied === copyId ? "check" : "content_copy"}</span>
|
|
1529
|
-
</button>
|
|
1530
|
-
{actions}
|
|
1531
|
-
</div>
|
|
1532
|
-
);
|
|
1533
|
-
}
|
|
1534
|
-
|
|
1535
|
-
/** Reusable status alert */
|
|
1536
|
-
function StatusAlert({ status, className = "" }) {
|
|
1537
|
-
// Render URLs in message as clickable links
|
|
1538
|
-
const renderMessage = (msg) => {
|
|
1539
|
-
const parts = msg.split(/(https?:\/\/[^\s]+)/g);
|
|
1540
|
-
return parts.map((part, i) =>
|
|
1541
|
-
/^https?:\/\//.test(part)
|
|
1542
|
-
? <a key={i} href={part} target="_blank" rel="noreferrer" className="underline font-medium">{part}</a>
|
|
1543
|
-
: part
|
|
1544
|
-
);
|
|
1545
|
-
};
|
|
1546
|
-
|
|
1547
|
-
return (
|
|
1548
|
-
<div className={`p-2 rounded text-sm ${className} ${status.type === "success" ? "bg-green-500/10 text-green-600 dark:text-green-400" :
|
|
1549
|
-
status.type === "warning" ? "bg-yellow-500/10 text-yellow-600 dark:text-yellow-400" :
|
|
1550
|
-
status.type === "info" ? "bg-blue-500/10 text-blue-600 dark:text-blue-400" :
|
|
1551
|
-
"bg-red-500/10 text-red-600 dark:text-red-400"
|
|
1552
|
-
}`}>
|
|
1553
|
-
{renderMessage(status.message)}
|
|
1554
|
-
</div>
|
|
1555
|
-
);
|
|
1556
|
-
}
|
|
1557
|
-
|
|
1558
|
-
/** Inline tooltip, Claude Code CLI style */
|
|
1559
|
-
function Tooltip({ text }) {
|
|
1560
|
-
return (
|
|
1561
|
-
<span className="relative group inline-flex items-center">
|
|
1562
|
-
<span className="material-symbols-outlined text-[14px] text-text-muted cursor-help">help</span>
|
|
1563
|
-
<span className="pointer-events-none absolute right-0 top-full z-50 mt-2 w-[min(16rem,calc(100vw-2rem))] rounded bg-gray-900 px-2.5 py-1.5 text-xs text-white opacity-0 shadow-lg transition-opacity group-hover:opacity-100 dark:bg-gray-800">
|
|
1564
|
-
{text}
|
|
1565
|
-
</span>
|
|
1566
|
-
</span>
|
|
1567
|
-
);
|
|
1568
|
-
}
|
|
1569
|
-
|
|
1570
|
-
/** Security warning banner with optional action link */
|
|
1571
|
-
function SecurityWarning({ message, action }) {
|
|
1572
|
-
return (
|
|
1573
|
-
<div className="flex items-center gap-2 px-3 py-2 rounded-lg bg-amber-500/10 border border-amber-500/20 text-amber-700 dark:text-amber-400">
|
|
1574
|
-
<span className="material-symbols-outlined text-[16px] shrink-0 mt-0.5">warning</span>
|
|
1575
|
-
<p className="text-xs flex-1">{message}</p>
|
|
1576
|
-
{action && (
|
|
1577
|
-
<a
|
|
1578
|
-
href={action.href}
|
|
1579
|
-
className="inline-flex min-h-11 shrink-0 items-center text-xs font-medium underline hover:opacity-80 sm:min-h-0"
|
|
1580
|
-
onClick={action.href.startsWith("#") ? (e) => {
|
|
1581
|
-
e.preventDefault();
|
|
1582
|
-
document.getElementById(action.href.slice(1))?.scrollIntoView({ behavior: "smooth" });
|
|
1583
|
-
} : undefined}
|
|
1584
|
-
>
|
|
1585
|
-
{action.label}
|
|
1586
|
-
</a>
|
|
1587
|
-
)}
|
|
1588
|
-
</div>
|
|
1589
|
-
);
|
|
1590
|
-
}
|
|
1591
|
-
|
|
1592
|
-
APIPageClient.propTypes = {
|
|
1593
|
-
machineId: PropTypes.string.isRequired,
|
|
1594
|
-
};
|