zevairouter 1.0.51 → 1.0.53
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 +10 -0
- package/cli/app/.next-cli-build/BUILD_ID +1 -1
- package/cli/app/.next-cli-build/app-path-routes-manifest.json +26 -23
- package/cli/app/.next-cli-build/build-manifest.json +2 -2
- package/cli/app/.next-cli-build/routes-manifest.json +18 -0
- 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_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
- 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 +3 -3
- 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_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +2 -2
- 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_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_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
- 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_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
- 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_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_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +3 -3
- 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 +2 -2
- 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 +2 -2
- 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 +3 -3
- 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 +2 -2
- 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 +2 -2
- 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 +4 -4
- 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 +2 -2
- 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 +2 -2
- 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_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error/page.js +2 -2
- 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 +2 -2
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
- 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 +4 -4
- 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 +2 -2
- 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/logout/route.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/start/route.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/status/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
- 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/claude-settings/route.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/codex-gateway/accounts/route.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/copilot-settings/route.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-tools/route.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/deepseek-tui-settings/route.js +2 -2
- 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/hermes-settings/route.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/kilo-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
- 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/combos/[id]/route.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/context/[id]/route.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/route.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/headroom/extras/route.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/restart/route.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/status/route.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/health/route.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/keys/[id]/route.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/locale/route.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]/sse/route.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/elevenlabs/voices/route.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/minimax/voices/route.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/models/alias/route.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/custom/route.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/route.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/oauth/[provider]/[action]/route.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]/manual/[workerId]/route.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/latest/route.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/autoclaw/bulk-import/[jobId]/cancel/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/[jobId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/latest/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/route.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]/manual/[workerId]/route.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/latest/route.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-token/route.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-cn/bulk-import/[jobId]/cancel/route.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]/route.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/route.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/quota-cookie/route.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/cursor/auto-import/route.js +2 -2
- 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/gitlab/pat/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/latest/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.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/kiro/auto-import/route.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]/manual/[workerId]/route.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/latest/route.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/import/route.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-exchange/route.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]/manual/[workerId]/route.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/latest/route.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/pricing/route.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/route.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/providers/[id]/models/route.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]/test/route.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/bulk-delete/route.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/kilo/free-models/route.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/suggested-models/route.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/validate/route.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]/test/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
- 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/vercel-deploy/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
- 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/stats/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
- 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/proxy-test/route.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/route.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/tags/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/setup/route.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/setup/route.js.nft.json +1 -0
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/setup/route_client-reference-manifest.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/status/route.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/status/route.js.nft.json +1 -0
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/status/route_client-reference-manifest.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/unlock/route.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/unlock/route.js.nft.json +1 -0
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/unlock/route_client-reference-manifest.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/input/route.js +2 -2
- 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]/resize/route.js +2 -2
- 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]/route.js +2 -2
- 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]/stream/route.js +4 -4
- 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/route.js +2 -2
- 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/translator/console-logs/route.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/load/route.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/send/route.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/tunnel/disable/route.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/status/route.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-disable/route.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-install/route.js +2 -2
- 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/aggregate/route.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/history/route.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/request-details/route.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/stats/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
- 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/audio/speech/route.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/voices/route.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/embeddings/route.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/messages/count_tokens/route.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/models/[kind]/route.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/route.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/route.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/search/route.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/v1beta/models/[...path]/route.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/version/route.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/update/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/callback/page.js +2 -2
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +4 -4
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
- 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 +6 -6
- 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 +6 -6
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_tree.segment.rsc +2 -2
- 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 +6 -6
- 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 +6 -6
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
- 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 +6 -6
- 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 +6 -6
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/combos.rsc +6 -6
- 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 +6 -6
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/context.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/context.rsc +6 -6
- 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 +6 -6
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.rsc +6 -6
- 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 +6 -6
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
- 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 +6 -6
- 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 +6 -6
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.rsc +6 -6
- 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 +6 -6
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/playground.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/playground.rsc +6 -6
- 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 +6 -6
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/profile.rsc +6 -6
- 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 +6 -6
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
- 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 +6 -6
- 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 +6 -6
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers.rsc +6 -6
- 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 +6 -6
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
- 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 +6 -6
- 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 +6 -6
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +6 -6
- 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 +6 -6
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/quota.rsc +7 -7
- 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 +7 -7
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
- 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_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 +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
- 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 +6 -6
- 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 +6 -6
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/translator.rsc +6 -6
- 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 +6 -6
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/usage.rsc +6 -6
- 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 +6 -6
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard.rsc +6 -6
- 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 +6 -6
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/index.html +1 -1
- package/cli/app/.next-cli-build/server/app/index.rsc +4 -4
- 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 +4 -4
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/landing/page.js +2 -2
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
- 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_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 +5 -5
- package/cli/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +5 -5
- 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 +4 -4
- package/cli/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
- 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 +2 -2
- package/cli/app/.next-cli-build/server/app/page.js +2 -2
- 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 +26 -23
- package/cli/app/.next-cli-build/server/chunks/3407.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/412.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/4746.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/6896.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/7276.js +1 -1
- package/cli/app/.next-cli-build/server/functions-config-manifest.json +3 -0
- package/cli/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/middleware.js +3 -3
- 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/KZ2mKpiM-80Yd5c6nmIun/_buildManifest.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/{3702-926afc1c4cf26274.js → 3702-f8a85fe02d121762.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/5497-dd4fed7ea355e6ad.js +7 -0
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/terminal/page-72854e35a9d5f79d.js +4 -0
- package/cli/app/.next-cli-build/static/chunks/app/_global-error/page-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/login/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/logout/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/status/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-gateway/accounts/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/combos/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/context/[id]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/context/bulk/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/context/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/dashboard/chat/completions/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/start/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/status/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/health/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/init/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/keys/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/locale/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/models/alias/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/models/availability/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/models/custom/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/models/disabled/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/models/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/models/test/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/latest/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/cancel/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/manual/[workerId]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/latest/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/latest/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-token/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/quota-cookie/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/latest/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-token/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/quota-cookie/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/latest/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/latest/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/latest/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pricing/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/bulk-delete/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/client/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/validate/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/database/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/shutdown/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tags/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/terminal/auth/setup/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/terminal/auth/status/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/terminal/auth/unlock/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/input/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/resize/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/stream/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/load/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/save/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/send/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/translate/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/aggregate/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/chart/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/history/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/providers/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/stats/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/stream/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/search/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/version/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/version/update/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/page-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-681acef8f1a284f5.js +1 -0
- package/cli/app/.next-cli-build/static/css/25b75dd7b7f4eb0d.css +1 -0
- package/cli/app/cli/app/cli/app/cli/app/cli/app/cli/app/cli/app/cli/app/src/lib/terminal/ptyBridge.py +163 -0
- package/cli/app/cli/app/cli/app/cli/app/cli/app/cli/app/cli/app/src/lib/terminal/ptyBridge.py +163 -0
- package/cli/app/cli/app/cli/app/cli/app/cli/app/cli/app/src/lib/terminal/ptyBridge.py +163 -0
- package/cli/app/package.json +1 -1
- package/cli/package.json +1 -1
- package/package.json +1 -1
- package/src/app/(dashboard)/dashboard/terminal/TerminalPageClient.js +273 -27
- package/src/app/api/auth/logout/route.js +2 -0
- package/src/app/api/settings/route.js +9 -3
- package/src/app/api/terminal/auth/setup/route.js +72 -0
- package/src/app/api/terminal/auth/status/route.js +27 -0
- package/src/app/api/terminal/auth/unlock/route.js +69 -0
- package/src/dashboardGuard.js +34 -5
- package/src/lib/auth/terminalSession.js +62 -0
- package/src/shared/components/Header.js +1 -1
- package/cli/app/.next-cli-build/static/KQ64jZ4j5lNOTZstAI3zB/_buildManifest.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/5497-f4d3cd399f5d9718.js +0 -7
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/terminal/page-6a5df47510051a5f.js +0 -4
- package/cli/app/.next-cli-build/static/chunks/app/_global-error/page-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/login/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/logout/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/status/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-gateway/accounts/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/combos/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/context/[id]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/context/bulk/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/context/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/dashboard/chat/completions/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/start/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/status/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/health/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/init/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/keys/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/locale/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/models/alias/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/models/availability/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/models/custom/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/models/disabled/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/models/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/models/test/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/latest/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/cancel/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/manual/[workerId]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/latest/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/latest/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-token/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/quota-cookie/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/latest/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-token/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/quota-cookie/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/latest/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/latest/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/latest/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pricing/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/bulk-delete/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/client/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/validate/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/database/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/shutdown/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tags/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/input/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/resize/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/stream/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/load/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/save/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/send/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/translate/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/aggregate/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/chart/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/history/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/providers/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/stats/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/stream/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/search/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/version/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/version/update/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/page-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-36eea29d57f959c4.js +0 -1
- package/cli/app/.next-cli-build/static/css/3d806a84eaca2701.css +0 -1
- /package/cli/app/.next-cli-build/static/{KQ64jZ4j5lNOTZstAI3zB → KZ2mKpiM-80Yd5c6nmIun}/_ssgManifest.js +0 -0
|
@@ -13,17 +13,145 @@ export default function TerminalPageClient() {
|
|
|
13
13
|
const termRef = useRef(null);
|
|
14
14
|
const fitRef = useRef(null);
|
|
15
15
|
const sessionIdRef = useRef("");
|
|
16
|
-
const modeRef = useRef("");
|
|
16
|
+
const modeRef = useRef("");
|
|
17
17
|
const esRef = useRef(null);
|
|
18
18
|
const writeQueueRef = useRef([]);
|
|
19
19
|
const flushTimerRef = useRef(null);
|
|
20
20
|
const disposedRef = useRef(false);
|
|
21
|
-
const lineBufRef = useRef("");
|
|
21
|
+
const lineBufRef = useRef("");
|
|
22
|
+
|
|
23
|
+
// gate: checking | setup | unlock | open
|
|
24
|
+
const [gate, setGate] = useState("checking");
|
|
25
|
+
const [gateError, setGateError] = useState("");
|
|
26
|
+
const [gateBusy, setGateBusy] = useState(false);
|
|
27
|
+
const [password, setPassword] = useState("");
|
|
28
|
+
const [confirm, setConfirm] = useState("");
|
|
29
|
+
const [currentTerminalPassword, setCurrentTerminalPassword] = useState("");
|
|
22
30
|
|
|
23
31
|
const [status, setStatus] = useState("connecting");
|
|
24
32
|
const [statusText, setStatusText] = useState("Starting shell…");
|
|
25
33
|
const [meta, setMeta] = useState({ shell: "", mode: "" });
|
|
26
34
|
|
|
35
|
+
const checkGate = useCallback(async () => {
|
|
36
|
+
setGateError("");
|
|
37
|
+
try {
|
|
38
|
+
const res = await fetch("/api/terminal/auth/status", {
|
|
39
|
+
cache: "no-store",
|
|
40
|
+
credentials: "same-origin",
|
|
41
|
+
});
|
|
42
|
+
const data = await res.json().catch(() => ({}));
|
|
43
|
+
if (res.status === 403) {
|
|
44
|
+
setGateError(data?.error || "Access forbidden.");
|
|
45
|
+
setGate("unlock");
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
if (res.status === 401) {
|
|
49
|
+
setGateError("Log in to the dashboard first.");
|
|
50
|
+
setGate("unlock");
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
if (!data.configured) {
|
|
54
|
+
setGate("setup");
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
if (data.unlocked) {
|
|
58
|
+
setGate("open");
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
setGate("unlock");
|
|
62
|
+
} catch (error) {
|
|
63
|
+
setGateError(error?.message || "Failed to check terminal lock");
|
|
64
|
+
setGate("unlock");
|
|
65
|
+
}
|
|
66
|
+
}, []);
|
|
67
|
+
|
|
68
|
+
useEffect(() => {
|
|
69
|
+
checkGate();
|
|
70
|
+
}, [checkGate]);
|
|
71
|
+
|
|
72
|
+
const handleSetup = async (event) => {
|
|
73
|
+
event.preventDefault();
|
|
74
|
+
setGateBusy(true);
|
|
75
|
+
setGateError("");
|
|
76
|
+
try {
|
|
77
|
+
const res = await fetch("/api/terminal/auth/setup", {
|
|
78
|
+
method: "POST",
|
|
79
|
+
headers: { "Content-Type": "application/json" },
|
|
80
|
+
credentials: "same-origin",
|
|
81
|
+
body: JSON.stringify({
|
|
82
|
+
password,
|
|
83
|
+
confirm,
|
|
84
|
+
currentTerminalPassword: currentTerminalPassword || undefined,
|
|
85
|
+
}),
|
|
86
|
+
});
|
|
87
|
+
const data = await res.json().catch(() => ({}));
|
|
88
|
+
if (!res.ok) {
|
|
89
|
+
setGateError(data.error || "Setup failed");
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
setPassword("");
|
|
93
|
+
setConfirm("");
|
|
94
|
+
setCurrentTerminalPassword("");
|
|
95
|
+
setGate("open");
|
|
96
|
+
} catch (error) {
|
|
97
|
+
setGateError(error?.message || "Setup failed");
|
|
98
|
+
} finally {
|
|
99
|
+
setGateBusy(false);
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
const handleUnlock = async (event) => {
|
|
104
|
+
event.preventDefault();
|
|
105
|
+
setGateBusy(true);
|
|
106
|
+
setGateError("");
|
|
107
|
+
try {
|
|
108
|
+
const res = await fetch("/api/terminal/auth/unlock", {
|
|
109
|
+
method: "POST",
|
|
110
|
+
headers: { "Content-Type": "application/json" },
|
|
111
|
+
credentials: "same-origin",
|
|
112
|
+
body: JSON.stringify({ password }),
|
|
113
|
+
});
|
|
114
|
+
const data = await res.json().catch(() => ({}));
|
|
115
|
+
if (!res.ok) {
|
|
116
|
+
setGateError(data.error || "Unlock failed");
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
setPassword("");
|
|
120
|
+
setGate("open");
|
|
121
|
+
} catch (error) {
|
|
122
|
+
setGateError(error?.message || "Unlock failed");
|
|
123
|
+
} finally {
|
|
124
|
+
setGateBusy(false);
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
const handleLock = async () => {
|
|
129
|
+
try {
|
|
130
|
+
await fetch("/api/terminal/auth/unlock", {
|
|
131
|
+
method: "DELETE",
|
|
132
|
+
credentials: "same-origin",
|
|
133
|
+
});
|
|
134
|
+
} catch {
|
|
135
|
+
/* ignore */
|
|
136
|
+
}
|
|
137
|
+
// Kill live session if any
|
|
138
|
+
const sid = sessionIdRef.current;
|
|
139
|
+
sessionIdRef.current = "";
|
|
140
|
+
if (sid) {
|
|
141
|
+
fetch(`/api/terminal/session/${sid}`, {
|
|
142
|
+
method: "DELETE",
|
|
143
|
+
credentials: "same-origin",
|
|
144
|
+
keepalive: true,
|
|
145
|
+
}).catch(() => {});
|
|
146
|
+
}
|
|
147
|
+
if (esRef.current) {
|
|
148
|
+
try { esRef.current.close(); } catch { /* ignore */ }
|
|
149
|
+
esRef.current = null;
|
|
150
|
+
}
|
|
151
|
+
setPassword("");
|
|
152
|
+
setGate("unlock");
|
|
153
|
+
};
|
|
154
|
+
|
|
27
155
|
const flushInput = useCallback(async () => {
|
|
28
156
|
const sessionId = sessionIdRef.current;
|
|
29
157
|
if (!sessionId || writeQueueRef.current.length === 0) return;
|
|
@@ -39,8 +167,10 @@ export default function TerminalPageClient() {
|
|
|
39
167
|
credentials: "same-origin",
|
|
40
168
|
});
|
|
41
169
|
if (!res.ok && termRef.current) {
|
|
42
|
-
|
|
43
|
-
|
|
170
|
+
if (res.status === 423) {
|
|
171
|
+
termRef.current.write("\r\n\x1b[31m[terminal locked]\x1b[0m\r\n");
|
|
172
|
+
setGate("unlock");
|
|
173
|
+
} else if (res.status === 403 || res.status === 401) {
|
|
44
174
|
termRef.current.write(`\r\n\x1b[31m[input blocked: ${res.status}]\x1b[0m\r\n`);
|
|
45
175
|
}
|
|
46
176
|
}
|
|
@@ -62,10 +192,6 @@ export default function TerminalPageClient() {
|
|
|
62
192
|
[flushInput]
|
|
63
193
|
);
|
|
64
194
|
|
|
65
|
-
/**
|
|
66
|
-
* Pipe mode has no remote echo — edit a local line and only send on Enter.
|
|
67
|
-
* PTY modes stream every keystroke and rely on shell echo.
|
|
68
|
-
*/
|
|
69
195
|
const handleTermData = useCallback(
|
|
70
196
|
(data) => {
|
|
71
197
|
const term = termRef.current;
|
|
@@ -78,7 +204,6 @@ export default function TerminalPageClient() {
|
|
|
78
204
|
return;
|
|
79
205
|
}
|
|
80
206
|
|
|
81
|
-
// Ctrl+C
|
|
82
207
|
if (data === "\u0003") {
|
|
83
208
|
lineBufRef.current = "";
|
|
84
209
|
term.write("^C\r\n");
|
|
@@ -86,7 +211,6 @@ export default function TerminalPageClient() {
|
|
|
86
211
|
return;
|
|
87
212
|
}
|
|
88
213
|
|
|
89
|
-
// Enter
|
|
90
214
|
if (data === "\r" || data === "\n" || data === "\r\n") {
|
|
91
215
|
const line = lineBufRef.current;
|
|
92
216
|
lineBufRef.current = "";
|
|
@@ -95,7 +219,6 @@ export default function TerminalPageClient() {
|
|
|
95
219
|
return;
|
|
96
220
|
}
|
|
97
221
|
|
|
98
|
-
// Backspace / DEL
|
|
99
222
|
if (data === "\u007f" || data === "\b") {
|
|
100
223
|
if (lineBufRef.current.length > 0) {
|
|
101
224
|
lineBufRef.current = lineBufRef.current.slice(0, -1);
|
|
@@ -104,13 +227,12 @@ export default function TerminalPageClient() {
|
|
|
104
227
|
return;
|
|
105
228
|
}
|
|
106
229
|
|
|
107
|
-
// Ignore other control / escape sequences in line mode
|
|
108
230
|
if (data.charCodeAt(0) < 32 || data.startsWith("\x1b")) {
|
|
109
231
|
return;
|
|
110
232
|
}
|
|
111
233
|
|
|
112
234
|
lineBufRef.current += data;
|
|
113
|
-
term.write(data);
|
|
235
|
+
term.write(data);
|
|
114
236
|
},
|
|
115
237
|
[queueInput]
|
|
116
238
|
);
|
|
@@ -225,9 +347,8 @@ export default function TerminalPageClient() {
|
|
|
225
347
|
|
|
226
348
|
if (res.status === 403) {
|
|
227
349
|
setStatus("forbidden");
|
|
228
|
-
setStatusText("
|
|
229
|
-
term.writeln("\x1b[33mTerminal
|
|
230
|
-
term.writeln("Open the dashboard on this machine (http://127.0.0.1:1997) to use the shell.");
|
|
350
|
+
setStatusText("Forbidden");
|
|
351
|
+
term.writeln("\x1b[33mTerminal access forbidden.\x1b[0m");
|
|
231
352
|
return;
|
|
232
353
|
}
|
|
233
354
|
|
|
@@ -238,6 +359,13 @@ export default function TerminalPageClient() {
|
|
|
238
359
|
return;
|
|
239
360
|
}
|
|
240
361
|
|
|
362
|
+
if (res.status === 423) {
|
|
363
|
+
setStatus("error");
|
|
364
|
+
setStatusText("Locked");
|
|
365
|
+
setGate("unlock");
|
|
366
|
+
return;
|
|
367
|
+
}
|
|
368
|
+
|
|
241
369
|
const data = await res.json().catch(() => ({}));
|
|
242
370
|
if (!res.ok || !data?.session?.id) {
|
|
243
371
|
setStatus("error");
|
|
@@ -280,7 +408,10 @@ export default function TerminalPageClient() {
|
|
|
280
408
|
await startSession(term, fit);
|
|
281
409
|
}, [startSession]);
|
|
282
410
|
|
|
411
|
+
// Only mount xterm after unlock
|
|
283
412
|
useEffect(() => {
|
|
413
|
+
if (gate !== "open") return undefined;
|
|
414
|
+
|
|
284
415
|
disposedRef.current = false;
|
|
285
416
|
const host = hostRef.current;
|
|
286
417
|
if (!host) return undefined;
|
|
@@ -325,15 +456,12 @@ export default function TerminalPageClient() {
|
|
|
325
456
|
term.loadAddon(fit);
|
|
326
457
|
term.loadAddon(links);
|
|
327
458
|
term.open(host);
|
|
328
|
-
// Make the terminal surface focusable / clickable
|
|
329
459
|
try {
|
|
330
460
|
host.tabIndex = 0;
|
|
331
461
|
const ta = host.querySelector("textarea");
|
|
332
462
|
if (ta) {
|
|
333
463
|
ta.tabIndex = 0;
|
|
334
464
|
ta.setAttribute("autocomplete", "off");
|
|
335
|
-
ta.setAttribute("autocorrect", "off");
|
|
336
|
-
ta.setAttribute("autocapitalize", "off");
|
|
337
465
|
ta.setAttribute("spellcheck", "false");
|
|
338
466
|
}
|
|
339
467
|
} catch {
|
|
@@ -369,7 +497,6 @@ export default function TerminalPageClient() {
|
|
|
369
497
|
ro?.observe(host);
|
|
370
498
|
window.addEventListener("resize", onResize);
|
|
371
499
|
|
|
372
|
-
// Defer focus — layout may still be settling
|
|
373
500
|
requestAnimationFrame(() => {
|
|
374
501
|
try {
|
|
375
502
|
fit.fit();
|
|
@@ -422,7 +549,7 @@ export default function TerminalPageClient() {
|
|
|
422
549
|
termRef.current = null;
|
|
423
550
|
fitRef.current = null;
|
|
424
551
|
};
|
|
425
|
-
}, [handleTermData, sendResize, startSession, focusTerm]);
|
|
552
|
+
}, [gate, handleTermData, sendResize, startSession, focusTerm]);
|
|
426
553
|
|
|
427
554
|
const statusColor =
|
|
428
555
|
status === "ready"
|
|
@@ -433,6 +560,121 @@ export default function TerminalPageClient() {
|
|
|
433
560
|
? "bg-amber-500"
|
|
434
561
|
: "bg-red-500";
|
|
435
562
|
|
|
563
|
+
if (gate === "checking") {
|
|
564
|
+
return (
|
|
565
|
+
<div className="flex h-full min-h-0 w-full items-center justify-center bg-[#0d0d0d] text-sm text-white/50">
|
|
566
|
+
Checking terminal lock…
|
|
567
|
+
</div>
|
|
568
|
+
);
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
if (gate === "setup" || gate === "unlock") {
|
|
572
|
+
const isSetup = gate === "setup";
|
|
573
|
+
return (
|
|
574
|
+
<div className="flex h-full min-h-0 w-full flex-col items-center justify-center bg-[#0d0d0d] px-4">
|
|
575
|
+
<div className="w-full max-w-md rounded-2xl border border-white/10 bg-white/[0.03] p-6 shadow-xl">
|
|
576
|
+
<div className="mb-4 flex items-center gap-3">
|
|
577
|
+
<div className="flex size-10 items-center justify-center rounded-xl bg-[color:var(--brand,#E56A4A)]/15 text-[color:var(--brand,#E56A4A)]">
|
|
578
|
+
<span className="material-symbols-outlined text-[22px]">
|
|
579
|
+
{isSetup ? "key" : "lock"}
|
|
580
|
+
</span>
|
|
581
|
+
</div>
|
|
582
|
+
<div>
|
|
583
|
+
<h1 className="text-base font-semibold text-white/95">
|
|
584
|
+
{isSetup ? "Set terminal password" : "Unlock terminal"}
|
|
585
|
+
</h1>
|
|
586
|
+
<p className="text-xs text-white/45">
|
|
587
|
+
{isSetup
|
|
588
|
+
? "Separate from dashboard password — double protection for the host shell."
|
|
589
|
+
: "Dashboard login is not enough. Enter your terminal password."}
|
|
590
|
+
</p>
|
|
591
|
+
</div>
|
|
592
|
+
</div>
|
|
593
|
+
|
|
594
|
+
<form onSubmit={isSetup ? handleSetup : handleUnlock} className="space-y-3">
|
|
595
|
+
{isSetup && currentTerminalPassword !== undefined && (
|
|
596
|
+
// current only needed when rotating — hide on first setup (no configured pw)
|
|
597
|
+
null
|
|
598
|
+
)}
|
|
599
|
+
{isSetup ? (
|
|
600
|
+
<>
|
|
601
|
+
<label className="block space-y-1">
|
|
602
|
+
<span className="text-[11px] font-medium uppercase tracking-wide text-white/40">
|
|
603
|
+
New terminal password
|
|
604
|
+
</span>
|
|
605
|
+
<input
|
|
606
|
+
type="password"
|
|
607
|
+
autoFocus
|
|
608
|
+
autoComplete="new-password"
|
|
609
|
+
value={password}
|
|
610
|
+
onChange={(e) => setPassword(e.target.value)}
|
|
611
|
+
className="w-full rounded-lg border border-white/10 bg-black/40 px-3 py-2.5 text-sm text-white outline-none focus:border-[color:var(--brand,#E56A4A)]/60"
|
|
612
|
+
placeholder="Min 6 characters"
|
|
613
|
+
required
|
|
614
|
+
minLength={6}
|
|
615
|
+
/>
|
|
616
|
+
</label>
|
|
617
|
+
<label className="block space-y-1">
|
|
618
|
+
<span className="text-[11px] font-medium uppercase tracking-wide text-white/40">
|
|
619
|
+
Confirm
|
|
620
|
+
</span>
|
|
621
|
+
<input
|
|
622
|
+
type="password"
|
|
623
|
+
autoComplete="new-password"
|
|
624
|
+
value={confirm}
|
|
625
|
+
onChange={(e) => setConfirm(e.target.value)}
|
|
626
|
+
className="w-full rounded-lg border border-white/10 bg-black/40 px-3 py-2.5 text-sm text-white outline-none focus:border-[color:var(--brand,#E56A4A)]/60"
|
|
627
|
+
placeholder="Repeat password"
|
|
628
|
+
required
|
|
629
|
+
minLength={6}
|
|
630
|
+
/>
|
|
631
|
+
</label>
|
|
632
|
+
<p className="text-[11px] leading-relaxed text-white/35">
|
|
633
|
+
Must <strong className="text-white/55">not</strong> match the dashboard password.
|
|
634
|
+
Cookie unlock lasts ~4 hours on this browser.
|
|
635
|
+
</p>
|
|
636
|
+
</>
|
|
637
|
+
) : (
|
|
638
|
+
<label className="block space-y-1">
|
|
639
|
+
<span className="text-[11px] font-medium uppercase tracking-wide text-white/40">
|
|
640
|
+
Terminal password
|
|
641
|
+
</span>
|
|
642
|
+
<input
|
|
643
|
+
type="password"
|
|
644
|
+
autoFocus
|
|
645
|
+
autoComplete="current-password"
|
|
646
|
+
value={password}
|
|
647
|
+
onChange={(e) => setPassword(e.target.value)}
|
|
648
|
+
className="w-full rounded-lg border border-white/10 bg-black/40 px-3 py-2.5 text-sm text-white outline-none focus:border-[color:var(--brand,#E56A4A)]/60"
|
|
649
|
+
placeholder="••••••••"
|
|
650
|
+
required
|
|
651
|
+
/>
|
|
652
|
+
</label>
|
|
653
|
+
)}
|
|
654
|
+
|
|
655
|
+
{gateError ? (
|
|
656
|
+
<p className="rounded-lg border border-red-500/30 bg-red-500/10 px-3 py-2 text-xs text-red-300">
|
|
657
|
+
{gateError}
|
|
658
|
+
</p>
|
|
659
|
+
) : null}
|
|
660
|
+
|
|
661
|
+
<button
|
|
662
|
+
type="submit"
|
|
663
|
+
disabled={gateBusy}
|
|
664
|
+
className="w-full rounded-lg bg-[color:var(--brand,#E56A4A)] px-3 py-2.5 text-sm font-semibold text-white transition hover:brightness-110 disabled:opacity-50"
|
|
665
|
+
>
|
|
666
|
+
{gateBusy ? "Please wait…" : isSetup ? "Save & open terminal" : "Unlock"}
|
|
667
|
+
</button>
|
|
668
|
+
</form>
|
|
669
|
+
|
|
670
|
+
<p className="mt-4 text-center text-[11px] text-white/30">
|
|
671
|
+
Protected by dashboard login + terminal password
|
|
672
|
+
</p>
|
|
673
|
+
</div>
|
|
674
|
+
</div>
|
|
675
|
+
);
|
|
676
|
+
}
|
|
677
|
+
|
|
436
678
|
return (
|
|
437
679
|
<div className="flex h-full min-h-0 w-full flex-col bg-[#0d0d0d]">
|
|
438
680
|
<div className="flex shrink-0 items-center justify-between gap-3 border-b border-white/10 px-4 py-2.5">
|
|
@@ -448,6 +690,14 @@ export default function TerminalPageClient() {
|
|
|
448
690
|
</span>
|
|
449
691
|
</div>
|
|
450
692
|
<div className="flex items-center gap-2">
|
|
693
|
+
<button
|
|
694
|
+
type="button"
|
|
695
|
+
onClick={handleLock}
|
|
696
|
+
className="rounded-lg border border-white/10 bg-white/5 px-3 py-1.5 text-xs font-medium text-white/70 transition hover:border-white/20 hover:text-white"
|
|
697
|
+
title="Lock terminal (require password again)"
|
|
698
|
+
>
|
|
699
|
+
Lock
|
|
700
|
+
</button>
|
|
451
701
|
<button
|
|
452
702
|
type="button"
|
|
453
703
|
onClick={handleRestart}
|
|
@@ -459,15 +709,11 @@ export default function TerminalPageClient() {
|
|
|
459
709
|
</div>
|
|
460
710
|
|
|
461
711
|
<div className="relative min-h-0 flex-1" onMouseDown={focusTerm}>
|
|
462
|
-
<div
|
|
463
|
-
ref={hostRef}
|
|
464
|
-
className="absolute inset-0 px-2 py-2 outline-none"
|
|
465
|
-
// Click to focus the xterm textarea so keystrokes reach onData
|
|
466
|
-
/>
|
|
712
|
+
<div ref={hostRef} className="absolute inset-0 px-2 py-2 outline-none" />
|
|
467
713
|
</div>
|
|
468
714
|
|
|
469
715
|
<div className="shrink-0 border-t border-white/10 px-4 py-1.5 text-[11px] text-white/35">
|
|
470
|
-
|
|
716
|
+
Dashboard login + terminal password · click the black area then type · idle sessions close after 30m
|
|
471
717
|
</div>
|
|
472
718
|
</div>
|
|
473
719
|
);
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { NextResponse } from "next/server";
|
|
2
2
|
import { cookies } from "next/headers";
|
|
3
3
|
import { clearDashboardAuthCookie } from "@/lib/auth/dashboardSession";
|
|
4
|
+
import { clearTerminalUnlockCookie } from "@/lib/auth/terminalSession";
|
|
4
5
|
|
|
5
6
|
export async function POST() {
|
|
6
7
|
const cookieStore = await cookies();
|
|
7
8
|
clearDashboardAuthCookie(cookieStore);
|
|
9
|
+
clearTerminalUnlockCookie(cookieStore);
|
|
8
10
|
cookieStore.delete("oidc_state");
|
|
9
11
|
cookieStore.delete("oidc_nonce");
|
|
10
12
|
cookieStore.delete("oidc_code_verifier");
|
|
@@ -14,7 +14,7 @@ const SETTINGS_RESPONSE_HEADERS = {
|
|
|
14
14
|
export async function GET() {
|
|
15
15
|
try {
|
|
16
16
|
const settings = await getSettings();
|
|
17
|
-
const { password, oidcClientSecret, fiveSimApiKey, ...safeSettings } = settings;
|
|
17
|
+
const { password, oidcClientSecret, fiveSimApiKey, terminalPassword, ...safeSettings } = settings;
|
|
18
18
|
safeSettings.oidcConfigured = !!(safeSettings.oidcIssuerUrl && safeSettings.oidcClientId && oidcClientSecret);
|
|
19
19
|
safeSettings.fiveSimApiKeyConfigured = !!fiveSimApiKey;
|
|
20
20
|
|
|
@@ -25,7 +25,8 @@ export async function GET() {
|
|
|
25
25
|
...safeSettings,
|
|
26
26
|
enableRequestLogs,
|
|
27
27
|
enableTranslator,
|
|
28
|
-
hasPassword: !!password
|
|
28
|
+
hasPassword: !!password,
|
|
29
|
+
hasTerminalPassword: !!terminalPassword,
|
|
29
30
|
}, { headers: SETTINGS_RESPONSE_HEADERS });
|
|
30
31
|
} catch (error) {
|
|
31
32
|
console.log("Error getting settings:", error);
|
|
@@ -78,6 +79,10 @@ export async function PATCH(request) {
|
|
|
78
79
|
}
|
|
79
80
|
}
|
|
80
81
|
|
|
82
|
+
// Never accept raw terminal password via generic PATCH — use /api/terminal/auth/setup
|
|
83
|
+
delete body.terminalPassword;
|
|
84
|
+
delete body.hasTerminalPassword;
|
|
85
|
+
|
|
81
86
|
const settings = await updateSettings(body);
|
|
82
87
|
|
|
83
88
|
// Apply outbound proxy settings immediately (no restart required)
|
|
@@ -98,9 +103,10 @@ export async function PATCH(request) {
|
|
|
98
103
|
resetComboRotation();
|
|
99
104
|
}
|
|
100
105
|
|
|
101
|
-
const { password, oidcClientSecret, fiveSimApiKey, ...safeSettings } = settings;
|
|
106
|
+
const { password, oidcClientSecret, fiveSimApiKey, terminalPassword, ...safeSettings } = settings;
|
|
102
107
|
safeSettings.oidcConfigured = !!(safeSettings.oidcIssuerUrl && safeSettings.oidcClientId && oidcClientSecret);
|
|
103
108
|
safeSettings.fiveSimApiKeyConfigured = !!fiveSimApiKey;
|
|
109
|
+
safeSettings.hasTerminalPassword = !!terminalPassword;
|
|
104
110
|
return NextResponse.json(safeSettings, { headers: SETTINGS_RESPONSE_HEADERS });
|
|
105
111
|
} catch (error) {
|
|
106
112
|
console.log("Error updating settings:", error);
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { NextResponse } from "next/server";
|
|
2
|
+
import bcrypt from "bcryptjs";
|
|
3
|
+
import { cookies } from "next/headers";
|
|
4
|
+
import { getSettings, updateSettings } from "@/lib/localDb";
|
|
5
|
+
import { setTerminalUnlockCookie } from "@/lib/auth/terminalSession";
|
|
6
|
+
|
|
7
|
+
export const dynamic = "force-dynamic";
|
|
8
|
+
export const runtime = "nodejs";
|
|
9
|
+
|
|
10
|
+
async function matchesDashboardPassword(plain, settings) {
|
|
11
|
+
if (!plain) return false;
|
|
12
|
+
if (settings.password) {
|
|
13
|
+
try {
|
|
14
|
+
return await bcrypt.compare(plain, settings.password);
|
|
15
|
+
} catch {
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
const initial = process.env.INITIAL_PASSWORD || "123456";
|
|
20
|
+
return plain === initial;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* First-time (or rotate) terminal password.
|
|
25
|
+
* Body: { password, confirm, currentTerminalPassword? }
|
|
26
|
+
* Password MUST differ from dashboard password.
|
|
27
|
+
*/
|
|
28
|
+
export async function POST(request) {
|
|
29
|
+
try {
|
|
30
|
+
const body = await request.json().catch(() => ({}));
|
|
31
|
+
const password = String(body?.password || "");
|
|
32
|
+
const confirm = String(body?.confirm || "");
|
|
33
|
+
const currentTerminalPassword = String(body?.currentTerminalPassword || "");
|
|
34
|
+
|
|
35
|
+
if (password.length < 6) {
|
|
36
|
+
return NextResponse.json({ error: "Terminal password must be at least 6 characters." }, { status: 400 });
|
|
37
|
+
}
|
|
38
|
+
if (password !== confirm) {
|
|
39
|
+
return NextResponse.json({ error: "Passwords do not match." }, { status: 400 });
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
const settings = await getSettings();
|
|
43
|
+
|
|
44
|
+
if (await matchesDashboardPassword(password, settings)) {
|
|
45
|
+
return NextResponse.json(
|
|
46
|
+
{ error: "Terminal password must be different from the dashboard password." },
|
|
47
|
+
{ status: 400 }
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Rotating: require current terminal password
|
|
52
|
+
if (settings.terminalPassword) {
|
|
53
|
+
if (!currentTerminalPassword) {
|
|
54
|
+
return NextResponse.json({ error: "Current terminal password required." }, { status: 400 });
|
|
55
|
+
}
|
|
56
|
+
const ok = await bcrypt.compare(currentTerminalPassword, settings.terminalPassword);
|
|
57
|
+
if (!ok) {
|
|
58
|
+
return NextResponse.json({ error: "Current terminal password is incorrect." }, { status: 401 });
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
const hash = await bcrypt.hash(password, 10);
|
|
63
|
+
await updateSettings({ terminalPassword: hash });
|
|
64
|
+
|
|
65
|
+
const cookieStore = await cookies();
|
|
66
|
+
await setTerminalUnlockCookie(cookieStore, request);
|
|
67
|
+
|
|
68
|
+
return NextResponse.json({ ok: true, configured: true, unlocked: true });
|
|
69
|
+
} catch (error) {
|
|
70
|
+
return NextResponse.json({ error: error.message || "setup failed" }, { status: 500 });
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { NextResponse } from "next/server";
|
|
2
|
+
import { cookies } from "next/headers";
|
|
3
|
+
import { getSettings } from "@/lib/localDb";
|
|
4
|
+
import { verifyTerminalUnlockToken } from "@/lib/auth/terminalSession";
|
|
5
|
+
|
|
6
|
+
export const dynamic = "force-dynamic";
|
|
7
|
+
export const runtime = "nodejs";
|
|
8
|
+
|
|
9
|
+
export async function GET() {
|
|
10
|
+
try {
|
|
11
|
+
const settings = await getSettings();
|
|
12
|
+
const configured = !!settings.terminalPassword;
|
|
13
|
+
const cookieStore = await cookies();
|
|
14
|
+
const unlocked = configured
|
|
15
|
+
? await verifyTerminalUnlockToken(cookieStore.get("terminal_token")?.value)
|
|
16
|
+
: false;
|
|
17
|
+
|
|
18
|
+
return NextResponse.json({
|
|
19
|
+
configured,
|
|
20
|
+
unlocked,
|
|
21
|
+
// Always required once feature is present — setup first, then unlock
|
|
22
|
+
required: true,
|
|
23
|
+
});
|
|
24
|
+
} catch (error) {
|
|
25
|
+
return NextResponse.json({ error: error.message || "status failed" }, { status: 500 });
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { NextResponse } from "next/server";
|
|
2
|
+
import bcrypt from "bcryptjs";
|
|
3
|
+
import { cookies } from "next/headers";
|
|
4
|
+
import { getSettings } from "@/lib/localDb";
|
|
5
|
+
import {
|
|
6
|
+
setTerminalUnlockCookie,
|
|
7
|
+
clearTerminalUnlockCookie,
|
|
8
|
+
} from "@/lib/auth/terminalSession";
|
|
9
|
+
import { checkLock, recordFail, recordSuccess, getClientIp } from "@/lib/auth/loginLimiter";
|
|
10
|
+
|
|
11
|
+
export const dynamic = "force-dynamic";
|
|
12
|
+
export const runtime = "nodejs";
|
|
13
|
+
|
|
14
|
+
export async function POST(request) {
|
|
15
|
+
try {
|
|
16
|
+
const ip = getClientIp(request);
|
|
17
|
+
const lock = checkLock(ip);
|
|
18
|
+
if (lock.locked) {
|
|
19
|
+
return NextResponse.json(
|
|
20
|
+
{ error: `Too many failed attempts. Try again in ${lock.retryAfter}s.`, retryAfter: lock.retryAfter },
|
|
21
|
+
{ status: 429, headers: { "Retry-After": String(lock.retryAfter) } }
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
const body = await request.json().catch(() => ({}));
|
|
26
|
+
const password = String(body?.password || "");
|
|
27
|
+
const settings = await getSettings();
|
|
28
|
+
|
|
29
|
+
if (!settings.terminalPassword) {
|
|
30
|
+
return NextResponse.json(
|
|
31
|
+
{ error: "Terminal password not configured. Set one first.", code: "NOT_CONFIGURED" },
|
|
32
|
+
{ status: 400 }
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
const ok = await bcrypt.compare(password, settings.terminalPassword);
|
|
37
|
+
if (!ok) {
|
|
38
|
+
const { remainingBeforeLock } = recordFail(ip);
|
|
39
|
+
const postLock = checkLock(ip);
|
|
40
|
+
if (postLock.locked) {
|
|
41
|
+
return NextResponse.json(
|
|
42
|
+
{ error: `Too many failed attempts. Try again in ${postLock.retryAfter}s.`, retryAfter: postLock.retryAfter },
|
|
43
|
+
{ status: 429, headers: { "Retry-After": String(postLock.retryAfter) } }
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
return NextResponse.json(
|
|
47
|
+
{ error: `Invalid terminal password. ${remainingBeforeLock} attempt(s) left.`, remainingBeforeLock },
|
|
48
|
+
{ status: 401 }
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
recordSuccess(ip);
|
|
53
|
+
const cookieStore = await cookies();
|
|
54
|
+
await setTerminalUnlockCookie(cookieStore, request);
|
|
55
|
+
return NextResponse.json({ ok: true, unlocked: true });
|
|
56
|
+
} catch (error) {
|
|
57
|
+
return NextResponse.json({ error: error.message || "unlock failed" }, { status: 500 });
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export async function DELETE() {
|
|
62
|
+
try {
|
|
63
|
+
const cookieStore = await cookies();
|
|
64
|
+
clearTerminalUnlockCookie(cookieStore);
|
|
65
|
+
return NextResponse.json({ ok: true, unlocked: false });
|
|
66
|
+
} catch (error) {
|
|
67
|
+
return NextResponse.json({ error: error.message || "lock failed" }, { status: 500 });
|
|
68
|
+
}
|
|
69
|
+
}
|