@amir83nasr/10router 0.1.12 → 0.1.14
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/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +2 -4
- package/.next/build-manifest.json +2 -2
- package/.next/prerender-manifest.json +22 -50
- package/.next/routes-manifest.json +0 -12
- package/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +2 -2
- package/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/combos/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/media-providers/systemone/[id]/page.js +2 -2
- package/.next/server/app/(dashboard)/dashboard/media-providers/systemone/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/media-providers/systemone/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/media-providers/systemone/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/profile/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
- package/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/providers/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
- package/.next/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/quota/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/usage/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error/page.js +2 -2
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +6 -6
- package/.next/server/app/_not-found.segments/_full.segment.rsc +6 -6
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +6 -6
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/api/auth/login/route.js +1 -1
- package/.next/server/app/api/auth/logout/route.js +1 -1
- package/.next/server/app/api/auth/oidc/callback/route.js +1 -1
- package/.next/server/app/api/auth/oidc/start/route.js +1 -1
- package/.next/server/app/api/auth/oidc/test/route.js +1 -1
- package/.next/server/app/api/auth/reset-password/route.js +1 -1
- package/.next/server/app/api/auth/saml/acs/route.js +1 -1
- package/.next/server/app/api/auth/saml/metadata/route.js +2 -2
- package/.next/server/app/api/auth/saml/start/route.js +1 -1
- package/.next/server/app/api/auth/saml/test/route.js +1 -1
- package/.next/server/app/api/auth/status/route.js +1 -1
- package/.next/server/app/api/changelog/route.js +1 -1
- package/.next/server/app/api/cli-tools/all-statuses/route.js +1 -1
- package/.next/server/app/api/cli-tools/claude-settings/route.js +1 -1
- package/.next/server/app/api/cli-tools/codex-settings/route.js +1 -1
- package/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
- package/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
- package/.next/server/app/api/cli-tools/cowork-settings/route.js +1 -1
- package/.next/server/app/api/cli-tools/dsh-settings/route.js +1 -1
- package/.next/server/app/api/cli-tools/opencode-settings/route.js +1 -1
- package/.next/server/app/api/combos/[id]/route.js +1 -1
- package/.next/server/app/api/combos/route.js +1 -1
- package/.next/server/app/api/headroom/extras/route.js +1 -1
- package/.next/server/app/api/headroom/proxy/[...path]/route.js +1 -1
- package/.next/server/app/api/headroom/restart/route.js +1 -1
- package/.next/server/app/api/headroom/start/route.js +1 -1
- package/.next/server/app/api/headroom/status/route.js +1 -1
- package/.next/server/app/api/headroom/stop/route.js +1 -1
- package/.next/server/app/api/health/route.js +1 -1
- package/.next/server/app/api/init/route.js +1 -1
- package/.next/server/app/api/keys/[id]/route.js +1 -1
- package/.next/server/app/api/keys/route.js +1 -1
- package/.next/server/app/api/locale/route.js +1 -1
- package/.next/server/app/api/mcp/[plugin]/message/route.js +1 -1
- package/.next/server/app/api/mcp/[plugin]/sse/route.js +2 -2
- package/.next/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
- package/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
- package/.next/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
- package/.next/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
- package/.next/server/app/api/media-providers/tts/voices/route.js +1 -1
- package/.next/server/app/api/models/alias/route.js +1 -1
- package/.next/server/app/api/models/availability/route.js +1 -1
- package/.next/server/app/api/models/catalog-sync/route.js +1 -1
- package/.next/server/app/api/models/custom/route.js +1 -1
- package/.next/server/app/api/models/disabled/route.js +1 -1
- package/.next/server/app/api/models/route.js +1 -1
- package/.next/server/app/api/models/test/route.js +1 -1
- package/.next/server/app/api/oauth/[provider]/[action]/route.js +1 -1
- package/.next/server/app/api/oauth/codex/bulk-import/route.js +1 -1
- package/.next/server/app/api/oauth/codex/import-token/route.js +1 -1
- package/.next/server/app/api/oauth/cursor/auto-import/route.js +2 -2
- package/.next/server/app/api/oauth/cursor/import/route.js +1 -1
- package/.next/server/app/api/oauth/gitlab/pat/route.js +1 -1
- package/.next/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
- package/.next/server/app/api/oauth/iflow/cookie/route.js +1 -1
- package/.next/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
- package/.next/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +2 -2
- package/.next/server/app/api/pricing/route.js +1 -1
- package/.next/server/app/api/provider-nodes/[id]/route.js +1 -1
- package/.next/server/app/api/provider-nodes/route.js +1 -1
- package/.next/server/app/api/provider-nodes/validate/route.js +1 -1
- package/.next/server/app/api/providers/[id]/models/route.js +1 -1
- package/.next/server/app/api/providers/[id]/route.js +1 -1
- package/.next/server/app/api/providers/[id]/test/route.js +1 -1
- package/.next/server/app/api/providers/[id]/test-models/route.js +1 -1
- package/.next/server/app/api/providers/client/route.js +1 -1
- package/.next/server/app/api/providers/kilo/free-models/route.js +1 -1
- package/.next/server/app/api/providers/route.js +1 -1
- package/.next/server/app/api/providers/suggested-models/route.js +1 -1
- package/.next/server/app/api/providers/test-batch/route.js +1 -1
- package/.next/server/app/api/providers/validate/route.js +1 -1
- package/.next/server/app/api/proxy-pools/[id]/route.js +1 -1
- package/.next/server/app/api/proxy-pools/[id]/test/route.js +1 -1
- package/.next/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
- package/.next/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
- package/.next/server/app/api/proxy-pools/route.js +1 -1
- package/.next/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
- package/.next/server/app/api/pxpipe/health/route.js +2 -2
- package/.next/server/app/api/pxpipe/install/route.js +1 -1
- package/.next/server/app/api/pxpipe/logs/route.js +1 -1
- package/.next/server/app/api/pxpipe/restart/route.js +1 -1
- package/.next/server/app/api/pxpipe/start/route.js +1 -1
- package/.next/server/app/api/pxpipe/stats/route.js +1 -1
- package/.next/server/app/api/pxpipe/status/route.js +1 -1
- package/.next/server/app/api/pxpipe/stop/route.js +1 -1
- package/.next/server/app/api/settings/database/route.js +1 -1
- package/.next/server/app/api/settings/proxy-test/route.js +1 -1
- package/.next/server/app/api/settings/require-login/route.js +1 -1
- package/.next/server/app/api/settings/route.js +1 -1
- package/.next/server/app/api/shutdown/route.js +1 -1
- package/.next/server/app/api/tags/route.js +1 -1
- package/.next/server/app/api/translator/console-logs/route.js +1 -1
- package/.next/server/app/api/translator/console-logs/stream/route.js +2 -2
- package/.next/server/app/api/translator/load/route.js +1 -1
- package/.next/server/app/api/translator/save/route.js +1 -1
- package/.next/server/app/api/translator/send/route.js +1 -1
- package/.next/server/app/api/translator/translate/route.js +1 -1
- package/.next/server/app/api/tunnel/disable/route.js +1 -1
- package/.next/server/app/api/tunnel/enable/route.js +1 -1
- package/.next/server/app/api/tunnel/status/route.js +1 -1
- package/.next/server/app/api/tunnel/tailscale-check/route.js +1 -1
- package/.next/server/app/api/tunnel/tailscale-disable/route.js +1 -1
- package/.next/server/app/api/tunnel/tailscale-enable/route.js +1 -1
- package/.next/server/app/api/tunnel/tailscale-install/route.js +3 -3
- package/.next/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
- package/.next/server/app/api/usage/[connectionId]/route.js +1 -1
- package/.next/server/app/api/usage/chart/route.js +1 -1
- package/.next/server/app/api/usage/health/route.js +1 -1
- package/.next/server/app/api/usage/history/route.js +1 -1
- package/.next/server/app/api/usage/logs/route.js +1 -1
- package/.next/server/app/api/usage/providers/route.js +1 -1
- package/.next/server/app/api/usage/request-details/route.js +1 -1
- package/.next/server/app/api/usage/request-logs/route.js +1 -1
- package/.next/server/app/api/usage/stats/route.js +1 -1
- package/.next/server/app/api/usage/stream/route.js +2 -2
- package/.next/server/app/api/v1/api/chat/route.js +1 -1
- package/.next/server/app/api/v1/audio/speech/route.js +1 -1
- package/.next/server/app/api/v1/audio/transcriptions/route.js +1 -1
- package/.next/server/app/api/v1/audio/voices/route.js +1 -1
- package/.next/server/app/api/v1/chat/completions/route.js +1 -1
- package/.next/server/app/api/v1/embeddings/route.js +1 -1
- package/.next/server/app/api/v1/images/generations/route.js +2 -2
- package/.next/server/app/api/v1/messages/count_tokens/route.js +1 -1
- package/.next/server/app/api/v1/messages/route.js +1 -1
- package/.next/server/app/api/v1/models/[...model]/route.js +1 -1
- package/.next/server/app/api/v1/models/info/route.js +1 -1
- package/.next/server/app/api/v1/models/route.js +1 -1
- package/.next/server/app/api/v1/responses/compact/route.js +1 -1
- package/.next/server/app/api/v1/responses/route.js +1 -1
- package/.next/server/app/api/v1/route.js +1 -1
- package/.next/server/app/api/v1/search/route.js +1 -1
- package/.next/server/app/api/v1/systemone/route.js +1 -1
- package/.next/server/app/api/v1/videos/[id]/route.js +1 -1
- package/.next/server/app/api/v1/videos/edits/route.js +1 -1
- package/.next/server/app/api/v1/videos/extensions/route.js +1 -1
- package/.next/server/app/api/v1/videos/generations/route.js +1 -1
- package/.next/server/app/api/v1/web/fetch/route.js +1 -1
- package/.next/server/app/api/v1beta/models/[...path]/route.js +1 -1
- package/.next/server/app/api/v1beta/models/route.js +1 -1
- package/.next/server/app/api/version/route.js +1 -1
- package/.next/server/app/api/version/shutdown/route.js +1 -1
- package/.next/server/app/api/version/update/route.js +1 -1
- package/.next/server/app/callback/page.js +1 -1
- package/.next/server/app/callback/page_client-reference-manifest.js +1 -1
- package/.next/server/app/callback.html +1 -1
- package/.next/server/app/callback.rsc +7 -7
- package/.next/server/app/callback.segments/_full.segment.rsc +7 -7
- package/.next/server/app/callback.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/callback.segments/callback/__PAGE__.segment.rsc +7 -7
- package/.next/server/app/dashboard/cli-tools.html +1 -1
- package/.next/server/app/dashboard/cli-tools.rsc +8 -8
- package/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +8 -8
- package/.next/server/app/dashboard/cli-tools.segments/_full.segment.rsc +8 -8
- package/.next/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/dashboard/combos.html +1 -1
- package/.next/server/app/dashboard/combos.rsc +8 -8
- package/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +8 -8
- package/.next/server/app/dashboard/combos.segments/_full.segment.rsc +8 -8
- package/.next/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/dashboard/endpoint.html +1 -1
- package/.next/server/app/dashboard/endpoint.rsc +8 -8
- package/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +8 -8
- package/.next/server/app/dashboard/endpoint.segments/_full.segment.rsc +8 -8
- package/.next/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/dashboard/media-providers/systemone.html +1 -1
- package/.next/server/app/dashboard/media-providers/systemone.rsc +8 -8
- package/.next/server/app/dashboard/media-providers/systemone.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/systemone/__PAGE__.segment.rsc +8 -8
- package/.next/server/app/dashboard/media-providers/systemone.segments/_full.segment.rsc +8 -8
- package/.next/server/app/dashboard/media-providers/systemone.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/dashboard/profile.html +1 -1
- package/.next/server/app/dashboard/profile.rsc +8 -8
- package/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +8 -8
- package/.next/server/app/dashboard/profile.segments/_full.segment.rsc +8 -8
- package/.next/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/dashboard/providers/new.html +1 -1
- package/.next/server/app/dashboard/providers/new.rsc +8 -8
- package/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +8 -8
- package/.next/server/app/dashboard/providers/new.segments/_full.segment.rsc +8 -8
- package/.next/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/dashboard/providers.html +1 -1
- package/.next/server/app/dashboard/providers.rsc +8 -8
- package/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +8 -8
- package/.next/server/app/dashboard/providers.segments/_full.segment.rsc +8 -8
- package/.next/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/dashboard/proxy-pools.html +1 -1
- package/.next/server/app/dashboard/proxy-pools.rsc +8 -8
- package/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +8 -8
- package/.next/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +8 -8
- package/.next/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/dashboard/pxpipe.html +1 -1
- package/.next/server/app/dashboard/pxpipe.rsc +7 -7
- package/.next/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +7 -7
- package/.next/server/app/dashboard/pxpipe.segments/_full.segment.rsc +7 -7
- package/.next/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/dashboard/quota.html +2 -2
- package/.next/server/app/dashboard/quota.rsc +9 -9
- package/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +9 -9
- package/.next/server/app/dashboard/quota.segments/_full.segment.rsc +9 -9
- package/.next/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/dashboard/settings/pricing/page.js +1 -1
- package/.next/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
- package/.next/server/app/dashboard/settings/pricing.html +1 -1
- package/.next/server/app/dashboard/settings/pricing.rsc +7 -7
- package/.next/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +7 -7
- package/.next/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +7 -7
- package/.next/server/app/dashboard/token-saver.html +1 -1
- package/.next/server/app/dashboard/token-saver.rsc +8 -8
- package/.next/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +8 -8
- package/.next/server/app/dashboard/token-saver.segments/_full.segment.rsc +8 -8
- package/.next/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/dashboard/usage.html +2 -2
- package/.next/server/app/dashboard/usage.rsc +8 -8
- package/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +8 -8
- package/.next/server/app/dashboard/usage.segments/_full.segment.rsc +8 -8
- package/.next/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/dashboard.html +1 -1
- package/.next/server/app/dashboard.rsc +8 -8
- package/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +8 -8
- package/.next/server/app/dashboard.segments/_full.segment.rsc +8 -8
- package/.next/server/app/dashboard.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +6 -6
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +6 -6
- package/.next/server/app/index.segments/_full.segment.rsc +6 -6
- package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/landing/page.js +1 -1
- package/.next/server/app/landing/page_client-reference-manifest.js +1 -1
- package/.next/server/app/landing.html +1 -1
- package/.next/server/app/landing.rsc +7 -7
- package/.next/server/app/landing.segments/_full.segment.rsc +7 -7
- package/.next/server/app/landing.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/landing.segments/landing/__PAGE__.segment.rsc +7 -7
- package/.next/server/app/login/page.js +1 -1
- package/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/server/app/login.html +1 -1
- package/.next/server/app/login.rsc +6 -6
- package/.next/server/app/login.segments/_full.segment.rsc +6 -6
- package/.next/server/app/login.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +6 -6
- package/.next/server/app/manifest.webmanifest/route.js +1 -1
- package/.next/server/app/page.js +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +2 -4
- package/.next/server/chunks/1011.js +1 -1
- package/.next/server/chunks/1194.js +1 -1
- package/.next/server/chunks/1289.js +1 -1
- package/.next/server/chunks/1633.js +1 -1
- package/.next/server/chunks/1985.js +1 -1
- package/.next/server/chunks/2282.js +1 -1
- package/.next/server/chunks/2339.js +1 -1
- package/.next/server/chunks/2706.js +1 -1
- package/.next/server/chunks/2801.js +1 -1
- package/.next/server/chunks/3034.js +1 -1
- package/.next/server/chunks/3425.js +1 -1
- package/.next/server/chunks/6056.js +1 -1
- package/.next/server/chunks/7348.js +1 -1
- package/.next/server/chunks/9429.js +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware.js +3 -3
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/prefetch-hints.json +0 -24
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/1278-1bef1ffb32ea7f41.js +1 -0
- package/.next/static/chunks/1660-25564899e7912146.js +1 -0
- package/.next/static/chunks/1699-49be310981e2759e.js +67 -0
- package/.next/static/chunks/{2836-4781ea7374870f4a.js → 2836-d97f0aa2718945d5.js} +1 -1
- package/.next/static/chunks/5148-7d67073becfaf162.js +1 -0
- package/.next/static/chunks/6428-5a5f71440049a4e6.js +1 -0
- package/.next/static/chunks/7128-78b41798c1177008.js +1 -0
- package/.next/static/chunks/7835-06b436358f3395f6.js +1 -0
- package/.next/static/chunks/9150-32b4247b1af5e206.js +1 -0
- package/.next/static/chunks/{9369-07e432041bb48a39.js → 9369-0d43b295968c2168.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-36ad70a4f906c64b.js → page-c913b130003c1672.js} +3 -3
- package/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-aae6be7f75fcd819.js → page-3bab0c661f222ea3.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/combos/{page-18212c87b17b33cf.js → page-76cc2c386af12738.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/console-log/page-58a29f3cb409597a.js +1 -0
- package/.next/static/chunks/app/(dashboard)/dashboard/endpoint/page-d5f693c646ae044b.js +1 -0
- package/.next/static/chunks/app/(dashboard)/dashboard/media-providers/systemone/[id]/{page-610d962dd8bd1744.js → page-7340dad2b87640cf.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/media-providers/systemone/{page-9dbf4cd6901b6042.js → page-32e3e07a8f54ec11.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/page-a7f59da8c0db5cf1.js +1 -0
- package/.next/static/chunks/app/(dashboard)/dashboard/profile/{page-2ab30b6e1baf1efd.js → page-7123127fd841cfa5.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-b17607bc2ed06d50.js → page-fab6f4b4cccc1a6f.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/providers/new/{page-0e649a78a041306a.js → page-819e98f53bf2f4f7.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/providers/{page-b10c05192c664e8d.js → page-9054f870a5e0f5c6.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/proxy-pools/{page-b33051a3fc600082.js → page-3e4657b108582404.js} +2 -2
- package/.next/static/chunks/app/(dashboard)/dashboard/quota/{page-ee2a0fa91d9bea9c.js → page-61780f0a2b494680.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/token-saver/{page-bcc37fc2b4089f2f.js → page-4e366abb76514be7.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/usage/{page-2457f236bc58e590.js → page-2d71fa2936b16f45.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/{layout-7ef1d599b3c4c6d2.js → layout-91f41c68685ed739.js} +1 -1
- package/.next/static/chunks/app/_global-error/page-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/auth/login/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/auth/logout/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/auth/oidc/callback/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/auth/oidc/start/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/auth/oidc/test/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/auth/reset-password/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/auth/saml/acs/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/auth/saml/metadata/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/auth/saml/start/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/auth/saml/test/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/auth/status/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/changelog/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/cli-tools/all-statuses/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/cli-tools/claude-settings/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/cli-tools/codex-settings/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/cli-tools/cowork-settings/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/cli-tools/dsh-settings/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/cli-tools/opencode-settings/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/combos/[id]/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/combos/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/headroom/extras/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/headroom/proxy/[...path]/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/headroom/restart/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/headroom/start/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/headroom/status/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/headroom/stop/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/health/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/init/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/keys/[id]/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/keys/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/locale/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/mcp/[plugin]/message/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/mcp/[plugin]/sse/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/media-providers/tts/voices/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/models/alias/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/models/availability/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/models/catalog-sync/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/models/custom/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/models/disabled/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/models/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/models/test/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/oauth/[provider]/[action]/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/oauth/codex/bulk-import/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/oauth/codex/import-token/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/oauth/cursor/auto-import/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/oauth/cursor/import/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/oauth/gitlab/pat/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/oauth/grok-cli/bulk-import/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/oauth/iflow/cookie/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/pricing/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/provider-nodes/[id]/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/provider-nodes/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/provider-nodes/validate/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/providers/[id]/models/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/providers/[id]/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/providers/[id]/test/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/providers/[id]/test-models/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/providers/client/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/providers/kilo/free-models/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/providers/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/providers/suggested-models/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/providers/test-batch/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/providers/validate/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/proxy-pools/[id]/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/proxy-pools/[id]/test/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/proxy-pools/deno-deploy/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/proxy-pools/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/pxpipe/health/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/pxpipe/install/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/pxpipe/logs/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/pxpipe/restart/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/pxpipe/start/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/pxpipe/stats/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/pxpipe/status/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/pxpipe/stop/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/settings/database/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/settings/proxy-test/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/settings/require-login/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/settings/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/shutdown/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/tags/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/translator/console-logs/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/translator/console-logs/stream/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/translator/load/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/translator/save/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/translator/send/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/translator/translate/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/tunnel/disable/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/tunnel/enable/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/tunnel/status/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/tunnel/tailscale-check/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/tunnel/tailscale-disable/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/tunnel/tailscale-enable/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/tunnel/tailscale-install/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/usage/[connectionId]/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/usage/chart/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/usage/health/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/usage/history/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/usage/logs/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/usage/providers/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/usage/request-details/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/usage/request-logs/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/usage/stats/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/usage/stream/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1/api/chat/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1/audio/speech/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1/audio/transcriptions/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1/audio/voices/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1/chat/completions/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1/embeddings/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1/images/generations/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1/messages/count_tokens/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1/messages/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1/models/[...model]/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1/models/info/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1/models/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1/responses/compact/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1/responses/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1/search/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1/systemone/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1/videos/[id]/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1/videos/edits/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1/videos/extensions/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1/videos/generations/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1/web/fetch/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1beta/models/[...path]/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/v1beta/models/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/version/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/version/shutdown/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/api/version/update/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/callback/page-8b6862b2e58a129e.js +1 -0
- package/.next/static/chunks/app/dashboard/settings/pricing/page-c1dfa7608ff710d1.js +1 -0
- package/.next/static/chunks/app/landing/page-a76ba2642bd02bf5.js +1 -0
- package/.next/static/chunks/app/layout-cc98f6c7473b86a3.js +1 -0
- package/.next/static/chunks/app/manifest.webmanifest/route-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/app/page-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-9a2a13ac6b89ba91.js +1 -0
- package/.next/static/css/efaf98e3b295f727.css +1 -0
- package/.next/static/wBARQPScPhD6SLn7WQvI9/_buildManifest.js +1 -0
- package/CHANGELOG.md +11 -0
- package/package.json +1 -2
- package/src/app/(dashboard)/dashboard/cli-tools/components/cards/ClaudeToolCard.tsx +10 -0
- package/src/app/api/cli-tools/claude-settings/route.js +10 -0
- package/src/app/globals.css +16 -37
- package/src/components/app-sidebar.tsx +0 -1
- package/src/shared/components/Header.tsx +0 -8
- package/src/shared/components/layouts/DashboardLayout.tsx +2 -8
- package/src/shared/constants/cliTools.js +5 -0
- package/.next/server/app/(dashboard)/dashboard/basic-chat/page.js +0 -1
- package/.next/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +0 -1
- package/.next/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +0 -1
- package/.next/server/app/api/dashboard/chat/completions/route.js +0 -1
- package/.next/server/app/api/dashboard/chat/completions/route.js.nft.json +0 -1
- package/.next/server/app/api/dashboard/chat/completions/route_client-reference-manifest.js +0 -1
- package/.next/server/app/dashboard/basic-chat.html +0 -1
- package/.next/server/app/dashboard/basic-chat.meta +0 -36
- package/.next/server/app/dashboard/basic-chat.rsc +0 -26
- package/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +0 -31
- package/.next/server/app/dashboard/basic-chat.segments/_full.segment.rsc +0 -26
- package/.next/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +0 -6
- package/.next/static/C423Aljus-j0GJlKCHgC1/_buildManifest.js +0 -1
- package/.next/static/chunks/1278-3b5ed69340ddb23f.js +0 -1
- package/.next/static/chunks/1471-69a7c30abf98c656.js +0 -1
- package/.next/static/chunks/159-89c77cec422bd76f.js +0 -1
- package/.next/static/chunks/2392-b07fcae4714087ef.js +0 -65
- package/.next/static/chunks/2441-96064c4ee1216099.js +0 -1
- package/.next/static/chunks/5113-5c4f5181388aab72.js +0 -1
- package/.next/static/chunks/5778-9d97ce04f2ac118c.js +0 -1
- package/.next/static/chunks/6920-e2b533c1eafa9521.js +0 -1
- package/.next/static/chunks/7835-c1ef8f5cdaaad483.js +0 -1
- package/.next/static/chunks/9320-ae7eb68edeb92e89.js +0 -3
- package/.next/static/chunks/app/(dashboard)/dashboard/basic-chat/page-34f4d77aa3df67a8.js +0 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/console-log/page-52b5a6dc2c2d2d93.js +0 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/endpoint/page-9287a3cbd098b9c4.js +0 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/page-1d6e969653676c7d.js +0 -1
- package/.next/static/chunks/app/_global-error/page-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/auth/login/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/auth/logout/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/auth/oidc/callback/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/auth/oidc/start/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/auth/oidc/test/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/auth/reset-password/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/auth/saml/acs/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/auth/saml/metadata/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/auth/saml/start/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/auth/saml/test/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/auth/status/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/changelog/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/cli-tools/all-statuses/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/cli-tools/claude-settings/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/cli-tools/codex-settings/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/cli-tools/cowork-settings/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/cli-tools/dsh-settings/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/cli-tools/opencode-settings/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/combos/[id]/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/combos/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/dashboard/chat/completions/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/headroom/extras/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/headroom/proxy/[...path]/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/headroom/restart/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/headroom/start/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/headroom/status/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/headroom/stop/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/health/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/init/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/keys/[id]/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/keys/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/locale/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/mcp/[plugin]/message/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/mcp/[plugin]/sse/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/media-providers/tts/voices/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/models/alias/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/models/availability/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/models/catalog-sync/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/models/custom/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/models/disabled/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/models/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/models/test/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/oauth/[provider]/[action]/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/oauth/codex/bulk-import/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/oauth/codex/import-token/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/oauth/cursor/auto-import/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/oauth/cursor/import/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/oauth/gitlab/pat/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/oauth/grok-cli/bulk-import/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/oauth/iflow/cookie/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/pricing/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/provider-nodes/[id]/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/provider-nodes/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/provider-nodes/validate/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/providers/[id]/models/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/providers/[id]/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/providers/[id]/test/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/providers/[id]/test-models/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/providers/client/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/providers/kilo/free-models/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/providers/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/providers/suggested-models/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/providers/test-batch/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/providers/validate/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/proxy-pools/[id]/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/proxy-pools/[id]/test/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/proxy-pools/deno-deploy/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/proxy-pools/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/pxpipe/health/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/pxpipe/install/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/pxpipe/logs/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/pxpipe/restart/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/pxpipe/start/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/pxpipe/stats/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/pxpipe/status/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/pxpipe/stop/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/settings/database/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/settings/proxy-test/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/settings/require-login/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/settings/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/shutdown/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/tags/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/translator/console-logs/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/translator/console-logs/stream/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/translator/load/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/translator/save/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/translator/send/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/translator/translate/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/tunnel/disable/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/tunnel/enable/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/tunnel/status/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/tunnel/tailscale-check/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/tunnel/tailscale-disable/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/tunnel/tailscale-enable/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/tunnel/tailscale-install/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/usage/[connectionId]/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/usage/chart/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/usage/health/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/usage/history/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/usage/logs/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/usage/providers/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/usage/request-details/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/usage/request-logs/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/usage/stats/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/usage/stream/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1/api/chat/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1/audio/speech/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1/audio/transcriptions/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1/audio/voices/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1/chat/completions/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1/embeddings/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1/images/generations/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1/messages/count_tokens/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1/messages/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1/models/[...model]/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1/models/info/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1/models/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1/responses/compact/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1/responses/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1/search/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1/systemone/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1/videos/[id]/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1/videos/edits/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1/videos/extensions/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1/videos/generations/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1/web/fetch/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1beta/models/[...path]/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/v1beta/models/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/version/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/version/shutdown/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/api/version/update/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/callback/page-f714c2306a1e9004.js +0 -1
- package/.next/static/chunks/app/dashboard/settings/pricing/page-86197107690a0580.js +0 -1
- package/.next/static/chunks/app/landing/page-7a83d1be493ddc8c.js +0 -1
- package/.next/static/chunks/app/layout-f34e075b1872747e.js +0 -1
- package/.next/static/chunks/app/manifest.webmanifest/route-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/app/page-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-a826a2eb5dc30149.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-a826a2eb5dc30149.js +0 -1
- package/.next/static/css/a2628e64fa8ac12e.css +0 -1
- package/src/app/(dashboard)/dashboard/basic-chat/BasicChatPageClient.tsx +0 -1178
- package/src/app/(dashboard)/dashboard/basic-chat/page.tsx +0 -5
- package/src/app/api/dashboard/chat/completions/route.ts +0 -45
- /package/.next/static/{C423Aljus-j0GJlKCHgC1 → wBARQPScPhD6SLn7WQvI9}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var a={};a.id=8460,a.ids=[8460],a.modules={643:a=>{"use strict";a.exports=require("node:perf_hooks")},1708:a=>{"use strict";a.exports=require("node:process")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{"use strict";a.exports=require("node:buffer")},7066:a=>{"use strict";a.exports=require("node:tty")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11588:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(35062).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/10Router/10Router/src/app/(dashboard)/dashboard/providers/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/10Router/10Router/src/app/(dashboard)/dashboard/providers/page.tsx","default")},14985:a=>{"use strict";a.exports=require("dns")},16698:a=>{"use strict";a.exports=require("node:async_hooks")},18142:(a,b,c)=>{"use strict";c.d(b,{YW:()=>d.Page,pV:()=>d.CardGrid,wn:()=>d.Section,zY:()=>d.PageHeader}),c(73865),c(55204);var d=c(19509)},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},20482:(a,b,c)=>{"use strict";c.d(b,{CK:()=>i.default,G9:()=>l.default,Iz:()=>r.default,KX:()=>s.PanelSkeleton,LF:()=>f.default,LH:()=>m.default,Mu:()=>s.StatCardSkeleton,Nf:()=>j.default,Qv:()=>e.CardSkeleton,YW:()=>u.YW,gw:()=>q.default,jK:()=>k.default,nh:()=>t.default,pV:()=>u.pV,rq:()=>g.default,uR:()=>h.default,uo:()=>d.ConfirmModal,vE:()=>n.default,vj:()=>o.default,wI:()=>p.default,wn:()=>u.wn,zY:()=>u.zY}),c(28907);var d=c(87121),e=c(53546);c(62648),c(77562),c(79517),c(66453);var f=c(71e3),g=c(16582),h=c(94725),i=c(98279),j=c(22354),k=c(23165);c(49451),c(82466),c(70047),c(91429),c(92249);var l=c(85405),m=c(91236),n=c(89630),o=c(87556),p=c(46009);c(54928);var q=c(5409),r=c(12710);c(92393),c(51);var s=c(11442),t=c(9656),u=c(18142)},21820:a=>{"use strict";a.exports=require("os")},24614:(a,b,c)=>{Promise.resolve().then(c.bind(c,54813))},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32467:a=>{"use strict";a.exports=require("node:http2")},33873:a=>{"use strict";a.exports=require("path")},34589:a=>{"use strict";a.exports=require("node:assert")},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},38522:a=>{"use strict";a.exports=require("node:zlib")},40610:a=>{"use strict";a.exports=require("node:dns")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},54813:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>B});var d=c(86240),e=c(28907),f=c(70433),g=c(20482),h=c(92968),i=c(82975),j=c(99902),k=c(86177),l=c(51),m=c(29184),n=c(63265),o=c(83777),p=c(31952),q=c(47181);let r={available:{icon:"check_circle",color:"#22c55e",label:"Available"},cooldown:{icon:"schedule",color:"#f59e0b",label:"Cooldown"},unavailable:{icon:"error",color:"#ef4444",label:"Unavailable"},unknown:{icon:"help",color:"#6b7280",label:"Unknown"}};function s(){let[a,b]=(0,f.useState)(null),[c,g]=(0,f.useState)(!0),[h,i]=(0,f.useState)(!1),[j,k]=(0,f.useState)(null),l=(0,f.useRef)(null),m=(0,q.i)(),o=(0,f.useCallback)(async()=>{try{let a=await fetch("/api/models/availability");if(a.ok){let c=await a.json();b(c)}}catch{}finally{g(!1)}},[]),s=async(a,b)=>{k(`${a}:${b}`);try{(await fetch("/api/models/availability",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"clearCooldown",provider:a,model:b})})).ok?(m.success(`Cooldown cleared for ${b}`),await o()):m.error("Failed to clear cooldown")}catch{m.error("Failed to clear cooldown")}finally{k(null)}};if(c)return null;let t=a?.models||[],u=0===(a?.unavailableCount||t.filter(a=>"available"!==a.status).length),v={};return t.forEach(a=>{if("available"===a.status)return;let b=a.provider||"unknown";v[b]||(v[b]=[]),v[b].push(a)}),(0,d.jsx)("div",{className:"relative",ref:l,children:h&&(0,d.jsxs)("div",{className:"absolute top-full right-0 mt-2 w-80 bg-card border border-border rounded-xl shadow-2xl z-50 overflow-hidden",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between px-4 py-3 border-b border-border bg-background",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)(e.default,{name:u?"verified":"warning",className:"text-[16px]",style:{color:u?"#22c55e":"#f59e0b"}}),(0,d.jsx)("span",{className:"text-sm font-semibold text-foreground",children:"Model Status"})]}),(0,d.jsxs)(p.m_,{children:[(0,d.jsx)(p.k$,{asChild:!0,children:(0,d.jsx)("button",{onClick:o,className:"p-1 rounded-lg hover:bg-card text-muted-foreground hover:text-foreground transition-colors",children:(0,d.jsx)(e.default,{name:"refresh",className:"text-[14px]"})})}),(0,d.jsx)(p.ZI,{children:"Refresh"})]})]}),(0,d.jsx)("div",{className:"px-4 py-3 max-h-60 overflow-y-auto",children:u?(0,d.jsx)("p",{className:"text-sm text-muted-foreground text-center py-2",children:"All models are responding normally."}):(0,d.jsx)("div",{className:"flex flex-col gap-2.5",children:Object.entries(v).map(([a,b])=>(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"text-xs font-semibold text-foreground mb-1.5 capitalize",children:a}),(0,d.jsx)("div",{className:"flex flex-col gap-1",children:b.map(a=>{let b=r[a.status]||r.unknown,c=j===`${a.provider}:${a.model}`;return(0,d.jsxs)("div",{className:"flex items-center justify-between px-2.5 py-1.5 rounded-lg bg-card/30",children:[(0,d.jsxs)("div",{className:"flex items-center gap-1.5 min-w-0",children:[(0,d.jsx)(e.default,{name:b.icon,className:"text-[14px] shrink-0",style:{color:b.color}}),(0,d.jsx)("span",{className:"font-mono text-xs text-foreground truncate",children:a.model})]}),"cooldown"===a.status&&(0,d.jsx)(n.$,{size:"sm",variant:"ghost",onClick:()=>s(a.provider,a.model),disabled:c,className:"text-[10px] px-1.5! py-0.5! ml-2",children:c?"...":"Clear"})]},`${a.provider}-${a.model}`)})})]},a))})})]})})}var t=c(81501),u=c(67209);let v={openai:{title:"Add OpenAI Compatible",type:"openai-compatible",defaultBaseUrl:"https://api.openai.com/v1",namePlaceholder:"OpenAI Compatible (Prod)",prefixPlaceholder:"oc-prod",baseUrlHint:"Use the base URL (ending in /v1) for your OpenAI-compatible API.",errorLabel:"OpenAI Compatible",hasApiType:!0},anthropic:{title:"Add Anthropic Compatible",type:"anthropic-compatible",defaultBaseUrl:"https://api.anthropic.com/v1",namePlaceholder:"Anthropic Compatible (Prod)",prefixPlaceholder:"ac-prod",baseUrlHint:"Use the base URL (ending in /v1) for your Anthropic-compatible API. The system will append /messages.",errorLabel:"Anthropic Compatible",hasApiType:!1}},w=[{value:"chat",label:"Chat Completions"},{value:"responses",label:"Responses API"}];function x({label:a,required:b,error:c,hint:e,className:f,children:g}){return(0,d.jsxs)("div",{className:`flex min-w-0 flex-col gap-1.5 ${f||""}`,children:[a&&(0,d.jsxs)("label",{className:"text-sm font-medium text-foreground",children:[a,b&&(0,d.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),g,c&&(0,d.jsx)("p",{className:"text-xs text-red-500",children:c}),e&&!c&&(0,d.jsx)("p",{className:"text-xs text-muted-foreground",children:e})]})}let y=function({variant:a,isOpen:b,onClose:c,onCreated:e}){let g=v[a],h=()=>({name:"",prefix:"",...g.hasApiType?{apiType:"chat"}:{},baseUrl:g.defaultBaseUrl}),[i,j]=(0,f.useState)(h),[k,l]=(0,f.useState)(!1),m=async()=>{if(i.name.trim()&&i.prefix.trim()&&i.baseUrl.trim()){l(!0);try{let a=await fetch("/api/provider-nodes",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:i.name,prefix:i.prefix,...g.hasApiType?{apiType:i.apiType}:{},baseUrl:i.baseUrl,type:g.type})}),b=await a.json();a.ok&&(e(b.node),j(h()))}catch(a){console.log(`Error creating ${g.errorLabel} node:`,a)}finally{l(!1)}}};return(0,d.jsx)(u.lG,{open:b,onOpenChange:a=>!a&&c(),children:(0,d.jsxs)(u.Cf,{className:"max-w-md",children:[(0,d.jsx)(u.c7,{children:(0,d.jsx)(u.L3,{children:g.title})}),(0,d.jsxs)("div",{className:"flex max-h-[calc(85vh-120px)] flex-col gap-4 overflow-y-auto p-4",children:[(0,d.jsx)(x,{label:"Name",hint:"Required. A friendly label for this node.",children:(0,d.jsx)(t.p,{value:i.name,onChange:a=>j({...i,name:a.target.value}),placeholder:g.namePlaceholder})}),(0,d.jsx)(x,{label:"Prefix",hint:"Required. Used as the provider prefix for model IDs.",children:(0,d.jsx)(t.p,{value:i.prefix,onChange:a=>j({...i,prefix:a.target.value}),placeholder:g.prefixPlaceholder})}),g.hasApiType&&(0,d.jsx)(x,{label:"API Type",children:(0,d.jsxs)(o.l6,{value:i.apiType,onValueChange:a=>j({...i,apiType:a}),children:[(0,d.jsx)(o.bq,{className:"w-full",children:(0,d.jsx)(o.yv,{})}),(0,d.jsx)(o.gC,{children:w.map(a=>(0,d.jsx)(o.eb,{value:String(a.value),children:a.label},a.value))})]})}),(0,d.jsx)(x,{label:"Base URL",hint:g.baseUrlHint,children:(0,d.jsx)(t.p,{value:i.baseUrl,onChange:a=>j({...i,baseUrl:a.target.value}),placeholder:g.defaultBaseUrl})}),(0,d.jsx)(n.$,{onClick:m,className:"w-full",disabled:!i.name.trim()||!i.prefix.trim()||!i.baseUrl.trim()||k,children:k?"Creating...":"Create"})]})]})})},z=[{value:"all",label:"All"},{value:"active",label:"Active"},{value:"inactive",label:"Inactive"},{value:"none",label:"No connection"}];function A(a,b,c){let e=[];if(a>0&&e.push((0,d.jsxs)(m.E,{variant:"default",children:[(0,d.jsx)("span",{className:"size-1.5 rounded-full bg-green-500"}),a," Connected"]},"connected")),b>0){let a=c?`${b} Error (${c})`:`${b} Error`;e.push((0,d.jsxs)(m.E,{variant:"destructive",children:[(0,d.jsx)("span",{className:"size-1.5 rounded-full bg-red-500"}),a]},"error"))}return 0===e.length?(0,d.jsx)("span",{className:"text-muted-foreground",children:"No connections"}):e}function B(){let a,b,[c,h]=(0,f.useState)([]),[l,m]=(0,f.useState)([]),[p,q]=(0,f.useState)(!0),[r,t]=(0,f.useState)(!1),[u,v]=(0,f.useState)(!1),[w,x]=(0,f.useState)("all"),A=(a,b)=>{let d=Array.isArray(b)?b:[b],e=c.filter(b=>b.provider===a&&d.includes(b.authType)),f=a=>{let b=Object.entries(a).some(([a,b])=>a.startsWith("modelLock_")&&b&&new Date(b).getTime()>Date.now());return"unavailable"!==a.testStatus||b?a.testStatus:"active"},g=e.filter(a=>{let b=f(a);return"active"===b||"success"===b}).length,h=e.filter(a=>{let b=f(a);return"error"===b||"expired"===b||"unavailable"===b}),i=h.length,j=e.length,k=j>0&&e.every(a=>!1===a.isActive),l=h.sort((a,b)=>new Date(b.lastErrorAt||0)-new Date(a.lastErrorAt||0))[0];return{connected:g,error:i,total:j,errorCode:l?function(a){if(!a)return null;let b=a.lastErrorType;if("runtime_error"===b)return"RUNTIME";if("upstream_auth_error"===b||"auth_missing"===b||"token_refresh_failed"===b||"token_expired"===b)return"AUTH";if("upstream_rate_limited"===b)return"429";if("upstream_unavailable"===b)return"5XX";if("network_error"===b)return"NET";let c=Number(a.errorCode);if(Number.isFinite(c)&&c>=400)return String(c);let d=function(a){if(!a)return null;let b=a.match(/\b([45]\d{2})\b/);return b?b[1]:"ERR"}(a.lastError);if("401"===d||"403"===d)return"AUTH";if(d&&"ERR"!==d)return d;let e=(a.lastError||"").toLowerCase();return e.includes("runtime")||e.includes("not runnable")||e.includes("not installed")?"RUNTIME":e.includes("invalid api key")||e.includes("token invalid")||e.includes("revoked")||e.includes("unauthorized")?"AUTH":"ERR"}(l):null,errorTime:l?.lastErrorAt?function(a){if(!a)return"";let b=Math.floor((Date.now()-new Date(a).getTime())/6e4);if(b<1)return"just now";if(b<60)return`${b}m ago`;let c=Math.floor(b/60);if(c<24)return`${c}h ago`;let d=Math.floor(c/24);return`${d}d ago`}(l.lastErrorAt):null,allDisabled:k}},B=(a,b=!1)=>(function(a,b,c=!1){return"all"===a||function(a,b=!1){return b?"active":a&&0!==a.total?a.allDisabled?"inactive":"active":"none"}(b,c)===a})(w,a,b),C=async(a,b,d)=>{let e=Array.isArray(b)?b:[b],f=b=>b.provider===a&&e.includes(b.authType),g=c.filter(f);h(a=>a.map(a=>f(a)?{...a,isActive:d}:a)),await Promise.allSettled(g.map(a=>fetch(`/api/providers/${a.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:d})})))},D=l.filter(a=>"openai-compatible"===a.type).map(a=>({id:a.id,name:a.name||"OpenAI Compatible",color:"#10A37F",textIcon:"OC",apiType:a.apiType,iconId:(0,i.uM)(a.baseUrl)})).filter(a=>B(A(a.id,"apikey"))),G=l.filter(a=>"anthropic-compatible"===a.type).map(a=>({id:a.id,name:a.name||"Anthropic Compatible",color:"#D97757",textIcon:"AC",iconId:(0,i.uM)(a.baseUrl)})).filter(a=>B(A(a.id,"apikey"))),H=(a,b)=>{let c=a?.authModes;return Array.isArray(c)?c.includes("apikey")?["oauth","apikey","api_key"]:"oauth":b in k.nJ||b in j.fg?["oauth","apikey","api_key"]:"oauth"},I=(a=Object.entries(j.zN).filter(([a,b])=>!b.hidden&&B(A(a,H(b,a)),b.noAuth)),b="oauth",[...a].sort(([a,c],[d,e])=>{let f=c.priority??999,g=e.priority??999;if(f!==g)return f-g;let h=A(a,b),i=A(d,b),j=+(h.connected>0),k=+(i.connected>0);return j!==k?k-j:(c.name||"").localeCompare(e.name||"")})),J=Object.entries(k.IS).filter(([a,b])=>!b.hidden&&B(A(a,H(b,a)),b.noAuth)).sort(([,a],[,b])=>!!b.noAuth-!!a.noAuth),K=Object.entries(k.nJ).filter(([a,b])=>!b.hidden&&(b.serviceKinds??["llm"]).includes("llm")&&B(A(a,H(b,a)),b.noAuth)).sort(([a,b],[c,d])=>{let e=b.priority??999,f=d.priority??999;if(e!==f)return e-f;let g=!!d.noAuth-!!b.noAuth;if(0!==g)return g;let h=A(a,H(b,a)).connected>0?0:1,i=A(c,H(d,c)).connected>0?0:1;return h!==i?h-i:(b.name||"").localeCompare(d.name||"")});if(p)return(0,d.jsx)(g.YW,{children:(0,d.jsxs)(g.pV,{children:[(0,d.jsx)(g.Qv,{}),(0,d.jsx)(g.Qv,{}),(0,d.jsx)(g.Qv,{}),(0,d.jsx)(g.Qv,{}),(0,d.jsx)(g.Qv,{}),(0,d.jsx)(g.Qv,{}),(0,d.jsx)(g.Qv,{}),(0,d.jsx)(g.Qv,{})]})});let L=I.length>0||J.length>0||K.length>0||D.length>0||G.length>0;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(g.YW,{children:[(0,d.jsx)("div",{className:"flex items-center justify-end",children:(0,d.jsxs)(o.l6,{value:w,onValueChange:a=>x(a),children:[(0,d.jsx)(o.bq,{size:"sm",className:"w-45","aria-label":"Filter providers by connection status",children:(0,d.jsx)(o.yv,{})}),(0,d.jsx)(o.gC,{children:z.map(a=>(0,d.jsx)(o.eb,{value:a.value,children:a.label},a.value))})]})}),!L&&(0,d.jsxs)("div",{className:"text-center py-8 border border-dashed border-border rounded-xl",children:[(0,d.jsx)(e.default,{name:"search_off",className:"text-[32px] text-muted-foreground mb-2"}),(0,d.jsx)("p",{className:"text-muted-foreground text-sm",children:"No providers match your filters"})]}),(0,d.jsx)(g.wn,{title:"Custom Providers (OpenAI/Anthropic Compatible)",actions:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(n.$,{size:"sm",onClick:()=>v(!0),className:"w-full sm:w-auto",children:[(0,d.jsx)(e.default,{name:"add"}),"Add Anthropic Compatible"]}),(0,d.jsxs)(n.$,{size:"sm",onClick:()=>t(!0),className:"w-full sm:w-auto",children:[(0,d.jsx)(e.default,{name:"add"}),"Add OpenAI Compatible"]})]}),children:0===D.length&&0===G.length?(0,d.jsxs)("div",{className:"flex items-center justify-center gap-2 py-2 border border-dashed border-border rounded-xl text-muted-foreground text-sm",children:[(0,d.jsx)(e.default,{name:"extension",className:"text-[18px]"}),(0,d.jsx)("span",{children:"No custom providers — use buttons above to add OpenAI/Anthropic compatible endpoints"})]}):(0,d.jsx)(g.pV,{children:[...D,...G].map(a=>(0,d.jsx)(F,{providerId:a.id,provider:a,stats:A(a.id,"apikey"),authType:"compatible",onToggle:b=>C(a.id,"apikey",b)},a.id))})}),I.length>0&&(0,d.jsx)(g.wn,{title:"OAuth Providers",actions:(0,d.jsx)(s,{}),children:(0,d.jsx)(g.pV,{children:I.map(([a,b])=>{let c=H(b,a);return(0,d.jsx)(E,{providerId:a,provider:b,stats:A(a,c),authType:"oauth",onToggle:b=>C(a,c,b)},a)})})}),(J.length>0||K.length>0)&&(0,d.jsx)(g.wn,{title:"Free Tier Providers",children:(0,d.jsxs)(g.pV,{children:[J.map(([a,b])=>{let c=H(b,a);return(0,d.jsx)(E,{providerId:a,provider:b,stats:A(a,c),authType:"free",onToggle:b=>C(a,c,b)},a)}),K.map(([a,b])=>{let c=H(b,a);return(0,d.jsx)(F,{providerId:a,provider:b,stats:A(a,c),authType:Array.isArray(c)?c[0]??"apikey":c,onToggle:b=>C(a,c,b)},a)})]})})]}),(0,d.jsx)(y,{variant:"openai",isOpen:r,onClose:()=>t(!1),onCreated:a=>{m(b=>[...b,a]),t(!1)}}),(0,d.jsx)(y,{variant:"anthropic",isOpen:u,onClose:()=>v(!1),onCreated:a=>{m(b=>[...b,a]),v(!1)}})]})}function C(a){if(a)return a.length>7?a:`${a}15`}function D(){return(0,d.jsx)(m.E,{variant:"default",children:(0,d.jsxs)("span",{className:"flex items-center gap-1",children:[(0,d.jsx)(e.default,{name:"pause_circle",className:"text-[12px]"}),"Disabled"]})})}function E({providerId:a,provider:b,stats:c,authType:e,onToggle:f}){let{connected:g,error:i,errorCode:j,errorTime:k,allDisabled:n}=c,o=!!b.noAuth;return(0,d.jsx)(l.default,{href:`/dashboard/providers/${a}`,title:b.name,iconBg:C(b.color),dimmed:n,icon:(0,d.jsx)(h.A,{src:`/providers/${b.id}.png`,alt:b.name,size:30,className:"max-h-[30px] max-w-[30px] rounded-lg object-contain",fallbackText:b.textIcon||b.id.slice(0,2).toUpperCase(),fallbackColor:b.color}),meta:!k||n||o?void 0:k,toggle:c.total>0?{checked:!n,enabledLabel:"Enable provider",disabledLabel:"Disable provider",onToggle:a=>f(a)}:void 0,children:n?(0,d.jsx)(D,{}):o?(0,d.jsxs)(m.E,{variant:"default",children:[(0,d.jsx)("span",{className:"size-1.5 rounded-full bg-green-500"}),"Ready"]}):A(g,i,j)})}function F({providerId:a,provider:b,stats:c,authType:e,onToggle:f}){let{connected:g,error:j,errorCode:n,errorTime:o,allDisabled:p}=c,q=a.startsWith(k.JH),r=a.startsWith(k.DI),s=q?(0,d.jsx)(m.E,{variant:"default",children:"responses"===b.apiType?"Responses":"Chat"}):r?(0,d.jsx)(m.E,{variant:"default",children:"Messages"}):null;return(0,d.jsx)(l.default,{href:`/dashboard/providers/${a}`,title:b.name,iconBg:C(b.color),dimmed:p,icon:(0,d.jsx)(h.A,{src:(()=>{if(b.iconId){let a=(0,i.HY)(b.iconId);if(a)return a}return q?"/providers/openai.png":r?"/providers/anthropic.png":(0,i.HY)(b.id)})(),alt:b.name,size:30,className:"max-h-[30px] max-w-[30px] rounded-lg object-contain",fallbackText:(0,i.IM)(b.name)||b.textIcon||b.id.slice(0,2).toUpperCase(),fallbackColor:b.color}),meta:o&&!p?o:void 0,toggle:c.total>0?{checked:!p,enabledLabel:"Enable provider",disabledLabel:"Disable provider",onToggle:a=>f(a)}:void 0,children:p?(0,d.jsx)(D,{}):(0,d.jsxs)(d.Fragment,{children:[A(g,j,n),s]})})}},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},57075:a=>{"use strict";a.exports=require("node:stream")},57624:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>w,handler:()=>y,routeModule:()=>x});var d=c(26720),e=c(29966),f=c(36243),g=c(70310),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,79452))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,67694,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,2808,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,8329,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,41580,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,11089))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,67694,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,2808,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,8329,23))),r=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,41580,23))),s=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,67694,23))),t=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,67694,23))),u={children:["",{children:["(dashboard)",{children:["dashboard",{children:["providers",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,11588))),"/home/runner/work/10Router/10Router/src/app/(dashboard)/dashboard/providers/page.tsx"]}]},{"global-error":[t,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[s,"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[n,"/home/runner/work/10Router/10Router/src/app/(dashboard)/layout.tsx"],"global-error":[o,"next/dist/client/components/builtin/global-error.js"],"not-found":[p,"next/dist/client/components/builtin/not-found.js"],forbidden:[q,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[r,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"/home/runner/work/10Router/10Router/src/app/layout.tsx"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,v=(0,e.H)({tree:u,page:"/(dashboard)/dashboard/providers/page",pathname:"/dashboard/providers",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),w=v.__next_app__,x=v.routeModule,y=v.handler},57975:a=>{"use strict";a.exports=require("node:util")},62065:(a,b,c)=>{Promise.resolve().then(c.bind(c,11588))},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},71622:a=>{"use strict";a.exports=import("open")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},73496:a=>{"use strict";a.exports=require("http2")},74075:a=>{"use strict";a.exports=require("zlib")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78474:a=>{"use strict";a.exports=require("node:events")},79551:a=>{"use strict";a.exports=require("url")},79646:a=>{"use strict";a.exports=require("child_process")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81630:a=>{"use strict";a.exports=require("http")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},87997:a=>{"use strict";a.exports=require("node:timers")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[1316,1238,7963,8569,7257,6009,9817,7535,7816,7156,2339,6461,4301,1289,9018,2801],()=>b(b.s=57624));module.exports=c})();
|
|
1
|
+
(()=>{var a={};a.id=8460,a.ids=[8460],a.modules={643:a=>{"use strict";a.exports=require("node:perf_hooks")},1708:a=>{"use strict";a.exports=require("node:process")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{"use strict";a.exports=require("node:buffer")},7066:a=>{"use strict";a.exports=require("node:tty")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11588:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(35062).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/10Router/10Router/src/app/(dashboard)/dashboard/providers/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/10Router/10Router/src/app/(dashboard)/dashboard/providers/page.tsx","default")},14985:a=>{"use strict";a.exports=require("dns")},16698:a=>{"use strict";a.exports=require("node:async_hooks")},18142:(a,b,c)=>{"use strict";c.d(b,{YW:()=>d.Page,pV:()=>d.CardGrid,wn:()=>d.Section,zY:()=>d.PageHeader}),c(73865),c(55204);var d=c(19509)},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},20482:(a,b,c)=>{"use strict";c.d(b,{CK:()=>i.default,G9:()=>l.default,Iz:()=>r.default,KX:()=>s.PanelSkeleton,LF:()=>f.default,LH:()=>m.default,Mu:()=>s.StatCardSkeleton,Nf:()=>j.default,Qv:()=>e.CardSkeleton,YW:()=>u.YW,gw:()=>q.default,jK:()=>k.default,nh:()=>t.default,pV:()=>u.pV,rq:()=>g.default,uR:()=>h.default,uo:()=>d.ConfirmModal,vE:()=>n.default,vj:()=>o.default,wI:()=>p.default,wn:()=>u.wn,zY:()=>u.zY}),c(28907);var d=c(87121),e=c(53546);c(62648),c(77562),c(79517),c(66453);var f=c(71e3),g=c(16582),h=c(94725),i=c(98279),j=c(22354),k=c(23165);c(49451),c(82466),c(70047),c(32328),c(92249);var l=c(85405),m=c(91236),n=c(89630),o=c(87556),p=c(46009);c(54928);var q=c(5409),r=c(12710);c(92393),c(51);var s=c(11442),t=c(9656),u=c(18142)},21820:a=>{"use strict";a.exports=require("os")},24614:(a,b,c)=>{Promise.resolve().then(c.bind(c,54813))},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32467:a=>{"use strict";a.exports=require("node:http2")},33873:a=>{"use strict";a.exports=require("path")},34589:a=>{"use strict";a.exports=require("node:assert")},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},38522:a=>{"use strict";a.exports=require("node:zlib")},39778:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>w,handler:()=>y,routeModule:()=>x});var d=c(26720),e=c(29966),f=c(36243),g=c(70310),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,79452))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,67694,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,2808,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,8329,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,41580,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,11089))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,67694,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,2808,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,8329,23))),r=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,41580,23))),s=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,67694,23))),t=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,67694,23))),u={children:["",{children:["(dashboard)",{children:["dashboard",{children:["providers",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,11588))),"/home/runner/work/10Router/10Router/src/app/(dashboard)/dashboard/providers/page.tsx"]}]},{"global-error":[t,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[s,"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[n,"/home/runner/work/10Router/10Router/src/app/(dashboard)/layout.tsx"],"global-error":[o,"next/dist/client/components/builtin/global-error.js"],"not-found":[p,"next/dist/client/components/builtin/not-found.js"],forbidden:[q,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[r,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"/home/runner/work/10Router/10Router/src/app/layout.tsx"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,v=(0,e.H)({tree:u,page:"/(dashboard)/dashboard/providers/page",pathname:"/dashboard/providers",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),w=v.__next_app__,x=v.routeModule,y=v.handler},40610:a=>{"use strict";a.exports=require("node:dns")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},54813:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>B});var d=c(86240),e=c(28907),f=c(70433),g=c(20482),h=c(92968),i=c(82975),j=c(99902),k=c(86177),l=c(51),m=c(29184),n=c(63265),o=c(83777),p=c(31952),q=c(47181);let r={available:{icon:"check_circle",color:"#22c55e",label:"Available"},cooldown:{icon:"schedule",color:"#f59e0b",label:"Cooldown"},unavailable:{icon:"error",color:"#ef4444",label:"Unavailable"},unknown:{icon:"help",color:"#6b7280",label:"Unknown"}};function s(){let[a,b]=(0,f.useState)(null),[c,g]=(0,f.useState)(!0),[h,i]=(0,f.useState)(!1),[j,k]=(0,f.useState)(null),l=(0,f.useRef)(null),m=(0,q.i)(),o=(0,f.useCallback)(async()=>{try{let a=await fetch("/api/models/availability");if(a.ok){let c=await a.json();b(c)}}catch{}finally{g(!1)}},[]),s=async(a,b)=>{k(`${a}:${b}`);try{(await fetch("/api/models/availability",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"clearCooldown",provider:a,model:b})})).ok?(m.success(`Cooldown cleared for ${b}`),await o()):m.error("Failed to clear cooldown")}catch{m.error("Failed to clear cooldown")}finally{k(null)}};if(c)return null;let t=a?.models||[],u=0===(a?.unavailableCount||t.filter(a=>"available"!==a.status).length),v={};return t.forEach(a=>{if("available"===a.status)return;let b=a.provider||"unknown";v[b]||(v[b]=[]),v[b].push(a)}),(0,d.jsx)("div",{className:"relative",ref:l,children:h&&(0,d.jsxs)("div",{className:"absolute top-full right-0 mt-2 w-80 bg-card border border-border rounded-xl shadow-2xl z-50 overflow-hidden",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between px-4 py-3 border-b border-border bg-background",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)(e.default,{name:u?"verified":"warning",className:"text-[16px]",style:{color:u?"#22c55e":"#f59e0b"}}),(0,d.jsx)("span",{className:"text-sm font-semibold text-foreground",children:"Model Status"})]}),(0,d.jsxs)(p.m_,{children:[(0,d.jsx)(p.k$,{asChild:!0,children:(0,d.jsx)("button",{onClick:o,className:"p-1 rounded-lg hover:bg-card text-muted-foreground hover:text-foreground transition-colors",children:(0,d.jsx)(e.default,{name:"refresh",className:"text-[14px]"})})}),(0,d.jsx)(p.ZI,{children:"Refresh"})]})]}),(0,d.jsx)("div",{className:"px-4 py-3 max-h-60 overflow-y-auto",children:u?(0,d.jsx)("p",{className:"text-sm text-muted-foreground text-center py-2",children:"All models are responding normally."}):(0,d.jsx)("div",{className:"flex flex-col gap-2.5",children:Object.entries(v).map(([a,b])=>(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"text-xs font-semibold text-foreground mb-1.5 capitalize",children:a}),(0,d.jsx)("div",{className:"flex flex-col gap-1",children:b.map(a=>{let b=r[a.status]||r.unknown,c=j===`${a.provider}:${a.model}`;return(0,d.jsxs)("div",{className:"flex items-center justify-between px-2.5 py-1.5 rounded-lg bg-card/30",children:[(0,d.jsxs)("div",{className:"flex items-center gap-1.5 min-w-0",children:[(0,d.jsx)(e.default,{name:b.icon,className:"text-[14px] shrink-0",style:{color:b.color}}),(0,d.jsx)("span",{className:"font-mono text-xs text-foreground truncate",children:a.model})]}),"cooldown"===a.status&&(0,d.jsx)(n.$,{size:"sm",variant:"ghost",onClick:()=>s(a.provider,a.model),disabled:c,className:"text-[10px] px-1.5! py-0.5! ml-2",children:c?"...":"Clear"})]},`${a.provider}-${a.model}`)})})]},a))})})]})})}var t=c(81501),u=c(67209);let v={openai:{title:"Add OpenAI Compatible",type:"openai-compatible",defaultBaseUrl:"https://api.openai.com/v1",namePlaceholder:"OpenAI Compatible (Prod)",prefixPlaceholder:"oc-prod",baseUrlHint:"Use the base URL (ending in /v1) for your OpenAI-compatible API.",errorLabel:"OpenAI Compatible",hasApiType:!0},anthropic:{title:"Add Anthropic Compatible",type:"anthropic-compatible",defaultBaseUrl:"https://api.anthropic.com/v1",namePlaceholder:"Anthropic Compatible (Prod)",prefixPlaceholder:"ac-prod",baseUrlHint:"Use the base URL (ending in /v1) for your Anthropic-compatible API. The system will append /messages.",errorLabel:"Anthropic Compatible",hasApiType:!1}},w=[{value:"chat",label:"Chat Completions"},{value:"responses",label:"Responses API"}];function x({label:a,required:b,error:c,hint:e,className:f,children:g}){return(0,d.jsxs)("div",{className:`flex min-w-0 flex-col gap-1.5 ${f||""}`,children:[a&&(0,d.jsxs)("label",{className:"text-sm font-medium text-foreground",children:[a,b&&(0,d.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),g,c&&(0,d.jsx)("p",{className:"text-xs text-red-500",children:c}),e&&!c&&(0,d.jsx)("p",{className:"text-xs text-muted-foreground",children:e})]})}let y=function({variant:a,isOpen:b,onClose:c,onCreated:e}){let g=v[a],h=()=>({name:"",prefix:"",...g.hasApiType?{apiType:"chat"}:{},baseUrl:g.defaultBaseUrl}),[i,j]=(0,f.useState)(h),[k,l]=(0,f.useState)(!1),m=async()=>{if(i.name.trim()&&i.prefix.trim()&&i.baseUrl.trim()){l(!0);try{let a=await fetch("/api/provider-nodes",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:i.name,prefix:i.prefix,...g.hasApiType?{apiType:i.apiType}:{},baseUrl:i.baseUrl,type:g.type})}),b=await a.json();a.ok&&(e(b.node),j(h()))}catch(a){console.log(`Error creating ${g.errorLabel} node:`,a)}finally{l(!1)}}};return(0,d.jsx)(u.lG,{open:b,onOpenChange:a=>!a&&c(),children:(0,d.jsxs)(u.Cf,{className:"max-w-md",children:[(0,d.jsx)(u.c7,{children:(0,d.jsx)(u.L3,{children:g.title})}),(0,d.jsxs)("div",{className:"flex max-h-[calc(85vh-120px)] flex-col gap-4 overflow-y-auto p-4",children:[(0,d.jsx)(x,{label:"Name",hint:"Required. A friendly label for this node.",children:(0,d.jsx)(t.p,{value:i.name,onChange:a=>j({...i,name:a.target.value}),placeholder:g.namePlaceholder})}),(0,d.jsx)(x,{label:"Prefix",hint:"Required. Used as the provider prefix for model IDs.",children:(0,d.jsx)(t.p,{value:i.prefix,onChange:a=>j({...i,prefix:a.target.value}),placeholder:g.prefixPlaceholder})}),g.hasApiType&&(0,d.jsx)(x,{label:"API Type",children:(0,d.jsxs)(o.l6,{value:i.apiType,onValueChange:a=>j({...i,apiType:a}),children:[(0,d.jsx)(o.bq,{className:"w-full",children:(0,d.jsx)(o.yv,{})}),(0,d.jsx)(o.gC,{children:w.map(a=>(0,d.jsx)(o.eb,{value:String(a.value),children:a.label},a.value))})]})}),(0,d.jsx)(x,{label:"Base URL",hint:g.baseUrlHint,children:(0,d.jsx)(t.p,{value:i.baseUrl,onChange:a=>j({...i,baseUrl:a.target.value}),placeholder:g.defaultBaseUrl})}),(0,d.jsx)(n.$,{onClick:m,className:"w-full",disabled:!i.name.trim()||!i.prefix.trim()||!i.baseUrl.trim()||k,children:k?"Creating...":"Create"})]})]})})},z=[{value:"all",label:"All"},{value:"active",label:"Active"},{value:"inactive",label:"Inactive"},{value:"none",label:"No connection"}];function A(a,b,c){let e=[];if(a>0&&e.push((0,d.jsxs)(m.E,{variant:"default",children:[(0,d.jsx)("span",{className:"size-1.5 rounded-full bg-green-500"}),a," Connected"]},"connected")),b>0){let a=c?`${b} Error (${c})`:`${b} Error`;e.push((0,d.jsxs)(m.E,{variant:"destructive",children:[(0,d.jsx)("span",{className:"size-1.5 rounded-full bg-red-500"}),a]},"error"))}return 0===e.length?(0,d.jsx)("span",{className:"text-muted-foreground",children:"No connections"}):e}function B(){let a,b,[c,h]=(0,f.useState)([]),[l,m]=(0,f.useState)([]),[p,q]=(0,f.useState)(!0),[r,t]=(0,f.useState)(!1),[u,v]=(0,f.useState)(!1),[w,x]=(0,f.useState)("all"),A=(a,b)=>{let d=Array.isArray(b)?b:[b],e=c.filter(b=>b.provider===a&&d.includes(b.authType)),f=a=>{let b=Object.entries(a).some(([a,b])=>a.startsWith("modelLock_")&&b&&new Date(b).getTime()>Date.now());return"unavailable"!==a.testStatus||b?a.testStatus:"active"},g=e.filter(a=>{let b=f(a);return"active"===b||"success"===b}).length,h=e.filter(a=>{let b=f(a);return"error"===b||"expired"===b||"unavailable"===b}),i=h.length,j=e.length,k=j>0&&e.every(a=>!1===a.isActive),l=h.sort((a,b)=>new Date(b.lastErrorAt||0)-new Date(a.lastErrorAt||0))[0];return{connected:g,error:i,total:j,errorCode:l?function(a){if(!a)return null;let b=a.lastErrorType;if("runtime_error"===b)return"RUNTIME";if("upstream_auth_error"===b||"auth_missing"===b||"token_refresh_failed"===b||"token_expired"===b)return"AUTH";if("upstream_rate_limited"===b)return"429";if("upstream_unavailable"===b)return"5XX";if("network_error"===b)return"NET";let c=Number(a.errorCode);if(Number.isFinite(c)&&c>=400)return String(c);let d=function(a){if(!a)return null;let b=a.match(/\b([45]\d{2})\b/);return b?b[1]:"ERR"}(a.lastError);if("401"===d||"403"===d)return"AUTH";if(d&&"ERR"!==d)return d;let e=(a.lastError||"").toLowerCase();return e.includes("runtime")||e.includes("not runnable")||e.includes("not installed")?"RUNTIME":e.includes("invalid api key")||e.includes("token invalid")||e.includes("revoked")||e.includes("unauthorized")?"AUTH":"ERR"}(l):null,errorTime:l?.lastErrorAt?function(a){if(!a)return"";let b=Math.floor((Date.now()-new Date(a).getTime())/6e4);if(b<1)return"just now";if(b<60)return`${b}m ago`;let c=Math.floor(b/60);if(c<24)return`${c}h ago`;let d=Math.floor(c/24);return`${d}d ago`}(l.lastErrorAt):null,allDisabled:k}},B=(a,b=!1)=>(function(a,b,c=!1){return"all"===a||function(a,b=!1){return b?"active":a&&0!==a.total?a.allDisabled?"inactive":"active":"none"}(b,c)===a})(w,a,b),C=async(a,b,d)=>{let e=Array.isArray(b)?b:[b],f=b=>b.provider===a&&e.includes(b.authType),g=c.filter(f);h(a=>a.map(a=>f(a)?{...a,isActive:d}:a)),await Promise.allSettled(g.map(a=>fetch(`/api/providers/${a.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:d})})))},D=l.filter(a=>"openai-compatible"===a.type).map(a=>({id:a.id,name:a.name||"OpenAI Compatible",color:"#10A37F",textIcon:"OC",apiType:a.apiType,iconId:(0,i.uM)(a.baseUrl)})).filter(a=>B(A(a.id,"apikey"))),G=l.filter(a=>"anthropic-compatible"===a.type).map(a=>({id:a.id,name:a.name||"Anthropic Compatible",color:"#D97757",textIcon:"AC",iconId:(0,i.uM)(a.baseUrl)})).filter(a=>B(A(a.id,"apikey"))),H=(a,b)=>{let c=a?.authModes;return Array.isArray(c)?c.includes("apikey")?["oauth","apikey","api_key"]:"oauth":b in k.nJ||b in j.fg?["oauth","apikey","api_key"]:"oauth"},I=(a=Object.entries(j.zN).filter(([a,b])=>!b.hidden&&B(A(a,H(b,a)),b.noAuth)),b="oauth",[...a].sort(([a,c],[d,e])=>{let f=c.priority??999,g=e.priority??999;if(f!==g)return f-g;let h=A(a,b),i=A(d,b),j=+(h.connected>0),k=+(i.connected>0);return j!==k?k-j:(c.name||"").localeCompare(e.name||"")})),J=Object.entries(k.IS).filter(([a,b])=>!b.hidden&&B(A(a,H(b,a)),b.noAuth)).sort(([,a],[,b])=>!!b.noAuth-!!a.noAuth),K=Object.entries(k.nJ).filter(([a,b])=>!b.hidden&&(b.serviceKinds??["llm"]).includes("llm")&&B(A(a,H(b,a)),b.noAuth)).sort(([a,b],[c,d])=>{let e=b.priority??999,f=d.priority??999;if(e!==f)return e-f;let g=!!d.noAuth-!!b.noAuth;if(0!==g)return g;let h=A(a,H(b,a)).connected>0?0:1,i=A(c,H(d,c)).connected>0?0:1;return h!==i?h-i:(b.name||"").localeCompare(d.name||"")});if(p)return(0,d.jsx)(g.YW,{children:(0,d.jsxs)(g.pV,{children:[(0,d.jsx)(g.Qv,{}),(0,d.jsx)(g.Qv,{}),(0,d.jsx)(g.Qv,{}),(0,d.jsx)(g.Qv,{}),(0,d.jsx)(g.Qv,{}),(0,d.jsx)(g.Qv,{}),(0,d.jsx)(g.Qv,{}),(0,d.jsx)(g.Qv,{})]})});let L=I.length>0||J.length>0||K.length>0||D.length>0||G.length>0;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(g.YW,{children:[(0,d.jsx)("div",{className:"flex items-center justify-end",children:(0,d.jsxs)(o.l6,{value:w,onValueChange:a=>x(a),children:[(0,d.jsx)(o.bq,{size:"sm",className:"w-45","aria-label":"Filter providers by connection status",children:(0,d.jsx)(o.yv,{})}),(0,d.jsx)(o.gC,{children:z.map(a=>(0,d.jsx)(o.eb,{value:a.value,children:a.label},a.value))})]})}),!L&&(0,d.jsxs)("div",{className:"text-center py-8 border border-dashed border-border rounded-xl",children:[(0,d.jsx)(e.default,{name:"search_off",className:"text-[32px] text-muted-foreground mb-2"}),(0,d.jsx)("p",{className:"text-muted-foreground text-sm",children:"No providers match your filters"})]}),(0,d.jsx)(g.wn,{title:"Custom Providers (OpenAI/Anthropic Compatible)",actions:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(n.$,{size:"sm",onClick:()=>v(!0),className:"w-full sm:w-auto",children:[(0,d.jsx)(e.default,{name:"add"}),"Add Anthropic Compatible"]}),(0,d.jsxs)(n.$,{size:"sm",onClick:()=>t(!0),className:"w-full sm:w-auto",children:[(0,d.jsx)(e.default,{name:"add"}),"Add OpenAI Compatible"]})]}),children:0===D.length&&0===G.length?(0,d.jsxs)("div",{className:"flex items-center justify-center gap-2 py-2 border border-dashed border-border rounded-xl text-muted-foreground text-sm",children:[(0,d.jsx)(e.default,{name:"extension",className:"text-[18px]"}),(0,d.jsx)("span",{children:"No custom providers — use buttons above to add OpenAI/Anthropic compatible endpoints"})]}):(0,d.jsx)(g.pV,{children:[...D,...G].map(a=>(0,d.jsx)(F,{providerId:a.id,provider:a,stats:A(a.id,"apikey"),authType:"compatible",onToggle:b=>C(a.id,"apikey",b)},a.id))})}),I.length>0&&(0,d.jsx)(g.wn,{title:"OAuth Providers",actions:(0,d.jsx)(s,{}),children:(0,d.jsx)(g.pV,{children:I.map(([a,b])=>{let c=H(b,a);return(0,d.jsx)(E,{providerId:a,provider:b,stats:A(a,c),authType:"oauth",onToggle:b=>C(a,c,b)},a)})})}),(J.length>0||K.length>0)&&(0,d.jsx)(g.wn,{title:"Free Tier Providers",children:(0,d.jsxs)(g.pV,{children:[J.map(([a,b])=>{let c=H(b,a);return(0,d.jsx)(E,{providerId:a,provider:b,stats:A(a,c),authType:"free",onToggle:b=>C(a,c,b)},a)}),K.map(([a,b])=>{let c=H(b,a);return(0,d.jsx)(F,{providerId:a,provider:b,stats:A(a,c),authType:Array.isArray(c)?c[0]??"apikey":c,onToggle:b=>C(a,c,b)},a)})]})})]}),(0,d.jsx)(y,{variant:"openai",isOpen:r,onClose:()=>t(!1),onCreated:a=>{m(b=>[...b,a]),t(!1)}}),(0,d.jsx)(y,{variant:"anthropic",isOpen:u,onClose:()=>v(!1),onCreated:a=>{m(b=>[...b,a]),v(!1)}})]})}function C(a){if(a)return a.length>7?a:`${a}15`}function D(){return(0,d.jsx)(m.E,{variant:"default",children:(0,d.jsxs)("span",{className:"flex items-center gap-1",children:[(0,d.jsx)(e.default,{name:"pause_circle",className:"text-[12px]"}),"Disabled"]})})}function E({providerId:a,provider:b,stats:c,authType:e,onToggle:f}){let{connected:g,error:i,errorCode:j,errorTime:k,allDisabled:n}=c,o=!!b.noAuth;return(0,d.jsx)(l.default,{href:`/dashboard/providers/${a}`,title:b.name,iconBg:C(b.color),dimmed:n,icon:(0,d.jsx)(h.A,{src:`/providers/${b.id}.png`,alt:b.name,size:30,className:"max-h-[30px] max-w-[30px] rounded-lg object-contain",fallbackText:b.textIcon||b.id.slice(0,2).toUpperCase(),fallbackColor:b.color}),meta:!k||n||o?void 0:k,toggle:c.total>0?{checked:!n,enabledLabel:"Enable provider",disabledLabel:"Disable provider",onToggle:a=>f(a)}:void 0,children:n?(0,d.jsx)(D,{}):o?(0,d.jsxs)(m.E,{variant:"default",children:[(0,d.jsx)("span",{className:"size-1.5 rounded-full bg-green-500"}),"Ready"]}):A(g,i,j)})}function F({providerId:a,provider:b,stats:c,authType:e,onToggle:f}){let{connected:g,error:j,errorCode:n,errorTime:o,allDisabled:p}=c,q=a.startsWith(k.JH),r=a.startsWith(k.DI),s=q?(0,d.jsx)(m.E,{variant:"default",children:"responses"===b.apiType?"Responses":"Chat"}):r?(0,d.jsx)(m.E,{variant:"default",children:"Messages"}):null;return(0,d.jsx)(l.default,{href:`/dashboard/providers/${a}`,title:b.name,iconBg:C(b.color),dimmed:p,icon:(0,d.jsx)(h.A,{src:(()=>{if(b.iconId){let a=(0,i.HY)(b.iconId);if(a)return a}return q?"/providers/openai.png":r?"/providers/anthropic.png":(0,i.HY)(b.id)})(),alt:b.name,size:30,className:"max-h-[30px] max-w-[30px] rounded-lg object-contain",fallbackText:(0,i.IM)(b.name)||b.textIcon||b.id.slice(0,2).toUpperCase(),fallbackColor:b.color}),meta:o&&!p?o:void 0,toggle:c.total>0?{checked:!p,enabledLabel:"Enable provider",disabledLabel:"Disable provider",onToggle:a=>f(a)}:void 0,children:p?(0,d.jsx)(D,{}):(0,d.jsxs)(d.Fragment,{children:[A(g,j,n),s]})})}},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},57075:a=>{"use strict";a.exports=require("node:stream")},57975:a=>{"use strict";a.exports=require("node:util")},62065:(a,b,c)=>{Promise.resolve().then(c.bind(c,11588))},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},71622:a=>{"use strict";a.exports=import("open")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},73496:a=>{"use strict";a.exports=require("http2")},74075:a=>{"use strict";a.exports=require("zlib")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78474:a=>{"use strict";a.exports=require("node:events")},79551:a=>{"use strict";a.exports=require("url")},79646:a=>{"use strict";a.exports=require("child_process")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81630:a=>{"use strict";a.exports=require("http")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},87997:a=>{"use strict";a.exports=require("node:timers")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[1316,1238,7963,8569,7257,6009,9817,7535,7816,7156,2339,6461,4301,1289,9018,2801],()=>b(b.s=39778));module.exports=c})();
|