9router 0.3.87 → 0.3.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/.next/BUILD_ID +1 -1
- package/app/.next/app-path-routes-manifest.json +9 -8
- package/app/.next/build-manifest.json +2 -2
- package/app/.next/routes-manifest.json +6 -0
- package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/combos/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/profile/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js +3 -3
- package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/quota/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/translator/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/usage/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/_global-error/page.js +3 -3
- package/app/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/_global-error.html +1 -1
- package/app/.next/server/app/_global-error.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/_not-found/page.js +2 -2
- package/app/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/_not-found.html +1 -1
- package/app/.next/server/app/_not-found.rsc +3 -3
- package/app/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/app/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/_not-found.segments/_index.segment.rsc +3 -3
- package/app/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/app/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/app/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/api/auth/login/route.js +1 -1
- package/app/.next/server/app/api/auth/logout/route.js +1 -1
- package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js +1 -2
- package/app/.next/server/app/api/cli-tools/claude-settings/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/codex-settings/route.js +3 -3
- package/app/.next/server/app/api/cli-tools/copilot-settings/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/droid-settings/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/opencode-settings/route.js +2 -2
- package/app/.next/server/app/api/cloud/auth/route.js +1 -1
- package/app/.next/server/app/api/cloud/credentials/update/route.js +1 -1
- package/app/.next/server/app/api/cloud/model/resolve/route.js +1 -1
- package/app/.next/server/app/api/cloud/models/alias/route.js +1 -1
- package/app/.next/server/app/api/combos/[id]/route.js +1 -1
- package/app/.next/server/app/api/combos/route.js +1 -1
- package/app/.next/server/app/api/health/route.js +1 -1
- package/app/.next/server/app/api/init/route.js +1 -1
- package/app/.next/server/app/api/keys/[id]/route.js +1 -1
- package/app/.next/server/app/api/keys/route.js +1 -1
- package/app/.next/server/app/api/locale/route.js +1 -1
- package/app/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
- package/app/.next/server/app/api/media-providers/tts/voices/route.js +1 -1
- package/app/.next/server/app/api/models/alias/route.js +1 -1
- package/app/.next/server/app/api/models/availability/route.js +1 -1
- package/app/.next/server/app/api/models/route.js +1 -1
- package/app/.next/server/app/api/models/test/route.js +1 -1
- package/app/.next/server/app/api/oauth/[provider]/[action]/route.js +1 -1
- package/app/.next/server/app/api/oauth/cursor/auto-import/route.js +2 -2
- package/app/.next/server/app/api/oauth/cursor/import/route.js +1 -1
- package/app/.next/server/app/api/oauth/gitlab/pat/route.js +1 -1
- package/app/.next/server/app/api/oauth/iflow/cookie/route.js +1 -1
- package/app/.next/server/app/api/oauth/kiro/auto-import/route.js +1 -1
- package/app/.next/server/app/api/oauth/kiro/import/route.js +1 -1
- package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
- package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
- package/app/.next/server/app/api/pricing/route.js +1 -1
- package/app/.next/server/app/api/provider-nodes/[id]/route.js +1 -1
- package/app/.next/server/app/api/provider-nodes/route.js +1 -1
- package/app/.next/server/app/api/provider-nodes/validate/route.js +1 -1
- package/app/.next/server/app/api/providers/[id]/models/route.js +1 -1
- package/app/.next/server/app/api/providers/[id]/route.js +1 -1
- package/app/.next/server/app/api/providers/[id]/test/route.js +1 -1
- package/app/.next/server/app/api/providers/[id]/test-models/route.js +1 -1
- package/app/.next/server/app/api/providers/client/route.js +1 -1
- package/app/.next/server/app/api/providers/kilo/free-models/route.js +1 -1
- package/app/.next/server/app/api/providers/route.js +1 -1
- package/app/.next/server/app/api/providers/test-batch/route.js +1 -1
- package/app/.next/server/app/api/providers/validate/route.js +1 -1
- package/app/.next/server/app/api/proxy-pools/[id]/route.js +1 -1
- package/app/.next/server/app/api/proxy-pools/[id]/test/route.js +1 -1
- package/app/.next/server/app/api/proxy-pools/route.js +1 -1
- package/app/.next/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
- package/app/.next/server/app/api/settings/database/route.js +1 -1
- package/app/.next/server/app/api/settings/proxy-test/route.js +1 -1
- package/app/.next/server/app/api/settings/require-login/route.js +1 -1
- package/app/.next/server/app/api/settings/route.js +1 -1
- package/app/.next/server/app/api/shutdown/route.js +1 -1
- package/app/.next/server/app/api/tags/route.js +1 -1
- package/app/.next/server/app/api/translator/console-logs/route.js +1 -1
- package/app/.next/server/app/api/translator/console-logs/stream/route.js +2 -2
- package/app/.next/server/app/api/translator/load/route.js +1 -1
- package/app/.next/server/app/api/translator/save/route.js +1 -1
- package/app/.next/server/app/api/translator/send/route.js +1 -1
- package/app/.next/server/app/api/translator/translate/route.js +1 -1
- package/app/.next/server/app/api/tunnel/disable/route.js +1 -1
- package/app/.next/server/app/api/tunnel/enable/route.js +1 -1
- package/app/.next/server/app/api/tunnel/status/route.js +1 -1
- package/app/.next/server/app/api/tunnel/tailscale-check/route.js +2 -2
- package/app/.next/server/app/api/tunnel/tailscale-disable/route.js +1 -1
- package/app/.next/server/app/api/tunnel/tailscale-enable/route.js +1 -1
- package/app/.next/server/app/api/tunnel/tailscale-install/route.js +3 -3
- package/app/.next/server/app/api/tunnel/tailscale-login/route.js +2 -2
- package/app/.next/server/app/api/tunnel/tailscale-start-daemon/route.js +1 -1
- package/app/.next/server/app/api/usage/[connectionId]/route.js +1 -1
- package/app/.next/server/app/api/usage/chart/route.js +1 -1
- package/app/.next/server/app/api/usage/history/route.js +1 -1
- package/app/.next/server/app/api/usage/providers/route.js +1 -1
- package/app/.next/server/app/api/usage/request-details/route.js +1 -1
- package/app/.next/server/app/api/usage/request-logs/route.js +1 -1
- package/app/.next/server/app/api/usage/stats/route.js +1 -1
- package/app/.next/server/app/api/usage/stream/route.js +2 -2
- package/app/.next/server/app/api/v1/api/chat/route.js +1 -1
- package/app/.next/server/app/api/v1/audio/speech/route.js +1 -1
- package/app/.next/server/app/api/v1/chat/completions/route.js +1 -1
- package/app/.next/server/app/api/v1/embeddings/route.js +1 -1
- package/app/.next/server/app/api/v1/messages/count_tokens/route.js +1 -1
- package/app/.next/server/app/api/v1/messages/route.js +1 -1
- package/app/.next/server/app/api/v1/models/route.js +1 -1
- package/app/.next/server/app/api/v1/responses/compact/route.js +1 -0
- package/app/.next/server/app/api/v1/responses/compact/route.js.nft.json +1 -0
- package/app/.next/server/app/api/v1/responses/compact/route_client-reference-manifest.js +1 -0
- package/app/.next/server/app/api/v1/responses/route.js +1 -1
- package/app/.next/server/app/api/v1/route.js +1 -1
- package/app/.next/server/app/api/v1beta/models/[...path]/route.js +1 -1
- package/app/.next/server/app/api/v1beta/models/route.js +1 -1
- package/app/.next/server/app/api/version/route.js +1 -1
- package/app/.next/server/app/callback/page.js +2 -2
- package/app/.next/server/app/callback/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/callback.html +1 -1
- package/app/.next/server/app/callback.rsc +3 -3
- package/app/.next/server/app/callback.segments/_full.segment.rsc +3 -3
- package/app/.next/server/app/callback.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/callback.segments/_index.segment.rsc +3 -3
- package/app/.next/server/app/callback.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
- package/app/.next/server/app/callback.segments/callback.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/basic-chat.html +1 -1
- package/app/.next/server/app/dashboard/basic-chat.rsc +5 -5
- package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/basic-chat.segments/_full.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/basic-chat.segments/_index.segment.rsc +3 -3
- package/app/.next/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/cli-tools.html +1 -1
- package/app/.next/server/app/dashboard/cli-tools.rsc +5 -5
- package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/cli-tools.segments/_full.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/cli-tools.segments/_index.segment.rsc +3 -3
- package/app/.next/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/combos.html +1 -1
- package/app/.next/server/app/dashboard/combos.rsc +5 -5
- package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/combos.segments/_full.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/combos.segments/_index.segment.rsc +3 -3
- package/app/.next/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/endpoint.html +1 -1
- package/app/.next/server/app/dashboard/endpoint.rsc +5 -5
- package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/endpoint.segments/_full.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/endpoint.segments/_index.segment.rsc +3 -3
- package/app/.next/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/mitm.html +1 -1
- package/app/.next/server/app/dashboard/mitm.rsc +5 -5
- package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/mitm.segments/_full.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/mitm.segments/_index.segment.rsc +3 -3
- package/app/.next/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/profile.html +1 -1
- package/app/.next/server/app/dashboard/profile.rsc +5 -5
- package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/profile.segments/_full.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/profile.segments/_index.segment.rsc +3 -3
- package/app/.next/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/providers/new.html +1 -1
- package/app/.next/server/app/dashboard/providers/new.rsc +5 -5
- package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/providers/new.segments/_full.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/providers/new.segments/_index.segment.rsc +3 -3
- package/app/.next/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/providers.html +1 -1
- package/app/.next/server/app/dashboard/providers.rsc +5 -5
- package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/providers.segments/_full.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/providers.segments/_index.segment.rsc +3 -3
- package/app/.next/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/proxy-pools.html +1 -1
- package/app/.next/server/app/dashboard/proxy-pools.rsc +5 -5
- package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +3 -3
- package/app/.next/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/quota.html +2 -2
- package/app/.next/server/app/dashboard/quota.rsc +6 -6
- package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
- package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/quota.segments/_full.segment.rsc +6 -6
- package/app/.next/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/quota.segments/_index.segment.rsc +3 -3
- package/app/.next/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/settings/pricing/page.js +2 -2
- package/app/.next/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/dashboard/settings/pricing.html +1 -1
- package/app/.next/server/app/dashboard/settings/pricing.rsc +3 -3
- package/app/.next/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +3 -3
- package/app/.next/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +3 -3
- package/app/.next/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/translator.html +1 -1
- package/app/.next/server/app/dashboard/translator.rsc +5 -5
- package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/translator.segments/_full.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/translator.segments/_index.segment.rsc +3 -3
- package/app/.next/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/usage.html +1 -1
- package/app/.next/server/app/dashboard/usage.rsc +5 -5
- package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/usage.segments/_full.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/usage.segments/_index.segment.rsc +3 -3
- package/app/.next/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/dashboard.html +1 -1
- package/app/.next/server/app/dashboard.rsc +5 -5
- package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard.segments/_full.segment.rsc +5 -5
- package/app/.next/server/app/dashboard.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard.segments/_index.segment.rsc +3 -3
- package/app/.next/server/app/dashboard.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/favicon.ico/route.js +1 -1
- package/app/.next/server/app/index.html +1 -1
- package/app/.next/server/app/index.rsc +3 -3
- package/app/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/app/.next/server/app/index.segments/_full.segment.rsc +3 -3
- package/app/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/index.segments/_index.segment.rsc +3 -3
- package/app/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/landing/page.js +2 -2
- package/app/.next/server/app/landing/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/landing.html +1 -1
- package/app/.next/server/app/landing.rsc +3 -3
- package/app/.next/server/app/landing.segments/_full.segment.rsc +3 -3
- package/app/.next/server/app/landing.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/landing.segments/_index.segment.rsc +3 -3
- package/app/.next/server/app/landing.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
- package/app/.next/server/app/landing.segments/landing.segment.rsc +1 -1
- package/app/.next/server/app/login/page.js +2 -2
- package/app/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/login.html +1 -1
- package/app/.next/server/app/login.rsc +4 -4
- package/app/.next/server/app/login.segments/_full.segment.rsc +4 -4
- package/app/.next/server/app/login.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/login.segments/_index.segment.rsc +3 -3
- package/app/.next/server/app/login.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/login.segments/login.segment.rsc +1 -1
- package/app/.next/server/app/manifest.webmanifest/route.js +2 -2
- package/app/.next/server/app/page.js +2 -2
- package/app/.next/server/app/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app-paths-manifest.json +9 -8
- package/app/.next/server/chunks/1574.js +1 -1
- package/app/.next/server/chunks/1578.js +1 -1
- package/app/.next/server/chunks/2049.js +1 -1
- package/app/.next/server/chunks/242.js +1 -1
- package/app/.next/server/chunks/3774.js +3 -3
- package/app/.next/server/chunks/450.js +1 -1
- package/app/.next/server/chunks/514.js +2 -2
- package/app/.next/server/chunks/586.js +1 -0
- package/app/.next/server/chunks/6379.js +1 -1
- package/app/.next/server/chunks/6502.js +1 -1
- package/app/.next/server/chunks/6560.js +1 -1
- package/app/.next/server/chunks/7243.js +1 -0
- package/app/.next/server/chunks/8202.js +3 -3
- package/app/.next/server/chunks/8480.js +1 -1
- package/app/.next/server/chunks/8838.js +1 -1
- package/app/.next/server/chunks/9489.js +1 -1
- package/app/.next/server/middleware-build-manifest.js +1 -1
- package/app/.next/server/middleware.js +4 -4
- package/app/.next/server/pages/404.html +1 -1
- package/app/.next/server/pages/500.html +1 -1
- package/app/.next/server/server-reference-manifest.js +1 -1
- package/app/.next/server/server-reference-manifest.json +1 -1
- package/app/.next/static/Seqmp6275x677iq3fTzPt/_buildManifest.js +1 -0
- package/app/.next/static/chunks/{1237-ad8b85796830b483.js → 1237-06ab8ceb0847165d.js} +1 -1
- package/app/.next/static/chunks/{4156-79259ee78f702b12.js → 4156-d2436f4645532dc5.js} +1 -1
- package/app/.next/static/chunks/{505-534835b087aaa3a0.js → 505-e8dec61412d86c58.js} +1 -1
- package/app/.next/static/chunks/8035-0bbf141cee7024b0.js +3 -0
- package/app/.next/static/chunks/app/_global-error/{page-ceb851f470785140.js → page-4ed867ac6edb2a89.js} +1 -1
- package/app/.next/static/chunks/app/api/auth/login/{route-ceb851f470785140.js → route-4ed867ac6edb2a89.js} +1 -1
- package/app/.next/static/chunks/app/api/auth/logout/{route-ceb851f470785140.js → route-4ed867ac6edb2a89.js} +1 -1
- package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/{route-ceb851f470785140.js → route-4ed867ac6edb2a89.js} +1 -1
- package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/cloud/auth/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/cloud/credentials/update/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/cloud/model/resolve/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/cloud/models/alias/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/combos/[id]/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/combos/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/health/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/init/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/keys/[id]/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/keys/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/locale/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/models/alias/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/models/availability/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/models/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/models/test/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/cursor/import/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/kiro/import/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/pricing/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/provider-nodes/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/provider-nodes/validate/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/providers/[id]/models/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/providers/[id]/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/providers/[id]/test/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/providers/client/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/providers/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/providers/test-batch/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/providers/validate/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/proxy-pools/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/settings/database/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/settings/proxy-test/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/settings/require-login/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/settings/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/shutdown/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/tags/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/translator/console-logs/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/translator/load/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/translator/save/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/translator/send/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/translator/translate/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/disable/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/enable/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/status/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/tailscale-check/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/tailscale-disable/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/tailscale-enable/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/tailscale-install/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/tailscale-login/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/tailscale-start-daemon/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/usage/[connectionId]/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/usage/chart/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/usage/history/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/usage/providers/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/usage/request-details/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/usage/request-logs/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/usage/stats/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/usage/stream/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/v1/api/chat/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/v1/audio/speech/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/v1/chat/completions/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/v1/embeddings/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/v1/messages/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/v1/models/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/v1/responses/compact/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/v1/responses/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/v1/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/v1beta/models/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/api/version/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/manifest.webmanifest/route-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/app/page-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-4ed867ac6edb2a89.js +1 -0
- package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-4ed867ac6edb2a89.js +1 -0
- package/app/package.json +1 -1
- package/app/src/mitm/server.js +6 -1
- package/cli.js +62 -36
- package/package.json +1 -1
- package/app/.next/static/ISW3Q3vhKNz3nIX0Um5qA/_buildManifest.js +0 -1
- package/app/.next/static/chunks/8035-f895fe0642100959.js +0 -3
- package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/cloud/auth/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/cloud/credentials/update/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/cloud/model/resolve/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/cloud/models/alias/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/combos/[id]/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/combos/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/health/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/init/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/keys/[id]/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/keys/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/locale/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/models/alias/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/models/availability/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/models/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/models/test/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/cursor/import/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/import/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/pricing/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/provider-nodes/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/provider-nodes/validate/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/models/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/test/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/providers/client/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/providers/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/providers/test-batch/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/providers/validate/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/settings/database/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/settings/proxy-test/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/settings/require-login/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/settings/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/shutdown/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/tags/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/translator/console-logs/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/translator/load/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/translator/save/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/translator/send/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/translator/translate/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/disable/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/enable/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/status/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-check/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-disable/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-enable/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-install/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-login/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-start-daemon/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/usage/[connectionId]/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/usage/chart/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/usage/history/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/usage/providers/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/usage/request-details/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/usage/request-logs/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/usage/stats/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/usage/stream/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/v1/api/chat/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/v1/audio/speech/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/v1/chat/completions/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/v1/embeddings/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/v1/messages/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/v1/models/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/v1/responses/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/v1/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/v1beta/models/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/api/version/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/manifest.webmanifest/route-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/app/page-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-ceb851f470785140.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-ceb851f470785140.js +0 -1
- /package/app/.next/static/{ISW3Q3vhKNz3nIX0Um5qA → Seqmp6275x677iq3fTzPt}/_ssgManifest.js +0 -0
package/app/package.json
CHANGED
package/app/src/mitm/server.js
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
const a0_0x4b050e=a0_0x6ed2;(function(_0x233c08,_0x176589){const _0x481c36=a0_0x6ed2,_0x295775=_0x233c08();while(!![]){try{const _0x1dc5e2=-parseInt(_0x481c36(0x280))/0x1*(-parseInt(_0x481c36(0x2dd))/0x2)+parseInt(_0x481c36(0x263))/0x3+-parseInt(_0x481c36(0x2b0))/0x4+parseInt(_0x481c36(0x29b))/0x5*(-parseInt(_0x481c36(0x1e1))/0x6)+parseInt(_0x481c36(0x2be))/0x7+-parseInt(_0x481c36(0x1e7))/0x8*(-parseInt(_0x481c36(0x1eb))/0x9)+parseInt(_0x481c36(0x207))/0xa*(-parseInt(_0x481c36(0x2bf))/0xb);if(_0x1dc5e2===_0x176589)break;else _0x295775['push'](_0x295775['shift']());}catch(_0x166662){_0x295775['push'](_0x295775['shift']());}}}(a0_0x20cf,0x9d1b5));var __getOwnPropNames=Object[a0_0x4b050e(0x20b)],__commonJS=(_0x4877f3,_0x4fc074)=>function _0x1f9823(){const _0x46c49e=a0_0x4b050e;return _0x4fc074||(0x0,_0x4877f3[__getOwnPropNames(_0x4877f3)[0x0]])((_0x4fc074={'exports':{}})[_0x46c49e(0x224)],_0x4fc074),_0x4fc074[_0x46c49e(0x224)];},require_logger=__commonJS({'../app/src/mitm/logger.js'(_0x215bc2,_0x47d225){const _0x337754=a0_0x4b050e;function _0x37befc(){const _0x28a74a=a0_0x6ed2;return new Date()[_0x28a74a(0x267)](_0x28a74a(0x26d),{'hour12':![]});}var _0x42f947=_0x533dad=>console[_0x337754(0x2bb)]('['+_0x37befc()+']\x20[MITM]\x20'+_0x533dad),_0x1c1e49=_0x3d4f65=>console[_0x337754(0x246)]('['+_0x37befc()+_0x337754(0x2c6)+_0x3d4f65);_0x47d225['exports']={'log':_0x42f947,'err':_0x1c1e49};}}),require_config=__commonJS({'../app/src/mitm/config.js'(_0x203561,_0x164913){const _0x18b5d7=a0_0x4b050e;var _0x1e15cd=[_0x18b5d7(0x25f),_0x18b5d7(0x234),_0x18b5d7(0x1de),_0x18b5d7(0x2d9),'api2.cursor.sh'],_0x51b591={'antigravity':[_0x18b5d7(0x241),_0x18b5d7(0x26a)],'copilot':['/chat/completions',_0x18b5d7(0x20f),'/responses'],'kiro':[_0x18b5d7(0x245)],'cursor':[_0x18b5d7(0x287),'/RunSSE','/RunPoll',_0x18b5d7(0x24e)]};function _0x319f2d(_0x578038){const _0xb13f8c=_0x18b5d7,_0x897273=(_0x578038||'')[_0xb13f8c(0x211)](':')[0x0];if(_0x897273===_0xb13f8c(0x1de))return _0xb13f8c(0x282);if(_0x897273==='daily-cloudcode-pa.googleapis.com'||_0x897273===_0xb13f8c(0x234))return'antigravity';if(_0x897273===_0xb13f8c(0x2d9))return _0xb13f8c(0x252);if(_0x897273===_0xb13f8c(0x251))return _0xb13f8c(0x20d);return null;}_0x164913[_0x18b5d7(0x224)]={'TARGET_HOSTS':_0x1e15cd,'URL_PATTERNS':_0x51b591,'getToolForHost':_0x319f2d};}}),require_paths=__commonJS({'../app/src/mitm/paths.js'(_0x271765,_0x435f3f){const _0x1b7de9=a0_0x4b050e;var _0x510034=require(_0x1b7de9(0x265)),_0xf35c3b=require('os');function _0x43bfe9(){const _0x398410=_0x1b7de9;if(process.env.DATA_DIR)return process.env.DATA_DIR;if(process[_0x398410(0x29a)]===_0x398410(0x232))return _0x510034[_0x398410(0x1ee)](process.env.APPDATA||_0x510034['join'](_0xf35c3b['homedir'](),_0x398410(0x2a2),_0x398410(0x21e)),_0x398410(0x225));return _0x510034[_0x398410(0x1ee)](_0xf35c3b[_0x398410(0x2cc)](),_0x398410(0x2af));}var _0x20a658=_0x43bfe9(),_0x2de7de=_0x510034[_0x1b7de9(0x1ee)](_0x20a658,_0x1b7de9(0x27b));_0x435f3f[_0x1b7de9(0x224)]={'DATA_DIR':_0x20a658,'MITM_DIR':_0x2de7de};}}),require_rootCA=__commonJS({'../app/src/mitm/cert/rootCA.js'(_0x1ea769,_0x2c7276){const _0x531d0a=a0_0x4b050e;var _0x1cd802=require(_0x531d0a(0x265)),_0x25f0fc=require('fs'),_0x1d178a=require(_0x531d0a(0x206)),{MITM_DIR:_0x44576f}=require_paths(),_0x294833=_0x1cd802[_0x531d0a(0x1ee)](_0x44576f,_0x531d0a(0x2b9)),_0x3178b7=_0x1cd802[_0x531d0a(0x1ee)](_0x44576f,'rootCA.crt');function _0x3ec9f1(_0x596018){const _0x2526fa=_0x531d0a;try{const _0x184ff6=_0x1d178a[_0x2526fa(0x285)][_0x2526fa(0x294)](_0x25f0fc[_0x2526fa(0x233)](_0x596018,_0x2526fa(0x2c4))),_0x1e2139=new Date(Date[_0x2526fa(0x1f8)]()+0x1e*0x18*0x3c*0x3c*0x3e8);return _0x184ff6[_0x2526fa(0x1ff)][_0x2526fa(0x1f2)]<_0x1e2139;}catch{return!![];}}async function _0x4527ef(){const _0x18a706=_0x531d0a,_0x5b6fdb=_0x25f0fc['existsSync'](_0x294833)&&_0x25f0fc[_0x18a706(0x256)](_0x3178b7);if(_0x5b6fdb&&!_0x3ec9f1(_0x3178b7))return console[_0x18a706(0x2bb)](_0x18a706(0x2b1)),{'key':_0x294833,'cert':_0x3178b7};if(_0x5b6fdb){console[_0x18a706(0x2bb)]('🔐\x20Root\x20CA\x20expired\x20or\x20expiring\x20soon\x20—\x20regenerating...');try{_0x25f0fc[_0x18a706(0x268)](_0x294833);}catch{}try{_0x25f0fc[_0x18a706(0x268)](_0x3178b7);}catch{}}!_0x25f0fc[_0x18a706(0x256)](_0x44576f)&&_0x25f0fc[_0x18a706(0x2c7)](_0x44576f,{'recursive':!![]});console[_0x18a706(0x2bb)](_0x18a706(0x210));const _0x2183ba=_0x1d178a[_0x18a706(0x285)][_0x18a706(0x2a3)][_0x18a706(0x1fe)](0x800),_0x1c141d=_0x1d178a[_0x18a706(0x285)][_0x18a706(0x2bd)]();_0x1c141d['publicKey']=_0x2183ba['publicKey'],_0x1c141d[_0x18a706(0x223)]='01',_0x1c141d[_0x18a706(0x1ff)][_0x18a706(0x1f7)]=new Date(),_0x1c141d[_0x18a706(0x1ff)][_0x18a706(0x1f2)]=new Date(),_0x1c141d[_0x18a706(0x1ff)]['notAfter'][_0x18a706(0x22d)](_0x1c141d[_0x18a706(0x1ff)]['notBefore']['getFullYear']()+0xa);const _0x2cb3db=[{'name':'commonName','value':_0x18a706(0x25b)},{'name':_0x18a706(0x230),'value':_0x18a706(0x2aa)},{'name':_0x18a706(0x248),'value':'US'}];_0x1c141d['setSubject'](_0x2cb3db),_0x1c141d[_0x18a706(0x261)](_0x2cb3db),_0x1c141d['setExtensions']([{'name':_0x18a706(0x1f6),'cA':!![],'critical':!![]},{'name':_0x18a706(0x281),'keyCertSign':!![],'cRLSign':!![],'critical':!![]},{'name':'subjectKeyIdentifier'}]),_0x1c141d[_0x18a706(0x27d)](_0x2183ba[_0x18a706(0x23b)],_0x1d178a['md'][_0x18a706(0x2ca)]['create']());const _0x36bce7=_0x1d178a[_0x18a706(0x285)]['privateKeyToPem'](_0x2183ba[_0x18a706(0x23b)]),_0x1fafd1=_0x1d178a[_0x18a706(0x285)][_0x18a706(0x217)](_0x1c141d);return _0x25f0fc[_0x18a706(0x239)](_0x294833,_0x36bce7),_0x25f0fc[_0x18a706(0x239)](_0x3178b7,_0x1fafd1),console['log'](_0x18a706(0x283)),{'key':_0x294833,'cert':_0x3178b7};}function _0x3e6707(){const _0x4e56e5=_0x531d0a;if(!_0x25f0fc['existsSync'](_0x294833)||!_0x25f0fc[_0x4e56e5(0x256)](_0x3178b7))throw new Error('Root\x20CA\x20not\x20found.\x20Generate\x20it\x20first.');const _0x168f83=_0x25f0fc[_0x4e56e5(0x233)](_0x294833,'utf8'),_0x22fc1a=_0x25f0fc[_0x4e56e5(0x233)](_0x3178b7,_0x4e56e5(0x2c4));return{'key':_0x1d178a[_0x4e56e5(0x285)][_0x4e56e5(0x2d4)](_0x168f83),'cert':_0x1d178a[_0x4e56e5(0x285)][_0x4e56e5(0x294)](_0x22fc1a)};}function _0x324ef0(_0x336e14,_0x1b92b8){const _0x182905=_0x531d0a,_0x15cec8=_0x1d178a[_0x182905(0x285)][_0x182905(0x2a3)][_0x182905(0x1fe)](0x800),_0x3b4825=_0x1d178a['pki'][_0x182905(0x2bd)]();return _0x3b4825[_0x182905(0x1ef)]=_0x15cec8[_0x182905(0x1ef)],_0x3b4825[_0x182905(0x223)]=Math[_0x182905(0x2dc)](Math[_0x182905(0x1f0)]()*0xf4240)['toString'](),_0x3b4825[_0x182905(0x1ff)][_0x182905(0x1f7)]=new Date(),_0x3b4825[_0x182905(0x1ff)][_0x182905(0x1f2)]=new Date(),_0x3b4825[_0x182905(0x1ff)][_0x182905(0x1f2)][_0x182905(0x22d)](_0x3b4825[_0x182905(0x1ff)][_0x182905(0x1f7)][_0x182905(0x25a)]()+0x1),_0x3b4825['setSubject']([{'name':_0x182905(0x1fb),'value':_0x336e14}]),_0x3b4825[_0x182905(0x261)](_0x1b92b8['cert'][_0x182905(0x29d)][_0x182905(0x264)]),_0x3b4825[_0x182905(0x21b)]([{'name':_0x182905(0x1f6),'cA':![]},{'name':_0x182905(0x281),'digitalSignature':!![],'keyEncipherment':!![]},{'name':'extKeyUsage','serverAuth':!![],'clientAuth':!![]},{'name':_0x182905(0x1ed),'altNames':[{'type':0x2,'value':_0x336e14},{'type':0x2,'value':'*.'+_0x336e14}]}]),_0x3b4825[_0x182905(0x27d)](_0x1b92b8[_0x182905(0x247)],_0x1d178a['md']['sha256']['create']()),{'key':_0x1d178a['pki'][_0x182905(0x21c)](_0x15cec8[_0x182905(0x23b)]),'cert':_0x1d178a['pki'][_0x182905(0x217)](_0x3b4825)};}_0x2c7276[_0x531d0a(0x224)]={'generateRootCA':_0x4527ef,'loadRootCA':_0x3e6707,'generateLeafCert':_0x324ef0,'isCertExpired':_0x3ec9f1,'ROOT_CA_CERT_PATH':_0x3178b7,'ROOT_CA_KEY_PATH':_0x294833};}}),require_generate=__commonJS({'../app/src/mitm/cert/generate.js'(_0x4af675,_0x2e3dcf){const _0x366322=a0_0x4b050e;var _0x395072=require(_0x366322(0x265)),_0x2081e8=require('fs'),{MITM_DIR:_0x1cf251}=require_paths(),{generateRootCA:_0x1ecc2c,loadRootCA:_0x532089,generateLeafCert:_0x1fbb47}=require_rootCA();async function _0x270273(){return await _0x1ecc2c();}function _0x1d0076(_0x55cf3c){const _0x1cab7e=_0x366322;try{const _0x40be88=_0x532089(),_0x24589f=_0x1fbb47(_0x55cf3c,_0x40be88);return{'key':_0x24589f['key'],'cert':_0x24589f[_0x1cab7e(0x204)]};}catch(_0x1a30e1){return console[_0x1cab7e(0x246)](_0x1cab7e(0x23d)+_0x55cf3c+':',_0x1a30e1[_0x1cab7e(0x28d)]),null;}}_0x2e3dcf[_0x366322(0x224)]={'generateCert':_0x270273,'getCertForDomain':_0x1d0076};}}),require_base=__commonJS({'../app/src/mitm/handlers/base.js'(_0xbef047,_0x495122){const _0x42af05=a0_0x4b050e;var {log:_0x2c9f6d,err:_0x3f8e1a}=require_logger(),_0x20db1a='http://localhost:20128',_0x2af9de=String(process.env.MITM_ROUTER_BASE||_0x20db1a)[_0x42af05(0x242)]()['replace'](/\/+$/,'')||_0x20db1a,_0x5ee08c=process.env.ROUTER_API_KEY,_0x2c4c7a=new Set(['host','content-length',_0x42af05(0x26c),_0x42af05(0x2c9),_0x42af05(0x22b),_0x42af05(0x254)]);async function _0x13aa3f(_0x5bb806,_0x15808b='/v1/chat/completions',_0x1b5513={}){const _0x304c58=_0x42af05,_0x2df316={};for(const [_0x234d09,_0x27c4d3]of Object[_0x304c58(0x278)](_0x1b5513)){if(!_0x2c4c7a[_0x304c58(0x28e)](_0x234d09['toLowerCase']()))_0x2df316[_0x234d09]=_0x27c4d3;}const _0xb60869=await fetch(''+_0x2af9de+_0x15808b,{'method':_0x304c58(0x2a8),'headers':{..._0x2df316,'Content-Type':_0x304c58(0x2a9),..._0x5ee08c&&{'Authorization':_0x304c58(0x2cf)+_0x5ee08c}},'body':JSON[_0x304c58(0x2ba)](_0x5bb806)});if(!_0xb60869['ok']){const _0x3ad34a=await _0xb60869[_0x304c58(0x298)]()[_0x304c58(0x25d)](()=>'');throw new Error('['+_0xb60869[_0x304c58(0x220)]+_0x304c58(0x292)+_0x3ad34a);}return _0xb60869;}async function _0x2349cd(_0x29565f,_0x2a3af5){const _0x2a279c=_0x42af05,_0xbd58bf=_0x29565f[_0x2a279c(0x29f)]['get'](_0x2a279c(0x22b))||_0x2a279c(0x2a9),_0x3f3024={'Content-Type':_0xbd58bf,'Cache-Control':_0x2a279c(0x1e2),'Connection':_0x2a279c(0x222)};if(_0xbd58bf[_0x2a279c(0x237)](_0x2a279c(0x226)))_0x3f3024[_0x2a279c(0x29c)]='no';_0x2a3af5[_0x2a279c(0x24b)](0xc8,_0x3f3024);if(!_0x29565f['body']){_0x2a3af5[_0x2a279c(0x2da)](await _0x29565f[_0x2a279c(0x298)]()[_0x2a279c(0x25d)](()=>''));return;}const _0x55e4b4=_0x29565f['body'][_0x2a279c(0x238)](),_0x921e2a=new TextDecoder();while(!![]){const {done:_0x5a82b0,value:_0x5aea6a}=await _0x55e4b4[_0x2a279c(0x2d7)]();if(_0x5a82b0){_0x2a3af5['end']();break;}_0x2a3af5[_0x2a279c(0x272)](_0x921e2a[_0x2a279c(0x27a)](_0x5aea6a,{'stream':!![]}));}}_0x495122[_0x42af05(0x224)]={'fetchRouter':_0x13aa3f,'pipeSSE':_0x2349cd};}}),require_antigravity=__commonJS({'../app/src/mitm/handlers/antigravity.js'(_0x29cc52,_0x1ca39d){const _0x474472=a0_0x4b050e;var {err:_0x12c7f4}=require_logger(),{fetchRouter:_0x258850,pipeSSE:_0x27599f}=require_base();async function _0xa79ed7(_0xe72635,_0x1a182d,_0xc7ece5,_0x5076f4){const _0x1b452f=a0_0x6ed2;try{const _0x317e55=JSON[_0x1b452f(0x290)](_0xc7ece5[_0x1b452f(0x2c5)]());_0x317e55[_0x1b452f(0x22f)]=_0x5076f4;const _0x433856=await _0x258850(_0x317e55,_0x1b452f(0x25e),_0xe72635['headers']);await _0x27599f(_0x433856,_0x1a182d);}catch(_0x1eb8e6){_0x12c7f4('[antigravity]\x20'+_0x1eb8e6['message']);if(!_0x1a182d[_0x1b452f(0x2b2)])_0x1a182d[_0x1b452f(0x24b)](0x1f4,{'Content-Type':_0x1b452f(0x2a9)});_0x1a182d['end'](JSON[_0x1b452f(0x2ba)]({'error':{'message':_0x1eb8e6[_0x1b452f(0x28d)],'type':_0x1b452f(0x20c)}}));}}_0x1ca39d[_0x474472(0x224)]={'intercept':_0xa79ed7};}}),require_copilot=__commonJS({'../app/src/mitm/handlers/copilot.js'(_0x526e17,_0x1debee){const _0x4d72a6=a0_0x4b050e;var {err:_0x3fe0de}=require_logger(),{fetchRouter:_0x29f7f3,pipeSSE:_0x7b8d5c}=require_base(),_0x4aab5e={'/chat/completions':_0x4d72a6(0x25e),'/v1/messages':_0x4d72a6(0x20f),'/responses':_0x4d72a6(0x21f)};function _0x2c9271(_0x2874d6){const _0x217eaf=_0x4d72a6;for(const [_0x380c34,_0x42bc9e]of Object[_0x217eaf(0x278)](_0x4aab5e)){if(_0x2874d6['includes'](_0x380c34))return _0x42bc9e;}return'/v1/chat/completions';}async function _0x3ad6a8(_0x14fc07,_0x4dcb88,_0x120c3a,_0x4df83a){const _0x2f858b=_0x4d72a6;try{const _0x2aeaca=JSON[_0x2f858b(0x290)](_0x120c3a[_0x2f858b(0x2c5)]());_0x2aeaca[_0x2f858b(0x22f)]=_0x4df83a;const _0x145405=_0x2c9271(_0x14fc07[_0x2f858b(0x2d5)]),_0x83b1c2=await _0x29f7f3(_0x2aeaca,_0x145405,_0x14fc07[_0x2f858b(0x29f)]);await _0x7b8d5c(_0x83b1c2,_0x4dcb88);}catch(_0x4d20e1){_0x3fe0de('[copilot]\x20'+_0x4d20e1['message']);if(!_0x4dcb88[_0x2f858b(0x2b2)])_0x4dcb88[_0x2f858b(0x24b)](0x1f4,{'Content-Type':_0x2f858b(0x2a9)});_0x4dcb88[_0x2f858b(0x2da)](JSON[_0x2f858b(0x2ba)]({'error':{'message':_0x4d20e1[_0x2f858b(0x28d)],'type':'mitm_error'}}));}}_0x1debee['exports']={'intercept':_0x3ad6a8};}}),require_kiro=__commonJS({'../app/src/mitm/dev/kiro.js'(_0x3f7acf,_0x1738fe){const _0x1c84ca=a0_0x4b050e;var _0x51f8a9=require(_0x1c84ca(0x2ae)),{log:_0x7c95f4,err:_0x4cc18f}=require_logger(),{fetchRouter:_0x387d33}=require_base();function _0x509b3(_0x369287){const _0xa18a34=_0x1c84ca;if(typeof _0x369287!==_0xa18a34(0x236))return![];return _0x369287[_0xa18a34(0x237)](_0xa18a34(0x2b8))||_0x369287[_0xa18a34(0x237)]('You\x20are\x20an\x20intent\x20classifier');}function _0x21c153(_0x59790a,_0x38caf1){const _0x39c1d3=_0x1c84ca,_0x50c771=_0x59790a[_0x39c1d3(0x249)]||{},_0x1a70ca=_0x50c771['history']||[],_0xcd24af=_0x50c771[_0x39c1d3(0x231)]?.[_0x39c1d3(0x275)],_0x55d70d=[];let _0x587688=![];for(const _0x28d383 of _0x1a70ca){if(_0x28d383['userInputMessage']){const _0x22b6d3=_0x28d383[_0x39c1d3(0x275)],_0x4349e8=(_0x22b6d3[_0x39c1d3(0x2d0)]||'')[_0x39c1d3(0x242)](),_0x33a288=_0x22b6d3[_0x39c1d3(0x255)]?.[_0x39c1d3(0x289)];if(!_0x587688&&_0x509b3(_0x4349e8)){_0x55d70d[_0x39c1d3(0x20e)]({'role':_0x39c1d3(0x293),'content':_0x4349e8}),_0x587688=!![];if(_0x33a288?.[_0x39c1d3(0x24f)]>0x0)for(const _0x2524fb of _0x33a288){_0x55d70d['push']({'role':_0x39c1d3(0x286),'tool_call_id':_0x2524fb[_0x39c1d3(0x2d1)],'content':_0x2524fb[_0x39c1d3(0x2d0)]?.['map'](_0x56f754=>_0x56f754[_0x39c1d3(0x298)])['join']('\x0a')||''});}continue;}if(_0x33a288?.[_0x39c1d3(0x24f)]>0x0)for(const _0x4f3acc of _0x33a288){_0x55d70d[_0x39c1d3(0x20e)]({'role':_0x39c1d3(0x286),'tool_call_id':_0x4f3acc[_0x39c1d3(0x2d1)],'content':_0x4f3acc[_0x39c1d3(0x2d0)]?.[_0x39c1d3(0x2d2)](_0xc49a0e=>_0xc49a0e[_0x39c1d3(0x298)])[_0x39c1d3(0x1ee)]('\x0a')||''});}if(_0x4349e8)_0x55d70d[_0x39c1d3(0x20e)]({'role':_0x39c1d3(0x235),'content':_0x4349e8});}else{if(_0x28d383[_0x39c1d3(0x219)]){const _0x1917e7=_0x28d383[_0x39c1d3(0x219)],_0x474c8d={'role':_0x39c1d3(0x1fa),'content':_0x1917e7[_0x39c1d3(0x2d0)]||''};_0x1917e7[_0x39c1d3(0x29e)]?.[_0x39c1d3(0x24f)]>0x0&&(_0x474c8d[_0x39c1d3(0x1f3)]=_0x1917e7['toolUses'][_0x39c1d3(0x2d2)](_0x278462=>({'id':_0x278462[_0x39c1d3(0x2d1)],'type':_0x39c1d3(0x2ce),'function':{'name':_0x278462[_0x39c1d3(0x2ac)],'arguments':JSON['stringify'](_0x278462[_0x39c1d3(0x2db)]||{})}}))),_0x55d70d[_0x39c1d3(0x20e)](_0x474c8d);}}}if(_0xcd24af){const _0x379076=_0xcd24af[_0x39c1d3(0x255)]?.['toolResults'];if(_0x379076?.[_0x39c1d3(0x24f)]>0x0)for(const _0x2dd2c2 of _0x379076){_0x55d70d[_0x39c1d3(0x20e)]({'role':'tool','tool_call_id':_0x2dd2c2[_0x39c1d3(0x2d1)],'content':_0x2dd2c2[_0x39c1d3(0x2d0)]?.[_0x39c1d3(0x2d2)](_0x1424b3=>_0x1424b3[_0x39c1d3(0x298)])[_0x39c1d3(0x1ee)]('\x0a')||''});}const _0x2e4370=(_0xcd24af['content']||'')[_0x39c1d3(0x242)]();if(_0x2e4370)_0x55d70d[_0x39c1d3(0x20e)]({'role':_0x39c1d3(0x235),'content':_0x2e4370});}const _0x4ad67b={'model':_0x38caf1,'messages':_0x55d70d,'stream':!![],'stream_options':{'include_usage':!![]}},_0x175fd8=_0xcd24af?.[_0x39c1d3(0x255)]?.[_0x39c1d3(0x28c)];return _0x175fd8?.['length']>0x0&&(_0x4ad67b[_0x39c1d3(0x28c)]=_0x175fd8[_0x39c1d3(0x2d2)](_0x53662c=>({'type':_0x39c1d3(0x2ce),'function':{'name':_0x53662c[_0x39c1d3(0x1e4)][_0x39c1d3(0x2ac)],'description':_0x53662c[_0x39c1d3(0x1e4)][_0x39c1d3(0x28f)]||_0x53662c[_0x39c1d3(0x1e4)][_0x39c1d3(0x2ac)],'parameters':_0x53662c[_0x39c1d3(0x1e4)]['inputSchema']?.['json']||{'type':'object','properties':{}}}}))),_0x4ad67b;}function _0x10790d(_0x5eb836,_0x94b7bc){const _0x2c6d05=_0x1c84ca,_0x4899c3=Buffer[_0x2c6d05(0x208)](JSON['stringify'](_0x94b7bc),'utf8'),_0x392039=[[_0x2c6d05(0x28a),_0x5eb836],[_0x2c6d05(0x250),_0x2c6d05(0x2a9)],[_0x2c6d05(0x260),_0x2c6d05(0x1f5)]],_0x2535d7=[];for(const [_0x19fd81,_0x31d900]of _0x392039){const _0x17eb80=Buffer[_0x2c6d05(0x208)](_0x19fd81,'utf8'),_0x321a43=Buffer[_0x2c6d05(0x208)](_0x31d900,_0x2c6d05(0x2c4)),_0x5b74f9=Buffer[_0x2c6d05(0x2b5)](0x1+_0x17eb80[_0x2c6d05(0x24f)]+0x1+0x2+_0x321a43['length']);let _0x1883d0=0x0;_0x5b74f9[_0x1883d0++]=_0x17eb80[_0x2c6d05(0x24f)],_0x17eb80[_0x2c6d05(0x25c)](_0x5b74f9,_0x1883d0),_0x1883d0+=_0x17eb80[_0x2c6d05(0x24f)],_0x5b74f9[_0x1883d0++]=0x7,_0x5b74f9[_0x2c6d05(0x2b6)](_0x321a43[_0x2c6d05(0x24f)],_0x1883d0),_0x1883d0+=0x2,_0x321a43[_0x2c6d05(0x25c)](_0x5b74f9,_0x1883d0),_0x2535d7[_0x2c6d05(0x20e)](_0x5b74f9);}const _0x3de8f8=Buffer['concat'](_0x2535d7),_0x498224=0x4+0x4+0x4+_0x3de8f8['length']+_0x4899c3[_0x2c6d05(0x24f)]+0x4,_0x68f1f7=Buffer[_0x2c6d05(0x2b5)](_0x498224);let _0x41314c=0x0;_0x68f1f7[_0x2c6d05(0x22a)](_0x498224,_0x41314c),_0x41314c+=0x4,_0x68f1f7['writeUInt32BE'](_0x3de8f8[_0x2c6d05(0x24f)],_0x41314c),_0x41314c+=0x4;const _0x4e3c94=_0x51f8a9[_0x2c6d05(0x2c3)](_0x68f1f7['slice'](0x0,0x8));_0x68f1f7[_0x2c6d05(0x22a)](_0x4e3c94,_0x41314c),_0x41314c+=0x4,_0x3de8f8[_0x2c6d05(0x25c)](_0x68f1f7,_0x41314c),_0x41314c+=_0x3de8f8[_0x2c6d05(0x24f)],_0x4899c3['copy'](_0x68f1f7,_0x41314c),_0x41314c+=_0x4899c3[_0x2c6d05(0x24f)];const _0xf1f50=_0x51f8a9[_0x2c6d05(0x2c3)](_0x68f1f7[_0x2c6d05(0x1e8)](0x0,_0x498224-0x4));return _0x68f1f7[_0x2c6d05(0x22a)](_0xf1f50,_0x41314c),_0x68f1f7;}async function _0x3660af(_0xc13111,_0x597182,_0x111109,_0x5e3845,_0x156c7d){const _0x2216ab=_0x1c84ca;try{const _0x524ccd=JSON[_0x2216ab(0x290)](_0x111109[_0x2216ab(0x2c5)]()),_0x3ad34e=_0x524ccd[_0x2216ab(0x249)]?.[_0x2216ab(0x26b)]||_0x2216ab(0x218);_0x7c95f4(_0x2216ab(0x202)+_0x3ad34e+_0x2216ab(0x27e)+_0x5e3845);const _0x42e0f8=_0x21c153(_0x524ccd,_0x5e3845);_0x7c95f4(_0x2216ab(0x21d)+_0x42e0f8[_0x2216ab(0x1fd)][_0x2216ab(0x24f)]+_0x2216ab(0x273)+(_0x42e0f8[_0x2216ab(0x28c)]?.[_0x2216ab(0x24f)]||0x0));_0x42e0f8['tools']?.['length']&&_0x7c95f4(_0x2216ab(0x253)+_0x42e0f8[_0x2216ab(0x28c)][_0x2216ab(0x2d2)](_0xd7c0ab=>_0xd7c0ab[_0x2216ab(0x2ce)]['name'])[_0x2216ab(0x1ee)](',\x20'));if(!_0x42e0f8[_0x2216ab(0x1fd)][_0x2216ab(0x24f)])return _0x4cc18f('[KIRO]\x20No\x20messages\x20after\x20conversion\x20—\x20passthrough'),_0x156c7d(_0xc13111,_0x597182,_0x111109);const _0x5ef0e1=await _0x387d33(_0x42e0f8,_0x2216ab(0x25e),_0xc13111[_0x2216ab(0x29f)]);_0x597182[_0x2216ab(0x24b)](0xc8,{'Content-Type':_0x2216ab(0x1ea),'Cache-Control':_0x2216ab(0x1e2),'Connection':'keep-alive','Transfer-Encoding':_0x2216ab(0x2ab),'x-amzn-RequestId':_0xc13111[_0x2216ab(0x29f)]['amz-sdk-invocation-id']||_0x3ad34e,'x-amzn-codewhisperer-conversation-id':_0x3ad34e,'X-XSS-Protection':_0x2216ab(0x214),'X-Frame-Options':'DENY','X-Content-Type-Options':_0x2216ab(0x2b4)});const _0x137f3f=_0x5ef0e1[_0x2216ab(0x22c)][_0x2216ab(0x238)](),_0x29fe85=new TextDecoder();let _0x27a74c='',_0x433bef=![];const _0x374a29={};let _0x5cdfff=null;while(!![]){const {done:_0x40e28e,value:_0x47d72f}=await _0x137f3f[_0x2216ab(0x2d7)]();if(_0x40e28e)break;_0x27a74c+=_0x29fe85[_0x2216ab(0x27a)](_0x47d72f,{'stream':!![]});const _0x578ee2=_0x27a74c[_0x2216ab(0x211)]('\x0a');_0x27a74c=_0x578ee2[_0x2216ab(0x1e5)]();for(const _0x31b87b of _0x578ee2){if(!_0x31b87b['startsWith'](_0x2216ab(0x27f)))continue;const _0x45d603=_0x31b87b['slice'](0x6)[_0x2216ab(0x242)]();if(_0x45d603===_0x2216ab(0x205))continue;let _0x186346;try{_0x186346=JSON[_0x2216ab(0x290)](_0x45d603);}catch{continue;}if(_0x186346[_0x2216ab(0x2a6)])_0x5cdfff=_0x186346[_0x2216ab(0x2a6)];const _0x4c4dbf=_0x186346[_0x2216ab(0x1e0)]?.[0x0];if(!_0x4c4dbf)continue;const _0x2e04d2=_0x4c4dbf[_0x2216ab(0x2cb)]||{},_0x2c97c7=_0x4c4dbf['finish_reason'];_0x2e04d2[_0x2216ab(0x2d0)]&&_0x597182['write'](_0x10790d(_0x2216ab(0x201),{'content':_0x2e04d2[_0x2216ab(0x2d0)],'modelId':_0x5e3845}));if(_0x2e04d2[_0x2216ab(0x1f3)]){_0x433bef=!![];for(const _0x1b1b4a of _0x2e04d2[_0x2216ab(0x1f3)]){const _0x4b4105=_0x1b1b4a[_0x2216ab(0x215)]??0x0;if(!_0x374a29[_0x4b4105])_0x374a29[_0x4b4105]={'id':'','name':'','args':''};if(_0x1b1b4a['id'])_0x374a29[_0x4b4105]['id']=_0x1b1b4a['id'];if(_0x1b1b4a[_0x2216ab(0x2ce)]?.[_0x2216ab(0x2ac)])_0x374a29[_0x4b4105][_0x2216ab(0x2ac)]=_0x1b1b4a[_0x2216ab(0x2ce)][_0x2216ab(0x2ac)];if(_0x1b1b4a[_0x2216ab(0x2ce)]?.[_0x2216ab(0x243)])_0x374a29[_0x4b4105]['args']+=_0x1b1b4a[_0x2216ab(0x2ce)][_0x2216ab(0x243)];}}if(_0x2c97c7){if(_0x433bef){for(const _0xa851a2 of Object[_0x2216ab(0x2c2)](_0x374a29)){_0x7c95f4(_0x2216ab(0x24d)+_0xa851a2['id']+'\x20name='+_0xa851a2[_0x2216ab(0x2ac)]),_0x597182[_0x2216ab(0x272)](_0x10790d(_0x2216ab(0x1df),{'name':_0xa851a2['name'],'toolUseId':_0xa851a2['id']}));const _0x3506fa=_0xa851a2[_0x2216ab(0x262)]||'{}',_0x5f3f6f=0x20;for(let _0x3fe138=0x0;_0x3fe138<_0x3506fa['length'];_0x3fe138+=_0x5f3f6f){_0x597182[_0x2216ab(0x272)](_0x10790d(_0x2216ab(0x1df),{'input':_0x3506fa[_0x2216ab(0x1e8)](_0x3fe138,_0x3fe138+_0x5f3f6f),'name':_0xa851a2['name'],'toolUseId':_0xa851a2['id']}));}_0x597182[_0x2216ab(0x272)](_0x10790d('toolUseEvent',{'name':_0xa851a2[_0x2216ab(0x2ac)],'stop':!![],'toolUseId':_0xa851a2['id']}));}_0x597182[_0x2216ab(0x272)](_0x10790d(_0x2216ab(0x201),{'content':'','modelId':_0x5e3845}));}const _0x214901=_0x5cdfff?.[_0x2216ab(0x1e9)]||0x0,_0xae8420=_0x5cdfff?.['total_tokens']||0x0,_0xc13bd5=_0x214901>0x0?_0x214901/0x30d40*0x64:1.5,_0x518fc8=_0xae8420>0x0?_0xae8420*0.000004:0.001;_0x597182[_0x2216ab(0x272)](_0x10790d(_0x2216ab(0x1f4),{'contextUsagePercentage':_0xc13bd5})),_0x597182[_0x2216ab(0x272)](_0x10790d(_0x2216ab(0x291),{'unit':_0x2216ab(0x276),'unitPlural':_0x2216ab(0x1e3),'usage':_0x518fc8})),_0x7c95f4('🔷\x20[KIRO]\x20done\x20|\x20finishReason='+_0x2c97c7+_0x2216ab(0x24c)+_0x433bef);}}}_0x597182[_0x2216ab(0x2da)]();}catch(_0x4b74eb){_0x4cc18f('[KIRO]\x20'+_0x4b74eb[_0x2216ab(0x28d)]);if(!_0x597182['headersSent'])_0x597182['writeHead'](0x1f4,{'Content-Type':_0x2216ab(0x2a9)});_0x597182['end'](JSON[_0x2216ab(0x2ba)]({'error':{'message':_0x4b74eb[_0x2216ab(0x28d)],'type':'mitm_error'}}));}}_0x1738fe[_0x1c84ca(0x224)]={'intercept':_0x3660af};}}),https=require('https'),fs=require('fs'),path=require(a0_0x4b050e(0x265)),dns=require(a0_0x4b050e(0x28b)),{promisify}=require(a0_0x4b050e(0x288)),{execSync}=require('child_process'),{log,err}=require_logger(),{TARGET_HOSTS,URL_PATTERNS,getToolForHost}=require_config(),{DATA_DIR,MITM_DIR}=require_paths(),{getCertForDomain}=require_generate(),DB_FILE=path[a0_0x4b050e(0x1ee)](DATA_DIR,'db.json'),LOCAL_PORT=0x1bb,ENABLE_FILE_LOG=![],LOG_DIR=path[a0_0x4b050e(0x1ee)](DATA_DIR,a0_0x4b050e(0x299),'mitm'),INTERNAL_REQUEST_HEADER={'name':a0_0x4b050e(0x257),'value':a0_0x4b050e(0x227)};if(ENABLE_FILE_LOG&&!fs[a0_0x4b050e(0x256)](LOG_DIR))fs[a0_0x4b050e(0x2c7)](LOG_DIR,{'recursive':!![]});var handlers={'antigravity':require_antigravity(),'copilot':require_copilot(),'kiro':require_kiro()},certCache=new Map();function sniCallback(_0x2a04d0,_0x1cdf39){const _0x2fdfb1=a0_0x4b050e;try{if(certCache[_0x2fdfb1(0x28e)](_0x2a04d0))return _0x1cdf39(null,certCache[_0x2fdfb1(0x209)](_0x2a04d0));const _0x31f1ad=getCertForDomain(_0x2a04d0);if(!_0x31f1ad)return _0x1cdf39(new Error(_0x2fdfb1(0x23d)+_0x2a04d0));const _0x13e64d=require(_0x2fdfb1(0x296))[_0x2fdfb1(0x228)]({'key':_0x31f1ad[_0x2fdfb1(0x247)],'cert':_0x31f1ad[_0x2fdfb1(0x204)]});certCache['set'](_0x2a04d0,_0x13e64d),log(_0x2fdfb1(0x2cd)+_0x2a04d0),_0x1cdf39(null,_0x13e64d);}catch(_0x113d50){err('SNI\x20error\x20for\x20'+_0x2a04d0+':\x20'+_0x113d50['message']),_0x1cdf39(_0x113d50);}}var sslOptions;try{sslOptions={'key':fs[a0_0x4b050e(0x233)](path[a0_0x4b050e(0x1ee)](MITM_DIR,a0_0x4b050e(0x2b9))),'cert':fs[a0_0x4b050e(0x233)](path[a0_0x4b050e(0x1ee)](MITM_DIR,a0_0x4b050e(0x1e6))),'SNICallback':sniCallback};}catch(a0_0xa591dc){err(a0_0x4b050e(0x2ad)+a0_0xa591dc[a0_0x4b050e(0x28d)]),process[a0_0x4b050e(0x2a4)](0x1);}var cachedTargetIPs={},CACHE_TTL_MS=0x5*0x3c*0x3e8;async function resolveTargetIP(_0x355562){const _0x1d0d8e=a0_0x4b050e,_0x27014b=cachedTargetIPs[_0x355562];if(_0x27014b&&Date['now']()-_0x27014b['ts']<CACHE_TTL_MS)return _0x27014b['ip'];const _0x448901=new dns[(_0x1d0d8e(0x244))]();_0x448901[_0x1d0d8e(0x2a5)](['8.8.8.8']);const _0x48b5c2=promisify(_0x448901[_0x1d0d8e(0x2bc)][_0x1d0d8e(0x2c8)](_0x448901)),_0x57bda8=await _0x48b5c2(_0x355562);return cachedTargetIPs[_0x355562]={'ip':_0x57bda8[0x0],'ts':Date['now']()},cachedTargetIPs[_0x355562]['ip'];}function collectBodyRaw(_0x1da39b){return new Promise((_0x412497,_0x361377)=>{const _0x22affd=a0_0x6ed2,_0x1e1d9b=[];_0x1da39b['on']('data',_0x3dc925=>_0x1e1d9b['push'](_0x3dc925)),_0x1da39b['on'](_0x22affd(0x2da),()=>_0x412497(Buffer[_0x22affd(0x2a1)](_0x1e1d9b))),_0x1da39b['on'](_0x22affd(0x246),_0x361377);});}function extractModel(_0x4ba638,_0x33289c){const _0xc21890=a0_0x4b050e,_0x34f9f2=_0x4ba638[_0xc21890(0x229)](/\/models\/([^/:]+)/);if(_0x34f9f2)return _0x34f9f2[0x1];try{const _0xafeecc=JSON[_0xc21890(0x290)](_0x33289c[_0xc21890(0x2c5)]());if(_0xafeecc['conversationState'])return _0xafeecc['conversationState'][_0xc21890(0x231)]?.[_0xc21890(0x275)]?.[_0xc21890(0x2a0)]||null;return _0xafeecc['model']||null;}catch{return null;}}function getMappedModel(_0x4a690a,_0x1434cc){const _0xd89443=a0_0x4b050e;if(!_0x1434cc)return null;try{if(!fs[_0xd89443(0x256)](DB_FILE))return null;const _0x23730c=JSON['parse'](fs['readFileSync'](DB_FILE,_0xd89443(0x23c))),_0x3099b0=_0x23730c[_0xd89443(0x2c1)]?.[_0x4a690a];if(!_0x3099b0)return null;if(_0x3099b0[_0x1434cc])return _0x3099b0[_0x1434cc];const _0x16a890=Object[_0xd89443(0x1ec)](_0x3099b0)['find'](_0x85366c=>_0x85366c&&_0x3099b0[_0x85366c]&&(_0x1434cc['startsWith'](_0x85366c)||_0x85366c[_0xd89443(0x221)](_0x1434cc)));return _0x16a890?_0x3099b0[_0x16a890]:null;}catch{return null;}}function a0_0x6ed2(_0x1d35fd,_0x3fbcc9){_0x1d35fd=_0x1d35fd-0x1de;const _0x20cf80=a0_0x20cf();let _0x6ed284=_0x20cf80[_0x1d35fd];if(a0_0x6ed2['ryJeZb']===undefined){var _0x4c125d=function(_0x4f4b97){const _0x4a6932='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4877f3='',_0x4fc074='';for(let _0x1f9823=0x0,_0x215bc2,_0x47d225,_0x37befc=0x0;_0x47d225=_0x4f4b97['charAt'](_0x37befc++);~_0x47d225&&(_0x215bc2=_0x1f9823%0x4?_0x215bc2*0x40+_0x47d225:_0x47d225,_0x1f9823++%0x4)?_0x4877f3+=String['fromCharCode'](0xff&_0x215bc2>>(-0x2*_0x1f9823&0x6)):0x0){_0x47d225=_0x4a6932['indexOf'](_0x47d225);}for(let _0x42f947=0x0,_0x1c1e49=_0x4877f3['length'];_0x42f947<_0x1c1e49;_0x42f947++){_0x4fc074+='%'+('00'+_0x4877f3['charCodeAt'](_0x42f947)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4fc074);};a0_0x6ed2['qDXhLt']=_0x4c125d,a0_0x6ed2['bygoza']={},a0_0x6ed2['ryJeZb']=!![];}const _0x5b8dbe=_0x20cf80[0x0],_0x460204=_0x1d35fd+_0x5b8dbe,_0x45c49c=a0_0x6ed2['bygoza'][_0x460204];return!_0x45c49c?(_0x6ed284=a0_0x6ed2['qDXhLt'](_0x6ed284),a0_0x6ed2['bygoza'][_0x460204]=_0x6ed284):_0x6ed284=_0x45c49c,_0x6ed284;}function saveRequestLog(_0x1a3331,_0x235d6f){const _0x4f9679=a0_0x4b050e;if(!ENABLE_FILE_LOG)return;try{const _0x47eb47=new Date()['toISOString']()[_0x4f9679(0x271)](/[:.]/g,'-'),_0x3260ee=_0x1a3331[_0x4f9679(0x271)](/[^a-zA-Z0-9]/g,'_')[_0x4f9679(0x2d3)](0x0,0x3c),_0x5f1cb1=JSON[_0x4f9679(0x290)](_0x235d6f['toString']());fs[_0x4f9679(0x239)](path[_0x4f9679(0x1ee)](LOG_DIR,_0x47eb47+'_'+_0x3260ee+'.json'),JSON[_0x4f9679(0x2ba)](_0x5f1cb1,null,0x2));}catch{}}async function passthrough(_0x132dbc,_0x21cb74,_0xa8db2b,_0x54952c){const _0x4467d3=a0_0x4b050e,_0x476110=(_0x132dbc[_0x4467d3(0x29f)][_0x4467d3(0x26e)]||TARGET_HOSTS[0x0])[_0x4467d3(0x211)](':')[0x0],_0x3833a7=await resolveTargetIP(_0x476110),_0x30b56a=https[_0x4467d3(0x1fc)]({'hostname':_0x3833a7,'port':0x1bb,'path':_0x132dbc[_0x4467d3(0x2d5)],'method':_0x132dbc[_0x4467d3(0x2b3)],'headers':{..._0x132dbc['headers'],'host':_0x476110},'servername':_0x476110,'rejectUnauthorized':![]},_0x49b5a4=>{const _0xae0d20=_0x4467d3;_0x21cb74['writeHead'](_0x49b5a4[_0xae0d20(0x2d8)],_0x49b5a4[_0xae0d20(0x29f)]);if(!_0x54952c){_0x49b5a4['pipe'](_0x21cb74);return;}const _0x4d5d8b=[];_0x49b5a4['on'](_0xae0d20(0x279),_0x31c23a=>{const _0x57d3ac=_0xae0d20;_0x4d5d8b[_0x57d3ac(0x20e)](_0x31c23a),_0x21cb74[_0x57d3ac(0x272)](_0x31c23a);}),_0x49b5a4['on']('end',()=>{const _0x136d16=_0xae0d20;_0x21cb74[_0x136d16(0x2da)]();try{_0x54952c(Buffer['concat'](_0x4d5d8b),_0x49b5a4[_0x136d16(0x29f)]);}catch{}});});_0x30b56a['on'](_0x4467d3(0x246),_0xdec567=>{const _0x20b7d2=_0x4467d3;err(_0x20b7d2(0x270)+_0xdec567[_0x20b7d2(0x28d)]);if(!_0x21cb74[_0x20b7d2(0x2b2)])_0x21cb74[_0x20b7d2(0x24b)](0x1f6);_0x21cb74[_0x20b7d2(0x2da)](_0x20b7d2(0x24a));});if(_0xa8db2b[_0x4467d3(0x24f)]>0x0)_0x30b56a[_0x4467d3(0x272)](_0xa8db2b);_0x30b56a[_0x4467d3(0x2da)]();}var server=https[a0_0x4b050e(0x27c)](sslOptions,async(_0x502b12,_0x485273)=>{const _0x106af1=a0_0x4b050e;try{if(_0x502b12['url']==='/_mitm_health'){_0x485273[_0x106af1(0x24b)](0xc8,{'Content-Type':_0x106af1(0x2a9)}),_0x485273[_0x106af1(0x2da)](JSON[_0x106af1(0x2ba)]({'ok':!![],'pid':process[_0x106af1(0x23a)]}));return;}const _0x4a5f7d=await collectBodyRaw(_0x502b12);if(_0x4a5f7d[_0x106af1(0x24f)]>0x0)saveRequestLog(_0x502b12[_0x106af1(0x2d5)],_0x4a5f7d);if(_0x502b12['headers'][INTERNAL_REQUEST_HEADER['name']]===INTERNAL_REQUEST_HEADER[_0x106af1(0x22e)])return passthrough(_0x502b12,_0x485273,_0x4a5f7d);const _0x17c2c5=getToolForHost(_0x502b12[_0x106af1(0x29f)][_0x106af1(0x26e)]);if(!_0x17c2c5)return passthrough(_0x502b12,_0x485273,_0x4a5f7d);const _0x2472a0=URL_PATTERNS[_0x17c2c5]||[],_0x5ce3ba=_0x2472a0['some'](_0x4d6de0=>_0x502b12[_0x106af1(0x2d5)]['includes'](_0x4d6de0));if(!_0x5ce3ba)return passthrough(_0x502b12,_0x485273,_0x4a5f7d);log(_0x106af1(0x23e)+_0x17c2c5+_0x106af1(0x259)+_0x502b12['url']+_0x106af1(0x212)+_0x4a5f7d[_0x106af1(0x24f)]);if(_0x17c2c5==='cursor')return log(_0x106af1(0x26f)),handlers[_0x17c2c5][_0x106af1(0x203)](_0x502b12,_0x485273,_0x4a5f7d,null,passthrough);const _0x186580=extractModel(_0x502b12[_0x106af1(0x2d5)],_0x4a5f7d);log(_0x106af1(0x23e)+_0x17c2c5+_0x106af1(0x297)+_0x186580+'\x22');const _0x43b505=getMappedModel(_0x17c2c5,_0x186580);if(!_0x43b505)return log(_0x106af1(0x21a)+_0x17c2c5+_0x106af1(0x295)+(_0x186580||_0x106af1(0x218))),passthrough(_0x502b12,_0x485273,_0x4a5f7d);return log(_0x106af1(0x1f9)+_0x17c2c5+_0x106af1(0x295)+_0x186580+_0x106af1(0x213)+_0x43b505),handlers[_0x17c2c5][_0x106af1(0x203)](_0x502b12,_0x485273,_0x4a5f7d,_0x43b505,passthrough);}catch(_0x56132d){err(_0x106af1(0x240)+_0x56132d[_0x106af1(0x28d)]);if(!_0x485273[_0x106af1(0x2b2)])_0x485273[_0x106af1(0x24b)](0x1f4,{'Content-Type':_0x106af1(0x2a9)});_0x485273['end'](JSON[_0x106af1(0x2ba)]({'error':{'message':_0x56132d[_0x106af1(0x28d)],'type':_0x106af1(0x20c)}}));}});function killPort(_0x4444de){const _0x229f59=a0_0x4b050e;try{const _0xe95258=execSync(_0x229f59(0x2d6)+_0x4444de,{'encoding':'utf-8'})[_0x229f59(0x242)]();if(!_0xe95258)return;const _0x9cab0=_0xe95258['split']('\x0a');_0x9cab0['forEach'](_0x14ef91=>{const _0x1bc832=_0x229f59;try{process['kill'](Number(_0x14ef91),_0x1bc832(0x2c0));}catch(_0x19cb60){err(_0x1bc832(0x23f)+_0x14ef91+':\x20'+_0x19cb60[_0x1bc832(0x28d)]);throw _0x19cb60;}}),log(_0x229f59(0x277)+_0x9cab0[_0x229f59(0x24f)]+_0x229f59(0x1f1)+_0x4444de);}catch(_0x379f6b){if(_0x379f6b[_0x229f59(0x220)]!==0x1)throw _0x379f6b;}}function a0_0x20cf(){const _0x4d5403=['zw4Tvvm','Ag9ZDa','4PQHigLUDgvYy2vWDcb8ign1CNnVCIb8ihbYB3rV','ugfZC3rOCM91z2GGzxjYB3i6ia','CMvWBgfJzq','D3jPDgu','ihWGDg9VBhm9','ug9YDca','DxnLCKLUChv0twvZC2fNzq','y3jLzgL0','s2LSBgvKia','zw50CMLLCW','zgf0yq','zgvJB2rL','BwL0Bq','y3jLyxrLu2vYDMvY','C2LNBG','ihWGBw9KzwW9','zgf0ytOG','nhD1zhHnBW','A2v5vxnHz2u','y29WAwXVDa','4PYfifjVB3qGq0eGz2vUzxjHDgvKihn1y2nLC3nMDwXSEq','BgLZDgvU','CgTP','Dg9VBa','l0jPzgLbChbLBMq','DxrPBa','Dg9VBfjLC3vSDhm','oMv2zw50lxr5Cgu','zg5Z','Dg9VBhm','BwvZC2fNzq','AgfZ','zgvZy3jPChrPB24','CgfYC2u','Bwv0zxjPBMDfDMvUDa','xtOG','C3LZDgvT','y2vYDgLMAwnHDgvgCM9TugvT','ihWG','DgXZ','xsbTB2rLBd0I','Dgv4Da','Bg9NCW','CgXHDgzVCM0','mtvKEvrnD0W','wc1by2nLBc1cDwzMzxjPBMC','C3vIAMvJDa','Dg9VBfvZzxm','AgvHzgvYCW','Bw9KzwXjza','y29Uy2f0','qxbWrgf0yq','CNnH','zxHPDa','C2v0u2vYDMvYCW','DxnHz2u','q2fUBM90igTPBgWGChjVy2vZCYbVBIbWB3j0ia','ue9tva','yxbWBgLJyxrPB24VANnVBG','ovjVDxrLCG','y2H1BMTLza','BMfTzq','uM9VDcbdqsbUB3qGzM91BMq6ia','EMXPyG','lJLYB3v0zxi','mtuXmtC3nKL5t3vhAq','4PYfifjVB3qGq0eGywXYzwfKEsbLEgLZDhm','AgvHzgvYC1nLBNq','Bwv0Ag9K','BM9ZBMLMzG','ywXSB2m','D3jPDgvvsw50mtzcrq','rufdq0vt','pgLKzw50Axr5pG','CM9VDenblMTLEq','C3rYAw5NAwz5','Bg9N','CMvZB2X2ztq','y3jLyxrLq2vYDgLMAwnHDgu','nJCYmtqYmvHlD0vrBG','oti0ndrxteDvwwu','u0Lhs0Lmta','BwL0BufSAwfZ','DMfSDwvZ','y3jJmZi','DxrMoa','Dg9tDhjPBMC','xsdINyWGw01jve1Dia','BwTKAxjtEw5J','yMLUza','DhjHBNnMzxiTzw5JB2rPBMC','C2HHmJu2','zgvSDge','Ag9TzwrPCG','8j+uKcbdzxj0igDLBMvYyxrLzdOG','zNvUy3rPB24','qMvHCMvYia','y29UDgvUDa','Dg9VBfvZzuLK','BwfW','C3vIC3rYAw5N','ChjPDMf0zuTLEuzYB21qzw0','DxjS','BhnVzIaTDgKGoG','CMvHza','C3rHDhvZq29Kzq','Cs51CY1Lyxn0lteUyw1HEM9UyxDZlMnVBq','zw5K','Aw5WDxq','zMXVB3i','mJa2mZm4ANjgzMT2','yxbPlMLUzgL2Awr1ywWUz2L0AhvIy29WAwXVDc5JB20','Dg9VBfvZzuv2zw50','y2HVAwnLCW','mteWnde1mfLQCwXeqW','BM8Ty2fJAgu','y3jLzgL0CW','Dg9VBfnWzwnPzMLJyxrPB24','Cg9W','CM9VDenblMnYDa','mtuYofLozeHkAq','C2XPy2u','ChjVBxb0x3rVA2vUCW','yxbWBgLJyxrPB24VDM5KlMfTyxPVBI5LDMvUDhn0CMvHBq','ndq5mtbxB1Dyv08','A2v5CW','C3vIAMvJDefSDe5HBwu','AM9PBG','ChvIBgLJs2v5','CMfUzg9T','ihbYB2nLC3mOzxmPig9UihbVCNqG','BM90qwz0zxi','Dg9VBf9JywXSCW','y29UDgv4DfvZywDLrxzLBNq','zxzLBNq','yMfZAwndB25ZDhjHAw50CW','BM90qMvMB3jL','BM93','4PQHigLUDgvYy2vWDcb8ia','yxnZAxn0yw50','y29TBw9UtMfTzq','CMvXDwvZDa','BwvZC2fNzxm','z2vUzxjHDgvlzxLqywLY','DMfSAwrPDhK','ugvYBwLZC2LVBIbKzw5PzwqGzM9YihbVCNqG','yxnZAxn0yw50uMvZCg9UC2vfDMvUDa','8j+uTYbBs0Lst10GAw50zxjJzxb0ihWGy29UDMvYC2f0Aw9Uswq9','Aw50zxjJzxb0','y2vYDa','w0rptKvD','BM9Kzs1MB3jNzq','mJm1mfvVqK9IAG','zNjVBq','z2v0','y2XVC2u','z2v0t3DUuhjVCgvYDhLoyw1LCW','BwL0Bv9LCNjVCG','y3vYC29Y','ChvZAa','l3yXl21LC3nHz2vZ','8j+uKcbhzw5LCMf0Aw5NifjVB3qGq0eGy2vYDgLMAwnHDguUlI4','C3bSAxq','ihWGyM9KEuXLBJ0','iokgKIa','mtSGBw9Kzt1IBg9JAW','Aw5KzxG','u0Lhsu5u','y2vYDgLMAwnHDgvuB1bLBq','Dw5RBM93BG','yxnZAxn0yw50uMvZCg9UC2vnzxnZywDL','4O+PihbHC3n0AhjVDwDOihWGBM8GBwfWCgLUzYb8ia','C2v0rxH0zw5ZAw9UCW','ChjPDMf0zuTLEvrVugvT','8j+uTYbBs0Lst10Gy29UDMvYDgvKihWGBwvZC2fNzxm9','uM9HBwLUzW','l3yXl3jLC3bVBNnLCW','C3rHDhvZ','C3rHCNrZv2L0Aa','A2vLCc1HBgL2zq','C2vYAwfStNvTyMvY','zxHWB3j0CW','oxjVDxrLCG','Dgv4Dc9LDMvUDc1ZDhjLyw0','Bg9JywW','y3jLyxrLu2vJDxjLq29UDgv4Da','Bwf0y2G','D3jPDgvvsw50mZjcrq','y29UDgvUDc10ExbL','yM9KEq','C2v0rNvSBfLLyxi','DMfSDwu','Bw9KzwW','B3jNyw5PEMf0Aw9UtMfTzq','y3vYCMvUDe1LC3nHz2u','D2LUmZi','CMvHzezPBgvtEw5J','y2XVDwrJB2rLlxbHlMDVB2DSzwfWAxmUy29T','DxnLCG','C3rYAw5N','Aw5JBhvKzxm','z2v0uMvHzgvY','D3jPDgvgAwXLu3LUyW','CgLK','ChjPDMf0zuTLEq','DxrMltG','rMfPBgvKihrVigDLBMvYyxrLignLCNqGzM9Yia','8j+uJsbB','rMfPBgvKihrVigTPBgWGueLeia','vw5Oyw5KBgvKigvYCM9YoIa','oMDLBMvYyxrLq29UDgvUDa','DhjPBq','yxjNDw1LBNrZ','uMvZB2X2zxi','l2DLBMvYyxrLqxnZAxn0yw50uMvZCg9UC2u','zxjYB3i','A2v5','y291BNrYEu5HBwu','y29UDMvYC2f0Aw9Uu3rHDgu','qMfKieDHDgv3yxK','D3jPDgvizwfK','igHHC1rVB2XdywXSCZ0','8j+uTYbBs0Lst10GDg9VBfvZzuv2zw50ihWGAwq9','l1j1BG','BgvUz3rO','oMnVBNrLBNqTDhLWzq','yxbPmI5JDxjZB3iUC2G','A2LYBW','8j+uTYbBs0Lst10GDg9VBhm6ia','yxv0Ag9YAxPHDgLVBG','DxnLCKLUChv0twvZC2fNzunVBNrLEhq','zxHPC3rZu3LUyW','Ec1Yzxf1zxn0lxnVDxjJzq','y29Kzq','xsb1CMW9','z2v0rNvSBfLLyxi','ovjVDxrLCIbnsvrnifjVB3qGq0e','y29WEq','y2f0y2G','l3yXl2nOyxqVy29TCgXLDgLVBNm','zgfPBhKTy2XVDwrJB2rLlxbHlMDVB2DSzwfWAxmUy29T','oM1LC3nHz2uTDhLWzq','C2v0sxnZDwvY','yxjNCW','mZy2nZq5n05HvgPwBW','yxr0CMLIDxrLCW','Cgf0Aa','u0Lhvevstq','Dg9mB2nHBgvuAw1Lu3rYAw5N','Dw5SAw5Ru3LUyW','8j+AGcbtzxj2zxiGCMvHzhKGB24GoG','oNn0CMvHBuDLBMvYyxrLq29UDgvUDa','y29UDMvYC2f0Aw9Uswq','y29UBMvJDgLVBG'];a0_0x20cf=function(){return _0x4d5403;};return a0_0x20cf();}try{killPort(LOCAL_PORT);}catch(a0_0x3fd1a1){err(a0_0x4b050e(0x2a7)+LOCAL_PORT+':\x20'+a0_0x3fd1a1[a0_0x4b050e(0x28d)]),process[a0_0x4b050e(0x2a4)](0x1);}server[a0_0x4b050e(0x284)](LOCAL_PORT,()=>log(a0_0x4b050e(0x269)+LOCAL_PORT)),server['on'](a0_0x4b050e(0x246),_0x1075bf=>{const _0x38ed0f=a0_0x4b050e;if(_0x1075bf[_0x38ed0f(0x258)]==='EADDRINUSE')err(_0x38ed0f(0x274)+LOCAL_PORT+'\x20already\x20in\x20use');else{if(_0x1075bf['code']===_0x38ed0f(0x2b7))err(_0x38ed0f(0x200)+LOCAL_PORT);else err(_0x1075bf[_0x38ed0f(0x28d)]);}process[_0x38ed0f(0x2a4)](0x1);});var shutdown=()=>server[a0_0x4b050e(0x20a)](()=>process[a0_0x4b050e(0x2a4)](0x0));process['on'](a0_0x4b050e(0x266),shutdown),process['on'](a0_0x4b050e(0x216),shutdown);if(process[a0_0x4b050e(0x29a)]==='win32')process['on']('SIGBREAK',shutdown);
|
|
1
|
+
var R=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var x=R((_t,ee)=>{function V(){return new Date().toLocaleTimeString("en-US",{hour12:!1})}var De=t=>console.log(`[${V()}] [MITM] ${t}`),Ne=t=>console.error(`[${V()}] \u274C [MITM] ${t}`);ee.exports={log:De,err:Ne}});var ne=R((xt,te)=>{var Ue=["daily-cloudcode-pa.googleapis.com","cloudcode-pa.googleapis.com","api.individual.githubcopilot.com","q.us-east-1.amazonaws.com","api2.cursor.sh"],be={antigravity:[":generateContent",":streamGenerateContent"],copilot:["/chat/completions","/v1/messages","/responses"],kiro:["/generateAssistantResponse"],cursor:["/BidiAppend","/RunSSE","/RunPoll","/Run"]};function je(t){let e=(t||"").split(":")[0];return e==="api.individual.githubcopilot.com"?"copilot":e==="daily-cloudcode-pa.googleapis.com"||e==="cloudcode-pa.googleapis.com"?"antigravity":e==="q.us-east-1.amazonaws.com"?"kiro":e==="api2.cursor.sh"?"cursor":null}te.exports={TARGET_HOSTS:Ue,URL_PATTERNS:be,getToolForHost:je}});var M=R(($t,se)=>{var j=require("path"),oe=require("os");function Me(){return process.env.DATA_DIR?process.env.DATA_DIR:process.platform==="win32"?j.join(process.env.APPDATA||j.join(oe.homedir(),"AppData","Roaming"),"9router"):j.join(oe.homedir(),".9router")}var re=Me(),Be=j.join(re,"mitm");se.exports={DATA_DIR:re,MITM_DIR:Be}});var le=R((Ot,ae)=>{var ie=require("path"),g=require("fs"),m=require("node-forge"),{MITM_DIR:B}=M(),A=ie.join(B,"rootCA.key"),w=ie.join(B,"rootCA.crt");function ce(t){try{let e=m.pki.certificateFromPem(g.readFileSync(t,"utf8")),n=new Date(Date.now()+720*60*60*1e3);return e.validity.notAfter<n}catch{return!0}}async function Ke(){let t=g.existsSync(A)&&g.existsSync(w);if(t&&!ce(w))return console.log("\u2705 Root CA already exists"),{key:A,cert:w};if(t){console.log("\u{1F510} Root CA expired or expiring soon \u2014 regenerating...");try{g.unlinkSync(A)}catch{}try{g.unlinkSync(w)}catch{}}g.existsSync(B)||g.mkdirSync(B,{recursive:!0}),console.log("\u{1F510} Generating Root CA certificate...");let e=m.pki.rsa.generateKeyPair(2048),n=m.pki.createCertificate();n.publicKey=e.publicKey,n.serialNumber="01",n.validity.notBefore=new Date,n.validity.notAfter=new Date,n.validity.notAfter.setFullYear(n.validity.notBefore.getFullYear()+10);let o=[{name:"commonName",value:"9Router MITM Root CA"},{name:"organizationName",value:"9Router"},{name:"countryName",value:"US"}];n.setSubject(o),n.setIssuer(o),n.setExtensions([{name:"basicConstraints",cA:!0,critical:!0},{name:"keyUsage",keyCertSign:!0,cRLSign:!0,critical:!0},{name:"subjectKeyIdentifier"}]),n.sign(e.privateKey,m.md.sha256.create());let r=m.pki.privateKeyToPem(e.privateKey),s=m.pki.certificateToPem(n);return g.writeFileSync(A,r),g.writeFileSync(w,s),console.log("\u2705 Root CA generated successfully"),{key:A,cert:w}}function Fe(){if(!g.existsSync(A)||!g.existsSync(w))throw new Error("Root CA not found. Generate it first.");let t=g.readFileSync(A,"utf8"),e=g.readFileSync(w,"utf8");return{key:m.pki.privateKeyFromPem(t),cert:m.pki.certificateFromPem(e)}}function Le(t,e){let n=m.pki.rsa.generateKeyPair(2048),o=m.pki.createCertificate();return o.publicKey=n.publicKey,o.serialNumber=Math.floor(Math.random()*1e6).toString(),o.validity.notBefore=new Date,o.validity.notAfter=new Date,o.validity.notAfter.setFullYear(o.validity.notBefore.getFullYear()+1),o.setSubject([{name:"commonName",value:t}]),o.setIssuer(e.cert.subject.attributes),o.setExtensions([{name:"basicConstraints",cA:!1},{name:"keyUsage",digitalSignature:!0,keyEncipherment:!0},{name:"extKeyUsage",serverAuth:!0,clientAuth:!0},{name:"subjectAltName",altNames:[{type:2,value:t},{type:2,value:`*.${t}`}]}]),o.sign(e.key,m.md.sha256.create()),{key:m.pki.privateKeyToPem(n.privateKey),cert:m.pki.certificateToPem(o)}}ae.exports={generateRootCA:Ke,loadRootCA:Fe,generateLeafCert:Le,isCertExpired:ce,ROOT_CA_CERT_PATH:w,ROOT_CA_KEY_PATH:A}});var pe=R((Ut,ue)=>{var Pt=require("path"),Dt=require("fs"),{MITM_DIR:Nt}=M(),{generateRootCA:He,loadRootCA:qe,generateLeafCert:Je}=le();async function ze(){return await He()}function Ge(t){try{let e=qe(),n=Je(t,e);return{key:n.key,cert:n.cert}}catch(e){return console.error(`Failed to generate cert for ${t}:`,e.message),null}}ue.exports={generateCert:ze,getCertForDomain:Ge}});var K=R((Mt,ge)=>{var{log:bt,err:jt}=x(),fe="http://localhost:20128",Ye=String(process.env.MITM_ROUTER_BASE||fe).trim().replace(/\/+$/,"")||fe,de=process.env.ROUTER_API_KEY,Xe=new Set(["host","content-length","connection","transfer-encoding","content-type","authorization"]);async function We(t,e="/v1/chat/completions",n={}){let o={};for(let[s,c]of Object.entries(n))Xe.has(s.toLowerCase())||(o[s]=c);let r=await fetch(`${Ye}${e}`,{method:"POST",headers:{...o,"Content-Type":"application/json",...de&&{Authorization:`Bearer ${de}`}},body:JSON.stringify(t)});if(!r.ok){let s=await r.text().catch(()=>"");throw new Error(`[${r.status}]: ${s}`)}return r}async function Ze(t,e){let n=t.headers.get("content-type")||"application/json",o={"Content-Type":n,"Cache-Control":"no-cache",Connection:"keep-alive"};if(n.includes("text/event-stream")&&(o["X-Accel-Buffering"]="no"),e.writeHead(200,o),!t.body){e.end(await t.text().catch(()=>""));return}let r=t.body.getReader(),s=new TextDecoder;for(;;){let{done:c,value:i}=await r.read();if(c){e.end();break}e.write(s.decode(i,{stream:!0}))}}ge.exports={fetchRouter:We,pipeSSE:Ze}});var he=R((Bt,me)=>{var{err:Qe}=x(),{fetchRouter:Ve,pipeSSE:et}=K();async function tt(t,e,n,o){try{let r=JSON.parse(n.toString());r.model=o;let s=await Ve(r,"/v1/chat/completions",t.headers);await et(s,e)}catch(r){Qe(`[antigravity] ${r.message}`),e.headersSent||e.writeHead(500,{"Content-Type":"application/json"}),e.end(JSON.stringify({error:{message:r.message,type:"mitm_error"}}))}}me.exports={intercept:tt}});var Se=R((Kt,ye)=>{var{err:nt}=x(),{fetchRouter:ot,pipeSSE:rt}=K(),st={"/chat/completions":"/v1/chat/completions","/v1/messages":"/v1/messages","/responses":"/v1/responses"};function it(t){for(let[e,n]of Object.entries(st))if(t.includes(e))return n;return"/v1/chat/completions"}async function ct(t,e,n,o){try{let r=JSON.parse(n.toString());r.model=o;let s=it(t.url),c=await ot(r,s,t.headers);await rt(c,e)}catch(r){nt(`[copilot] ${r.message}`),e.headersSent||e.writeHead(500,{"Content-Type":"application/json"}),e.end(JSON.stringify({error:{message:r.message,type:"mitm_error"}}))}}ye.exports={intercept:ct}});var we=R((Ft,Re)=>{var ve=require("zlib"),{log:P,err:Ie}=x(),{fetchRouter:at}=K();function lt(t){return typeof t!="string"?!1:t.includes("<identity>")||t.includes("You are an intent classifier")}function ut(t,e){let n=t.conversationState||{},o=n.history||[],r=n.currentMessage?.userInputMessage,s=[],c=!1;for(let l of o)if(l.userInputMessage){let d=l.userInputMessage,p=(d.content||"").trim(),f=d.userInputMessageContext?.toolResults;if(!c&<(p)){if(s.push({role:"system",content:p}),c=!0,f?.length>0)for(let u of f)s.push({role:"tool",tool_call_id:u.toolUseId,content:u.content?.map(h=>h.text).join(`
|
|
2
|
+
`)||""});continue}if(f?.length>0)for(let u of f)s.push({role:"tool",tool_call_id:u.toolUseId,content:u.content?.map(h=>h.text).join(`
|
|
3
|
+
`)||""});p&&s.push({role:"user",content:p})}else if(l.assistantResponseMessage){let d=l.assistantResponseMessage,p={role:"assistant",content:d.content||""};d.toolUses?.length>0&&(p.tool_calls=d.toolUses.map(f=>({id:f.toolUseId,type:"function",function:{name:f.name,arguments:JSON.stringify(f.input||{})}}))),s.push(p)}if(r){let l=r.userInputMessageContext?.toolResults;if(l?.length>0)for(let p of l)s.push({role:"tool",tool_call_id:p.toolUseId,content:p.content?.map(f=>f.text).join(`
|
|
4
|
+
`)||""});let d=(r.content||"").trim();d&&s.push({role:"user",content:d})}let i={model:e,messages:s,stream:!0,stream_options:{include_usage:!0}},a=r?.userInputMessageContext?.tools;return a?.length>0&&(i.tools=a.map(l=>({type:"function",function:{name:l.toolSpecification.name,description:l.toolSpecification.description||l.toolSpecification.name,parameters:l.toolSpecification.inputSchema?.json||{type:"object",properties:{}}}}))),i}function k(t,e){let n=Buffer.from(JSON.stringify(e),"utf8"),o=[[":event-type",t],[":content-type","application/json"],[":message-type","event"]],r=[];for(let[p,f]of o){let u=Buffer.from(p,"utf8"),h=Buffer.from(f,"utf8"),y=Buffer.alloc(1+u.length+1+2+h.length),v=0;y[v++]=u.length,u.copy(y,v),v+=u.length,y[v++]=7,y.writeUInt16BE(h.length,v),v+=2,h.copy(y,v),r.push(y)}let s=Buffer.concat(r),c=12+s.length+n.length+4,i=Buffer.alloc(c),a=0;i.writeUInt32BE(c,a),a+=4,i.writeUInt32BE(s.length,a),a+=4;let l=ve.crc32(i.slice(0,8));i.writeUInt32BE(l,a),a+=4,s.copy(i,a),a+=s.length,n.copy(i,a),a+=n.length;let d=ve.crc32(i.slice(0,c-4));return i.writeUInt32BE(d,a),i}async function pt(t,e,n,o,r){try{let s=JSON.parse(n.toString()),c=s.conversationState?.conversationId||"unknown";P(`\u{1F537} [KIRO] intercept | conversationId=${c} | model=${o}`);let i=ut(s,o);if(P(`\u{1F537} [KIRO] converted | messages=${i.messages.length} | tools=${i.tools?.length||0}`),i.tools?.length&&P(`\u{1F537} [KIRO] tools: ${i.tools.map(y=>y.function.name).join(", ")}`),!i.messages.length)return Ie("[KIRO] No messages after conversion \u2014 passthrough"),r(t,e,n);let a=await at(i,"/v1/chat/completions",t.headers);e.writeHead(200,{"Content-Type":"application/vnd.amazon.eventstream","Cache-Control":"no-cache",Connection:"keep-alive","Transfer-Encoding":"chunked","x-amzn-RequestId":t.headers["amz-sdk-invocation-id"]||c,"x-amzn-codewhisperer-conversation-id":c,"X-XSS-Protection":"1; mode=block","X-Frame-Options":"DENY","X-Content-Type-Options":"nosniff"});let l=a.body.getReader(),d=new TextDecoder,p="",f=!1,u={},h=null;for(;;){let{done:y,value:v}=await l.read();if(y)break;p+=d.decode(v,{stream:!0});let G=p.split(`
|
|
5
|
+
`);p=G.pop();for(let Y of G){if(!Y.startsWith("data: "))continue;let X=Y.slice(6).trim();if(X==="[DONE]")continue;let N;try{N=JSON.parse(X)}catch{continue}N.usage&&(h=N.usage);let F=N.choices?.[0];if(!F)continue;let U=F.delta||{},W=F.finish_reason;if(U.content&&e.write(k("assistantResponseEvent",{content:U.content,modelId:o})),U.tool_calls){f=!0;for(let S of U.tool_calls){let T=S.index??0;u[T]||(u[T]={id:"",name:"",args:""}),S.id&&(u[T].id=S.id),S.function?.name&&(u[T].name=S.function.name),S.function?.arguments&&(u[T].args+=S.function.arguments)}}if(W){if(f){for(let I of Object.values(u)){P(`\u{1F537} [KIRO] toolUseEvent | id=${I.id} name=${I.name}`),e.write(k("toolUseEvent",{name:I.name,toolUseId:I.id}));let Z=I.args||"{}",Q=32;for(let b=0;b<Z.length;b+=Q)e.write(k("toolUseEvent",{input:Z.slice(b,b+Q),name:I.name,toolUseId:I.id}));e.write(k("toolUseEvent",{name:I.name,stop:!0,toolUseId:I.id}))}e.write(k("assistantResponseEvent",{content:"",modelId:o}))}let S=h?.prompt_tokens||0,T=h?.total_tokens||0,Oe=S>0?S/2e5*100:1.5,Pe=T>0?T*4e-6:.001;e.write(k("contextUsageEvent",{contextUsagePercentage:Oe})),e.write(k("meteringEvent",{unit:"credit",unitPlural:"credits",usage:Pe})),P(`\u{1F537} [KIRO] done | finishReason=${W} hasToolCalls=${f}`)}}}e.end()}catch(s){Ie(`[KIRO] ${s.message}`),e.headersSent||e.writeHead(500,{"Content-Type":"application/json"}),e.end(JSON.stringify({error:{message:s.message,type:"mitm_error"}}))}}Re.exports={intercept:pt}});var ke=require("https"),_=require("fs"),D=require("path"),ft=require("dns"),{promisify:dt}=require("util"),{execSync:gt}=require("child_process"),{log:E,err:C}=x(),{TARGET_HOSTS:mt,URL_PATTERNS:ht,getToolForHost:yt}=ne(),{DATA_DIR:_e,MITM_DIR:Ce}=M(),{getCertForDomain:St}=pe(),Te=D.join(_e,"db.json"),O=443,xe=!1,q=D.join(_e,"logs","mitm"),Ae={name:"x-request-source",value:"local"};xe&&!_.existsSync(q)&&_.mkdirSync(q,{recursive:!0});var Ee={antigravity:he(),copilot:Se(),kiro:we()},L=new Map;function vt(t,e){try{if(L.has(t))return e(null,L.get(t));let n=St(t);if(!n)return e(new Error(`Failed to generate cert for ${t}`));let o=require("tls").createSecureContext({key:n.key,cert:n.cert});L.set(t,o),E(`\u{1F510} Cert generated: ${t}`),e(null,o)}catch(n){C(`SNI error for ${t}: ${n.message}`),e(n)}}var $e;try{$e={key:_.readFileSync(D.join(Ce,"rootCA.key")),cert:_.readFileSync(D.join(Ce,"rootCA.crt")),SNICallback:vt}}catch(t){C(`Root CA not found: ${t.message}`),process.exit(1)}var H={},It=300*1e3;async function Rt(t){let e=H[t];if(e&&Date.now()-e.ts<It)return e.ip;let n=new ft.Resolver;n.setServers(["8.8.8.8"]);let r=await dt(n.resolve4.bind(n))(t);return H[t]={ip:r[0],ts:Date.now()},H[t].ip}function wt(t){return new Promise((e,n)=>{let o=[];t.on("data",r=>o.push(r)),t.on("end",()=>e(Buffer.concat(o))),t.on("error",n)})}function Ct(t,e){let n=t.match(/\/models\/([^/:]+)/);if(n)return n[1];try{let o=JSON.parse(e.toString());return o.conversationState?o.conversationState.currentMessage?.userInputMessage?.modelId||null:o.model||null}catch{return null}}function Tt(t,e){if(!e)return null;try{if(!_.existsSync(Te))return null;let o=JSON.parse(_.readFileSync(Te,"utf-8")).mitmAlias?.[t];if(!o)return null;if(o[e])return o[e];let r=Object.keys(o).find(s=>s&&o[s]&&(e.startsWith(s)||s.startsWith(e)));return r?o[r]:null}catch{return null}}function At(t,e){if(xe)try{let n=new Date().toISOString().replace(/[:.]/g,"-"),o=t.replace(/[^a-zA-Z0-9]/g,"_").substring(0,60),r=JSON.parse(e.toString());_.writeFileSync(D.join(q,`${n}_${o}.json`),JSON.stringify(r,null,2))}catch{}}async function $(t,e,n,o){let r=(t.headers.host||mt[0]).split(":")[0],s=await Rt(r),c=ke.request({hostname:s,port:443,path:t.url,method:t.method,headers:{...t.headers,host:r},servername:r,rejectUnauthorized:!1},i=>{if(e.writeHead(i.statusCode,i.headers),!o){i.pipe(e);return}let a=[];i.on("data",l=>{a.push(l),e.write(l)}),i.on("end",()=>{e.end();try{o(Buffer.concat(a),i.headers)}catch{}})});c.on("error",i=>{C(`Passthrough error: ${i.message}`),e.headersSent||e.writeHead(502),e.end("Bad Gateway")}),n.length>0&&c.write(n),c.end()}var J=ke.createServer($e,async(t,e)=>{try{if(t.url==="/_mitm_health"){e.writeHead(200,{"Content-Type":"application/json"}),e.end(JSON.stringify({ok:!0,pid:process.pid}));return}let n=await wt(t);if(n.length>0&&At(t.url,n),t.headers[Ae.name]===Ae.value)return $(t,e,n);let o=yt(t.headers.host);if(!o||!(ht[o]||[]).some(a=>t.url.includes(a)))return $(t,e,n);if(E(`\u{1F50D} [${o}] url=${t.url} | bodyLen=${n.length}`),o==="cursor")return E("\u26A1 intercept | cursor | proto"),Ee[o].intercept(t,e,n,null,$);let c=Ct(t.url,n);E(`\u{1F50D} [${o}] model="${c}"`);let i=Tt(o,c);return i?(E(`\u26A1 intercept | ${o} | ${c} \u2192 ${i}`),Ee[o].intercept(t,e,n,i,$)):(E(`\u23E9 passthrough | no mapping | ${o} | ${c||"unknown"}`),$(t,e,n))}catch(n){C(`Unhandled error: ${n.message}`),e.headersSent||e.writeHead(500,{"Content-Type":"application/json"}),e.end(JSON.stringify({error:{message:n.message,type:"mitm_error"}}))}});function Et(t){try{let e=gt(`lsof -nP -iTCP:${t} -sTCP:LISTEN -t`,{encoding:"utf-8",windowsHide:!0}).trim();if(!e)return;let n=e.split(`
|
|
6
|
+
`).filter(o=>o&&Number(o)!==process.pid);if(n.length===0)return;n.forEach(o=>{try{process.kill(Number(o),"SIGKILL")}catch(r){throw C(`Failed to kill PID ${o}: ${r.message}`),r}}),E(`Killed ${n.length} process(es) on port ${t}`)}catch(e){if(e.status!==1)throw e}}try{Et(O)}catch(t){C(`Cannot kill process on port ${O}: ${t.message}`),process.exit(1)}J.listen(O,()=>E(`\u{1F680} Server ready on :${O}`));J.on("error",t=>{t.code==="EADDRINUSE"?C(`Port ${O} already in use`):t.code==="EACCES"?C(`Permission denied for port ${O}`):C(t.message),process.exit(1)});var z=()=>J.close(()=>process.exit(0));process.on("SIGTERM",z);process.on("SIGINT",z);process.platform==="win32"&&process.on("SIGBREAK",z);
|
package/cli.js
CHANGED
|
@@ -311,29 +311,45 @@ function performUpdate() {
|
|
|
311
311
|
console.log(`\n🔄 Updating ${pkg.name}...\n`);
|
|
312
312
|
|
|
313
313
|
try {
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
314
|
+
if (process.platform === "win32") {
|
|
315
|
+
// Windows: run directly in current terminal to avoid file-lock deadlock
|
|
316
|
+
// Remove global package dir first to prevent stale file locks
|
|
317
|
+
try {
|
|
318
|
+
const globalRoot = execSync("npm root -g", { encoding: "utf8", timeout: 10000 }).trim();
|
|
319
|
+
const pkgDir = path.join(globalRoot, pkg.name);
|
|
320
|
+
if (fs.existsSync(pkgDir)) {
|
|
321
|
+
fs.rmSync(pkgDir, { recursive: true, force: true });
|
|
322
|
+
}
|
|
323
|
+
} catch (e) { /* best effort */ }
|
|
324
|
+
|
|
325
|
+
const MAX_RETRIES = 3;
|
|
326
|
+
const RETRY_DELAY_MS = 5000;
|
|
327
|
+
|
|
328
|
+
for (let attempt = 1; attempt <= MAX_RETRIES; attempt++) {
|
|
329
|
+
try {
|
|
330
|
+
console.log(`📥 Installing new version... (attempt ${attempt}/${MAX_RETRIES})`);
|
|
331
|
+
execSync(`npm install -g ${pkg.name}@latest --prefer-online`, {
|
|
332
|
+
stdio: "inherit",
|
|
333
|
+
timeout: 120000,
|
|
334
|
+
windowsHide: true
|
|
335
|
+
});
|
|
336
|
+
console.log(`\n✅ Update completed. Run '${pkg.name}' to start.`);
|
|
337
|
+
process.exit(0);
|
|
338
|
+
} catch (err) {
|
|
339
|
+
if (attempt < MAX_RETRIES) {
|
|
340
|
+
console.log(`⏳ Retry ${attempt}/${MAX_RETRIES} in ${RETRY_DELAY_MS / 1000}s...`);
|
|
341
|
+
const end = Date.now() + RETRY_DELAY_MS;
|
|
342
|
+
while (Date.now() < end) { /* wait */ }
|
|
343
|
+
} else {
|
|
344
|
+
console.error(`\n❌ Update failed after ${MAX_RETRIES} attempts.`);
|
|
345
|
+
console.log(`💡 Try manually: npm install -g ${pkg.name}@latest\n`);
|
|
346
|
+
process.exit(1);
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
335
350
|
} else {
|
|
336
|
-
|
|
351
|
+
// macOS/Linux: spawn detached update script (no file-lock issues on Unix)
|
|
352
|
+
const updateScript = `#!/bin/bash
|
|
337
353
|
echo "📥 Installing new version..."
|
|
338
354
|
sleep 2
|
|
339
355
|
|
|
@@ -356,18 +372,17 @@ else
|
|
|
356
372
|
echo "💡 Try manually: npm install -g ${pkg.name}@latest"
|
|
357
373
|
fi
|
|
358
374
|
`;
|
|
359
|
-
scriptPath = path.join(os.tmpdir(), `${APP_NAME}-update.sh`);
|
|
375
|
+
const scriptPath = path.join(os.tmpdir(), `${APP_NAME}-update.sh`);
|
|
360
376
|
fs.writeFileSync(scriptPath, updateScript, { mode: 0o755 });
|
|
361
|
-
shellCmd = ["sh", [scriptPath]];
|
|
362
|
-
}
|
|
363
377
|
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
378
|
+
const child = spawn("sh", [scriptPath], {
|
|
379
|
+
detached: true,
|
|
380
|
+
stdio: "inherit",
|
|
381
|
+
windowsHide: false
|
|
382
|
+
});
|
|
383
|
+
child.unref();
|
|
384
|
+
process.exit(0);
|
|
385
|
+
}
|
|
371
386
|
} catch (err) {
|
|
372
387
|
console.error(`⚠️ Update failed: ${err.message}`);
|
|
373
388
|
console.log(` Run manually: npm install -g ${pkg.name}@latest\n`);
|
|
@@ -458,7 +473,7 @@ async function showInterfaceMenu(latestVersion) {
|
|
|
458
473
|
return "exit";
|
|
459
474
|
}
|
|
460
475
|
|
|
461
|
-
const MAX_RESTARTS =
|
|
476
|
+
const MAX_RESTARTS = 2;
|
|
462
477
|
const RESTART_RESET_MS = 30000; // Reset counter if alive > 30s
|
|
463
478
|
|
|
464
479
|
function startServer(latestVersion) {
|
|
@@ -576,6 +591,8 @@ function startServer(latestVersion) {
|
|
|
576
591
|
|
|
577
592
|
if (choice === "update") {
|
|
578
593
|
cleanup();
|
|
594
|
+
// Wait for server process to fully terminate before npm install
|
|
595
|
+
await new Promise(r => setTimeout(r, 2000));
|
|
579
596
|
performUpdate();
|
|
580
597
|
return;
|
|
581
598
|
} else if (choice === "web") {
|
|
@@ -655,9 +672,18 @@ function startServer(latestVersion) {
|
|
|
655
672
|
if (aliveMs >= RESTART_RESET_MS) restartCount = 0;
|
|
656
673
|
|
|
657
674
|
if (restartCount >= MAX_RESTARTS) {
|
|
658
|
-
console.error(`\n
|
|
659
|
-
|
|
660
|
-
|
|
675
|
+
console.error(`\n⚠️ Server crashed ${MAX_RESTARTS} times. Disabling MITM and restarting...`);
|
|
676
|
+
try {
|
|
677
|
+
const dbPath = path.join(os.homedir(), process.platform === "win32" ? path.join("AppData", "Roaming", "9router", "db.json") : path.join(".9router", "db.json"));
|
|
678
|
+
if (fs.existsSync(dbPath)) {
|
|
679
|
+
const db = JSON.parse(fs.readFileSync(dbPath, "utf-8"));
|
|
680
|
+
if (db.settings) db.settings.mitmEnabled = false;
|
|
681
|
+
fs.writeFileSync(dbPath, JSON.stringify(db, null, 2));
|
|
682
|
+
}
|
|
683
|
+
} catch { /* best effort */ }
|
|
684
|
+
restartCount = 0;
|
|
685
|
+
server = spawnServer();
|
|
686
|
+
attachServerEvents();
|
|
661
687
|
return;
|
|
662
688
|
}
|
|
663
689
|
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
self.__BUILD_MANIFEST=function(e,s,t){return{__rewrites:{afterFiles:[{has:e,source:"/v1/v1/:path*",destination:s},{has:e,source:"/v1/v1",destination:t},{has:e,source:"/codex/:path*",destination:"/api/v1/responses"},{has:e,source:"/v1/:path*",destination:s},{has:e,source:"/v1",destination:t}],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:106,errorRate:1e-4,numBits:2033,numHashes:14,bitArray:[1,0,0,0,1,1,1,1,1,1,0,0,0,1,0,0,1,1,0,0,1,1,1,0,1,0,1,1,1,0,0,0,1,0,1,1,0,0,0,0,1,1,1,1,0,1,0,1,0,0,0,1,1,1,0,1,0,1,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,1,0,1,1,1,1,1,1,0,0,1,0,1,0,1,0,1,1,0,1,1,0,1,1,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,1,0,1,1,1,0,0,0,1,0,1,0,1,1,0,0,0,0,0,1,0,1,0,0,1,1,0,0,1,1,0,0,0,0,1,1,0,0,1,0,1,1,1,1,0,0,0,1,0,1,0,1,1,0,0,1,1,1,0,1,1,0,1,1,0,0,1,1,1,1,0,0,1,1,0,0,1,1,1,0,1,0,0,1,0,0,1,0,0,1,0,1,1,1,0,0,0,0,0,1,0,0,1,1,1,0,1,1,0,0,1,0,1,0,1,1,0,0,1,1,1,0,1,1,0,1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,1,1,1,1,0,1,0,1,1,1,0,1,1,0,0,0,1,1,1,1,1,1,0,1,1,0,0,0,0,1,0,1,0,1,0,1,1,0,0,0,0,1,1,0,1,1,1,0,1,1,0,0,1,0,0,0,0,1,0,1,1,1,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,0,1,0,0,1,0,0,1,0,1,1,0,1,0,1,0,1,1,1,0,1,0,0,0,1,0,1,1,1,1,1,1,0,1,1,0,0,1,1,0,1,0,0,0,1,0,0,0,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,1,1,0,1,0,0,1,1,0,1,1,1,0,1,1,0,0,0,0,0,1,0,0,0,1,1,1,0,0,1,0,0,1,0,0,1,1,0,1,0,0,0,0,1,0,1,0,0,0,1,0,1,1,0,1,1,0,1,1,1,0,0,1,0,0,1,1,0,0,1,0,0,0,0,1,1,0,0,1,0,1,0,1,0,0,0,0,0,0,0,1,0,1,0,0,1,0,0,0,1,1,0,0,1,1,1,1,0,0,0,1,1,0,1,1,1,0,1,0,1,0,1,0,1,1,1,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0,1,0,1,0,1,0,0,1,0,1,0,1,1,0,0,0,0,1,0,1,1,1,1,1,0,0,0,1,1,0,1,1,1,0,0,1,1,1,0,0,1,1,0,0,0,0,0,0,1,0,1,0,0,1,1,0,0,1,1,0,1,1,1,1,0,0,0,0,0,1,1,1,0,1,1,0,1,1,0,0,1,0,1,0,0,1,1,1,1,1,0,1,1,0,0,0,1,1,0,1,1,0,1,0,0,1,0,0,1,1,0,1,0,0,1,0,0,1,0,1,0,0,0,1,1,0,0,0,1,1,1,0,1,1,1,0,1,1,0,1,1,1,0,1,1,1,1,1,0,0,0,1,0,0,0,0,1,1,0,0,1,1,0,1,1,0,0,0,0,1,0,1,0,1,1,0,0,0,1,0,1,0,0,0,1,0,0,1,1,0,1,0,1,1,1,0,0,1,1,1,1,1,0,1,1,0,1,0,1,0,0,0,1,0,1,0,1,0,0,1,1,1,1,1,1,1,1,0,0,0,1,0,0,1,0,1,1,0,1,1,0,0,0,0,1,1,0,0,1,1,1,0,0,1,1,1,1,0,0,1,0,0,0,1,0,1,1,0,1,0,0,1,0,1,1,1,0,0,1,0,1,0,1,0,0,1,1,0,0,1,0,1,0,1,1,1,0,0,0,1,0,1,1,0,0,1,0,0,0,0,1,0,0,0,1,0,1,1,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,0,1,0,0,1,1,0,1,1,1,1,0,1,1,0,1,0,0,1,0,1,1,0,0,0,1,1,0,1,0,0,0,1,1,1,0,1,0,1,1,0,0,0,1,1,0,0,1,0,1,0,1,0,0,1,1,0,0,1,0,0,1,0,0,1,1,1,0,1,0,0,1,0,1,0,1,1,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,0,0,1,1,0,1,1,1,1,1,0,1,1,1,0,1,1,0,0,0,0,0,1,0,0,1,1,1,1,0,0,1,0,1,0,1,1,1,0,1,1,1,1,1,1,1,0,0,1,1,0,1,0,1,0,1,0,1,0,1,1,0,0,1,1,1,1,0,1,1,0,1,0,0,0,1,0,0,1,0,0,1,1,0,1,1,0,0,1,0,1,0,0,0,0,1,1,1,1,0,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,1,1,1,0,0,1,1,0,1,1,0,0,0,0,1,0,1,0,0,0,1,1,0,1,1,0,1,0,1,0,0,0,0,0,0,1,0,0,0,1,1,1,0,1,1,0,0,0,1,1,0,1,1,0,1,0,0,1,1,0,0,1,1,1,0,0,1,0,1,0,1,0,1,0,1,1,1,0,1,1,1,0,0,1,1,1,0,1,0,0,1,1,1,0,0,1,0,0,1,0,0,1,0,0,1,1,0,1,1,1,0,0,1,0,1,0,1,1,1,1,1,0,1,1,1,0,0,1,1,0,1,0,1,1,0,0,1,0,0,1,0,1,1,0,1,1,1,0,1,0,0,1,1,1,0,0,0,1,0,1,0,1,0,1,0,0,0,1,0,0,1,0,1,1,0,1,1,1,1,1,1,0,0,1,0,1,1,0,1,0,1,1,1,1,1,0,1,1,0,1,1,1,0,0,0,0,1,0,1,0,0,0,1,0,1,1,0,0,1,1,0,1,0,1,0,1,1,0,0,1,1,0,0,0,1,0,1,0,0,1,0,0,1,1,0,0,0,1,1,0,0,1,1,0,1,0,1,1,1,0,1,1,0,1,0,1,0,1,0,0,1,0,1,0,1,1,1,0,0,0,0,1,0,0,0,1,0,1,1,0,0,1,1,0,1,0,1,1,0,1,1,1,1,0,1,0,0,1,0,0,1,0,1,1,1,0,1,1,1,0,0,0,1,0,1,0,1,0,0,1,0,1,1,0,0,1,0,0,0,1,1,0,0,0,1,1,0,1,1,1,0,1,0,0,1,1,0,1,1,0,0,1,0,0,0,1,1,0,1,0,1,1,1,1,0,0,1,0,1,0,1,0,1,0,1,1,0,0,0,0,0,1,1,0,1,0,1,0,1,0,1,0,1,1,0,0,1,0,0,0,1,0,1,0,1,1,0,1,0,1,1,1,0,1,0,1,1,1,1,0,1,0,1,0,0,1,1,1,1,0,0,1,1,1,1,1,1,0,1,1,1,0,1,1,0,0,0,0,1,0,0,1,0,1,1,0,0,1,0,1,0,0,0,1,0,1,1,0,0,0,0,0,1,1,1,1,1,1,0,0,1,0,0,1,0,1,0,1,1,1,1,1,1,0,1,0,1,0,1,0,0,0,0,1,0,1,0,0,0,0,1,1,0,1,1,1,1,0,1,1,1,0,1,1,0,1,1,0,0,0,1,0,1,1,0,0,0,1,1,0,1,1,1,0,1,0,1,0,1,0,0,1,1,0,0,1,0,0,1,1,0,0,1,1,1,0,1,0,1,0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0,1,1,1,0,1,0,1,0,0,1,1,1,1,1,0,1,1,1,1,0,1,0,0,0,0,1,0,0,0,0,1,0,1,1,0,0,1,1,1,1,1,0,1,0,1,1,1,0,0,1,1,0,1,1,1,1,0,1,0,0,0,0,1,0,0,1,0,1,1,1,0,0,0,1,0,0,1,0,0,1,1,1,1,1,1,0,0,1,0,0,0,0,1,1,0,0,1,1,1,0,0,1,0,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,0,1,1,1,1,1,1,1,0,0,1,1,0,1,0,1,1,1,1,0,0,1,1,1,0,0,0,1,1,1,1,0,1,1,1,1,1,0,0,1,0,1,1,0,1,1,1,1,1,0,1,1,0,1,1,1,1,0,1,0,1,0,1,0,0,0,0,0,1,1,0,1,0,1,1,0,1,0,0,0,1,1,1,1,1,1,0,0,1,0,0,0,1,1,0,0,0,0,1,1,0,1,1,1,1,0,1,1,1,0,0,0,1,1,0,1,0,1,0,0,1,0,0,0,0,1,1,1,1,0,0,1,0,1,0,1,0,0,1,1,0,1,0,1,1,1,0,1,0,0,1,1,1,0,0,0,0,0,1,0,1,0,1,1,0,0,1,0,0,1,1,0,1,0,1,0,1,1,0,1,0,1,1,0,0,1,1,1,0,1,0,1,0,0,1,0,0,0,1,1,1,1,0,0,0,0,1,1,0,1,1,1,1,1,1,1,0,0,1,1,0,0,1,0,1,1,0,1,0,1]},__routerFilterDynamic:{numItems:10,errorRate:1e-4,numBits:192,numHashes:14,bitArray:[1,0,0,1,1,0,0,0,0,0,1,0,0,0,1,0,0,1,0,0,0,0,1,1,1,1,1,1,1,1,1,0,1,1,1,0,1,1,1,0,1,1,0,1,0,1,0,0,1,0,1,1,0,1,0,1,0,0,1,1,1,1,1,1,0,1,0,1,0,0,0,0,1,1,0,1,0,1,0,0,1,1,1,0,0,1,0,0,1,1,1,0,0,0,1,1,0,1,1,0,1,0,0,1,1,0,0,1,0,0,1,1,0,1,1,1,1,0,1,1,1,0,0,1,0,0,0,0,1,0,0,0,1,1,0,1,0,1,1,1,1,1,0,1,0,0,0,1,1,0,1,0,0,0,1,1,0,0,1,0,1,1,1,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,0,1,1,0]},sortedPages:["/_app"]}}(void 0,"/api/v1/:path*","/api/v1"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8035],{64795:(e,t,s)=>{"use strict";s.d(t,{default:()=>d});var a=s(73365),l=s(1521),r=s(86447),n=s.n(r),i=s(74156),o=s(96459);let c=[{icon:"public",title:"Access Anywhere",desc:"Use your API from any network"},{icon:"group",title:"Share Endpoint",desc:"Share URL with team members"},{icon:"code",title:"Use in Cursor/Cline",desc:"Connect AI tools remotely"},{icon:"lock",title:"Encrypted",desc:"End-to-end TLS via Cloudflare"}];function d({machineId:e}){let[t,s]=(0,l.useState)([]),[r,n]=(0,l.useState)(!0),[p,g]=(0,l.useState)(!1),[b,y]=(0,l.useState)(""),[f,j]=(0,l.useState)(null),[k,w]=(0,l.useState)(!1),[v,N]=(0,l.useState)(!0),[C,S]=(0,l.useState)(!0),[T,_]=(0,l.useState)(!1),[P,$]=(0,l.useState)(!0),[E,A]=(0,l.useState)(!1),[U,D]=(0,l.useState)(""),[O,F]=(0,l.useState)(""),[I,R]=(0,l.useState)(!1),[W,q]=(0,l.useState)(""),[L,K]=(0,l.useState)(null),[z,J]=(0,l.useState)(!1),[H,M]=(0,l.useState)(!1),[Q,Z]=(0,l.useState)(!1),[B,V]=(0,l.useState)(""),[G,X]=(0,l.useState)(!1),[Y,ee]=(0,l.useState)(""),[et,es]=(0,l.useState)(null),[ea,el]=(0,l.useState)(null),[er,en]=(0,l.useState)(!1),[ei,eo]=(0,l.useState)([]),[ec,ed]=(0,l.useState)(""),[ex,em]=(0,l.useState)(!1),[eh,eu]=(0,l.useState)(!1),[ep,eg]=(0,l.useState)(!1),eb=(0,l.useRef)(null),[ey,ef]=(0,l.useState)(new Set),{copied:ej,copy:ek}=(0,o.C)();(0,l.useEffect)(()=>{eb.current&&(eb.current.scrollTop=eb.current.scrollHeight)},[ei]),(0,l.useEffect)(()=>{eC(),ew()},[]);let ew=async()=>{$(!0);try{let[e,t]=await Promise.all([fetch("/api/settings"),fetch("/api/tunnel/status")]);if(e.ok){let t=await e.json();w(t.requireApiKey||!1),N(!1!==t.requireLogin),S(t.hasPassword||!1),_(t.tunnelDashboardAccess||!1)}if(t.ok){let e=await t.json(),s=e.tunnel?.enabled||!1,a=e.tunnel?.tunnelUrl||"",l=e.tunnel?.publicUrl||"";D(a),F(l);let r=e.tailscale?.enabled||!1,n=e.tailscale?.tunnelUrl||"";if(V(n),r&&n){X(!0),ee("Checking Tailscale...");let e=`${n}/api/health`;try{let t=await fetch(e,{mode:"no-cors",cache:"no-store"});if(t.ok||"opaque"===t.type)Z(!0);else{let e=await eE(n);Z(e),e||es({type:"warning",message:"Tailscale not reachable."})}}catch{let e=await eE(n);Z(e),e||es({type:"warning",message:"Tailscale not reachable."})}finally{X(!1),ee("")}}else Z(r);if(s&&(l||a)){let e=`${l||a}/api/health`;try{let t=await fetch(e,{mode:"no-cors",cache:"no-store"});t.ok||"opaque"===t.type?A(!0):eS(l||a)}catch{eS(l||a)}}else A(s)}}catch(e){console.log("Error loading settings:",e)}finally{$(!1)}},ev=async e=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({tunnelDashboardAccess:e})})).ok&&_(e)}catch(e){console.log("Error updating tunnelDashboardAccess:",e)}},eN=async e=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({requireApiKey:e})})).ok&&w(e)}catch(e){console.log("Error updating requireApiKey:",e)}},eC=async()=>{try{let e=await fetch("/api/keys"),t=await e.json();e.ok&&s(t.keys||[])}catch(e){console.log("Error fetching data:",e)}finally{n(!1)}},eS=async e=>{R(!0),q("Waiting for tunnel ready...");let t=`${e}/api/health`,s=Date.now();for(;Date.now()-s<3e5;){await new Promise(e=>setTimeout(e,2e3));try{let e=await fetch(t,{mode:"no-cors",cache:"no-store"});if(e.ok||"opaque"===e.type)return A(!0),R(!1),q(""),!0}catch{}if((Date.now()-s)%1e4<2e3)try{let e=await fetch("/api/tunnel/status");if(e.ok){let t=await e.json();if(!t.tunnel?.enabled)return K({type:"error",message:"Tunnel process stopped unexpectedly."}),R(!1),q(""),!1}}catch{}}return K({type:"error",message:"Tunnel created but not reachable. Please try again."}),R(!1),q(""),!1},eT=async()=>{J(!1),R(!0),K(null),q("Creating tunnel...");try{let e=await fetch("/api/tunnel/enable",{method:"POST"}),t=await e.json();if(!e.ok)return void K({type:"error",message:t.error||"Failed to enable tunnel"});let s=t.publicUrl||t.tunnelUrl;if(!s)return void K({type:"error",message:"No tunnel URL returned"});D(t.tunnelUrl||""),F(t.publicUrl||""),await eS(s)}catch(e){K({type:"error",message:e.message})}finally{R(!1),q("")}},e_=async()=>{R(!0),K(null);try{let e=await fetch("/api/tunnel/disable",{method:"POST"}),t=await e.json();e.ok?(A(!1),D(""),F(""),M(!1),K({type:"success",message:"Tunnel disabled"})):K({type:"error",message:t.error||"Failed to disable tunnel"})}catch(e){K({type:"error",message:e.message})}finally{R(!1)}},eP=async()=>{el(null);try{let e=await fetch("/api/tunnel/tailscale-check");if(e.ok){let t=await e.json();return el(t.installed),t}}catch{}return el(!1),{installed:!1}},e$=async()=>{en(!0),es(null),eo([]);try{let e=await fetch("/api/tunnel/tailscale-install",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sudoPassword:ec})});ed("");let t=e.body.getReader(),s=new TextDecoder,a="";for(;;){let{done:e,value:l}=await t.read();if(e)break;let r=(a+=s.decode(l,{stream:!0})).split("\n\n");for(let e of(a=r.pop()||"",r)){let t=e.split("\n"),s="progress",a=null;for(let e of t)if(e.startsWith("event: ")&&(s=e.slice(7).trim()),e.startsWith("data: "))try{a=JSON.parse(e.slice(6))}catch{}if(a)if("progress"===s)eo(e=>[...e.slice(-50),a.message]);else if("done"===s){el(!0),en(!1);return}else"error"===s&&es({type:"error",message:a.error||"Install failed"})}}}catch(e){es({type:"error",message:e.message})}finally{en(!1)}},eE=async e=>{ee("Waiting for Tailscale ready...");let t=`${e}/api/health`,s=Date.now();for(;Date.now()-s<3e5;){await new Promise(e=>setTimeout(e,2e3));try{let e=await fetch(t,{mode:"no-cors",cache:"no-store"});if(e.ok||"opaque"===e.type)return!0}catch{}}return!1},eA=async e=>{let t=e||null;eu(!1),em(!0),X(!0),es(null),ee("Connecting...");try{let e=await fetch("/api/tunnel/tailscale-enable",{method:"POST"}),s=await e.json();if(e.ok&&s.success){t&&t.close(),V(s.tunnelUrl||""),await eE(s.tunnelUrl)?(Z(!0),es(null)):(Z(!0),es({type:"warning",message:"Connected but not reachable yet."}));return}if(s.needsLogin&&s.authUrl){t?t.location.href=s.authUrl:window.open(s.authUrl,"tailscale_auth","width=600,height=700"),ee("Waiting for login...");for(let e=0;e<40;e++){await new Promise(e=>setTimeout(e,3e3));try{let e=await fetch("/api/tunnel/tailscale-check");if(e.ok&&(await e.json()).loggedIn){ee("Starting funnel...");let e=await fetch("/api/tunnel/tailscale-enable",{method:"POST"}),s=await e.json();e.ok&&s.success?(t&&t.close(),V(s.tunnelUrl||""),await eE(s.tunnelUrl)?(Z(!0),es(null)):(Z(!0),es({type:"warning",message:"Connected but not reachable yet."}))):s.funnelNotEnabled&&s.enableUrl?await eU(s.enableUrl,t):es({type:"error",message:s.error||"Failed to start funnel"});return}}catch{}}es({type:"error",message:"Login timed out. Please try again."});return}if(s.funnelNotEnabled&&s.enableUrl)return void await eU(s.enableUrl,t);t&&t.close(),es({type:"error",message:s.error||"Failed to connect"})}catch(e){t&&t.close(),es({type:"error",message:e.message})}finally{X(!1),em(!1),ee("")}},eU=async(e,t)=>{t?t.location.href=e:window.open(e,"tailscale_auth","width=600,height=700"),ee("Enable Funnel in browser, waiting...");for(let e=0;e<40;e++){await new Promise(e=>setTimeout(e,3e3));try{let e=await fetch("/api/tunnel/tailscale-enable",{method:"POST"}),s=await e.json();if(e.ok&&s.success){t&&t.close(),V(s.tunnelUrl||""),await eE(s.tunnelUrl)?(Z(!0),es(null)):(Z(!0),es({type:"warning",message:"Connected but not reachable yet."}));return}if(s.funnelNotEnabled)continue;if(s.error)return void es({type:"error",message:s.error})}catch{}}es({type:"error",message:"Timed out waiting for Funnel to be enabled."})},eD=async()=>{X(!0),es(null);try{let e=await fetch("/api/tunnel/tailscale-disable",{method:"POST"}),t=await e.json();e.ok?(Z(!1),V(""),eg(!1),es({type:"success",message:"Tailscale disabled"})):es({type:"error",message:t.error||"Failed to disable Tailscale"})}catch(e){es({type:"error",message:e.message})}finally{X(!1)}},eO=async()=>{es(null),eo([]),eu(!0),await eP()},eF=async()=>{if(b.trim())try{let e=await fetch("/api/keys",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:b})}),t=await e.json();e.ok&&(j(t.key),await eC(),y(""),g(!1))}catch(e){console.log("Error creating key:",e)}},eI=async e=>{if(confirm("Delete this API key?"))try{(await fetch(`/api/keys/${e}`,{method:"DELETE"})).ok&&(s(t.filter(t=>t.id!==e)),ef(t=>{let s=new Set(t);return s.delete(e),s}))}catch(e){console.log("Error deleting key:",e)}},eR=async(e,t)=>{try{(await fetch(`/api/keys/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:t})})).ok&&s(s=>s.map(s=>s.id===e?{...s,isActive:t}:s))}catch(e){console.log("Error toggling key:",e)}},[eW,eq]=(0,l.useState)("/v1");return((0,l.useEffect)(()=>{eq(`${window.location.origin}/v1`)},[]),r)?(0,a.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,a.jsx)(i.Qv,{}),(0,a.jsx)(i.Qv,{})]}):(0,a.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,a.jsxs)(i.Zp,{children:[(0,a.jsx)("h2",{className:"text-lg font-semibold mb-4",children:"API Endpoint"}),(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)(x,{label:"Local",url:eW,copyId:"local_url",copied:ej,onCopy:ek}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:`text-xs font-mono px-1.5 py-0.5 rounded shrink-0 min-w-[68px] text-center ${E?"bg-orange-100 dark:bg-orange-900/30 text-orange-600 dark:text-orange-400":"bg-sidebar text-text-muted"}`,children:"Tunnel"}),E&&!I?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.pd,{value:`${O||U}/v1`,readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,a.jsx)("button",{onClick:()=>ek(`${O||U}/v1`,"tunnel_url"),className:"p-2 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary transition-colors shrink-0",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"tunnel_url"===ej?"check":"content_copy"})}),(0,a.jsx)("button",{onClick:()=>M(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tunnel",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):I?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-border bg-input text-sm text-text-muted",children:[(0,a.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),W||"Creating tunnel..."]}),(0,a.jsx)("button",{onClick:()=>{R(!1),q("")},className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Stop",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):L?.type==="error"?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-red-300 dark:border-red-800 bg-red-500/5 text-sm text-red-600 dark:text-red-400",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:"error"}),L.message]}),(0,a.jsx)(i.$n,{size:"sm",icon:"cloud_upload",onClick:()=>J(!0),children:"Enable"})]}):P?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-border bg-input text-sm text-text-muted",children:[(0,a.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),"Checking..."]}),(0,a.jsx)("button",{onClick:()=>$(!1),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Stop",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):(0,a.jsx)(i.$n,{size:"sm",icon:"cloud_upload",onClick:()=>{k?J(!0):K({type:"error",message:'Security required: Enable "Require API key" before activating the tunnel.'})},className:"bg-linear-to-r from-primary to-blue-500 hover:from-primary-hover hover:to-blue-600 text-white!",children:"Enable"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:`text-xs font-mono px-1.5 py-0.5 rounded shrink-0 min-w-[68px] text-center ${Q?"bg-purple-100 dark:bg-purple-900/30 text-purple-600 dark:text-purple-400":"bg-sidebar text-text-muted"}`,children:"Tailscale"}),Q&&!G?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.pd,{value:`${B}/v1`,readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,a.jsx)("button",{onClick:()=>ek(`${B}/v1`,"ts_url"),className:"p-2 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary transition-colors shrink-0",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"ts_url"===ej?"check":"content_copy"})}),(0,a.jsx)("button",{onClick:()=>eg(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tailscale",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):G||ex?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-border bg-input text-sm text-text-muted",children:[(0,a.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),Y||"Connecting..."]}),(0,a.jsx)("button",{onClick:()=>{X(!1),em(!1),ee("")},className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Stop",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):et?.type==="error"?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-red-300 dark:border-red-800 bg-red-500/5 text-sm text-red-600 dark:text-red-400",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:"error"}),et.message]}),(0,a.jsx)(i.$n,{size:"sm",icon:"vpn_lock",onClick:eO,children:"Enable"})]}):(0,a.jsx)(i.$n,{size:"sm",icon:"vpn_lock",onClick:eO,className:"bg-linear-to-r from-indigo-500 to-purple-500 hover:from-indigo-600 hover:to-purple-600 text-white!",children:"Enable"})]})]}),(E||Q)&&(0,a.jsxs)("div",{className:"mt-4 flex flex-col gap-2",children:[!k&&(0,a.jsx)(u,{message:"Require API key is disabled — your endpoint is publicly accessible without authentication.",action:{label:"Enable",href:"#require-api-key"}}),(!v||!C)&&(0,a.jsx)(u,{message:v?"Dashboard uses the default password — change it in Profile settings.":"Require login is disabled — anyone can access your dashboard via tunnel.",action:{label:v?"Change password":"Enable",href:"/dashboard/profile"}})]}),(E||Q)&&(0,a.jsxs)("div",{className:"mt-4 pt-4 border-t border-border flex items-center gap-3",children:[(0,a.jsx)(i.lM,{checked:T,onChange:()=>ev(!T)}),(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)("p",{className:"font-medium text-sm",children:"Allow dashboard access via tunnel"}),(0,a.jsx)(h,{text:"When enabled, the dashboard can be accessed through your tunnel or Tailscale URL without requiring login. Only enable if you trust everyone who can reach your tunnel URL."})]})]})]}),(0,a.jsxs)(i.Zp,{id:"require-api-key",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,a.jsx)("h2",{className:"text-lg font-semibold",children:"API Keys"}),(0,a.jsx)(i.$n,{icon:"add",onClick:()=>g(!0),children:"Create Key"})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between pb-4 mb-4 border-b border-border",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-medium",children:"Require API key"}),(0,a.jsx)("p",{className:"text-sm text-text-muted",children:"Requests without a valid key will be rejected"})]}),(0,a.jsx)(i.lM,{checked:k,onChange:()=>eN(!k)})]}),0===t.length?(0,a.jsxs)("div",{className:"text-center py-12",children:[(0,a.jsx)("div",{className:"inline-flex items-center justify-center w-16 h-16 rounded-full bg-primary/10 text-primary mb-4",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[32px]",children:"vpn_key"})}),(0,a.jsx)("p",{className:"text-text-main font-medium mb-1",children:"No API keys yet"}),(0,a.jsx)("p",{className:"text-sm text-text-muted mb-4",children:"Create your first API key to get started"}),(0,a.jsx)(i.$n,{icon:"add",onClick:()=>g(!0),children:"Create Key"})]}):(0,a.jsx)("div",{className:"flex flex-col",children:t.map(e=>{var t;return(0,a.jsxs)("div",{className:`group flex items-center justify-between py-3 border-b border-black/[0.03] dark:border-white/[0.03] last:border-b-0 ${!1===e.isActive?"opacity-60":""}`,children:[(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:e.name}),(0,a.jsxs)("div",{className:"flex items-center gap-2 mt-1",children:[(0,a.jsx)("code",{className:"text-xs text-text-muted font-mono",children:ey.has(e.id)?e.key:(t=e.key)?t.length>8?t.slice(0,8)+"...":t:""}),(0,a.jsx)("button",{onClick:()=>{var t;return t=e.id,void ef(e=>{let s=new Set(e);return s.has(t)?s.delete(t):s.add(t),s})},className:"p-1 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary opacity-0 group-hover:opacity-100 transition-all",title:ey.has(e.id)?"Hide key":"Show key",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:ey.has(e.id)?"visibility_off":"visibility"})}),(0,a.jsx)("button",{onClick:()=>ek(e.key,e.id),className:"p-1 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary opacity-0 group-hover:opacity-100 transition-all",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:ej===e.id?"check":"content_copy"})})]}),(0,a.jsxs)("p",{className:"text-xs text-text-muted mt-1",children:["Created ",new Date(e.createdAt).toLocaleDateString()]}),!1===e.isActive&&(0,a.jsx)("p",{className:"text-xs text-orange-500 mt-1",children:"Paused"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(i.lM,{size:"sm",checked:e.isActive??!0,onChange:t=>{e.isActive&&!t?confirm(`Pause API key "${e.name}"?
|
|
2
|
-
|
|
3
|
-
This key will stop working immediately but can be resumed later.`)&&eR(e.id,t):eR(e.id,t)},title:e.isActive?"Pause key":"Resume key"}),(0,a.jsx)("button",{onClick:()=>eI(e.id),className:"p-2 hover:bg-red-500/10 rounded text-red-500 opacity-0 group-hover:opacity-100 transition-all",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"delete"})})]})]},e.id)})})]}),(0,a.jsx)(i.aF,{isOpen:p,title:"Create API Key",onClose:()=>{g(!1),y("")},children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)(i.pd,{label:"Key Name",value:b,onChange:e=>y(e.target.value),placeholder:"Production Key"}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(i.$n,{onClick:eF,fullWidth:!0,disabled:!b.trim(),children:"Create"}),(0,a.jsx)(i.$n,{onClick:()=>{g(!1),y("")},variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})}),(0,a.jsx)(i.aF,{isOpen:!!f,title:"API Key Created",onClose:()=>j(null),children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsxs)("div",{className:"bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg p-4",children:[(0,a.jsx)("p",{className:"text-sm text-yellow-800 dark:text-yellow-200 mb-2 font-medium",children:"Save this key now!"}),(0,a.jsx)("p",{className:"text-sm text-yellow-700 dark:text-yellow-300",children:"This is the only time you will see this key. Store it securely."})]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(i.pd,{value:f||"",readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,a.jsx)(i.$n,{variant:"secondary",icon:"created_key"===ej?"check":"content_copy",onClick:()=>ek(f,"created_key"),children:"created_key"===ej?"Copied!":"Copy"})]}),(0,a.jsx)(i.$n,{onClick:()=>j(null),fullWidth:!0,children:"Done"})]})}),(0,a.jsx)(i.aF,{isOpen:z,title:"Enable Tunnel",onClose:()=>J(!1),children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("div",{className:"bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 rounded-lg p-4",children:(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-blue-600 dark:text-blue-400",children:"cloud_upload"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200 font-medium mb-1",children:"Cloudflare Tunnel"}),(0,a.jsx)("p",{className:"text-sm text-blue-700 dark:text-blue-300",children:"Expose your local 9Router to the internet. No port forwarding, no static IP needed. Share endpoint URL with your team or use it in Cursor, Cline, and other AI tools from anywhere."})]})]})}),(0,a.jsx)("div",{className:"grid grid-cols-2 gap-3",children:c.map(e=>(0,a.jsxs)("div",{className:"flex flex-col items-center text-center p-3 rounded-lg bg-sidebar/50",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-xl text-primary mb-1",children:e.icon}),(0,a.jsx)("p",{className:"text-xs font-semibold",children:e.title}),(0,a.jsx)("p",{className:"text-xs text-text-muted",children:e.desc})]},e.title))}),(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"Requires outbound port 7844 (TCP/UDP). Connection may take 10-30s."}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(i.$n,{onClick:eT,fullWidth:!0,className:"bg-linear-to-r from-primary to-blue-500 hover:from-primary-hover hover:to-blue-600 text-white!",children:"Start Tunnel"}),(0,a.jsx)(i.$n,{onClick:()=>J(!1),variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})}),(0,a.jsx)(i.aF,{isOpen:H,title:"Disable Tunnel",onClose:()=>!I&&M(!1),children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("p",{className:"text-sm text-text-muted",children:"The Cloudflare tunnel will be disconnected. Remote access via tunnel URL will stop working."}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(i.$n,{onClick:e_,fullWidth:!0,disabled:I,className:"bg-red-500! hover:bg-red-600! text-white!",children:I?"Disabling...":"Disable"}),(0,a.jsx)(i.$n,{onClick:()=>M(!1),variant:"ghost",fullWidth:!0,disabled:I,children:"Cancel"})]})]})}),(0,a.jsx)(i.aF,{isOpen:eh,title:"Tailscale Funnel",onClose:()=>{er||(eu(!1),ed(""),es(null))},children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[null===ea&&(0,a.jsxs)("p",{className:"text-sm text-text-muted flex items-center gap-2",children:[(0,a.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),"Checking..."]}),!1===ea&&!er&&(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsx)("p",{className:"text-sm text-text-muted",children:"Tailscale is not installed. Install it to enable Funnel."}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(i.$n,{onClick:e$,fullWidth:!0,className:"bg-linear-to-r from-indigo-500 to-purple-500 hover:from-indigo-600 hover:to-purple-600 text-white!",children:"Install Tailscale"}),(0,a.jsx)(i.$n,{onClick:()=>eu(!1),variant:"ghost",fullWidth:!0,children:"Cancel"})]})]}),er&&(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm text-text-muted",children:[(0,a.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),"Installing Tailscale..."]}),ei.length>0&&(0,a.jsx)("div",{ref:eb,className:"bg-black/5 dark:bg-white/5 rounded p-2 max-h-40 overflow-y-auto font-mono text-xs text-text-muted",children:ei.map((e,t)=>(0,a.jsx)("div",{children:e},t))})]}),!0===ea&&!er&&(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm text-green-600 dark:text-green-400",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"check_circle"}),"Tailscale installed"]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(i.$n,{onClick:()=>{let e=window.open("","tailscale_auth","width=600,height=700");e&&e.document.write("<p style='font-family:sans-serif;text-align:center;margin-top:40px'>Connecting to Tailscale...</p>"),eA(e)},fullWidth:!0,className:"bg-linear-to-r from-indigo-500 to-purple-500 hover:from-indigo-600 hover:to-purple-600 text-white!",children:"Connect"}),(0,a.jsx)(i.$n,{onClick:()=>eu(!1),variant:"ghost",fullWidth:!0,children:"Cancel"})]})]}),et&&(0,a.jsx)(m,{status:et})]})}),(0,a.jsx)(i.aF,{isOpen:ep,title:"Disable Tailscale",onClose:()=>!G&&eg(!1),children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("p",{className:"text-sm text-text-muted",children:"Tailscale Funnel will be stopped. Remote access via Tailscale URL will stop working."}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(i.$n,{onClick:eD,fullWidth:!0,disabled:G,className:"bg-red-500! hover:bg-red-600! text-white!",children:G?"Disabling...":"Disable"}),(0,a.jsx)(i.$n,{onClick:()=>eg(!1),variant:"ghost",fullWidth:!0,disabled:G,children:"Cancel"})]})]})})]})}function x({label:e,url:t,copyId:s,copied:l,onCopy:r,badge:n,actions:o}){return(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:`text-xs font-mono px-1.5 py-0.5 rounded shrink-0 min-w-[68px] text-center ${"CF"===n?"bg-orange-100 dark:bg-orange-900/30 text-orange-600 dark:text-orange-400":"TS"===n?"bg-purple-100 dark:bg-purple-900/30 text-purple-600 dark:text-purple-400":"bg-sidebar text-text-muted"}`,children:e}),(0,a.jsx)(i.pd,{value:t,readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,a.jsx)("button",{onClick:()=>r(t,s),className:"p-2 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary transition-colors shrink-0",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:l===s?"check":"content_copy"})}),o]})}function m({status:e,className:t=""}){return(0,a.jsx)("div",{className:`p-2 rounded text-sm ${t} ${"success"===e.type?"bg-green-500/10 text-green-600 dark:text-green-400":"warning"===e.type?"bg-yellow-500/10 text-yellow-600 dark:text-yellow-400":"info"===e.type?"bg-blue-500/10 text-blue-600 dark:text-blue-400":"bg-red-500/10 text-red-600 dark:text-red-400"}`,children:e.message.split(/(https?:\/\/[^\s]+)/g).map((e,t)=>/^https?:\/\//.test(e)?(0,a.jsx)("a",{href:e,target:"_blank",rel:"noreferrer",className:"underline font-medium",children:e},t):e)})}function h({text:e}){return(0,a.jsxs)("span",{className:"relative group inline-flex items-center",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px] text-text-muted cursor-help",children:"help"}),(0,a.jsx)("span",{className:"pointer-events-none absolute left-5 top-1/2 -translate-y-1/2 z-50 w-64 rounded bg-gray-900 dark:bg-gray-800 text-white text-xs px-2.5 py-1.5 opacity-0 group-hover:opacity-100 transition-opacity shadow-lg",children:e})]})}function u({message:e,action:t}){return(0,a.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 rounded-lg bg-amber-500/10 border border-amber-500/20 text-amber-700 dark:text-amber-400",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[16px] shrink-0 mt-0.5",children:"warning"}),(0,a.jsx)("p",{className:"text-xs flex-1",children:e}),t&&(0,a.jsx)("a",{href:t.href,className:"text-xs font-medium underline shrink-0 hover:opacity-80",onClick:t.href.startsWith("#")?e=>{e.preventDefault(),document.getElementById(t.href.slice(1))?.scrollIntoView({behavior:"smooth"})}:void 0,children:t.label})]})}d.propTypes={machineId:n().string.isRequired}},78035:(e,t,s)=>{Promise.resolve().then(s.bind(s,64795))}}]);
|
package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-ceb851f470785140.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-ceb851f470785140.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-ceb851f470785140.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-ceb851f470785140.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-ceb851f470785140.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-ceb851f470785140.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-ceb851f470785140.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|
package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-ceb851f470785140.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,387,543,552,747,748,907,931,992,997,1070,1088,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1860,1949,2121,2284,2296,2525,2772,2785,2797,2919,2922,3025,3038,3079,3102,3397,3472,3507,3549,3562,3568,4245,4286,4422,4444,4656,4896,4993,5018,5079,5107,5177,5211,5226,5466,5685,5745,5922,6268,6479,6529,6580,6594,6740,6819,6919,6988,7131,7241,7429,7442,7445,7508,7520,7758,7824,7851,8026,8167,8207,8246,8453,8489,8573,8648,8814,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9678],{95659:()=>{}},_=>{_.O(0,[2347,5158,7358],()=>_(_.s=95659)),_N_E=_.O()}]);
|