ktrouter 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/.next/BUILD_ID +1 -1
- package/app/.next/app-path-routes-manifest.json +2 -2
- package/app/.next/build-manifest.json +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/[toolId]/page_client-reference-manifest.js +1 -1
- 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_client-reference-manifest.js +1 -1
- 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_client-reference-manifest.js +1 -1
- 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_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
- 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_client-reference-manifest.js +1 -1
- 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_client-reference-manifest.js +1 -1
- 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_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
- 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_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/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/import/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/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 +1 -1
- package/app/.next/server/app/api/usage/[connectionId]/route.js +1 -1
- 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/media-providers/web.html +1 -1
- package/app/.next/server/app/dashboard/media-providers/web.rsc +5 -5
- package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +3 -3
- package/app/.next/server/app/dashboard/media-providers/web.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_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/skills.html +1 -1
- package/app/.next/server/app/dashboard/skills.rsc +5 -5
- package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/skills.segments/_full.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/skills.segments/_index.segment.rsc +3 -3
- package/app/.next/server/app/dashboard/skills.segments/_tree.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/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_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_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/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app-paths-manifest.json +2 -2
- package/app/.next/server/chunks/2409.js +1 -1
- package/app/.next/server/chunks/2549.js +1 -1
- package/app/.next/server/chunks/2722.js +1 -1
- package/app/.next/server/chunks/3110.js +1 -1
- package/app/.next/server/chunks/412.js +1 -1
- package/app/.next/server/chunks/4404.js +1 -1
- package/app/.next/server/chunks/4746.js +1 -1
- package/app/.next/server/chunks/5718.js +1 -1
- package/app/.next/server/chunks/6108.js +1 -1
- package/app/.next/server/chunks/7153.js +1 -1
- package/app/.next/server/chunks/7341.js +1 -1
- package/app/.next/server/chunks/9142.js +1 -1
- package/app/.next/server/middleware-build-manifest.js +1 -1
- package/app/.next/server/pages/404.html +1 -1
- package/app/.next/server/pages/500.html +1 -1
- package/app/.next/static/chunks/1321-1f274005e8c1540f.js +1 -0
- package/app/{.next-cli-build/static/chunks/5497-488a26d08a4fcc71.js → .next/static/chunks/5497-a8a0c19ab6b9c4c1.js} +1 -1
- package/app/.next/static/chunks/{6069-9df44c47842f5ff5.js → 6069-ea583294622123ad.js} +8 -8
- package/app/.next-cli-build/static/chunks/1321-1f274005e8c1540f.js +1 -0
- package/app/{.next/static/chunks/5497-488a26d08a4fcc71.js → .next-cli-build/static/chunks/5497-a8a0c19ab6b9c4c1.js} +1 -1
- package/app/.next-cli-build/static/chunks/{6069-9df44c47842f5ff5.js → 6069-ea583294622123ad.js} +8 -8
- package/app/package.json +1 -1
- package/app/src/mitm/server.js +21 -21
- package/package.json +1 -1
- package/app/.next/static/chunks/1321-dca02785d86e5bfd.js +0 -1
- package/app/.next-cli-build/static/chunks/1321-dca02785d86e5bfd.js +0 -1
- /package/app/.next/static/{qvtM_vyUG6eKU65VNW7K0 → e2lZe4FdVnmOmWkyKbhxp}/_buildManifest.js +0 -0
- /package/app/.next/static/{qvtM_vyUG6eKU65VNW7K0 → e2lZe4FdVnmOmWkyKbhxp}/_ssgManifest.js +0 -0
- /package/app/.next-cli-build/static/{qvtM_vyUG6eKU65VNW7K0 → e2lZe4FdVnmOmWkyKbhxp}/_buildManifest.js +0 -0
- /package/app/.next-cli-build/static/{qvtM_vyUG6eKU65VNW7K0 → e2lZe4FdVnmOmWkyKbhxp}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"98":{"*":{"id":"4770","name":"*","chunks":[],"async":false}},"4809":{"*":{"id":"87226","name":"*","chunks":[],"async":false}},"4823":{"*":{"id":"50585","name":"*","chunks":[],"async":false}},"7648":{"*":{"id":"85306","name":"*","chunks":[],"async":false}},"11910":{"*":{"id":"83552","name":"*","chunks":[],"async":false}},"15615":{"*":{"id":"14731","name":"*","chunks":[],"async":false}},"16144":{"*":{"id":"40410","name":"*","chunks":[],"async":false}},"17721":{"*":{"id":"25927","name":"*","chunks":[],"async":false}},"21110":{"*":{"id":"19308","name":"*","chunks":[],"async":false}},"21931":{"*":{"id":"267","name":"*","chunks":[],"async":false}},"22662":{"*":{"id":"23296","name":"*","chunks":[],"async":false}},"23615":{"*":{"id":"91809","name":"*","chunks":[],"async":false}},"23879":{"*":{"id":"34965","name":"*","chunks":[],"async":false}},"23936":{"*":{"id":"79488","name":"*","chunks":[],"async":false}},"25086":{"*":{"id":"74812","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"28058":{"*":{"id":"20084","name":"*","chunks":[],"async":false}},"28067":{"*":{"id":"91099","name":"*","chunks":[],"async":false}},"28815":{"*":{"id":"39645","name":"*","chunks":[],"async":false}},"30815":{"*":{"id":"51109","name":"*","chunks":[],"async":false}},"38587":{"*":{"id":"53845","name":"*","chunks":[],"async":false}},"40197":{"*":{"id":"11229","name":"*","chunks":[],"async":false}},"44493":{"*":{"id":"81157","name":"*","chunks":[],"async":false}},"45455":{"*":{"id":"62727","name":"*","chunks":[],"async":false}},"47295":{"*":{"id":"18513","name":"*","chunks":[],"async":false}},"51825":{"*":{"id":"11633","name":"*","chunks":[],"async":false}},"52154":{"*":{"id":"61742","name":"*","chunks":[],"async":false}},"53375":{"*":{"id":"49113","name":"*","chunks":[],"async":false}},"53501":{"*":{"id":"23658","name":"*","chunks":[],"async":false}},"56061":{"*":{"id":"75171","name":"*","chunks":[],"async":false}},"56319":{"*":{"id":"25919","name":"*","chunks":[],"async":false}},"57076":{"*":{"id":"19388","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"59884":{"*":{"id":"19598","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"61500":{"*":{"id":"86209","name":"*","chunks":[],"async":false}},"64082":{"*":{"id":"94558","name":"*","chunks":[],"async":false}},"64561":{"*":{"id":"61377","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"69472":{"*":{"id":"55236","name":"*","chunks":[],"async":false}},"71088":{"*":{"id":"16316","name":"*","chunks":[],"async":false}},"72908":{"*":{"id":"83352","name":"*","chunks":[],"async":false}},"73579":{"*":{"id":"51585","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"74891":{"*":{"id":"86739","name":"*","chunks":[],"async":false}},"75095":{"*":{"id":"3493","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"80752":{"*":{"id":"3236","name":"*","chunks":[],"async":false}},"81127":{"*":{"id":"95145","name":"*","chunks":[],"async":false}},"81772":{"*":{"id":"40074","name":"*","chunks":[],"async":false}},"83016":{"*":{"id":"14412","name":"*","chunks":[],"async":false}},"84588":{"*":{"id":"17660","name":"*","chunks":[],"async":false}},"85309":{"*":{"id":"29499","name":"*","chunks":[],"async":false}},"85941":{"*":{"id":"18968","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"87304":{"*":{"id":"14144","name":"*","chunks":[],"async":false}},"88512":{"*":{"id":"73180","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"90882":{"*":{"id":"79346","name":"*","chunks":[],"async":false}},"91450":{"*":{"id":"53838","name":"*","chunks":[],"async":false}},"92173":{"*":{"id":"48781","name":"*","chunks":[],"async":false}},"92542":{"*":{"id":"99070","name":"*","chunks":[],"async":false}},"92622":{"*":{"id":"42196","name":"*","chunks":[],"async":false}},"94230":{"*":{"id":"56110","name":"*","chunks":[],"async":false}},"94588":{"*":{"id":"7870","name":"*","chunks":[],"async":false}},"94635":{"*":{"id":"5211","name":"*","chunks":[],"async":false}},"95088":{"*":{"id":"43182","name":"*","chunks":[],"async":false}},"95907":{"*":{"id":"43173","name":"*","chunks":[],"async":false}},"96748":{"*":{"id":"67738","name":"*","chunks":[],"async":false}},"97677":{"*":{"id":"32971","name":"*","chunks":[],"async":false}},"98542":{"*":{"id":"95514","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\client\\components\\builtin\\global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\esm\\client\\components\\builtin\\global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\client\\components\\client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\esm\\client\\components\\client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\client\\components\\client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\esm\\client\\components\\client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\client\\components\\http-access-fallback\\error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\esm\\client\\components\\http-access-fallback\\error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\client\\components\\layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\esm\\client\\components\\layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\client\\components\\render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\esm\\client\\components\\render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\lib\\framework\\boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\esm\\lib\\framework\\boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\lib\\metadata\\generate\\icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\esm\\lib\\metadata\\generate\\icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\font\\google\\target.css?{\"path\":\"src\\\\app\\\\layout.js\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-inter\"}],\"variableName\":\"inter\"}":{"id":57688,"name":"*","chunks":["1321","static/chunks/1321-dca02785d86e5bfd.js","7177","static/chunks/app/layout-ed446c17642f5aeb.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\material-symbols\\outlined.css":{"id":5887,"name":"*","chunks":["1321","static/chunks/1321-dca02785d86e5bfd.js","7177","static/chunks/app/layout-ed446c17642f5aeb.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\globals.css":{"id":51743,"name":"*","chunks":["1321","static/chunks/1321-dca02785d86e5bfd.js","7177","static/chunks/app/layout-ed446c17642f5aeb.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\i18n\\RuntimeI18nProvider.js":{"id":94635,"name":"*","chunks":["1321","static/chunks/1321-dca02785d86e5bfd.js","7177","static/chunks/app/layout-ed446c17642f5aeb.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\ThemeProvider.js":{"id":21110,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\callback\\page.js":{"id":59884,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\dashboard\\settings\\pricing\\page.js":{"id":87304,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\landing\\page.js":{"id":85941,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\login\\page.js":{"id":83016,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\AddCustomEmbeddingModal.js":{"id":96748,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Avatar.js":{"id":56319,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Badge.js":{"id":56061,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Button.js":{"id":92542,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Card.js":{"id":84588,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\ChangelogModal.js":{"id":40197,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\ComboFormModal.js":{"id":45455,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\CursorAuthModal.js":{"id":30815,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\EditConnectionModal.js":{"id":73579,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Footer.js":{"id":92173,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\GitLabAuthModal.js":{"id":95088,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Header.js":{"id":74891,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\HeaderMenu.js":{"id":80752,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\IFlowCookieModal.js":{"id":23936,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Input.js":{"id":11910,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\KiroAuthModal.js":{"id":61500,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\KiroOAuthWrapper.js":{"id":53375,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\KiroSocialOAuthModal.js":{"id":94230,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\LanguageSwitcher.js":{"id":21931,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\layouts\\AuthLayout.js":{"id":91450,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\layouts\\DashboardLayout.js":{"id":7648,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Loading.js":{"id":25086,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\ManualConfigModal.js":{"id":28815,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\McpMarketplaceModal.js":{"id":28058,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Modal.js":{"id":81127,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\ModelSelectModal.js":{"id":72908,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\NoAuthProxyCard.js":{"id":4823,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\OAuthModal.js":{"id":90882,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\ProviderInfoCard.js":{"id":51825,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\RequestLogger.js":{"id":23615,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\SegmentedControl.js":{"id":28067,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Select.js":{"id":98,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Sidebar.js":{"id":92622,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\ThemeToggle.js":{"id":38587,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Toggle.js":{"id":98542,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Tooltip.js":{"id":97677,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\UsageStats.js":{"id":4809,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-dca02785d86e5bfd.js","5497","static/chunks/5497-488a26d08a4fcc71.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\basic-chat\\BasicChatPageClient.js":{"id":88512,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\cli-tools\\[toolId]\\ToolDetailClient.js":{"id":85309,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\cli-tools\\CLIToolsPageClient.js":{"id":53501,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\combos\\page.js":{"id":47295,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\endpoint\\EndpointPageClient.js":{"id":95907,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\media-providers\\[kind]\\[id]\\page.js":{"id":94588,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\media-providers\\[kind]\\page.js":{"id":16144,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\media-providers\\combo\\[id]\\page.js":{"id":22662,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\media-providers\\web\\page.js":{"id":71088,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\mitm\\MitmPageClient.js":{"id":23879,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\providers\\new\\page.js":{"id":15615,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\usage\\components\\ProviderLimits\\index.js":{"id":75095,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\skills\\page.js":{"id":64082,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\translator\\page.js":{"id":69472,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\usage\\page.js":{"id":81772,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\console-log\\ConsoleLogClient.js":{"id":44493,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\profile\\page.js":{"id":64561,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\providers\\[id]\\page.js":{"id":17721,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\providers\\page.js":{"id":52154,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\proxy-pools\\page.js":{"id":57076,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"C:\\Users\\QuocTai\\Documents\\9router\\src\\":[],"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\layout":[{"inlined":false,"path":"static/css/454db3b478540e33.css"},{"inlined":false,"path":"static/css/1c9d052767a8c6e4.css"}],"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\page":[],"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\layout":[{"inlined":false,"path":"static/css/599369d853c61df7.css"}]},"rscModuleMapping":{"98":{"*":{"id":"83784","name":"*","chunks":[],"async":false}},"4809":{"*":{"id":"2422","name":"*","chunks":[],"async":false}},"4823":{"*":{"id":"5843","name":"*","chunks":[],"async":false}},"5887":{"*":{"id":"36497","name":"*","chunks":[],"async":false}},"7648":{"*":{"id":"61780","name":"*","chunks":[],"async":false}},"11910":{"*":{"id":"71230","name":"*","chunks":[],"async":false}},"15615":{"*":{"id":"24885","name":"*","chunks":[],"async":false}},"16144":{"*":{"id":"6452","name":"*","chunks":[],"async":false}},"17721":{"*":{"id":"93110","name":"*","chunks":[],"async":false}},"21110":{"*":{"id":"89886","name":"*","chunks":[],"async":false}},"21931":{"*":{"id":"45205","name":"*","chunks":[],"async":false}},"22662":{"*":{"id":"50254","name":"*","chunks":[],"async":false}},"23615":{"*":{"id":"19083","name":"*","chunks":[],"async":false}},"23879":{"*":{"id":"8523","name":"*","chunks":[],"async":false}},"23936":{"*":{"id":"80342","name":"*","chunks":[],"async":false}},"25086":{"*":{"id":"92082","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"28058":{"*":{"id":"962","name":"*","chunks":[],"async":false}},"28067":{"*":{"id":"54065","name":"*","chunks":[],"async":false}},"28815":{"*":{"id":"70603","name":"*","chunks":[],"async":false}},"30815":{"*":{"id":"40167","name":"*","chunks":[],"async":false}},"38587":{"*":{"id":"40515","name":"*","chunks":[],"async":false}},"40197":{"*":{"id":"33811","name":"*","chunks":[],"async":false}},"44493":{"*":{"id":"99259","name":"*","chunks":[],"async":false}},"45455":{"*":{"id":"20493","name":"*","chunks":[],"async":false}},"47295":{"*":{"id":"35447","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"51825":{"*":{"id":"81923","name":"*","chunks":[],"async":false}},"52154":{"*":{"id":"44030","name":"*","chunks":[],"async":false}},"53375":{"*":{"id":"14285","name":"*","chunks":[],"async":false}},"53501":{"*":{"id":"79518","name":"*","chunks":[],"async":false}},"56061":{"*":{"id":"33893","name":"*","chunks":[],"async":false}},"56319":{"*":{"id":"70061","name":"*","chunks":[],"async":false}},"57076":{"*":{"id":"23450","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"59884":{"*":{"id":"3604","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"61500":{"*":{"id":"82448","name":"*","chunks":[],"async":false}},"64082":{"*":{"id":"40852","name":"*","chunks":[],"async":false}},"64561":{"*":{"id":"50047","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"69472":{"*":{"id":"38308","name":"*","chunks":[],"async":false}},"71088":{"*":{"id":"93918","name":"*","chunks":[],"async":false}},"72908":{"*":{"id":"94582","name":"*","chunks":[],"async":false}},"73579":{"*":{"id":"70139","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"74891":{"*":{"id":"92669","name":"*","chunks":[],"async":false}},"75095":{"*":{"id":"57471","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"80752":{"*":{"id":"29354","name":"*","chunks":[],"async":false}},"81127":{"*":{"id":"10079","name":"*","chunks":[],"async":false}},"81772":{"*":{"id":"87149","name":"*","chunks":[],"async":false}},"83016":{"*":{"id":"65674","name":"*","chunks":[],"async":false}},"84588":{"*":{"id":"7290","name":"*","chunks":[],"async":false}},"85309":{"*":{"id":"99005","name":"*","chunks":[],"async":false}},"85941":{"*":{"id":"852","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"87304":{"*":{"id":"93870","name":"*","chunks":[],"async":false}},"88512":{"*":{"id":"79286","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"90882":{"*":{"id":"3080","name":"*","chunks":[],"async":false}},"91450":{"*":{"id":"64420","name":"*","chunks":[],"async":false}},"92173":{"*":{"id":"49123","name":"*","chunks":[],"async":false}},"92542":{"*":{"id":"45512","name":"*","chunks":[],"async":false}},"92622":{"*":{"id":"26866","name":"*","chunks":[],"async":false}},"94230":{"*":{"id":"87228","name":"*","chunks":[],"async":false}},"94588":{"*":{"id":"69296","name":"*","chunks":[],"async":false}},"94635":{"*":{"id":"85117","name":"*","chunks":[],"async":false}},"95088":{"*":{"id":"64148","name":"*","chunks":[],"async":false}},"95907":{"*":{"id":"51747","name":"*","chunks":[],"async":false}},"96748":{"*":{"id":"18200","name":"*","chunks":[],"async":false}},"97677":{"*":{"id":"18421","name":"*","chunks":[],"async":false}},"98542":{"*":{"id":"70092","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"98":{"*":{"id":"4770","name":"*","chunks":[],"async":false}},"4809":{"*":{"id":"87226","name":"*","chunks":[],"async":false}},"4823":{"*":{"id":"50585","name":"*","chunks":[],"async":false}},"7648":{"*":{"id":"85306","name":"*","chunks":[],"async":false}},"11910":{"*":{"id":"83552","name":"*","chunks":[],"async":false}},"15615":{"*":{"id":"14731","name":"*","chunks":[],"async":false}},"16144":{"*":{"id":"40410","name":"*","chunks":[],"async":false}},"17721":{"*":{"id":"25927","name":"*","chunks":[],"async":false}},"21110":{"*":{"id":"19308","name":"*","chunks":[],"async":false}},"21931":{"*":{"id":"267","name":"*","chunks":[],"async":false}},"22662":{"*":{"id":"23296","name":"*","chunks":[],"async":false}},"23615":{"*":{"id":"91809","name":"*","chunks":[],"async":false}},"23879":{"*":{"id":"34965","name":"*","chunks":[],"async":false}},"23936":{"*":{"id":"79488","name":"*","chunks":[],"async":false}},"25086":{"*":{"id":"74812","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"28058":{"*":{"id":"20084","name":"*","chunks":[],"async":false}},"28067":{"*":{"id":"91099","name":"*","chunks":[],"async":false}},"28815":{"*":{"id":"39645","name":"*","chunks":[],"async":false}},"30815":{"*":{"id":"51109","name":"*","chunks":[],"async":false}},"38587":{"*":{"id":"53845","name":"*","chunks":[],"async":false}},"40197":{"*":{"id":"11229","name":"*","chunks":[],"async":false}},"44493":{"*":{"id":"81157","name":"*","chunks":[],"async":false}},"45455":{"*":{"id":"62727","name":"*","chunks":[],"async":false}},"47295":{"*":{"id":"18513","name":"*","chunks":[],"async":false}},"51825":{"*":{"id":"11633","name":"*","chunks":[],"async":false}},"52154":{"*":{"id":"61742","name":"*","chunks":[],"async":false}},"53375":{"*":{"id":"49113","name":"*","chunks":[],"async":false}},"53501":{"*":{"id":"23658","name":"*","chunks":[],"async":false}},"56061":{"*":{"id":"75171","name":"*","chunks":[],"async":false}},"56319":{"*":{"id":"25919","name":"*","chunks":[],"async":false}},"57076":{"*":{"id":"19388","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"59884":{"*":{"id":"19598","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"61500":{"*":{"id":"86209","name":"*","chunks":[],"async":false}},"64082":{"*":{"id":"94558","name":"*","chunks":[],"async":false}},"64561":{"*":{"id":"61377","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"69472":{"*":{"id":"55236","name":"*","chunks":[],"async":false}},"71088":{"*":{"id":"16316","name":"*","chunks":[],"async":false}},"72908":{"*":{"id":"83352","name":"*","chunks":[],"async":false}},"73579":{"*":{"id":"51585","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"74891":{"*":{"id":"86739","name":"*","chunks":[],"async":false}},"75095":{"*":{"id":"3493","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"80752":{"*":{"id":"3236","name":"*","chunks":[],"async":false}},"81127":{"*":{"id":"95145","name":"*","chunks":[],"async":false}},"81772":{"*":{"id":"40074","name":"*","chunks":[],"async":false}},"83016":{"*":{"id":"14412","name":"*","chunks":[],"async":false}},"84588":{"*":{"id":"17660","name":"*","chunks":[],"async":false}},"85309":{"*":{"id":"29499","name":"*","chunks":[],"async":false}},"85941":{"*":{"id":"18968","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"87304":{"*":{"id":"14144","name":"*","chunks":[],"async":false}},"88512":{"*":{"id":"73180","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"90882":{"*":{"id":"79346","name":"*","chunks":[],"async":false}},"91450":{"*":{"id":"53838","name":"*","chunks":[],"async":false}},"92173":{"*":{"id":"48781","name":"*","chunks":[],"async":false}},"92542":{"*":{"id":"99070","name":"*","chunks":[],"async":false}},"92622":{"*":{"id":"42196","name":"*","chunks":[],"async":false}},"94230":{"*":{"id":"56110","name":"*","chunks":[],"async":false}},"94588":{"*":{"id":"7870","name":"*","chunks":[],"async":false}},"94635":{"*":{"id":"5211","name":"*","chunks":[],"async":false}},"95088":{"*":{"id":"43182","name":"*","chunks":[],"async":false}},"95907":{"*":{"id":"43173","name":"*","chunks":[],"async":false}},"96748":{"*":{"id":"67738","name":"*","chunks":[],"async":false}},"97677":{"*":{"id":"32971","name":"*","chunks":[],"async":false}},"98542":{"*":{"id":"95514","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\client\\components\\builtin\\global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\esm\\client\\components\\builtin\\global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\client\\components\\client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\esm\\client\\components\\client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\client\\components\\client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\esm\\client\\components\\client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\client\\components\\http-access-fallback\\error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\esm\\client\\components\\http-access-fallback\\error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\client\\components\\layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\esm\\client\\components\\layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\client\\components\\render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\esm\\client\\components\\render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\lib\\framework\\boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\esm\\lib\\framework\\boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\lib\\metadata\\generate\\icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\dist\\esm\\lib\\metadata\\generate\\icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\next\\font\\google\\target.css?{\"path\":\"src\\\\app\\\\layout.js\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-inter\"}],\"variableName\":\"inter\"}":{"id":57688,"name":"*","chunks":["1321","static/chunks/1321-1f274005e8c1540f.js","7177","static/chunks/app/layout-ed446c17642f5aeb.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\node_modules\\material-symbols\\outlined.css":{"id":5887,"name":"*","chunks":["1321","static/chunks/1321-1f274005e8c1540f.js","7177","static/chunks/app/layout-ed446c17642f5aeb.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\globals.css":{"id":51743,"name":"*","chunks":["1321","static/chunks/1321-1f274005e8c1540f.js","7177","static/chunks/app/layout-ed446c17642f5aeb.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\i18n\\RuntimeI18nProvider.js":{"id":94635,"name":"*","chunks":["1321","static/chunks/1321-1f274005e8c1540f.js","7177","static/chunks/app/layout-ed446c17642f5aeb.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\ThemeProvider.js":{"id":21110,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\callback\\page.js":{"id":59884,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\dashboard\\settings\\pricing\\page.js":{"id":87304,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\landing\\page.js":{"id":85941,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\login\\page.js":{"id":83016,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\AddCustomEmbeddingModal.js":{"id":96748,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Avatar.js":{"id":56319,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Badge.js":{"id":56061,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Button.js":{"id":92542,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Card.js":{"id":84588,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\ChangelogModal.js":{"id":40197,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\ComboFormModal.js":{"id":45455,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\CursorAuthModal.js":{"id":30815,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\EditConnectionModal.js":{"id":73579,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Footer.js":{"id":92173,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\GitLabAuthModal.js":{"id":95088,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Header.js":{"id":74891,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\HeaderMenu.js":{"id":80752,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\IFlowCookieModal.js":{"id":23936,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Input.js":{"id":11910,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\KiroAuthModal.js":{"id":61500,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\KiroOAuthWrapper.js":{"id":53375,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\KiroSocialOAuthModal.js":{"id":94230,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\LanguageSwitcher.js":{"id":21931,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\layouts\\AuthLayout.js":{"id":91450,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\layouts\\DashboardLayout.js":{"id":7648,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Loading.js":{"id":25086,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\ManualConfigModal.js":{"id":28815,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\McpMarketplaceModal.js":{"id":28058,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Modal.js":{"id":81127,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\ModelSelectModal.js":{"id":72908,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\NoAuthProxyCard.js":{"id":4823,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\OAuthModal.js":{"id":90882,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\ProviderInfoCard.js":{"id":51825,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\RequestLogger.js":{"id":23615,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\SegmentedControl.js":{"id":28067,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Select.js":{"id":98,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Sidebar.js":{"id":92622,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\ThemeToggle.js":{"id":38587,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Toggle.js":{"id":98542,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\Tooltip.js":{"id":97677,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\shared\\components\\UsageStats.js":{"id":4809,"name":"*","chunks":["3862","static/chunks/1a258343-5938f676ed376386.js","1051","static/chunks/1051-200f4cd85d329ee1.js","1321","static/chunks/1321-1f274005e8c1540f.js","5497","static/chunks/5497-a8a0c19ab6b9c4c1.js","9305","static/chunks/app/(dashboard)/layout-f8cf23fc65fca99f.js"],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\basic-chat\\BasicChatPageClient.js":{"id":88512,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\cli-tools\\[toolId]\\ToolDetailClient.js":{"id":85309,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\cli-tools\\CLIToolsPageClient.js":{"id":53501,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\combos\\page.js":{"id":47295,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\endpoint\\EndpointPageClient.js":{"id":95907,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\media-providers\\[kind]\\[id]\\page.js":{"id":94588,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\media-providers\\[kind]\\page.js":{"id":16144,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\media-providers\\combo\\[id]\\page.js":{"id":22662,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\media-providers\\web\\page.js":{"id":71088,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\mitm\\MitmPageClient.js":{"id":23879,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\providers\\new\\page.js":{"id":15615,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\usage\\components\\ProviderLimits\\index.js":{"id":75095,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\skills\\page.js":{"id":64082,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\translator\\page.js":{"id":69472,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\usage\\page.js":{"id":81772,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\console-log\\ConsoleLogClient.js":{"id":44493,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\profile\\page.js":{"id":64561,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\providers\\[id]\\page.js":{"id":17721,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\providers\\page.js":{"id":52154,"name":"*","chunks":[],"async":false},"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\dashboard\\proxy-pools\\page.js":{"id":57076,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"C:\\Users\\QuocTai\\Documents\\9router\\src\\":[],"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\layout":[{"inlined":false,"path":"static/css/454db3b478540e33.css"},{"inlined":false,"path":"static/css/1c9d052767a8c6e4.css"}],"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\page":[],"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\(dashboard)\\layout":[{"inlined":false,"path":"static/css/599369d853c61df7.css"}]},"rscModuleMapping":{"98":{"*":{"id":"83784","name":"*","chunks":[],"async":false}},"4809":{"*":{"id":"2422","name":"*","chunks":[],"async":false}},"4823":{"*":{"id":"5843","name":"*","chunks":[],"async":false}},"5887":{"*":{"id":"36497","name":"*","chunks":[],"async":false}},"7648":{"*":{"id":"61780","name":"*","chunks":[],"async":false}},"11910":{"*":{"id":"71230","name":"*","chunks":[],"async":false}},"15615":{"*":{"id":"24885","name":"*","chunks":[],"async":false}},"16144":{"*":{"id":"6452","name":"*","chunks":[],"async":false}},"17721":{"*":{"id":"93110","name":"*","chunks":[],"async":false}},"21110":{"*":{"id":"89886","name":"*","chunks":[],"async":false}},"21931":{"*":{"id":"45205","name":"*","chunks":[],"async":false}},"22662":{"*":{"id":"50254","name":"*","chunks":[],"async":false}},"23615":{"*":{"id":"19083","name":"*","chunks":[],"async":false}},"23879":{"*":{"id":"8523","name":"*","chunks":[],"async":false}},"23936":{"*":{"id":"80342","name":"*","chunks":[],"async":false}},"25086":{"*":{"id":"92082","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"28058":{"*":{"id":"962","name":"*","chunks":[],"async":false}},"28067":{"*":{"id":"54065","name":"*","chunks":[],"async":false}},"28815":{"*":{"id":"70603","name":"*","chunks":[],"async":false}},"30815":{"*":{"id":"40167","name":"*","chunks":[],"async":false}},"38587":{"*":{"id":"40515","name":"*","chunks":[],"async":false}},"40197":{"*":{"id":"33811","name":"*","chunks":[],"async":false}},"44493":{"*":{"id":"99259","name":"*","chunks":[],"async":false}},"45455":{"*":{"id":"20493","name":"*","chunks":[],"async":false}},"47295":{"*":{"id":"35447","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"51825":{"*":{"id":"81923","name":"*","chunks":[],"async":false}},"52154":{"*":{"id":"44030","name":"*","chunks":[],"async":false}},"53375":{"*":{"id":"14285","name":"*","chunks":[],"async":false}},"53501":{"*":{"id":"79518","name":"*","chunks":[],"async":false}},"56061":{"*":{"id":"33893","name":"*","chunks":[],"async":false}},"56319":{"*":{"id":"70061","name":"*","chunks":[],"async":false}},"57076":{"*":{"id":"23450","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"59884":{"*":{"id":"3604","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"61500":{"*":{"id":"82448","name":"*","chunks":[],"async":false}},"64082":{"*":{"id":"40852","name":"*","chunks":[],"async":false}},"64561":{"*":{"id":"50047","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"69472":{"*":{"id":"38308","name":"*","chunks":[],"async":false}},"71088":{"*":{"id":"93918","name":"*","chunks":[],"async":false}},"72908":{"*":{"id":"94582","name":"*","chunks":[],"async":false}},"73579":{"*":{"id":"70139","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"74891":{"*":{"id":"92669","name":"*","chunks":[],"async":false}},"75095":{"*":{"id":"57471","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"80752":{"*":{"id":"29354","name":"*","chunks":[],"async":false}},"81127":{"*":{"id":"10079","name":"*","chunks":[],"async":false}},"81772":{"*":{"id":"87149","name":"*","chunks":[],"async":false}},"83016":{"*":{"id":"65674","name":"*","chunks":[],"async":false}},"84588":{"*":{"id":"7290","name":"*","chunks":[],"async":false}},"85309":{"*":{"id":"99005","name":"*","chunks":[],"async":false}},"85941":{"*":{"id":"852","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"87304":{"*":{"id":"93870","name":"*","chunks":[],"async":false}},"88512":{"*":{"id":"79286","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"90882":{"*":{"id":"3080","name":"*","chunks":[],"async":false}},"91450":{"*":{"id":"64420","name":"*","chunks":[],"async":false}},"92173":{"*":{"id":"49123","name":"*","chunks":[],"async":false}},"92542":{"*":{"id":"45512","name":"*","chunks":[],"async":false}},"92622":{"*":{"id":"26866","name":"*","chunks":[],"async":false}},"94230":{"*":{"id":"87228","name":"*","chunks":[],"async":false}},"94588":{"*":{"id":"69296","name":"*","chunks":[],"async":false}},"94635":{"*":{"id":"85117","name":"*","chunks":[],"async":false}},"95088":{"*":{"id":"64148","name":"*","chunks":[],"async":false}},"95907":{"*":{"id":"51747","name":"*","chunks":[],"async":false}},"96748":{"*":{"id":"18200","name":"*","chunks":[],"async":false}},"97677":{"*":{"id":"18421","name":"*","chunks":[],"async":false}},"98542":{"*":{"id":"70092","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
|
|
@@ -94,8 +94,8 @@
|
|
|
94
94
|
"/api/v1beta/models/route": "app/api/v1beta/models/route.js",
|
|
95
95
|
"/favicon.ico/route": "app/favicon.ico/route.js",
|
|
96
96
|
"/manifest.webmanifest/route": "app/manifest.webmanifest/route.js",
|
|
97
|
-
"/api/keys/route": "app/api/keys/route.js",
|
|
98
97
|
"/api/combos/route": "app/api/combos/route.js",
|
|
98
|
+
"/api/keys/route": "app/api/keys/route.js",
|
|
99
99
|
"/api/mcp/[plugin]/message/route": "app/api/mcp/[plugin]/message/route.js",
|
|
100
100
|
"/api/mcp/[plugin]/sse/route": "app/api/mcp/[plugin]/sse/route.js",
|
|
101
101
|
"/api/models/alias/route": "app/api/models/alias/route.js",
|
|
@@ -106,8 +106,8 @@
|
|
|
106
106
|
"/api/providers/[id]/route": "app/api/providers/[id]/route.js",
|
|
107
107
|
"/api/providers/export/route": "app/api/providers/export/route.js",
|
|
108
108
|
"/api/providers/import/route": "app/api/providers/import/route.js",
|
|
109
|
-
"/api/providers/route": "app/api/providers/route.js",
|
|
110
109
|
"/api/providers/suggested-models/route": "app/api/providers/suggested-models/route.js",
|
|
110
|
+
"/api/providers/route": "app/api/providers/route.js",
|
|
111
111
|
"/api/proxy-pools/[id]/route": "app/api/proxy-pools/[id]/route.js",
|
|
112
112
|
"/api/proxy-pools/[id]/test/route": "app/api/proxy-pools/[id]/test/route.js",
|
|
113
113
|
"/api/proxy-pools/route": "app/api/proxy-pools/route.js",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=2409,exports.ids=[2409],exports.modules={62409:(a,b,c)=>{c.d(b,{v:()=>j});var d=c(92990),e=c(79748),f=c(21820),g=c(33873),h=c(79868);let i="https://prod.us-east-1.auth.desktop.kiro.dev";class j{decodeJwtPayload(a){try{if(!a||"string"!=typeof a)return null;let b=a.split(".");if(3!==b.length)return null;let c=b[1];for(;c.length%4;)c+="=";return JSON.parse(atob(c.replace(/-/g,"+").replace(/_/g,"/")))}catch{return null}}pickEmailCandidate(...a){for(let b of a){let a=String(b||"").trim();if(a&&a.includes("@"))return a}return null}async findCachedAccountByRefreshToken(a){if(!a||"string"!=typeof a)return null;try{let b=(0,g.join)((0,f.homedir)(),".aws/sso/cache");for(let c of(await (0,e.readdir)(b)))if(c.endsWith(".json"))try{let d=await (0,e.readFile)((0,g.join)(b,c),"utf-8"),f=JSON.parse(d);if(f.refreshToken!==a)continue;return{email:this.pickEmailCandidate(f.email,f.loginHint,f.login_hint),accessToken:f.accessToken||null,source:c}}catch{continue}}catch{}return null}getLocalKiroGlobalStorageDir(){if("win32"===process.platform){let a=process.env.APPDATA;return a?(0,g.join)(a,"Kiro","User","globalStorage"):null}return"darwin"===process.platform?(0,g.join)((0,f.homedir)(),"Library","Application Support","Kiro","User","globalStorage"):(0,g.join)((0,f.homedir)(),".config","Kiro","User","globalStorage")}async readLocalProfileSnapshot(){let a=this.getLocalKiroGlobalStorageDir();if(!a)return null;try{let b=await (0,e.readFile)((0,g.join)(a,"kiro.kiroagent","profile.json"),"utf-8");return JSON.parse(b)}catch{return null}}readLocalUsageSnapshot(){let a=this.getLocalKiroGlobalStorageDir();if(!a)return null;try{let b=new h.DatabaseSync((0,g.join)(a,"state.vscdb"));try{let a=b.prepare("SELECT value FROM ItemTable WHERE key = ?").get("kiro.kiroAgent");if(!a?.value)return null;return JSON.parse(a.value)}finally{b.close()}}catch{return null}}async readLocalKiroIdentity(a){let b=await this.readLocalProfileSnapshot(),c=this.readLocalUsageSnapshot(),d=String(b?.arn||b?.profileArn||"").trim();return a&&d&&d!==String(a).trim()?null:{email:this.pickEmailCandidate(c?.userInfo?.email,c?.email,b?.email,b?.login_hint,b?.loginHint),userId:String(c?.userInfo?.userId||b?.userId||"").trim()||null,profileArn:d||null,loginProvider:String(b?.loginProvider||b?.name||"").trim()||null}}async fetchRemoteKiroIdentity(a,b){if(!a)return null;for(let c of[{url:"https://codewhisperer.us-east-1.amazonaws.com/getUsageLimits?isEmailRequired=true&origin=AI_EDITOR&resourceType=AGENTIC_REQUEST",options:{headers:{Authorization:`Bearer ${a}`,Accept:"application/json","x-amz-user-agent":"aws-sdk-js/1.0.0 KiroIDE","user-agent":"aws-sdk-js/1.0.0 KiroIDE"}}},{url:`https://q.us-east-1.amazonaws.com/getUsageLimits?isEmailRequired=true&origin=AI_EDITOR&profileArn=${encodeURIComponent(b||"")}&resourceType=AGENTIC_REQUEST`,options:{headers:{Authorization:`Bearer ${a}`,Accept:"application/json"}}}])try{let a=await fetch(c.url,{method:"GET",...c.options});if(!a.ok)continue;let b=await a.json().catch(()=>null);if(!b||"object"!=typeof b)continue;let d=this.pickEmailCandidate(b?.userInfo?.email,b?.email),e=String(b?.userInfo?.userId||b?.userId||"").trim()||null;if(d||e)return{email:d,userId:e,raw:b}}catch{continue}return null}async resolveEmail({accessToken:a,refreshToken:b,tokenData:c={},profileArn:d=null}={}){let e=this.pickEmailCandidate(c.email,c.loginHint,c.login_hint);if(e)return e;let f=this.decodeJwtPayload(c.idToken),g=this.pickEmailCandidate(f?.email,f?.preferred_username);if(g)return g;let h=this.extractEmailFromJWT(a);if(h)return h;let i=await this.fetchRemoteKiroIdentity(a,d||c.profileArn);if(i?.email)return i.email;let j=await this.readLocalKiroIdentity(d||c.profileArn);if(j?.email)return j.email;let k=await this.findCachedAccountByRefreshToken(b);if(k?.email)return k.email;let l=this.extractEmailFromJWT(k?.accessToken);return l||null}async registerClient(a="us-east-1"){let b=`https://oidc.${a}.amazonaws.com/client/register`,c=await fetch(b,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({clientName:d.Tx.clientName,clientType:d.Tx.clientType,scopes:d.Tx.scopes,grantTypes:d.Tx.grantTypes,issuerUrl:d.Tx.issuerUrl})});if(!c.ok){let a=await c.text();throw Error(`Failed to register client: ${a}`)}let e=await c.json();return{clientId:e.clientId,clientSecret:e.clientSecret,clientSecretExpiresAt:e.clientSecretExpiresAt}}async startDeviceAuthorization(a,b,c,d="us-east-1"){let e=`https://oidc.${d}.amazonaws.com/device_authorization`,f=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({clientId:a,clientSecret:b,startUrl:c})});if(!f.ok){let a=await f.text();throw Error(`Failed to start device authorization: ${a}`)}let g=await f.json();return{deviceCode:g.deviceCode,userCode:g.userCode,verificationUri:g.verificationUri,verificationUriComplete:g.verificationUriComplete,expiresIn:g.expiresIn,interval:g.interval||5}}async pollDeviceToken(a,b,c,d="us-east-1"){let e=`https://oidc.${d}.amazonaws.com/token`,f=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({clientId:a,clientSecret:b,deviceCode:c,grantType:"urn:ietf:params:oauth:grant-type:device_code"})}),g=await f.json();return!f.ok||g.error?{success:!1,error:g.error,errorDescription:g.error_description,pending:"authorization_pending"===g.error||"slow_down"===g.error}:{success:!0,tokens:{accessToken:g.accessToken,refreshToken:g.refreshToken,expiresIn:g.expiresIn,tokenType:g.tokenType}}}buildSocialLoginUrl(a,b,c){return`${i}/login?idp=${"google"===a?"Google":"Github"}&redirect_uri=${encodeURIComponent("kiro://kiro.kiroAgent/authenticate-success")}&code_challenge=${b}&code_challenge_method=S256&state=${c}&prompt=select_account`}async exchangeSocialCode(a,b){let c=await fetch(`${i}/oauth/token`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({code:a,code_verifier:b,redirect_uri:"kiro://kiro.kiroAgent/authenticate-success"})});if(!c.ok){let a=await c.text();throw Error(`Token exchange failed: ${a}`)}let d=await c.json();return{accessToken:d.accessToken,refreshToken:d.refreshToken,profileArn:d.profileArn,expiresIn:d.expiresIn||3600,idToken:d.idToken||d.id_token||null,email:d.email||null,loginHint:d.loginHint||d.login_hint||null}}async refreshToken(a,b={}){let{authMethod:c,clientId:d,clientSecret:e,region:f}=b;if(d&&e){let b=`https://oidc.${f||"us-east-1"}.amazonaws.com/token`,c=await fetch(b,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({clientId:d,clientSecret:e,refreshToken:a,grantType:"refresh_token"})});if(!c.ok){let a=await c.text();throw Error(`Token refresh failed: ${a}`)}let g=await c.json();return{accessToken:g.accessToken,refreshToken:g.refreshToken||a,expiresIn:g.expiresIn,idToken:g.idToken||g.id_token||null,email:g.email||null,loginHint:g.loginHint||g.login_hint||null}}let g=await fetch(`${i}/refreshToken`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({refreshToken:a})});if(!g.ok){let a=await g.text();throw Error(`Token refresh failed: ${a}`)}let h=await g.json();return{accessToken:h.accessToken,refreshToken:h.refreshToken||a,profileArn:h.profileArn,expiresIn:h.expiresIn||3600,idToken:h.idToken||h.id_token||null,email:h.email||null,loginHint:h.loginHint||h.login_hint||null}}async validateImportToken(a){if(!a.startsWith("aorAAAAAG"))throw Error("Invalid token format. Token should start with aorAAAAAG...");try{let b=await this.refreshToken(a);return{accessToken:b.accessToken,refreshToken:b.refreshToken||a,profileArn:b.profileArn,expiresIn:b.expiresIn,authMethod:"imported",idToken:b.idToken||null,email:b.email||null,loginHint:b.loginHint||null}}catch(a){throw Error(`Token validation failed: ${a.message}`)}}async listAvailableModels(a,b){let c=await fetch("https://codewhisperer.us-east-1.amazonaws.com",{method:"POST",headers:{"Content-Type":"application/x-amz-json-1.0","x-amz-target":"AmazonCodeWhispererService.ListAvailableModels",Authorization:`Bearer ${a}`,Accept:"application/json"},body:JSON.stringify({origin:"AI_EDITOR",profileArn:b})});if(!c.ok){let a=await c.text();throw Error(`Failed to list models: ${a}`)}return((await c.json()).models||[]).map(a=>({id:a.modelId,name:a.modelName||a.modelId,description:a.description,rateMultiplier:a.rateMultiplier,rateUnit:a.rateUnit,maxInputTokens:a.tokenLimits?.maxInputTokens||0}))}extractEmailFromJWT(a){let b=this.decodeJwtPayload(a);return this.pickEmailCandidate(b?.email,b?.preferred_username)}}},92990:(a,b,c)=>{c.d(b,{DI:()=>e,Hp:()=>g,LT:()=>f,MZ:()=>o,Nl:()=>r,Nu:()=>k,OV:()=>d,Tx:()=>l,WN:()=>m,YT:()=>j,ZL:()=>i,f7:()=>q,hF:()=>h,lB:()=>p,t:()=>n}),c(21820);let d={clientId:"9d1c250a-e61b-44d9-88ed-5944d1962f5e",authorizeUrl:"https://claude.ai/oauth/authorize",tokenUrl:"https://api.anthropic.com/v1/oauth/token",scopes:["org:create_api_key","user:profile","user:inference"],codeChallengeMethod:"S256"},e={clientId:"app_EMoamEEZ73f0CkXaXp7hrann",authorizeUrl:"https://auth.openai.com/oauth/authorize",tokenUrl:"https://auth.openai.com/oauth/token",scope:"openid profile email offline_access",codeChallengeMethod:"S256",extraParams:{id_token_add_organizations:"true",codex_cli_simplified_flow:"true",originator:"codex_cli_rs"}},f={clientId:"681255809395-oo8ft2oprdrnp9e3aqf6av3hmdib135j.apps.googleusercontent.com",clientSecret:"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",authorizeUrl:"https://accounts.google.com/o/oauth2/v2/auth",tokenUrl:"https://oauth2.googleapis.com/token",userInfoUrl:"https://www.googleapis.com/oauth2/v1/userinfo",scopes:["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/userinfo.email","https://www.googleapis.com/auth/userinfo.profile"]},g={clientId:"f0304373b74a44d2b584a3fb70ca9e56",deviceCodeUrl:"https://chat.qwen.ai/api/v1/oauth2/device/code",tokenUrl:"https://chat.qwen.ai/api/v1/oauth2/token",scope:"openid profile email model.completion",codeChallengeMethod:"S256"},h={apiBaseUrl:"https://api2.qoder.sh",deviceTokenUrl:"https://api2.qoder.sh/api/v1/deviceToken/poll",deviceRefreshUrl:"https://api2.qoder.sh/api/v1/deviceToken/refresh",refreshUrl:"https://api2.qoder.sh/api/v3/user/refresh_token",userInfoUrl:"https://api2.qoder.sh/api/v1/userinfo",statusUrl:"https://api2.qoder.sh/api/v3/user/status",loginUrl:"https://qoder.com/login"},i={clientId:"10009311001",clientSecret:"4Z3YjXycVsQvyGF1etiNlIBB4RsqSDtW",authorizeUrl:"https://iflow.cn/oauth",tokenUrl:"https://iflow.cn/oauth/token",userInfoUrl:"https://iflow.cn/api/oauth/getUserInfo",extraParams:{loginMethod:"phone",type:"phone"}},j={clientId:"1071006060591-tmhssin2h21lcre235vtolojh4g403ep.apps.googleusercontent.com",clientSecret:"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",authorizeUrl:"https://accounts.google.com/o/oauth2/v2/auth",tokenUrl:"https://oauth2.googleapis.com/token",userInfoUrl:"https://www.googleapis.com/oauth2/v1/userinfo",scopes:["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/userinfo.email","https://www.googleapis.com/auth/userinfo.profile","https://www.googleapis.com/auth/cclog","https://www.googleapis.com/auth/experimentsandconfigs"],apiEndpoint:"https://cloudcode-pa.googleapis.com",apiVersion:"v1internal",loadCodeAssistEndpoint:"https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",onboardUserEndpoint:"https://cloudcode-pa.googleapis.com/v1internal:onboardUser",loadCodeAssistUserAgent:"google-api-nodejs-client/9.15.1",loadCodeAssistApiClient:"google-cloud-sdk vscode_cloudshelleditor/0.1",loadCodeAssistClientMetadata:JSON.stringify({ideType:"IDE_UNSPECIFIED",platform:"PLATFORM_UNSPECIFIED",pluginType:"GEMINI"})},k={clientId:"Iv1.b507a08c87ecfe98",deviceCodeUrl:"https://github.com/login/device/code",tokenUrl:"https://github.com/login/oauth/access_token",userInfoUrl:"https://api.github.com/user",scopes:"read:user",apiVersion:"2022-11-28",copilotTokenUrl:"https://api.github.com/copilot_internal/v2/token",userAgent:"GitHubCopilotChat/0.26.7",editorVersion:"vscode/1.85.0",editorPluginVersion:"copilot-chat/0.26.7"},l={ssoOidcEndpoint:"https://oidc.us-east-1.amazonaws.com",registerClientUrl:"https://oidc.us-east-1.amazonaws.com/client/register",deviceAuthUrl:"https://oidc.us-east-1.amazonaws.com/device_authorization",tokenUrl:"https://oidc.us-east-1.amazonaws.com/token",startUrl:"https://view.awsapps.com/start",clientName:"kiro-oauth-client",clientType:"public",scopes:["codewhisperer:completions","codewhisperer:analysis","codewhisperer:conversations"],grantTypes:["urn:ietf:params:oauth:grant-type:device_code","refresh_token"],issuerUrl:"https://identitycenter.amazonaws.com/ssoins-722374e8c3c8e6c6",socialAuthEndpoint:"https://prod.us-east-1.auth.desktop.kiro.dev",socialLoginUrl:"https://prod.us-east-1.auth.desktop.kiro.dev/login",socialTokenUrl:"https://prod.us-east-1.auth.desktop.kiro.dev/oauth/token",socialRefreshUrl:"https://prod.us-east-1.auth.desktop.kiro.dev/refreshToken",authMethods:["builder-id","idc","google","github","import"]},m={apiEndpoint:"https://api2.cursor.sh",chatEndpoint:"/aiserver.v1.ChatService/StreamUnifiedChatWithTools",modelsEndpoint:"/aiserver.v1.AiService/GetDefaultModelNudgeData",api3Endpoint:"https://api3.cursor.sh",agentEndpoint:"https://agent.api5.cursor.sh",agentNonPrivacyEndpoint:"https://agentn.api5.cursor.sh",clientVersion:"3.1.0",clientType:"ide",tokenStoragePaths:{linux:"~/.config/Cursor/User/globalStorage/state.vscdb",macos:"/Users/<user>/Library/Application Support/Cursor/User/globalStorage/state.vscdb",windows:"%APPDATA%\\Cursor\\User\\globalStorage\\state.vscdb"},dbKeys:{accessToken:"cursorAuth/accessToken",machineId:"storage.serviceMachineId"}},n={clientId:process.env.KIMI_CODING_OAUTH_CLIENT_ID||"17e5f671-d194-4dfb-9706-5516cb48c098",deviceCodeUrl:"https://auth.kimi.com/api/oauth/device_authorization",tokenUrl:"https://auth.kimi.com/api/oauth/token"},o={apiBaseUrl:"https://api.kilo.ai",initiateUrl:"https://api.kilo.ai/api/device-auth/codes",pollUrlBase:"https://api.kilo.ai/api/device-auth/codes"},p={appBaseUrl:"https://app.cline.bot",apiBaseUrl:"https://api.cline.bot",authorizeUrl:"https://api.cline.bot/api/v1/auth/authorize",tokenExchangeUrl:"https://api.cline.bot/api/v1/auth/token",refreshUrl:"https://api.cline.bot/api/v1/auth/refresh"},q={defaultBaseUrl:"https://gitlab.com",authorizeUrlPath:"/oauth/authorize",tokenUrlPath:"/oauth/token",userInfoUrlPath:"/api/v4/user",scope:"api read_user",codeChallengeMethod:"S256"},r={baseUrl:"https://copilot.tencent.com",stateUrl:"https://copilot.tencent.com/v2/plugin/auth/state",tokenUrl:"https://copilot.tencent.com/v2/plugin/auth/token",refreshUrl:"https://copilot.tencent.com/v2/plugin/auth/token/refresh",userAgent:"CLI/2.63.2 CodeBuddy/2.63.2",platform:"CLI",pollInterval:5e3}}};
|
|
1
|
+
"use strict";exports.id=2409,exports.ids=[2409],exports.modules={62409:(a,b,c)=>{c.d(b,{v:()=>j});var d=c(92990),e=c(79748),f=c(21820),g=c(33873),h=c(79868);let i="https://prod.us-east-1.auth.desktop.kiro.dev";class j{decodeJwtPayload(a){try{if(!a||"string"!=typeof a)return null;let b=a.split(".");if(3!==b.length)return null;let c=b[1];for(;c.length%4;)c+="=";return JSON.parse(atob(c.replace(/-/g,"+").replace(/_/g,"/")))}catch{return null}}pickEmailCandidate(...a){for(let b of a){let a=String(b||"").trim();if(a&&a.includes("@"))return a}return null}async findCachedAccountByRefreshToken(a){if(!a||"string"!=typeof a)return null;try{let b=(0,g.join)((0,f.homedir)(),".aws/sso/cache");for(let c of(await (0,e.readdir)(b)))if(c.endsWith(".json"))try{let d=await (0,e.readFile)((0,g.join)(b,c),"utf-8"),f=JSON.parse(d);if(f.refreshToken!==a)continue;return{email:this.pickEmailCandidate(f.email,f.loginHint,f.login_hint),accessToken:f.accessToken||null,source:c}}catch{continue}}catch{}return null}getLocalKiroGlobalStorageDir(){if("win32"===process.platform){let a=process.env.APPDATA;return a?(0,g.join)(a,"Kiro","User","globalStorage"):null}return"darwin"===process.platform?(0,g.join)((0,f.homedir)(),"Library","Application Support","Kiro","User","globalStorage"):(0,g.join)((0,f.homedir)(),".config","Kiro","User","globalStorage")}async readLocalProfileSnapshot(){let a=this.getLocalKiroGlobalStorageDir();if(!a)return null;try{let b=await (0,e.readFile)((0,g.join)(a,"kiro.kiroagent","profile.json"),"utf-8");return JSON.parse(b)}catch{return null}}readLocalUsageSnapshot(){let a=this.getLocalKiroGlobalStorageDir();if(!a)return null;try{let b=new h.DatabaseSync((0,g.join)(a,"state.vscdb"));try{let a=b.prepare("SELECT value FROM ItemTable WHERE key = ?").get("kiro.kiroAgent");if(!a?.value)return null;return JSON.parse(a.value)}finally{b.close()}}catch{return null}}async readLocalKiroIdentity(a){let b=await this.readLocalProfileSnapshot(),c=this.readLocalUsageSnapshot(),d=String(b?.arn||b?.profileArn||"").trim();return a&&d&&d!==String(a).trim()?null:{email:this.pickEmailCandidate(c?.userInfo?.email,c?.email,b?.email,b?.login_hint,b?.loginHint),userId:String(c?.userInfo?.userId||b?.userId||"").trim()||null,profileArn:d||null,loginProvider:String(b?.loginProvider||b?.name||"").trim()||null}}async fetchRemoteKiroIdentity(a,b){if(!a)return null;for(let c of[{url:"https://codewhisperer.us-east-1.amazonaws.com/getUsageLimits?isEmailRequired=true&origin=AI_EDITOR&resourceType=AGENTIC_REQUEST",options:{headers:{Authorization:`Bearer ${a}`,Accept:"application/json","x-amz-user-agent":"aws-sdk-js/1.0.0 KiroIDE","user-agent":"aws-sdk-js/1.0.0 KiroIDE"}}},{url:`https://q.us-east-1.amazonaws.com/getUsageLimits?isEmailRequired=true&origin=AI_EDITOR&profileArn=${encodeURIComponent(b||"")}&resourceType=AGENTIC_REQUEST`,options:{headers:{Authorization:`Bearer ${a}`,Accept:"application/json"}}}])try{let a=await fetch(c.url,{method:"GET",...c.options});if(!a.ok)continue;let b=await a.json().catch(()=>null);if(!b||"object"!=typeof b)continue;let d=this.pickEmailCandidate(b?.userInfo?.email,b?.email),e=String(b?.userInfo?.userId||b?.userId||"").trim()||null;if(d||e)return{email:d,userId:e,raw:b}}catch{continue}return null}async resolveEmail({accessToken:a,refreshToken:b,tokenData:c={},profileArn:d=null}={}){let e=this.pickEmailCandidate(c.email,c.loginHint,c.login_hint);if(e)return e;let f=this.decodeJwtPayload(c.idToken),g=this.pickEmailCandidate(f?.email,f?.preferred_username);if(g)return g;let h=this.extractEmailFromJWT(a);if(h)return h;let i=await this.fetchRemoteKiroIdentity(a,d||c.profileArn);if(i?.email)return i.email;let j=await this.readLocalKiroIdentity(d||c.profileArn);if(j?.email)return j.email;let k=await this.findCachedAccountByRefreshToken(b);if(k?.email)return k.email;let l=this.extractEmailFromJWT(k?.accessToken);return l||null}async registerClient(a="us-east-1"){let b=`https://oidc.${a}.amazonaws.com/client/register`,c=await fetch(b,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({clientName:d.Tx.clientName,clientType:d.Tx.clientType,scopes:d.Tx.scopes,grantTypes:d.Tx.grantTypes,issuerUrl:d.Tx.issuerUrl})});if(!c.ok){let a=await c.text();throw Error(`Failed to register client: ${a}`)}let e=await c.json();return{clientId:e.clientId,clientSecret:e.clientSecret,clientSecretExpiresAt:e.clientSecretExpiresAt}}async startDeviceAuthorization(a,b,c,d="us-east-1"){let e=`https://oidc.${d}.amazonaws.com/device_authorization`,f=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({clientId:a,clientSecret:b,startUrl:c})});if(!f.ok){let a=await f.text();throw Error(`Failed to start device authorization: ${a}`)}let g=await f.json();return{deviceCode:g.deviceCode,userCode:g.userCode,verificationUri:g.verificationUri,verificationUriComplete:g.verificationUriComplete,expiresIn:g.expiresIn,interval:g.interval||5}}async pollDeviceToken(a,b,c,d="us-east-1"){let e=`https://oidc.${d}.amazonaws.com/token`,f=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({clientId:a,clientSecret:b,deviceCode:c,grantType:"urn:ietf:params:oauth:grant-type:device_code"})}),g=await f.json();return!f.ok||g.error?{success:!1,error:g.error,errorDescription:g.error_description,pending:"authorization_pending"===g.error||"slow_down"===g.error}:{success:!0,tokens:{accessToken:g.accessToken,refreshToken:g.refreshToken,expiresIn:g.expiresIn,tokenType:g.tokenType}}}buildSocialLoginUrl(a,b,c){return`${i}/login?idp=${"google"===a?"Google":"Github"}&redirect_uri=${encodeURIComponent("kiro://kiro.kiroAgent/authenticate-success")}&code_challenge=${b}&code_challenge_method=S256&state=${c}&prompt=select_account`}async exchangeSocialCode(a,b){let c=await fetch(`${i}/oauth/token`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({code:a,code_verifier:b,redirect_uri:"kiro://kiro.kiroAgent/authenticate-success"})});if(!c.ok){let a=await c.text();throw Error(`Token exchange failed: ${a}`)}let d=await c.json();return{accessToken:d.accessToken,refreshToken:d.refreshToken,profileArn:d.profileArn,expiresIn:d.expiresIn||3600,idToken:d.idToken||d.id_token||null,email:d.email||null,loginHint:d.loginHint||d.login_hint||null}}async refreshToken(a,b={}){let{authMethod:c,clientId:d,clientSecret:e,region:f}=b;if(d&&e){let b=`https://oidc.${f||"us-east-1"}.amazonaws.com/token`,c=await fetch(b,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({clientId:d,clientSecret:e,refreshToken:a,grantType:"refresh_token"})});if(!c.ok){let a=await c.text();throw Error(`Token refresh failed: ${a}`)}let g=await c.json();return{accessToken:g.accessToken,refreshToken:g.refreshToken||a,expiresIn:g.expiresIn,idToken:g.idToken||g.id_token||null,email:g.email||null,loginHint:g.loginHint||g.login_hint||null}}let g=await fetch(`${i}/refreshToken`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({refreshToken:a})});if(!g.ok){let a=await g.text();throw Error(`Token refresh failed: ${a}`)}let h=await g.json();return{accessToken:h.accessToken,refreshToken:h.refreshToken||a,profileArn:h.profileArn,expiresIn:h.expiresIn||3600,idToken:h.idToken||h.id_token||null,email:h.email||null,loginHint:h.loginHint||h.login_hint||null}}async validateImportToken(a){if(!a.startsWith("aorAAAAAG"))throw Error("Invalid token format. Token should start with aorAAAAAG...");try{let b=await this.refreshToken(a);return{accessToken:b.accessToken,refreshToken:b.refreshToken||a,profileArn:b.profileArn,expiresIn:b.expiresIn,authMethod:"imported",idToken:b.idToken||null,email:b.email||null,loginHint:b.loginHint||null}}catch(a){throw Error(`Token validation failed: ${a.message}`)}}async listAvailableModels(a,b){let c=await fetch("https://codewhisperer.us-east-1.amazonaws.com",{method:"POST",headers:{"Content-Type":"application/x-amz-json-1.0","x-amz-target":"AmazonCodeWhispererService.ListAvailableModels",Authorization:`Bearer ${a}`,Accept:"application/json"},body:JSON.stringify({origin:"AI_EDITOR",profileArn:b})});if(!c.ok){let a=await c.text();throw Error(`Failed to list models: ${a}`)}return((await c.json()).models||[]).map(a=>({id:a.modelId,name:a.modelName||a.modelId,description:a.description,rateMultiplier:a.rateMultiplier,rateUnit:a.rateUnit,maxInputTokens:a.tokenLimits?.maxInputTokens||0}))}extractEmailFromJWT(a){let b=this.decodeJwtPayload(a);return this.pickEmailCandidate(b?.email,b?.preferred_username)}}},92990:(a,b,c)=>{c.d(b,{DI:()=>g,Hp:()=>i,LT:()=>h,MZ:()=>r,Nl:()=>u,Nu:()=>n,OV:()=>f,Tx:()=>o,WN:()=>p,YT:()=>l,ZL:()=>k,cD:()=>m,f7:()=>t,hF:()=>j,lB:()=>s,t:()=>q});var d=c(21820);function e(){let a=(0,d.platform)(),b=(0,d.arch)();return"darwin"===a?"arm64"===b?2:1:"linux"===a?"arm64"===b?4:3:5*("win32"===a)}let f={clientId:"9d1c250a-e61b-44d9-88ed-5944d1962f5e",authorizeUrl:"https://claude.ai/oauth/authorize",tokenUrl:"https://api.anthropic.com/v1/oauth/token",scopes:["org:create_api_key","user:profile","user:inference"],codeChallengeMethod:"S256"},g={clientId:"app_EMoamEEZ73f0CkXaXp7hrann",authorizeUrl:"https://auth.openai.com/oauth/authorize",tokenUrl:"https://auth.openai.com/oauth/token",scope:"openid profile email offline_access",codeChallengeMethod:"S256",extraParams:{id_token_add_organizations:"true",codex_cli_simplified_flow:"true",originator:"codex_cli_rs"}},h={clientId:"681255809395-oo8ft2oprdrnp9e3aqf6av3hmdib135j.apps.googleusercontent.com",clientSecret:"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",authorizeUrl:"https://accounts.google.com/o/oauth2/v2/auth",tokenUrl:"https://oauth2.googleapis.com/token",userInfoUrl:"https://www.googleapis.com/oauth2/v1/userinfo",scopes:["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/userinfo.email","https://www.googleapis.com/auth/userinfo.profile"]},i={clientId:"f0304373b74a44d2b584a3fb70ca9e56",deviceCodeUrl:"https://chat.qwen.ai/api/v1/oauth2/device/code",tokenUrl:"https://chat.qwen.ai/api/v1/oauth2/token",scope:"openid profile email model.completion",codeChallengeMethod:"S256"},j={apiBaseUrl:"https://api2.qoder.sh",deviceTokenUrl:"https://api2.qoder.sh/api/v1/deviceToken/poll",deviceRefreshUrl:"https://api2.qoder.sh/api/v1/deviceToken/refresh",refreshUrl:"https://api2.qoder.sh/api/v3/user/refresh_token",userInfoUrl:"https://api2.qoder.sh/api/v1/userinfo",statusUrl:"https://api2.qoder.sh/api/v3/user/status",loginUrl:"https://qoder.com/login"},k={clientId:"10009311001",clientSecret:"4Z3YjXycVsQvyGF1etiNlIBB4RsqSDtW",authorizeUrl:"https://iflow.cn/oauth",tokenUrl:"https://iflow.cn/oauth/token",userInfoUrl:"https://iflow.cn/api/oauth/getUserInfo",extraParams:{loginMethod:"phone",type:"phone"}},l={clientId:"1071006060591-tmhssin2h21lcre235vtolojh4g403ep.apps.googleusercontent.com",clientSecret:"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",authorizeUrl:"https://accounts.google.com/o/oauth2/v2/auth",tokenUrl:"https://oauth2.googleapis.com/token",userInfoUrl:"https://www.googleapis.com/oauth2/v1/userinfo",scopes:["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/userinfo.email","https://www.googleapis.com/auth/userinfo.profile","https://www.googleapis.com/auth/cclog","https://www.googleapis.com/auth/experimentsandconfigs"],apiEndpoint:"https://cloudcode-pa.googleapis.com",apiVersion:"v1internal",loadCodeAssistEndpoint:"https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",onboardUserEndpoint:"https://cloudcode-pa.googleapis.com/v1internal:onboardUser",loadCodeAssistUserAgent:"google-api-nodejs-client/9.15.1",loadCodeAssistApiClient:"google-cloud-sdk vscode_cloudshelleditor/0.1",loadCodeAssistClientMetadata:JSON.stringify({ideType:9,platform:e(),pluginType:2})};function m(){return{ideType:9,platform:e(),pluginType:2}}let n={clientId:"Iv1.b507a08c87ecfe98",deviceCodeUrl:"https://github.com/login/device/code",tokenUrl:"https://github.com/login/oauth/access_token",userInfoUrl:"https://api.github.com/user",scopes:"read:user",apiVersion:"2022-11-28",copilotTokenUrl:"https://api.github.com/copilot_internal/v2/token",userAgent:"GitHubCopilotChat/0.26.7",editorVersion:"vscode/1.85.0",editorPluginVersion:"copilot-chat/0.26.7"},o={ssoOidcEndpoint:"https://oidc.us-east-1.amazonaws.com",registerClientUrl:"https://oidc.us-east-1.amazonaws.com/client/register",deviceAuthUrl:"https://oidc.us-east-1.amazonaws.com/device_authorization",tokenUrl:"https://oidc.us-east-1.amazonaws.com/token",startUrl:"https://view.awsapps.com/start",clientName:"kiro-oauth-client",clientType:"public",scopes:["codewhisperer:completions","codewhisperer:analysis","codewhisperer:conversations"],grantTypes:["urn:ietf:params:oauth:grant-type:device_code","refresh_token"],issuerUrl:"https://identitycenter.amazonaws.com/ssoins-722374e8c3c8e6c6",socialAuthEndpoint:"https://prod.us-east-1.auth.desktop.kiro.dev",socialLoginUrl:"https://prod.us-east-1.auth.desktop.kiro.dev/login",socialTokenUrl:"https://prod.us-east-1.auth.desktop.kiro.dev/oauth/token",socialRefreshUrl:"https://prod.us-east-1.auth.desktop.kiro.dev/refreshToken",authMethods:["builder-id","idc","google","github","import"]},p={apiEndpoint:"https://api2.cursor.sh",chatEndpoint:"/aiserver.v1.ChatService/StreamUnifiedChatWithTools",modelsEndpoint:"/aiserver.v1.AiService/GetDefaultModelNudgeData",api3Endpoint:"https://api3.cursor.sh",agentEndpoint:"https://agent.api5.cursor.sh",agentNonPrivacyEndpoint:"https://agentn.api5.cursor.sh",clientVersion:"3.1.0",clientType:"ide",tokenStoragePaths:{linux:"~/.config/Cursor/User/globalStorage/state.vscdb",macos:"/Users/<user>/Library/Application Support/Cursor/User/globalStorage/state.vscdb",windows:"%APPDATA%\\Cursor\\User\\globalStorage\\state.vscdb"},dbKeys:{accessToken:"cursorAuth/accessToken",machineId:"storage.serviceMachineId"}},q={clientId:process.env.KIMI_CODING_OAUTH_CLIENT_ID||"17e5f671-d194-4dfb-9706-5516cb48c098",deviceCodeUrl:"https://auth.kimi.com/api/oauth/device_authorization",tokenUrl:"https://auth.kimi.com/api/oauth/token"},r={apiBaseUrl:"https://api.kilo.ai",initiateUrl:"https://api.kilo.ai/api/device-auth/codes",pollUrlBase:"https://api.kilo.ai/api/device-auth/codes"},s={appBaseUrl:"https://app.cline.bot",apiBaseUrl:"https://api.cline.bot",authorizeUrl:"https://api.cline.bot/api/v1/auth/authorize",tokenExchangeUrl:"https://api.cline.bot/api/v1/auth/token",refreshUrl:"https://api.cline.bot/api/v1/auth/refresh"},t={defaultBaseUrl:"https://gitlab.com",authorizeUrlPath:"/oauth/authorize",tokenUrlPath:"/oauth/token",userInfoUrlPath:"/api/v4/user",scope:"api read_user",codeChallengeMethod:"S256"},u={baseUrl:"https://copilot.tencent.com",stateUrl:"https://copilot.tencent.com/v2/plugin/auth/state",tokenUrl:"https://copilot.tencent.com/v2/plugin/auth/token",refreshUrl:"https://copilot.tencent.com/v2/plugin/auth/token/refresh",userAgent:"CLI/2.63.2 CodeBuddy/2.63.2",platform:"CLI",pollInterval:5e3}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=2549,exports.ids=[2549],exports.modules={12557:(a,b,c)=>{c.d(b,{Bl:()=>j,Qo:()=>f,S5:()=>l,hk:()=>e,kJ:()=>k});var d=c(3662);function e(a,b,c=0){let f=b?("string"==typeof b?b:JSON.stringify(b)).toLowerCase():"";for(let b of d.t2)if(b.text&&f&&f.includes(b.text)||b.status&&b.status===a){if(b.backoff){let a=Math.min(c+1,d.EQ.maxLevel);return{shouldFallback:!0,cooldownMs:function(a=0){let b=Math.max(0,a-1);return Math.min(d.EQ.base*Math.pow(2,b),d.EQ.max)}(a),newBackoffLevel:a}}return{shouldFallback:!0,cooldownMs:b.cooldownMs}}return{shouldFallback:!0,cooldownMs:d.wf}}function f(a){if(!a)return"";let b=new Date(a).getTime()-Date.now();if(b<=0)return"reset after 0s";let c=Math.ceil(b/1e3),d=Math.floor(c/3600),e=Math.floor(c%3600/60),f=c%60,g=[];return d>0&&g.push(`${d}h`),e>0&&g.push(`${e}m`),(f>0||0===g.length)&&g.push(`${f}s`),`reset after ${g.join(" ")}`}let g="modelLock_",h=`${g}__all`;function i(a){return a?`${g}${a}`:h}function j(a,b){let c=a[i(b)]||a[h];return!!c&&new Date(c).getTime()>Date.now()}function k(a){if(!a)return null;let b=null,c=Date.now();for(let[d,e]of Object.entries(a)){if(!d.startsWith(g)||!e)continue;let a=new Date(e).getTime();a<=c||(!b||a<b)&&(b=a)}return b?new Date(b).toISOString():null}function l(a,b){return{[i(a)]:new Date(Date.now()+b).toISOString()}}},13808:(a,b,c)=>{c.d(b,{lz:()=>f});var d=c(55511),e=c.n(d);function f(){let a=e().randomBytes(32).toString("base64url"),b=e().createHash("sha256").update(a).digest("base64url");return{codeVerifier:a,codeChallenge:b,state:e().randomBytes(32).toString("base64url")}}},43659:(a,b,c)=>{c.d(b,{A1:()=>g,lR:()=>i,wO:()=>h,yj:()=>e,zL:()=>f});var d=c(3662);function e(a,b){let c;return new Response(JSON.stringify((c=d.LY[a]||(a>=500?{type:"server_error",code:"internal_server_error"}:{type:"invalid_request_error",code:""}),{error:{message:b||d.O[a]||"An error occurred",type:c.type,code:c.code}})),{status:a,headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})}async function f(a,b=null){let c="";try{c=await a.text()}catch{c=""}if(b&&"function"==typeof b.parseError)try{let e=b.parseError(a,c);if(e&&"object"==typeof e){let b=e.message||d.O[a.status]||`Upstream error: ${a.status}`;return{statusCode:e.status||a.status,message:b,resetsAtMs:e.resetsAtMs}}}catch{}let e="";try{let a=JSON.parse(c);e=a.error?.message||a.message||a.error||c}catch{e=c}let g=("string"==typeof e?e:JSON.stringify(e))||d.O[a.status]||`Upstream error: ${a.status}`;return{statusCode:a.status,message:g}}function g(a,b,c){return{success:!1,status:a,error:b,resetsAtMs:c,response:e(a,b)}}function h(a,b,c,d){let e=Math.max(Math.ceil((new Date(c).getTime()-Date.now())/1e3),1);return new Response(JSON.stringify({error:{message:`${b} (${d})`}}),{status:a,headers:{"Content-Type":"application/json","Retry-After":String(e)}})}function i(a,b,c,d){let e=d||a.code||"FETCH_FAILED",f=a.message||"Unknown error",g=a.cause?.code,h=a.cause?.message,i=g||h?` (cause: ${[g,h].filter(Boolean).join(": ")})`:"";return`[${e}]: ${f}${i}`}},74177:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{PY:()=>p,Re:()=>n,Su:()=>o,exchangeTokens:()=>m,kP:()=>l,sO:()=>k});var e=c(48895),f=c(13808),g=c(92990),h=a([e]);function i(a){try{if(!a||"string"!=typeof a)return null;let b=a.split(".");if(3!==b.length)return null;let c=b[1].replace(/-/g,"+").replace(/_/g,"/"),d=(4-c.length%4)%4,e=c+"=".repeat(d);return JSON.parse(Buffer.from(e,"base64").toString("utf8"))}catch{return null}}function j(a){let b=i(a);if(!b)return{};let c=b["https://api.openai.com/auth"]||{};return{email:b.email,chatgptAccountId:c.chatgpt_account_id,chatgptPlanType:c.chatgpt_plan_type}}e=(h.then?(await h)():h)[0];let q={claude:{config:g.OV,flowType:"authorization_code_pkce",buildAuthUrl:(a,b,c,d)=>{let e=new URLSearchParams({code:"true",client_id:a.clientId,response_type:"code",redirect_uri:b,scope:a.scopes.join(" "),code_challenge:d,code_challenge_method:a.codeChallengeMethod,state:c});return`${a.authorizeUrl}?${e.toString()}`},exchangeToken:async(a,b,c,d,e)=>{let f=b,g="";if(f.includes("#")){let a=f.split("#");f=a[0],g=a[1]||""}let h=await fetch(a.tokenUrl,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({code:f,state:g||e,grant_type:"authorization_code",client_id:a.clientId,redirect_uri:c,code_verifier:d})});if(!h.ok){let a=await h.text();throw Error(`Token exchange failed: ${a}`)}return await h.json()},mapTokens:a=>({accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_in,scope:a.scope})},codex:{config:g.DI,flowType:"authorization_code_pkce",fixedPort:1455,callbackPath:"/auth/callback",buildAuthUrl:(a,b,c,d)=>{let e={response_type:"code",client_id:a.clientId,redirect_uri:b,scope:a.scope,code_challenge:d,code_challenge_method:a.codeChallengeMethod,...a.extraParams,state:c},f=Object.entries(e).map(([a,b])=>`${a}=${encodeURIComponent(b)}`).join("&");return`${a.authorizeUrl}?${f}`},exchangeToken:async(a,b,c,d)=>{let e=await fetch(a.tokenUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({grant_type:"authorization_code",client_id:a.clientId,code:b,redirect_uri:c,code_verifier:d})});if(!e.ok){let a=await e.text();throw Error(`Token exchange failed: ${a}`)}return await e.json()},requestDeviceCode:async a=>{let b="https://auth.openai.com",c=await fetch(`${b}/api/accounts/deviceauth/usercode`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({client_id:a.clientId})});if(!c.ok){let a=await c.text();throw Error(`Device code request failed: ${a}`)}let d=await c.json();if(!d?.user_code||!d?.device_auth_id)throw Error("Device code response missing user_code or device_auth_id");let e=Math.max(3,Number(d.interval||5)),f=Number(d.expires_in||900);return{device_code:d.device_auth_id,user_code:d.user_code,verification_uri:`${b}/codex/device`,verification_uri_complete:`${b}/codex/device`,interval:e,expires_in:f}},pollToken:async(a,b,c,d={})=>{let e="https://auth.openai.com",f=d?.user_code||d?.userCode||"";if(!f)return{ok:!0,data:{error:"invalid_request",error_description:"Missing Codex user code for device authorization polling"}};let g=await fetch(`${e}/api/accounts/deviceauth/token`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({device_auth_id:b,user_code:f})});if(403===g.status||404===g.status)return{ok:!0,data:{error:"authorization_pending"}};if(!g.ok){let a=await g.text();return{ok:!1,data:{error:"deviceauth_poll_failed",error_description:a}}}let h=await g.json(),i=h.authorization_code,j=h.code_verifier;if(!i||!j)return{ok:!1,data:{error:"deviceauth_incomplete",error_description:"Missing authorization_code or code_verifier"}};let k=await fetch(a.tokenUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({grant_type:"authorization_code",code:i,redirect_uri:`${e}/deviceauth/callback`,client_id:a.clientId,code_verifier:j})});if(!k.ok){let a=await k.text();return{ok:!1,data:{error:"token_exchange_failed",error_description:a}}}return{ok:!0,data:await k.json()}},mapTokens:a=>{let b=j(a.id_token),c=function(a){let b=i(a);if(!b)return{};let c=b["https://api.openai.com/auth"]||{},d=Array.isArray(c.organizations)?c.organizations:[],e=c.chatgpt_account_id||null,f=String(c.chatgpt_plan_type||"").toLowerCase();if(d.length>0){let a=d.find(a=>{let b=String(a?.title||"").toLowerCase(),c=String(a?.role||"").toLowerCase();return!a?.is_default&&(b.includes("team")||b.includes("business")||b.includes("workspace")||b.includes("org")||"admin"===c||"member"===c)});a&&("free"===f||""===f)&&(e=a.id||e,f="team")}return{workspaceId:e,workspacePlanType:f,chatgptUserId:c.chatgpt_user_id||null,organizations:d.length>0?d:null}}(a.id_token),d={accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_in,idToken:a.id_token};return b.email&&(d.email=b.email),(c.workspaceId||c.workspacePlanType||c.chatgptUserId||c.organizations||b.chatgptAccountId||b.chatgptPlanType)&&(d.providerSpecificData={workspaceId:c.workspaceId||null,workspacePlanType:c.workspacePlanType||null,chatgptUserId:c.chatgptUserId||null,organizations:c.organizations||null,chatgptAccountId:b.chatgptAccountId,chatgptPlanType:b.chatgptPlanType}),d}},"gemini-cli":{config:g.LT,flowType:"authorization_code",buildAuthUrl:(a,b,c)=>{let d=new URLSearchParams({client_id:a.clientId,response_type:"code",redirect_uri:b,scope:a.scopes.join(" "),state:c,access_type:"offline",prompt:"consent"});return`${a.authorizeUrl}?${d.toString()}`},exchangeToken:async(a,b,c)=>{let d=await fetch(a.tokenUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({grant_type:"authorization_code",client_id:a.clientId,client_secret:a.clientSecret,code:b,redirect_uri:c})});if(!d.ok){let a=await d.text();throw Error(`Token exchange failed: ${a}`)}return await d.json()},postExchange:async a=>{let b=await fetch(`${g.LT.userInfoUrl}?alt=json`,{headers:{Authorization:`Bearer ${a.access_token}`}}),c=b.ok?await b.json():{},d="";try{let b=await fetch("https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",{method:"POST",headers:{Authorization:`Bearer ${a.access_token}`,"Content-Type":"application/json"},body:JSON.stringify({metadata:getOAuthClientMetadata(),mode:1})});if(b.ok){let a=await b.json();d=a.cloudaicompanionProject?.id||a.cloudaicompanionProject||""}}catch(a){console.log("Failed to fetch project ID:",a)}return{userInfo:c,projectId:d}},mapTokens:(a,b)=>({accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_in,scope:a.scope,email:b?.userInfo?.email,projectId:b?.projectId})},antigravity:{config:g.YT,flowType:"authorization_code",buildAuthUrl:(a,b,c)=>{let d=new URLSearchParams({client_id:a.clientId,response_type:"code",redirect_uri:b,scope:a.scopes.join(" "),state:c,access_type:"offline",prompt:"consent"});return`${a.authorizeUrl}?${d.toString()}`},exchangeToken:async(a,b,c)=>{let d=await fetch(a.tokenUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({grant_type:"authorization_code",client_id:a.clientId,client_secret:a.clientSecret,code:b,redirect_uri:c})});if(!d.ok){let a=await d.text();throw Error(`Token exchange failed: ${a}`)}return await d.json()},postExchange:async a=>{let b={Authorization:`Bearer ${a.access_token}`,"Content-Type":"application/json","User-Agent":g.YT.loadCodeAssistUserAgent,"X-Goog-Api-Client":g.YT.loadCodeAssistApiClient,"Client-Metadata":g.YT.loadCodeAssistClientMetadata,"x-request-source":"local"},c={ideType:"IDE_UNSPECIFIED",platform:"PLATFORM_UNSPECIFIED",pluginType:"GEMINI"},d=await fetch(`${g.YT.userInfoUrl}?alt=json`,{headers:{Authorization:`Bearer ${a.access_token}`,"x-request-source":"local"}}),e=d.ok?await d.json():{},f="",h="legacy-tier";try{let a=await fetch(g.YT.loadCodeAssistEndpoint,{method:"POST",headers:b,body:JSON.stringify({metadata:c})});if(a.ok){let b=await a.json();if(f=b.cloudaicompanionProject?.id||b.cloudaicompanionProject||"",Array.isArray(b.allowedTiers)){for(let a of b.allowedTiers)if(a.isDefault&&a.id){h=a.id.trim();break}}}}catch(a){console.log("Failed to load code assist:",a)}return f&&(async()=>{for(let a=0;a<10;a++){try{let a=await fetch(g.YT.onboardUserEndpoint,{method:"POST",headers:b,body:JSON.stringify({tierId:h,metadata:c})});if(a.ok){let b=await a.json();if(!0===b.done)break}}catch(a){break}await new Promise(a=>setTimeout(a,5e3))}})().catch(()=>{}),{userInfo:e,projectId:f}},mapTokens:(a,b)=>({accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_in,scope:a.scope,email:b?.userInfo?.email,projectId:b?.projectId})},iflow:{config:g.ZL,flowType:"authorization_code",buildAuthUrl:(a,b,c)=>{let d=new URLSearchParams({loginMethod:a.extraParams.loginMethod,type:a.extraParams.type,redirect:b,state:c,client_id:a.clientId});return`${a.authorizeUrl}?${d.toString()}`},exchangeToken:async(a,b,c)=>{let d=Buffer.from(`${a.clientId}:${a.clientSecret}`).toString("base64"),e=await fetch(a.tokenUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json",Authorization:`Basic ${d}`},body:new URLSearchParams({grant_type:"authorization_code",code:b,redirect_uri:c,client_id:a.clientId,client_secret:a.clientSecret})});if(!e.ok){let a=await e.text();throw Error(`Token exchange failed: ${a}`)}return await e.json()},postExchange:async a=>{let b=await fetch(`${g.ZL.userInfoUrl}?accessToken=${encodeURIComponent(a.access_token)}`,{headers:{Accept:"application/json"}});if(!b.ok){let a=await b.text();throw Error(`Failed to fetch user info: ${a}`)}let c=await b.json();if(!c.success)throw Error(`User info request failed: ${c.message||"Unknown error"}`);let d=c.data||{};if(!d.apiKey||""===d.apiKey.trim())throw Error("Empty API key returned from iFlow");if(!(d.email?.trim()||d.phone?.trim()))throw Error("Missing account email/phone in user info");return{userInfo:d}},mapTokens:(a,b)=>({accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_in,apiKey:b?.userInfo?.apiKey,email:b?.userInfo?.email||b?.userInfo?.phone,displayName:b?.userInfo?.nickname||b?.userInfo?.name})},qoder:{config:g.hF,flowType:"authorization_code",buildAuthUrl:(a,b,c)=>{let d=new URLSearchParams({client_id:a.clientId,response_type:"code",redirect_uri:b,state:c});return`${a.authorizeUrl}?${d.toString()}`},exchangeToken:async(a,b,c)=>{let d=Buffer.from(`${a.clientId}:${a.clientSecret}`).toString("base64"),e=await fetch(a.tokenUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json",Authorization:`Basic ${d}`},body:new URLSearchParams({grant_type:"authorization_code",code:b,redirect_uri:c,client_id:a.clientId,client_secret:a.clientSecret})});if(!e.ok){let a=await e.text();throw Error(`Token exchange failed: ${a}`)}return await e.json()},postExchange:async a=>{let b=await fetch(`${g.hF.userInfoUrl}?accessToken=${encodeURIComponent(a.access_token)}`,{headers:{Accept:"application/json"}});if(!b.ok){let a=await b.text();throw Error(`Failed to fetch user info: ${a}`)}let c=await b.json();if(!c.success)throw Error(`User info request failed: ${c.message||"Unknown error"}`);let d=c.data||{};if(!d.apiKey||""===d.apiKey.trim())throw Error("Empty API key returned from Qoder");if(!(d.email?.trim()||d.phone?.trim()))throw Error("Missing account email/phone in user info");return{userInfo:d}},mapTokens:(a,b)=>({accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_in,apiKey:b?.userInfo?.apiKey,email:b?.userInfo?.email||b?.userInfo?.phone,displayName:b?.userInfo?.nickname||b?.userInfo?.name})},qwen:{config:g.Hp,flowType:"device_code",requestDeviceCode:async(a,b)=>{let c=await fetch(a.deviceCodeUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({client_id:a.clientId,scope:a.scope,code_challenge:b,code_challenge_method:a.codeChallengeMethod})});if(!c.ok){let a=await c.text();throw Error(`Device code request failed: ${a}`)}return await c.json()},pollToken:async(a,b,c)=>{let d=await fetch(a.tokenUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({grant_type:"urn:ietf:params:oauth:grant-type:device_code",client_id:a.clientId,device_code:b,code_verifier:c})});return{ok:d.ok,data:await d.json()}},mapTokens:a=>({accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_in,providerSpecificData:{resourceUrl:a.resource_url}})},github:{config:g.Nu,flowType:"device_code",requestDeviceCode:async a=>{let b=await fetch(a.deviceCodeUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({client_id:a.clientId,scope:a.scopes})});if(!b.ok){let a=await b.text();throw Error(`Device code request failed: ${a}`)}return await b.json()},pollToken:async(a,b)=>{let c,d=await fetch(a.tokenUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({client_id:a.clientId,device_code:b,grant_type:"urn:ietf:params:oauth:grant-type:device_code"})});try{c=await d.json()}catch(b){let a=await d.text();c={error:"invalid_response",error_description:a}}return{ok:d.ok,data:c}},postExchange:async a=>{let b=await fetch(g.Nu.copilotTokenUrl,{headers:{Authorization:`Bearer ${a.access_token}`,Accept:"application/json","X-GitHub-Api-Version":g.Nu.apiVersion,"User-Agent":g.Nu.userAgent}}),c=b.ok?await b.json():{},d=await fetch(g.Nu.userInfoUrl,{headers:{Authorization:`Bearer ${a.access_token}`,Accept:"application/json","X-GitHub-Api-Version":g.Nu.apiVersion,"User-Agent":g.Nu.userAgent}}),e=d.ok?await d.json():{};return{copilotToken:c,userInfo:e}},mapTokens:(a,b)=>({accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_in,providerSpecificData:{copilotToken:b?.copilotToken?.token,copilotTokenExpiresAt:b?.copilotToken?.expires_at,githubUserId:b?.userInfo?.id,githubLogin:b?.userInfo?.login,githubName:b?.userInfo?.name,githubEmail:b?.userInfo?.email}})},kiro:{config:g.Tx,flowType:"device_code",requestDeviceCode:async(a,b,c={})=>{let d=("string"==typeof c.region?c.region.trim():"")||"us-east-1",e=("string"==typeof c.startUrl?c.startUrl.trim():"")||a.startUrl,f="idc"===c.authMethod?"idc":"builder-id",g=`https://oidc.${d}.amazonaws.com/client/register`,h=`https://oidc.${d}.amazonaws.com/device_authorization`,i=await fetch(g,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({clientName:a.clientName,clientType:a.clientType,scopes:a.scopes,grantTypes:a.grantTypes,issuerUrl:a.issuerUrl})});if(!i.ok){let a=await i.text();throw Error(`Client registration failed: ${a}`)}let j=await i.json(),k=await fetch(h,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({clientId:j.clientId,clientSecret:j.clientSecret,startUrl:e})});if(!k.ok){let a=await k.text();throw Error(`Device authorization failed: ${a}`)}let l=await k.json();return{device_code:l.deviceCode,user_code:l.userCode,verification_uri:l.verificationUri,verification_uri_complete:l.verificationUriComplete,expires_in:l.expiresIn,interval:l.interval||5,_clientId:j.clientId,_clientSecret:j.clientSecret,_region:d,_authMethod:f,_startUrl:e}},pollToken:async(a,b,c,d)=>{let e,f=d?._region||"us-east-1",g=`https://oidc.${f}.amazonaws.com/token`,h=await fetch(g,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({clientId:d?._clientId,clientSecret:d?._clientSecret,deviceCode:b,grantType:"urn:ietf:params:oauth:grant-type:device_code"})});try{e=await h.json()}catch(b){let a=await h.text();e={error:"invalid_response",error_description:a}}return e.accessToken?{ok:!0,data:{access_token:e.accessToken,refresh_token:e.refreshToken,expires_in:e.expiresIn,profile_arn:e?.profileArn||null,_clientId:d?._clientId,_clientSecret:d?._clientSecret,_region:d?._region,_authMethod:d?._authMethod,_startUrl:d?._startUrl}}:{ok:!1,data:{error:e.error||"authorization_pending",error_description:e.error_description||e.message}}},mapTokens:a=>{let b=function(a){let b=i(a);if(b)return b.email||b.preferred_username||b.sub||void 0}(a.access_token);return{accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_in,email:b,providerSpecificData:{profileArn:a?.profile_arn||null,clientId:a._clientId,clientSecret:a._clientSecret,region:a._region||"us-east-1",authMethod:a._authMethod||"builder-id",startUrl:a._startUrl||g.Tx.startUrl}}}},cursor:{config:g.WN,flowType:"import_token",mapTokens:a=>({accessToken:a.accessToken,refreshToken:null,expiresIn:a.expiresIn||86400,providerSpecificData:{machineId:a.machineId,authMethod:"imported"}})},"kimi-coding":{config:g.t,flowType:"device_code",requestDeviceCode:async a=>{let b=await fetch(a.deviceCodeUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({client_id:a.clientId})});if(!b.ok){let a=await b.text();throw Error(`Device code request failed: ${a}`)}let c=await b.json();return{device_code:c.device_code,user_code:c.user_code,verification_uri:c.verification_uri||"https://www.kimi.com/code/authorize_device",verification_uri_complete:c.verification_uri_complete||`https://www.kimi.com/code/authorize_device?user_code=${c.user_code}`,expires_in:c.expires_in,interval:c.interval||5}},pollToken:async(a,b)=>{let c,d=await fetch(a.tokenUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({grant_type:"urn:ietf:params:oauth:grant-type:device_code",client_id:a.clientId,device_code:b})});try{c=await d.json()}catch(b){let a=await d.text();c={error:"invalid_response",error_description:a}}return{ok:d.ok,data:c}},mapTokens:a=>({accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_in})},kilocode:{config:g.MZ,flowType:"device_code",requestDeviceCode:async a=>{let b=await fetch(a.initiateUrl,{method:"POST",headers:{"Content-Type":"application/json"}});if(!b.ok){if(429===b.status)throw Error("Too many pending authorization requests. Please try again later.");let a=await b.text();throw Error(`Device auth initiation failed: ${a}`)}let c=await b.json();return{device_code:c.code,user_code:c.code,verification_uri:c.verificationUrl,verification_uri_complete:c.verificationUrl,expires_in:c.expiresIn||300,interval:3}},pollToken:async(a,b)=>{let c=await fetch(`${a.pollUrlBase}/${b}`);if(202===c.status)return{ok:!1,data:{error:"authorization_pending"}};if(403===c.status)return{ok:!1,data:{error:"access_denied",error_description:"Authorization denied by user"}};if(410===c.status)return{ok:!1,data:{error:"expired_token",error_description:"Authorization code expired"}};if(!c.ok)return{ok:!1,data:{error:"poll_failed",error_description:`Poll failed: ${c.status}`}};let d=await c.json();if("approved"===d.status&&d.token){let b=null;try{let c=await fetch(`${a.apiBaseUrl}/api/profile`,{headers:{Authorization:`Bearer ${d.token}`}});if(c.ok){let a=await c.json();b=a.organizations?.[0]?.id||null}}catch{}return{ok:!0,data:{access_token:d.token,_userEmail:d.userEmail,_orgId:b}}}return{ok:!1,data:{error:"authorization_pending"}}},mapTokens:a=>({accessToken:a.access_token,refreshToken:null,expiresIn:null,email:a._userEmail,...a._orgId?{providerSpecificData:{orgId:a._orgId}}:{}})},cline:{config:g.lB,flowType:"authorization_code",buildAuthUrl:(a,b)=>{let c=new URLSearchParams({client_type:"extension",callback_url:b,redirect_uri:b});return`${a.authorizeUrl}?${c.toString()}`},exchangeToken:async(a,b,c)=>{try{let a=b,c=4-a.length%4;4!==c&&(a+="=".repeat(c));let d=Buffer.from(a,"base64").toString("utf-8"),e=d.lastIndexOf("}");if(-1===e)throw Error("No JSON found in decoded code");let f=JSON.parse(d.substring(0,e+1));return{access_token:f.accessToken,refresh_token:f.refreshToken,email:f.email,firstName:f.firstName,lastName:f.lastName,expires_at:f.expiresAt}}catch(f){let d=await fetch(a.tokenExchangeUrl,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({grant_type:"authorization_code",code:b,client_type:"extension",redirect_uri:c})});if(!d.ok){let a=await d.text();throw Error(`Cline token exchange failed: ${a}`)}let e=await d.json();return{access_token:e.data?.accessToken||e.accessToken,refresh_token:e.data?.refreshToken||e.refreshToken,email:e.data?.userInfo?.email||"",expires_at:e.data?.expiresAt||e.expiresAt}}},mapTokens:a=>({accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_at?Math.floor((new Date(a.expires_at).getTime()-Date.now())/1e3):3600,email:a.email,providerSpecificData:{firstName:a.firstName,lastName:a.lastName}})},gitlab:{config:g.f7,flowType:"authorization_code_pkce",buildAuthUrl:(a,b,c,d,e={})=>{let f=e.baseUrl||a.defaultBaseUrl,g=e.clientId||"",h=new URLSearchParams({client_id:g,redirect_uri:b,response_type:"code",state:c,scope:a.scope,code_challenge:d,code_challenge_method:a.codeChallengeMethod});return`${f}${a.authorizeUrlPath}?${h.toString()}`},exchangeToken:async(a,b,c,d,e,f={})=>{let g=f.baseUrl||a.defaultBaseUrl,h=f.clientId||"",i=f.clientSecret||"",j=new URLSearchParams({client_id:h,grant_type:"authorization_code",code:b,redirect_uri:c,code_verifier:d});i&&j.set("client_secret",i);let k=await fetch(`${g}${a.tokenUrlPath}`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:j.toString()});if(!k.ok)throw Error(`GitLab token exchange failed: ${await k.text()}`);let l=await k.json(),m=await fetch(`${g}${a.userInfoUrlPath}`,{headers:{Authorization:`Bearer ${l.access_token}`}}),n=m.ok?await m.json():{};return{...l,_user:n,_baseUrl:g,_clientId:h}},mapTokens:a=>({accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_in,scope:a.scope,providerSpecificData:{username:a._user?.username||"",email:a._user?.email||a._user?.public_email||"",name:a._user?.name||"",baseUrl:a._baseUrl,clientId:a._clientId,authKind:"oauth"}})},codebuddy:{config:g.Nl,flowType:"device_code",requestDeviceCode:async a=>{let b=await fetch(`${a.stateUrl}?platform=${a.platform}`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","User-Agent":a.userAgent,"X-Requested-With":"XMLHttpRequest","X-Domain":"copilot.tencent.com","X-No-Authorization":"true","X-No-User-Id":"true","X-Product":"SaaS"},body:"{}"});if(!b.ok)throw Error(`CodeBuddy state request failed: ${await b.text()}`);let c=await b.json();if(0!==c.code||!c.data?.state||!c.data?.authUrl)throw Error(`CodeBuddy state error: ${c.msg||"missing state/authUrl"}`);return{device_code:c.data.state,verification_uri:c.data.authUrl,user_code:"",interval:a.pollInterval/1e3,_isCodeBuddy:!0}},pollToken:async(a,b)=>{let c=await fetch(a.tokenUrl,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","User-Agent":a.userAgent,"X-Requested-With":"XMLHttpRequest","X-Domain":"copilot.tencent.com","X-No-Authorization":"true","X-No-User-Id":"true","X-Product":"SaaS"},body:JSON.stringify({state:b})});if(!c.ok)return{ok:!1,data:{error:"request_failed"}};let d=await c.json();return 0===d.code&&d.data?.accessToken?{ok:!0,data:{access_token:d.data.accessToken,refresh_token:d.data.refreshToken||"",token_type:d.data.tokenType||"Bearer"}}:11217===d.code?{ok:!0,data:{error:"authorization_pending"}}:{ok:!1,data:{error:d.msg||"unknown_error"}}},mapTokens:a=>({accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:86400,providerSpecificData:{}})}};function k(a){let b=q[a];if(!b)throw Error(`Unknown provider: ${a}`);return b}function l(a,b,c){let d=k(a),{codeVerifier:e,codeChallenge:g,state:h}=(0,f.lz)();return{authUrl:"device_code"===d.flowType?null:"authorization_code_pkce"===d.flowType?d.buildAuthUrl(d.config,b,h,g,c||{}):d.buildAuthUrl(d.config,b,h,void 0,c||{}),state:h,codeVerifier:e,codeChallenge:g,redirectUri:b,flowType:d.flowType,fixedPort:d.fixedPort,callbackPath:d.callbackPath||"/callback"}}async function m(a,b,c,d,e,f){let g=k(a),h=await g.exchangeToken(g.config,b,c,d,e,f||{}),i=null;return g.postExchange&&(i=await g.postExchange(h)),g.mapTokens(h,i)}async function n(a,b,c){let d=k(a);if("device_code"!==d.flowType&&!d.requestDeviceCode)throw Error(`Provider ${a} does not support device code flow`);return await d.requestDeviceCode(d.config,b,c||{})}async function o(a,b,c,d){let e=k(a);if("device_code"!==e.flowType&&!e.pollToken)throw Error(`Provider ${a} does not support device code flow`);let f=await e.pollToken(e.config,b,c,d);if(f.ok)if(f.data.access_token){let a=null;return e.postExchange&&(a=await e.postExchange(f.data)),{success:!0,tokens:e.mapTokens(f.data,a)}}else if("authorization_pending"===f.data.error||"slow_down"===f.data.error)return{success:!1,error:f.data.error,errorDescription:f.data.error_description||f.data.message,pending:"authorization_pending"===f.data.error};else return{success:!1,error:f.data.error||"no_access_token",errorDescription:f.data.error_description||f.data.message||"No access token received"};return{success:!1,error:f.data.error,errorDescription:f.data.error_description}}let r=!1;async function p(){if(!r){r=!0;try{let{getProviderConnections:a,updateProviderConnection:b}=await Promise.resolve().then(c.bind(c,89718));for(let c of(await a()).filter(a=>{if("codex"!==a.provider||"oauth"!==a.authType||!a.idToken)return!1;let b=!!a.email,c=!!a.providerSpecificData?.chatgptAccountId;return!b||!c})){let a=j(c.idToken);if(!a.email&&!a.chatgptAccountId)continue;let d={};!c.email&&a.email&&(d.email=a.email),(a.chatgptAccountId||a.chatgptPlanType)&&(d.providerSpecificData={...c.providerSpecificData||{},chatgptAccountId:a.chatgptAccountId,chatgptPlanType:a.chatgptPlanType}),Object.keys(d).length&&await b(c.id,d)}}catch(a){r=!1,console.log("backfillCodexEmails failed:",a?.message||a)}}}d()}catch(a){d(a)}})},92990:(a,b,c)=>{c.d(b,{DI:()=>e,Hp:()=>g,LT:()=>f,MZ:()=>o,Nl:()=>r,Nu:()=>k,OV:()=>d,Tx:()=>l,WN:()=>m,YT:()=>j,ZL:()=>i,f7:()=>q,hF:()=>h,lB:()=>p,t:()=>n}),c(21820);let d={clientId:"9d1c250a-e61b-44d9-88ed-5944d1962f5e",authorizeUrl:"https://claude.ai/oauth/authorize",tokenUrl:"https://api.anthropic.com/v1/oauth/token",scopes:["org:create_api_key","user:profile","user:inference"],codeChallengeMethod:"S256"},e={clientId:"app_EMoamEEZ73f0CkXaXp7hrann",authorizeUrl:"https://auth.openai.com/oauth/authorize",tokenUrl:"https://auth.openai.com/oauth/token",scope:"openid profile email offline_access",codeChallengeMethod:"S256",extraParams:{id_token_add_organizations:"true",codex_cli_simplified_flow:"true",originator:"codex_cli_rs"}},f={clientId:"681255809395-oo8ft2oprdrnp9e3aqf6av3hmdib135j.apps.googleusercontent.com",clientSecret:"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",authorizeUrl:"https://accounts.google.com/o/oauth2/v2/auth",tokenUrl:"https://oauth2.googleapis.com/token",userInfoUrl:"https://www.googleapis.com/oauth2/v1/userinfo",scopes:["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/userinfo.email","https://www.googleapis.com/auth/userinfo.profile"]},g={clientId:"f0304373b74a44d2b584a3fb70ca9e56",deviceCodeUrl:"https://chat.qwen.ai/api/v1/oauth2/device/code",tokenUrl:"https://chat.qwen.ai/api/v1/oauth2/token",scope:"openid profile email model.completion",codeChallengeMethod:"S256"},h={apiBaseUrl:"https://api2.qoder.sh",deviceTokenUrl:"https://api2.qoder.sh/api/v1/deviceToken/poll",deviceRefreshUrl:"https://api2.qoder.sh/api/v1/deviceToken/refresh",refreshUrl:"https://api2.qoder.sh/api/v3/user/refresh_token",userInfoUrl:"https://api2.qoder.sh/api/v1/userinfo",statusUrl:"https://api2.qoder.sh/api/v3/user/status",loginUrl:"https://qoder.com/login"},i={clientId:"10009311001",clientSecret:"4Z3YjXycVsQvyGF1etiNlIBB4RsqSDtW",authorizeUrl:"https://iflow.cn/oauth",tokenUrl:"https://iflow.cn/oauth/token",userInfoUrl:"https://iflow.cn/api/oauth/getUserInfo",extraParams:{loginMethod:"phone",type:"phone"}},j={clientId:"1071006060591-tmhssin2h21lcre235vtolojh4g403ep.apps.googleusercontent.com",clientSecret:"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",authorizeUrl:"https://accounts.google.com/o/oauth2/v2/auth",tokenUrl:"https://oauth2.googleapis.com/token",userInfoUrl:"https://www.googleapis.com/oauth2/v1/userinfo",scopes:["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/userinfo.email","https://www.googleapis.com/auth/userinfo.profile","https://www.googleapis.com/auth/cclog","https://www.googleapis.com/auth/experimentsandconfigs"],apiEndpoint:"https://cloudcode-pa.googleapis.com",apiVersion:"v1internal",loadCodeAssistEndpoint:"https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",onboardUserEndpoint:"https://cloudcode-pa.googleapis.com/v1internal:onboardUser",loadCodeAssistUserAgent:"google-api-nodejs-client/9.15.1",loadCodeAssistApiClient:"google-cloud-sdk vscode_cloudshelleditor/0.1",loadCodeAssistClientMetadata:JSON.stringify({ideType:"IDE_UNSPECIFIED",platform:"PLATFORM_UNSPECIFIED",pluginType:"GEMINI"})},k={clientId:"Iv1.b507a08c87ecfe98",deviceCodeUrl:"https://github.com/login/device/code",tokenUrl:"https://github.com/login/oauth/access_token",userInfoUrl:"https://api.github.com/user",scopes:"read:user",apiVersion:"2022-11-28",copilotTokenUrl:"https://api.github.com/copilot_internal/v2/token",userAgent:"GitHubCopilotChat/0.26.7",editorVersion:"vscode/1.85.0",editorPluginVersion:"copilot-chat/0.26.7"},l={ssoOidcEndpoint:"https://oidc.us-east-1.amazonaws.com",registerClientUrl:"https://oidc.us-east-1.amazonaws.com/client/register",deviceAuthUrl:"https://oidc.us-east-1.amazonaws.com/device_authorization",tokenUrl:"https://oidc.us-east-1.amazonaws.com/token",startUrl:"https://view.awsapps.com/start",clientName:"kiro-oauth-client",clientType:"public",scopes:["codewhisperer:completions","codewhisperer:analysis","codewhisperer:conversations"],grantTypes:["urn:ietf:params:oauth:grant-type:device_code","refresh_token"],issuerUrl:"https://identitycenter.amazonaws.com/ssoins-722374e8c3c8e6c6",socialAuthEndpoint:"https://prod.us-east-1.auth.desktop.kiro.dev",socialLoginUrl:"https://prod.us-east-1.auth.desktop.kiro.dev/login",socialTokenUrl:"https://prod.us-east-1.auth.desktop.kiro.dev/oauth/token",socialRefreshUrl:"https://prod.us-east-1.auth.desktop.kiro.dev/refreshToken",authMethods:["builder-id","idc","google","github","import"]},m={apiEndpoint:"https://api2.cursor.sh",chatEndpoint:"/aiserver.v1.ChatService/StreamUnifiedChatWithTools",modelsEndpoint:"/aiserver.v1.AiService/GetDefaultModelNudgeData",api3Endpoint:"https://api3.cursor.sh",agentEndpoint:"https://agent.api5.cursor.sh",agentNonPrivacyEndpoint:"https://agentn.api5.cursor.sh",clientVersion:"3.1.0",clientType:"ide",tokenStoragePaths:{linux:"~/.config/Cursor/User/globalStorage/state.vscdb",macos:"/Users/<user>/Library/Application Support/Cursor/User/globalStorage/state.vscdb",windows:"%APPDATA%\\Cursor\\User\\globalStorage\\state.vscdb"},dbKeys:{accessToken:"cursorAuth/accessToken",machineId:"storage.serviceMachineId"}},n={clientId:process.env.KIMI_CODING_OAUTH_CLIENT_ID||"17e5f671-d194-4dfb-9706-5516cb48c098",deviceCodeUrl:"https://auth.kimi.com/api/oauth/device_authorization",tokenUrl:"https://auth.kimi.com/api/oauth/token"},o={apiBaseUrl:"https://api.kilo.ai",initiateUrl:"https://api.kilo.ai/api/device-auth/codes",pollUrlBase:"https://api.kilo.ai/api/device-auth/codes"},p={appBaseUrl:"https://app.cline.bot",apiBaseUrl:"https://api.cline.bot",authorizeUrl:"https://api.cline.bot/api/v1/auth/authorize",tokenExchangeUrl:"https://api.cline.bot/api/v1/auth/token",refreshUrl:"https://api.cline.bot/api/v1/auth/refresh"},q={defaultBaseUrl:"https://gitlab.com",authorizeUrlPath:"/oauth/authorize",tokenUrlPath:"/oauth/token",userInfoUrlPath:"/api/v4/user",scope:"api read_user",codeChallengeMethod:"S256"},r={baseUrl:"https://copilot.tencent.com",stateUrl:"https://copilot.tencent.com/v2/plugin/auth/state",tokenUrl:"https://copilot.tencent.com/v2/plugin/auth/token",refreshUrl:"https://copilot.tencent.com/v2/plugin/auth/token/refresh",userAgent:"CLI/2.63.2 CodeBuddy/2.63.2",platform:"CLI",pollInterval:5e3}}};
|
|
1
|
+
"use strict";exports.id=2549,exports.ids=[2549],exports.modules={12557:(a,b,c)=>{c.d(b,{Bl:()=>j,Qo:()=>f,S5:()=>l,hk:()=>e,kJ:()=>k});var d=c(3662);function e(a,b,c=0){let f=b?("string"==typeof b?b:JSON.stringify(b)).toLowerCase():"";for(let b of d.t2)if(b.text&&f&&f.includes(b.text)||b.status&&b.status===a){if(b.backoff){let a=Math.min(c+1,d.EQ.maxLevel);return{shouldFallback:!0,cooldownMs:function(a=0){let b=Math.max(0,a-1);return Math.min(d.EQ.base*Math.pow(2,b),d.EQ.max)}(a),newBackoffLevel:a}}return{shouldFallback:!0,cooldownMs:b.cooldownMs}}return{shouldFallback:!0,cooldownMs:d.wf}}function f(a){if(!a)return"";let b=new Date(a).getTime()-Date.now();if(b<=0)return"reset after 0s";let c=Math.ceil(b/1e3),d=Math.floor(c/3600),e=Math.floor(c%3600/60),f=c%60,g=[];return d>0&&g.push(`${d}h`),e>0&&g.push(`${e}m`),(f>0||0===g.length)&&g.push(`${f}s`),`reset after ${g.join(" ")}`}let g="modelLock_",h=`${g}__all`;function i(a){return a?`${g}${a}`:h}function j(a,b){let c=a[i(b)]||a[h];return!!c&&new Date(c).getTime()>Date.now()}function k(a){if(!a)return null;let b=null,c=Date.now();for(let[d,e]of Object.entries(a)){if(!d.startsWith(g)||!e)continue;let a=new Date(e).getTime();a<=c||(!b||a<b)&&(b=a)}return b?new Date(b).toISOString():null}function l(a,b){return{[i(a)]:new Date(Date.now()+b).toISOString()}}},13808:(a,b,c)=>{c.d(b,{lz:()=>f});var d=c(55511),e=c.n(d);function f(){let a=e().randomBytes(32).toString("base64url"),b=e().createHash("sha256").update(a).digest("base64url");return{codeVerifier:a,codeChallenge:b,state:e().randomBytes(32).toString("base64url")}}},43659:(a,b,c)=>{c.d(b,{A1:()=>g,lR:()=>i,wO:()=>h,yj:()=>e,zL:()=>f});var d=c(3662);function e(a,b){let c;return new Response(JSON.stringify((c=d.LY[a]||(a>=500?{type:"server_error",code:"internal_server_error"}:{type:"invalid_request_error",code:""}),{error:{message:b||d.O[a]||"An error occurred",type:c.type,code:c.code}})),{status:a,headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})}async function f(a,b=null){let c="";try{c=await a.text()}catch{c=""}if(b&&"function"==typeof b.parseError)try{let e=b.parseError(a,c);if(e&&"object"==typeof e){let b=e.message||d.O[a.status]||`Upstream error: ${a.status}`;return{statusCode:e.status||a.status,message:b,resetsAtMs:e.resetsAtMs}}}catch{}let e="";try{let a=JSON.parse(c);e=a.error?.message||a.message||a.error||c}catch{e=c}let g=("string"==typeof e?e:JSON.stringify(e))||d.O[a.status]||`Upstream error: ${a.status}`;return{statusCode:a.status,message:g}}function g(a,b,c){return{success:!1,status:a,error:b,resetsAtMs:c,response:e(a,b)}}function h(a,b,c,d){let e=Math.max(Math.ceil((new Date(c).getTime()-Date.now())/1e3),1);return new Response(JSON.stringify({error:{message:`${b} (${d})`}}),{status:a,headers:{"Content-Type":"application/json","Retry-After":String(e)}})}function i(a,b,c,d){let e=d||a.code||"FETCH_FAILED",f=a.message||"Unknown error",g=a.cause?.code,h=a.cause?.message,i=g||h?` (cause: ${[g,h].filter(Boolean).join(": ")})`:"";return`[${e}]: ${f}${i}`}},74177:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{PY:()=>p,Re:()=>n,Su:()=>o,exchangeTokens:()=>m,kP:()=>l,sO:()=>k});var e=c(48895),f=c(13808),g=c(92990),h=a([e]);function i(a){try{if(!a||"string"!=typeof a)return null;let b=a.split(".");if(3!==b.length)return null;let c=b[1].replace(/-/g,"+").replace(/_/g,"/"),d=(4-c.length%4)%4,e=c+"=".repeat(d);return JSON.parse(Buffer.from(e,"base64").toString("utf8"))}catch{return null}}function j(a){let b=i(a);if(!b)return{};let c=b["https://api.openai.com/auth"]||{};return{email:b.email,chatgptAccountId:c.chatgpt_account_id,chatgptPlanType:c.chatgpt_plan_type}}e=(h.then?(await h)():h)[0];let q={claude:{config:g.OV,flowType:"authorization_code_pkce",buildAuthUrl:(a,b,c,d)=>{let e=new URLSearchParams({code:"true",client_id:a.clientId,response_type:"code",redirect_uri:b,scope:a.scopes.join(" "),code_challenge:d,code_challenge_method:a.codeChallengeMethod,state:c});return`${a.authorizeUrl}?${e.toString()}`},exchangeToken:async(a,b,c,d,e)=>{let f=b,g="";if(f.includes("#")){let a=f.split("#");f=a[0],g=a[1]||""}let h=await fetch(a.tokenUrl,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({code:f,state:g||e,grant_type:"authorization_code",client_id:a.clientId,redirect_uri:c,code_verifier:d})});if(!h.ok){let a=await h.text();throw Error(`Token exchange failed: ${a}`)}return await h.json()},mapTokens:a=>({accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_in,scope:a.scope})},codex:{config:g.DI,flowType:"authorization_code_pkce",fixedPort:1455,callbackPath:"/auth/callback",buildAuthUrl:(a,b,c,d)=>{let e={response_type:"code",client_id:a.clientId,redirect_uri:b,scope:a.scope,code_challenge:d,code_challenge_method:a.codeChallengeMethod,...a.extraParams,state:c},f=Object.entries(e).map(([a,b])=>`${a}=${encodeURIComponent(b)}`).join("&");return`${a.authorizeUrl}?${f}`},exchangeToken:async(a,b,c,d)=>{let e=await fetch(a.tokenUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({grant_type:"authorization_code",client_id:a.clientId,code:b,redirect_uri:c,code_verifier:d})});if(!e.ok){let a=await e.text();throw Error(`Token exchange failed: ${a}`)}return await e.json()},mapTokens:a=>{let b=j(a.id_token),c={accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_in};return b.email&&(c.email=b.email),(b.chatgptAccountId||b.chatgptPlanType)&&(c.providerSpecificData={chatgptAccountId:b.chatgptAccountId,chatgptPlanType:b.chatgptPlanType}),c}},"gemini-cli":{config:g.LT,flowType:"authorization_code",buildAuthUrl:(a,b,c)=>{let d=new URLSearchParams({client_id:a.clientId,response_type:"code",redirect_uri:b,scope:a.scopes.join(" "),state:c,access_type:"offline",prompt:"consent"});return`${a.authorizeUrl}?${d.toString()}`},exchangeToken:async(a,b,c)=>{let d=await fetch(a.tokenUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({grant_type:"authorization_code",client_id:a.clientId,client_secret:a.clientSecret,code:b,redirect_uri:c})});if(!d.ok){let a=await d.text();throw Error(`Token exchange failed: ${a}`)}return await d.json()},postExchange:async a=>{let b=await fetch(`${g.LT.userInfoUrl}?alt=json`,{headers:{Authorization:`Bearer ${a.access_token}`}}),c=b.ok?await b.json():{},d="";try{let b=await fetch("https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",{method:"POST",headers:{Authorization:`Bearer ${a.access_token}`,"Content-Type":"application/json"},body:JSON.stringify({metadata:(0,g.cD)(),mode:1})});if(b.ok){let a=await b.json();d=a.cloudaicompanionProject?.id||a.cloudaicompanionProject||""}}catch(a){console.log("Failed to fetch project ID:",a)}return{userInfo:c,projectId:d}},mapTokens:(a,b)=>({accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_in,scope:a.scope,email:b?.userInfo?.email,projectId:b?.projectId})},antigravity:{config:g.YT,flowType:"authorization_code",buildAuthUrl:(a,b,c)=>{let d=new URLSearchParams({client_id:a.clientId,response_type:"code",redirect_uri:b,scope:a.scopes.join(" "),state:c,access_type:"offline",prompt:"consent"});return`${a.authorizeUrl}?${d.toString()}`},exchangeToken:async(a,b,c)=>{let d=await fetch(a.tokenUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({grant_type:"authorization_code",client_id:a.clientId,client_secret:a.clientSecret,code:b,redirect_uri:c})});if(!d.ok){let a=await d.text();throw Error(`Token exchange failed: ${a}`)}return await d.json()},postExchange:async a=>{let b={Authorization:`Bearer ${a.access_token}`,"Content-Type":"application/json","User-Agent":g.YT.loadCodeAssistUserAgent,"X-Goog-Api-Client":g.YT.loadCodeAssistApiClient,"Client-Metadata":g.YT.loadCodeAssistClientMetadata,"x-request-source":"local"},c=(0,g.cD)(),d=await fetch(`${g.YT.userInfoUrl}?alt=json`,{headers:{Authorization:`Bearer ${a.access_token}`,"x-request-source":"local"}}),e=d.ok?await d.json():{},f="",h="legacy-tier";try{let a=await fetch(g.YT.loadCodeAssistEndpoint,{method:"POST",headers:b,body:JSON.stringify({metadata:c})});if(a.ok){let b=await a.json();if(f=b.cloudaicompanionProject?.id||b.cloudaicompanionProject||"",Array.isArray(b.allowedTiers)){for(let a of b.allowedTiers)if(a.isDefault&&a.id){h=a.id.trim();break}}}}catch(a){console.log("Failed to load code assist:",a)}return f&&(async()=>{for(let a=0;a<10;a++){try{let a=await fetch(g.YT.onboardUserEndpoint,{method:"POST",headers:b,body:JSON.stringify({tierId:h,metadata:c})});if(a.ok){let b=await a.json();if(!0===b.done)break}}catch(a){break}await new Promise(a=>setTimeout(a,5e3))}})().catch(()=>{}),{userInfo:e,projectId:f}},mapTokens:(a,b)=>({accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_in,scope:a.scope,email:b?.userInfo?.email,projectId:b?.projectId})},iflow:{config:g.ZL,flowType:"authorization_code",buildAuthUrl:(a,b,c)=>{let d=new URLSearchParams({loginMethod:a.extraParams.loginMethod,type:a.extraParams.type,redirect:b,state:c,client_id:a.clientId});return`${a.authorizeUrl}?${d.toString()}`},exchangeToken:async(a,b,c)=>{let d=Buffer.from(`${a.clientId}:${a.clientSecret}`).toString("base64"),e=await fetch(a.tokenUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json",Authorization:`Basic ${d}`},body:new URLSearchParams({grant_type:"authorization_code",code:b,redirect_uri:c,client_id:a.clientId,client_secret:a.clientSecret})});if(!e.ok){let a=await e.text();throw Error(`Token exchange failed: ${a}`)}return await e.json()},postExchange:async a=>{let b=await fetch(`${g.ZL.userInfoUrl}?accessToken=${encodeURIComponent(a.access_token)}`,{headers:{Accept:"application/json"}});if(!b.ok){let a=await b.text();throw Error(`Failed to fetch user info: ${a}`)}let c=await b.json();if(!c.success)throw Error(`User info request failed: ${c.message||"Unknown error"}`);let d=c.data||{};if(!d.apiKey||""===d.apiKey.trim())throw Error("Empty API key returned from iFlow");if(!(d.email?.trim()||d.phone?.trim()))throw Error("Missing account email/phone in user info");return{userInfo:d}},mapTokens:(a,b)=>({accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_in,apiKey:b?.userInfo?.apiKey,email:b?.userInfo?.email||b?.userInfo?.phone,displayName:b?.userInfo?.nickname||b?.userInfo?.name})},qoder:{config:g.hF,flowType:"authorization_code",buildAuthUrl:(a,b,c)=>{let d=new URLSearchParams({client_id:a.clientId,response_type:"code",redirect_uri:b,state:c});return`${a.authorizeUrl}?${d.toString()}`},exchangeToken:async(a,b,c)=>{let d=Buffer.from(`${a.clientId}:${a.clientSecret}`).toString("base64"),e=await fetch(a.tokenUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json",Authorization:`Basic ${d}`},body:new URLSearchParams({grant_type:"authorization_code",code:b,redirect_uri:c,client_id:a.clientId,client_secret:a.clientSecret})});if(!e.ok){let a=await e.text();throw Error(`Token exchange failed: ${a}`)}return await e.json()},postExchange:async a=>{let b=await fetch(`${g.hF.userInfoUrl}?accessToken=${encodeURIComponent(a.access_token)}`,{headers:{Accept:"application/json"}});if(!b.ok){let a=await b.text();throw Error(`Failed to fetch user info: ${a}`)}let c=await b.json();if(!c.success)throw Error(`User info request failed: ${c.message||"Unknown error"}`);let d=c.data||{};if(!d.apiKey||""===d.apiKey.trim())throw Error("Empty API key returned from Qoder");if(!(d.email?.trim()||d.phone?.trim()))throw Error("Missing account email/phone in user info");return{userInfo:d}},mapTokens:(a,b)=>({accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_in,apiKey:b?.userInfo?.apiKey,email:b?.userInfo?.email||b?.userInfo?.phone,displayName:b?.userInfo?.nickname||b?.userInfo?.name})},qwen:{config:g.Hp,flowType:"device_code",requestDeviceCode:async(a,b)=>{let c=await fetch(a.deviceCodeUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({client_id:a.clientId,scope:a.scope,code_challenge:b,code_challenge_method:a.codeChallengeMethod})});if(!c.ok){let a=await c.text();throw Error(`Device code request failed: ${a}`)}return await c.json()},pollToken:async(a,b,c)=>{let d=await fetch(a.tokenUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({grant_type:"urn:ietf:params:oauth:grant-type:device_code",client_id:a.clientId,device_code:b,code_verifier:c})});return{ok:d.ok,data:await d.json()}},mapTokens:a=>({accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_in,providerSpecificData:{resourceUrl:a.resource_url}})},github:{config:g.Nu,flowType:"device_code",requestDeviceCode:async a=>{let b=await fetch(a.deviceCodeUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({client_id:a.clientId,scope:a.scopes})});if(!b.ok){let a=await b.text();throw Error(`Device code request failed: ${a}`)}return await b.json()},pollToken:async(a,b)=>{let c,d=await fetch(a.tokenUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({client_id:a.clientId,device_code:b,grant_type:"urn:ietf:params:oauth:grant-type:device_code"})});try{c=await d.json()}catch(b){let a=await d.text();c={error:"invalid_response",error_description:a}}return{ok:d.ok,data:c}},postExchange:async a=>{let b=await fetch(g.Nu.copilotTokenUrl,{headers:{Authorization:`Bearer ${a.access_token}`,Accept:"application/json","X-GitHub-Api-Version":g.Nu.apiVersion,"User-Agent":g.Nu.userAgent}}),c=b.ok?await b.json():{},d=await fetch(g.Nu.userInfoUrl,{headers:{Authorization:`Bearer ${a.access_token}`,Accept:"application/json","X-GitHub-Api-Version":g.Nu.apiVersion,"User-Agent":g.Nu.userAgent}}),e=d.ok?await d.json():{};return{copilotToken:c,userInfo:e}},mapTokens:(a,b)=>({accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_in,providerSpecificData:{copilotToken:b?.copilotToken?.token,copilotTokenExpiresAt:b?.copilotToken?.expires_at,githubUserId:b?.userInfo?.id,githubLogin:b?.userInfo?.login,githubName:b?.userInfo?.name,githubEmail:b?.userInfo?.email}})},kiro:{config:g.Tx,flowType:"device_code",requestDeviceCode:async(a,b,c={})=>{let d=("string"==typeof c.region?c.region.trim():"")||"us-east-1",e=("string"==typeof c.startUrl?c.startUrl.trim():"")||a.startUrl,f="idc"===c.authMethod?"idc":"builder-id",g=`https://oidc.${d}.amazonaws.com/client/register`,h=`https://oidc.${d}.amazonaws.com/device_authorization`,i=await fetch(g,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({clientName:a.clientName,clientType:a.clientType,scopes:a.scopes,grantTypes:a.grantTypes,issuerUrl:a.issuerUrl})});if(!i.ok){let a=await i.text();throw Error(`Client registration failed: ${a}`)}let j=await i.json(),k=await fetch(h,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({clientId:j.clientId,clientSecret:j.clientSecret,startUrl:e})});if(!k.ok){let a=await k.text();throw Error(`Device authorization failed: ${a}`)}let l=await k.json();return{device_code:l.deviceCode,user_code:l.userCode,verification_uri:l.verificationUri,verification_uri_complete:l.verificationUriComplete,expires_in:l.expiresIn,interval:l.interval||5,_clientId:j.clientId,_clientSecret:j.clientSecret,_region:d,_authMethod:f,_startUrl:e}},pollToken:async(a,b,c,d)=>{let e,f=d?._region||"us-east-1",g=`https://oidc.${f}.amazonaws.com/token`,h=await fetch(g,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({clientId:d?._clientId,clientSecret:d?._clientSecret,deviceCode:b,grantType:"urn:ietf:params:oauth:grant-type:device_code"})});try{e=await h.json()}catch(b){let a=await h.text();e={error:"invalid_response",error_description:a}}return e.accessToken?{ok:!0,data:{access_token:e.accessToken,refresh_token:e.refreshToken,expires_in:e.expiresIn,profile_arn:e?.profileArn||null,_clientId:d?._clientId,_clientSecret:d?._clientSecret,_region:d?._region,_authMethod:d?._authMethod,_startUrl:d?._startUrl}}:{ok:!1,data:{error:e.error||"authorization_pending",error_description:e.error_description||e.message}}},mapTokens:a=>{let b=function(a){let b=i(a);if(b)return b.email||b.preferred_username||b.sub||void 0}(a.access_token);return{accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_in,email:b,providerSpecificData:{profileArn:a?.profile_arn||null,clientId:a._clientId,clientSecret:a._clientSecret,region:a._region||"us-east-1",authMethod:a._authMethod||"builder-id",startUrl:a._startUrl||g.Tx.startUrl}}}},cursor:{config:g.WN,flowType:"import_token",mapTokens:a=>({accessToken:a.accessToken,refreshToken:null,expiresIn:a.expiresIn||86400,providerSpecificData:{machineId:a.machineId,authMethod:"imported"}})},"kimi-coding":{config:g.t,flowType:"device_code",requestDeviceCode:async a=>{let b=await fetch(a.deviceCodeUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({client_id:a.clientId})});if(!b.ok){let a=await b.text();throw Error(`Device code request failed: ${a}`)}let c=await b.json();return{device_code:c.device_code,user_code:c.user_code,verification_uri:c.verification_uri||"https://www.kimi.com/code/authorize_device",verification_uri_complete:c.verification_uri_complete||`https://www.kimi.com/code/authorize_device?user_code=${c.user_code}`,expires_in:c.expires_in,interval:c.interval||5}},pollToken:async(a,b)=>{let c,d=await fetch(a.tokenUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({grant_type:"urn:ietf:params:oauth:grant-type:device_code",client_id:a.clientId,device_code:b})});try{c=await d.json()}catch(b){let a=await d.text();c={error:"invalid_response",error_description:a}}return{ok:d.ok,data:c}},mapTokens:a=>({accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_in})},kilocode:{config:g.MZ,flowType:"device_code",requestDeviceCode:async a=>{let b=await fetch(a.initiateUrl,{method:"POST",headers:{"Content-Type":"application/json"}});if(!b.ok){if(429===b.status)throw Error("Too many pending authorization requests. Please try again later.");let a=await b.text();throw Error(`Device auth initiation failed: ${a}`)}let c=await b.json();return{device_code:c.code,user_code:c.code,verification_uri:c.verificationUrl,verification_uri_complete:c.verificationUrl,expires_in:c.expiresIn||300,interval:3}},pollToken:async(a,b)=>{let c=await fetch(`${a.pollUrlBase}/${b}`);if(202===c.status)return{ok:!1,data:{error:"authorization_pending"}};if(403===c.status)return{ok:!1,data:{error:"access_denied",error_description:"Authorization denied by user"}};if(410===c.status)return{ok:!1,data:{error:"expired_token",error_description:"Authorization code expired"}};if(!c.ok)return{ok:!1,data:{error:"poll_failed",error_description:`Poll failed: ${c.status}`}};let d=await c.json();if("approved"===d.status&&d.token){let b=null;try{let c=await fetch(`${a.apiBaseUrl}/api/profile`,{headers:{Authorization:`Bearer ${d.token}`}});if(c.ok){let a=await c.json();b=a.organizations?.[0]?.id||null}}catch{}return{ok:!0,data:{access_token:d.token,_userEmail:d.userEmail,_orgId:b}}}return{ok:!1,data:{error:"authorization_pending"}}},mapTokens:a=>({accessToken:a.access_token,refreshToken:null,expiresIn:null,email:a._userEmail,...a._orgId?{providerSpecificData:{orgId:a._orgId}}:{}})},cline:{config:g.lB,flowType:"authorization_code",buildAuthUrl:(a,b)=>{let c=new URLSearchParams({client_type:"extension",callback_url:b,redirect_uri:b});return`${a.authorizeUrl}?${c.toString()}`},exchangeToken:async(a,b,c)=>{try{let a=b,c=4-a.length%4;4!==c&&(a+="=".repeat(c));let d=Buffer.from(a,"base64").toString("utf-8"),e=d.lastIndexOf("}");if(-1===e)throw Error("No JSON found in decoded code");let f=JSON.parse(d.substring(0,e+1));return{access_token:f.accessToken,refresh_token:f.refreshToken,email:f.email,firstName:f.firstName,lastName:f.lastName,expires_at:f.expiresAt}}catch(f){let d=await fetch(a.tokenExchangeUrl,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({grant_type:"authorization_code",code:b,client_type:"extension",redirect_uri:c})});if(!d.ok){let a=await d.text();throw Error(`Cline token exchange failed: ${a}`)}let e=await d.json();return{access_token:e.data?.accessToken||e.accessToken,refresh_token:e.data?.refreshToken||e.refreshToken,email:e.data?.userInfo?.email||"",expires_at:e.data?.expiresAt||e.expiresAt}}},mapTokens:a=>({accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_at?Math.floor((new Date(a.expires_at).getTime()-Date.now())/1e3):3600,email:a.email,providerSpecificData:{firstName:a.firstName,lastName:a.lastName}})},gitlab:{config:g.f7,flowType:"authorization_code_pkce",buildAuthUrl:(a,b,c,d,e={})=>{let f=e.baseUrl||a.defaultBaseUrl,g=e.clientId||"",h=new URLSearchParams({client_id:g,redirect_uri:b,response_type:"code",state:c,scope:a.scope,code_challenge:d,code_challenge_method:a.codeChallengeMethod});return`${f}${a.authorizeUrlPath}?${h.toString()}`},exchangeToken:async(a,b,c,d,e,f={})=>{let g=f.baseUrl||a.defaultBaseUrl,h=f.clientId||"",i=f.clientSecret||"",j=new URLSearchParams({client_id:h,grant_type:"authorization_code",code:b,redirect_uri:c,code_verifier:d});i&&j.set("client_secret",i);let k=await fetch(`${g}${a.tokenUrlPath}`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:j.toString()});if(!k.ok)throw Error(`GitLab token exchange failed: ${await k.text()}`);let l=await k.json(),m=await fetch(`${g}${a.userInfoUrlPath}`,{headers:{Authorization:`Bearer ${l.access_token}`}}),n=m.ok?await m.json():{};return{...l,_user:n,_baseUrl:g,_clientId:h}},mapTokens:a=>({accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:a.expires_in,scope:a.scope,providerSpecificData:{username:a._user?.username||"",email:a._user?.email||a._user?.public_email||"",name:a._user?.name||"",baseUrl:a._baseUrl,clientId:a._clientId,authKind:"oauth"}})},codebuddy:{config:g.Nl,flowType:"device_code",requestDeviceCode:async a=>{let b=await fetch(`${a.stateUrl}?platform=${a.platform}`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","User-Agent":a.userAgent,"X-Requested-With":"XMLHttpRequest","X-Domain":"copilot.tencent.com","X-No-Authorization":"true","X-No-User-Id":"true","X-Product":"SaaS"},body:"{}"});if(!b.ok)throw Error(`CodeBuddy state request failed: ${await b.text()}`);let c=await b.json();if(0!==c.code||!c.data?.state||!c.data?.authUrl)throw Error(`CodeBuddy state error: ${c.msg||"missing state/authUrl"}`);return{device_code:c.data.state,verification_uri:c.data.authUrl,user_code:"",interval:a.pollInterval/1e3,_isCodeBuddy:!0}},pollToken:async(a,b)=>{let c=await fetch(a.tokenUrl,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","User-Agent":a.userAgent,"X-Requested-With":"XMLHttpRequest","X-Domain":"copilot.tencent.com","X-No-Authorization":"true","X-No-User-Id":"true","X-Product":"SaaS"},body:JSON.stringify({state:b})});if(!c.ok)return{ok:!1,data:{error:"request_failed"}};let d=await c.json();return 0===d.code&&d.data?.accessToken?{ok:!0,data:{access_token:d.data.accessToken,refresh_token:d.data.refreshToken||"",token_type:d.data.tokenType||"Bearer"}}:11217===d.code?{ok:!0,data:{error:"authorization_pending"}}:{ok:!1,data:{error:d.msg||"unknown_error"}}},mapTokens:a=>({accessToken:a.access_token,refreshToken:a.refresh_token,expiresIn:86400,providerSpecificData:{}})}};function k(a){let b=q[a];if(!b)throw Error(`Unknown provider: ${a}`);return b}function l(a,b,c){let d=k(a),{codeVerifier:e,codeChallenge:g,state:h}=(0,f.lz)();return{authUrl:"device_code"===d.flowType?null:"authorization_code_pkce"===d.flowType?d.buildAuthUrl(d.config,b,h,g,c||{}):d.buildAuthUrl(d.config,b,h,void 0,c||{}),state:h,codeVerifier:e,codeChallenge:g,redirectUri:b,flowType:d.flowType,fixedPort:d.fixedPort,callbackPath:d.callbackPath||"/callback"}}async function m(a,b,c,d,e,f){let g=k(a),h=await g.exchangeToken(g.config,b,c,d,e,f||{}),i=null;return g.postExchange&&(i=await g.postExchange(h)),g.mapTokens(h,i)}async function n(a,b,c){let d=k(a);if("device_code"!==d.flowType)throw Error(`Provider ${a} does not support device code flow`);return await d.requestDeviceCode(d.config,b,c||{})}async function o(a,b,c,d){let e=k(a);if("device_code"!==e.flowType)throw Error(`Provider ${a} does not support device code flow`);let f=await e.pollToken(e.config,b,c,d);if(f.ok)if(f.data.access_token){let a=null;return e.postExchange&&(a=await e.postExchange(f.data)),{success:!0,tokens:e.mapTokens(f.data,a)}}else if("authorization_pending"===f.data.error||"slow_down"===f.data.error)return{success:!1,error:f.data.error,errorDescription:f.data.error_description||f.data.message,pending:"authorization_pending"===f.data.error};else return{success:!1,error:f.data.error||"no_access_token",errorDescription:f.data.error_description||f.data.message||"No access token received"};return{success:!1,error:f.data.error,errorDescription:f.data.error_description}}let r=!1;async function p(){if(!r){r=!0;try{let{getProviderConnections:a,updateProviderConnection:b}=await Promise.resolve().then(c.bind(c,89718));for(let c of(await a()).filter(a=>{if("codex"!==a.provider||"oauth"!==a.authType||!a.idToken)return!1;let b=!!a.email,c=!!a.providerSpecificData?.chatgptAccountId;return!b||!c})){let a=j(c.idToken);if(!a.email&&!a.chatgptAccountId)continue;let d={};!c.email&&a.email&&(d.email=a.email),(a.chatgptAccountId||a.chatgptPlanType)&&(d.providerSpecificData={...c.providerSpecificData||{},chatgptAccountId:a.chatgptAccountId,chatgptPlanType:a.chatgptPlanType}),Object.keys(d).length&&await b(c.id,d)}}catch(a){r=!1,console.log("backfillCodexEmails failed:",a?.message||a)}}}d()}catch(a){d(a)}})},92990:(a,b,c)=>{c.d(b,{DI:()=>g,Hp:()=>i,LT:()=>h,MZ:()=>r,Nl:()=>u,Nu:()=>n,OV:()=>f,Tx:()=>o,WN:()=>p,YT:()=>l,ZL:()=>k,cD:()=>m,f7:()=>t,hF:()=>j,lB:()=>s,t:()=>q});var d=c(21820);function e(){let a=(0,d.platform)(),b=(0,d.arch)();return"darwin"===a?"arm64"===b?2:1:"linux"===a?"arm64"===b?4:3:5*("win32"===a)}let f={clientId:"9d1c250a-e61b-44d9-88ed-5944d1962f5e",authorizeUrl:"https://claude.ai/oauth/authorize",tokenUrl:"https://api.anthropic.com/v1/oauth/token",scopes:["org:create_api_key","user:profile","user:inference"],codeChallengeMethod:"S256"},g={clientId:"app_EMoamEEZ73f0CkXaXp7hrann",authorizeUrl:"https://auth.openai.com/oauth/authorize",tokenUrl:"https://auth.openai.com/oauth/token",scope:"openid profile email offline_access",codeChallengeMethod:"S256",extraParams:{id_token_add_organizations:"true",codex_cli_simplified_flow:"true",originator:"codex_cli_rs"}},h={clientId:"681255809395-oo8ft2oprdrnp9e3aqf6av3hmdib135j.apps.googleusercontent.com",clientSecret:"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",authorizeUrl:"https://accounts.google.com/o/oauth2/v2/auth",tokenUrl:"https://oauth2.googleapis.com/token",userInfoUrl:"https://www.googleapis.com/oauth2/v1/userinfo",scopes:["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/userinfo.email","https://www.googleapis.com/auth/userinfo.profile"]},i={clientId:"f0304373b74a44d2b584a3fb70ca9e56",deviceCodeUrl:"https://chat.qwen.ai/api/v1/oauth2/device/code",tokenUrl:"https://chat.qwen.ai/api/v1/oauth2/token",scope:"openid profile email model.completion",codeChallengeMethod:"S256"},j={apiBaseUrl:"https://api2.qoder.sh",deviceTokenUrl:"https://api2.qoder.sh/api/v1/deviceToken/poll",deviceRefreshUrl:"https://api2.qoder.sh/api/v1/deviceToken/refresh",refreshUrl:"https://api2.qoder.sh/api/v3/user/refresh_token",userInfoUrl:"https://api2.qoder.sh/api/v1/userinfo",statusUrl:"https://api2.qoder.sh/api/v3/user/status",loginUrl:"https://qoder.com/login"},k={clientId:"10009311001",clientSecret:"4Z3YjXycVsQvyGF1etiNlIBB4RsqSDtW",authorizeUrl:"https://iflow.cn/oauth",tokenUrl:"https://iflow.cn/oauth/token",userInfoUrl:"https://iflow.cn/api/oauth/getUserInfo",extraParams:{loginMethod:"phone",type:"phone"}},l={clientId:"1071006060591-tmhssin2h21lcre235vtolojh4g403ep.apps.googleusercontent.com",clientSecret:"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",authorizeUrl:"https://accounts.google.com/o/oauth2/v2/auth",tokenUrl:"https://oauth2.googleapis.com/token",userInfoUrl:"https://www.googleapis.com/oauth2/v1/userinfo",scopes:["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/userinfo.email","https://www.googleapis.com/auth/userinfo.profile","https://www.googleapis.com/auth/cclog","https://www.googleapis.com/auth/experimentsandconfigs"],apiEndpoint:"https://cloudcode-pa.googleapis.com",apiVersion:"v1internal",loadCodeAssistEndpoint:"https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",onboardUserEndpoint:"https://cloudcode-pa.googleapis.com/v1internal:onboardUser",loadCodeAssistUserAgent:"google-api-nodejs-client/9.15.1",loadCodeAssistApiClient:"google-cloud-sdk vscode_cloudshelleditor/0.1",loadCodeAssistClientMetadata:JSON.stringify({ideType:9,platform:e(),pluginType:2})};function m(){return{ideType:9,platform:e(),pluginType:2}}let n={clientId:"Iv1.b507a08c87ecfe98",deviceCodeUrl:"https://github.com/login/device/code",tokenUrl:"https://github.com/login/oauth/access_token",userInfoUrl:"https://api.github.com/user",scopes:"read:user",apiVersion:"2022-11-28",copilotTokenUrl:"https://api.github.com/copilot_internal/v2/token",userAgent:"GitHubCopilotChat/0.26.7",editorVersion:"vscode/1.85.0",editorPluginVersion:"copilot-chat/0.26.7"},o={ssoOidcEndpoint:"https://oidc.us-east-1.amazonaws.com",registerClientUrl:"https://oidc.us-east-1.amazonaws.com/client/register",deviceAuthUrl:"https://oidc.us-east-1.amazonaws.com/device_authorization",tokenUrl:"https://oidc.us-east-1.amazonaws.com/token",startUrl:"https://view.awsapps.com/start",clientName:"kiro-oauth-client",clientType:"public",scopes:["codewhisperer:completions","codewhisperer:analysis","codewhisperer:conversations"],grantTypes:["urn:ietf:params:oauth:grant-type:device_code","refresh_token"],issuerUrl:"https://identitycenter.amazonaws.com/ssoins-722374e8c3c8e6c6",socialAuthEndpoint:"https://prod.us-east-1.auth.desktop.kiro.dev",socialLoginUrl:"https://prod.us-east-1.auth.desktop.kiro.dev/login",socialTokenUrl:"https://prod.us-east-1.auth.desktop.kiro.dev/oauth/token",socialRefreshUrl:"https://prod.us-east-1.auth.desktop.kiro.dev/refreshToken",authMethods:["builder-id","idc","google","github","import"]},p={apiEndpoint:"https://api2.cursor.sh",chatEndpoint:"/aiserver.v1.ChatService/StreamUnifiedChatWithTools",modelsEndpoint:"/aiserver.v1.AiService/GetDefaultModelNudgeData",api3Endpoint:"https://api3.cursor.sh",agentEndpoint:"https://agent.api5.cursor.sh",agentNonPrivacyEndpoint:"https://agentn.api5.cursor.sh",clientVersion:"3.1.0",clientType:"ide",tokenStoragePaths:{linux:"~/.config/Cursor/User/globalStorage/state.vscdb",macos:"/Users/<user>/Library/Application Support/Cursor/User/globalStorage/state.vscdb",windows:"%APPDATA%\\Cursor\\User\\globalStorage\\state.vscdb"},dbKeys:{accessToken:"cursorAuth/accessToken",machineId:"storage.serviceMachineId"}},q={clientId:process.env.KIMI_CODING_OAUTH_CLIENT_ID||"17e5f671-d194-4dfb-9706-5516cb48c098",deviceCodeUrl:"https://auth.kimi.com/api/oauth/device_authorization",tokenUrl:"https://auth.kimi.com/api/oauth/token"},r={apiBaseUrl:"https://api.kilo.ai",initiateUrl:"https://api.kilo.ai/api/device-auth/codes",pollUrlBase:"https://api.kilo.ai/api/device-auth/codes"},s={appBaseUrl:"https://app.cline.bot",apiBaseUrl:"https://api.cline.bot",authorizeUrl:"https://api.cline.bot/api/v1/auth/authorize",tokenExchangeUrl:"https://api.cline.bot/api/v1/auth/token",refreshUrl:"https://api.cline.bot/api/v1/auth/refresh"},t={defaultBaseUrl:"https://gitlab.com",authorizeUrlPath:"/oauth/authorize",tokenUrlPath:"/oauth/token",userInfoUrlPath:"/api/v4/user",scope:"api read_user",codeChallengeMethod:"S256"},u={baseUrl:"https://copilot.tencent.com",stateUrl:"https://copilot.tencent.com/v2/plugin/auth/state",tokenUrl:"https://copilot.tencent.com/v2/plugin/auth/token",refreshUrl:"https://copilot.tencent.com/v2/plugin/auth/token/refresh",userAgent:"CLI/2.63.2 CodeBuddy/2.63.2",platform:"CLI",pollInterval:5e3}}};
|