@hilbras/omnihilbras 2.9.17 → 2.9.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/.next-cli-build/BUILD_ID +1 -1
- package/app/.next-cli-build/app-path-routes-manifest.json +26 -25
- package/app/.next-cli-build/build-manifest.json +3 -3
- package/app/.next-cli-build/prerender-manifest.json +1 -1
- package/app/.next-cli-build/react-loadable-manifest.json +1 -1
- package/app/.next-cli-build/routes-manifest.json +6 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/observability/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/observability/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/workspaces/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/workspaces/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_global-error/page.js +2 -2
- package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_global-error.html +1 -1
- package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
- package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_not-found.html +1 -1
- package/app/.next-cli-build/server/app/_not-found.rsc +3 -3
- package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
- package/app/.next-cli-build/server/app/api/health/route.js +1 -1
- package/app/.next-cli-build/server/app/api/init/route.js +1 -1
- package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
- package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +2 -2
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +2 -2
- package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/chat/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/test-batch/route.js +2 -2
- package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js +2 -2
- package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/observability/export/route.js +1 -1
- package/app/.next-cli-build/server/app/api/observability/log/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/observability/logs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/observability/settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/observability/stats/route.js +1 -1
- package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/refresh/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/web-session/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
- package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
- package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js +2 -2
- package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
- package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
- package/app/.next-cli-build/server/app/api/skills/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/skills/install/route.js +1 -1
- package/app/.next-cli-build/server/app/api/skills/mine/route.js +1 -1
- package/app/.next-cli-build/server/app/api/skills/route.js +1 -1
- package/app/.next-cli-build/server/app/api/token-saver/stats/route.js +1 -0
- package/app/.next-cli-build/server/app/api/token-saver/stats/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/token-saver/stats/route_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
- package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/rate-limit/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/version/route.js +1 -1
- package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
- package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
- package/app/.next-cli-build/server/app/api/workspaces/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/workspaces/route.js +1 -1
- package/app/.next-cli-build/server/app/callback/page.js +1 -1
- package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/callback.html +1 -1
- package/app/.next-cli-build/server/app/callback.rsc +3 -3
- package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/basic-chat.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/cli-tools.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/combos.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/combos.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/endpoint.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/mitm.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/mitm.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/observability.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/observability.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/observability.segments/!KGRhc2hib2FyZCk/dashboard/observability/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/observability.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/observability.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/profile.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/profile.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers/new.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/pxpipe.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/quota.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/settings/workspaces.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/settings/workspaces.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/settings/workspaces.segments/!KGRhc2hib2FyZCk/dashboard/settings/workspaces/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/settings/workspaces.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/settings/workspaces.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/skills.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/token-saver.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/translator.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/translator.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/usage.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard.html +2 -2
- package/app/.next-cli-build/server/app/dashboard.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
- package/app/.next-cli-build/server/app/index.html +1 -1
- package/app/.next-cli-build/server/app/index.rsc +3 -3
- package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/landing/page.js +2 -2
- package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/landing.html +1 -1
- package/app/.next-cli-build/server/app/landing.rsc +3 -3
- package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/login/page.js +1 -1
- package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/login.html +1 -1
- package/app/.next-cli-build/server/app/login.rsc +3 -3
- package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
- package/app/.next-cli-build/server/app/page.js +1 -1
- package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app-paths-manifest.json +26 -25
- package/app/.next-cli-build/server/chunks/2220.js +1 -1
- package/app/.next-cli-build/server/chunks/2617.js +1 -1
- package/app/.next-cli-build/server/chunks/3449.js +1 -1
- package/app/.next-cli-build/server/chunks/412.js +1 -1
- package/app/.next-cli-build/server/chunks/436.js +1 -1
- package/app/.next-cli-build/server/chunks/5961.js +1 -1
- package/app/.next-cli-build/server/chunks/6500.js +1 -1
- package/app/.next-cli-build/server/chunks/6651.js +1 -1
- package/app/.next-cli-build/server/chunks/6708.js +1 -1
- package/app/.next-cli-build/server/chunks/6717.js +4 -4
- package/app/.next-cli-build/server/chunks/6723.js +1 -1
- package/app/.next-cli-build/server/chunks/7121.js +1 -1
- package/app/.next-cli-build/server/chunks/7803.js +1 -1
- package/app/.next-cli-build/server/chunks/7955.js +1 -1
- package/app/.next-cli-build/server/chunks/7995.js +3 -3
- package/app/.next-cli-build/server/chunks/820.js +1 -1
- package/app/.next-cli-build/server/chunks/8287.js +1 -1
- package/app/.next-cli-build/server/chunks/8525.js +1 -1
- package/app/.next-cli-build/server/chunks/8895.js +8 -8
- package/app/.next-cli-build/server/chunks/8932.js +3 -3
- package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
- package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
- package/app/.next-cli-build/server/middleware.js +5 -5
- package/app/.next-cli-build/server/pages/404.html +1 -1
- package/app/.next-cli-build/server/pages/500.html +1 -1
- package/app/.next-cli-build/static/9kVgf54H8v8zuxRTWW3ii/_buildManifest.js +1 -0
- package/app/.next-cli-build/static/chunks/{2723-980ec665a3b2b3c8.js → 2723-ec17a63c7dc8f8a1.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/page-586a8a6d92e35094.js +1 -0
- package/app/.next-cli-build/static/chunks/app/_global-error/{page-71c46ee5f58adc36.js → page-42d07bf3f8296a6b.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/login/{route-71c46ee5f58adc36.js → route-42d07bf3f8296a6b.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/logout/{route-71c46ee5f58adc36.js → route-42d07bf3f8296a6b.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/{route-71c46ee5f58adc36.js → route-42d07bf3f8296a6b.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/status/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-profiles/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/combos/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/health/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/init/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/keys/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/locale/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/alias/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/chat/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/custom/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/test/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/test-batch/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/observability/export/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/observability/log/[id]/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/observability/logs/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/observability/settings/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/observability/stats/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pricing/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/refresh/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/client/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/web-session/[id]/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/netlify-deploy/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/settings/database/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/settings/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/shutdown/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/skills/[id]/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/skills/install/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/skills/mine/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/skills/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/token-saver/stats/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/load/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/save/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/send/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/rate-limit/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/models/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/search/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/version/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/version/update/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/workspaces/[id]/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/workspaces/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/app/page-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-42d07bf3f8296a6b.js +1 -0
- package/app/.next-cli-build/static/chunks/{webpack-315c670ea50ab5f5.js → webpack-63a1ee96e77f5614.js} +1 -1
- package/app/.next-cli-build/static/css/64ed2322a01084a6.css +1 -0
- package/app/package.json +1 -1
- package/package.json +1 -1
- package/app/.next-cli-build/static/T_fU1zddh_BOaSHScvc4v/_buildManifest.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/page-b2441cbfb9cb0ea2.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/status/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-profiles/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/combos/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/health/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/init/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/keys/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/locale/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/alias/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/chat/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/custom/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/test/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/test-batch/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/observability/export/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/observability/log/[id]/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/observability/logs/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/observability/settings/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/observability/stats/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pricing/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/refresh/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/client/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/web-session/[id]/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/netlify-deploy/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/settings/database/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/settings/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/shutdown/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/skills/[id]/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/skills/install/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/skills/mine/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/skills/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/translator/load/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/translator/save/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/translator/send/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/rate-limit/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/models/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/search/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/version/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/version/update/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/workspaces/[id]/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/workspaces/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/app/page-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-71c46ee5f58adc36.js +0 -1
- package/app/.next-cli-build/static/css/9f8aedd7a6be48de.css +0 -1
- /package/app/.next-cli-build/static/{T_fU1zddh_BOaSHScvc4v → 9kVgf54H8v8zuxRTWW3ii}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=6996,a.ids=[6996],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},643:a=>{a.exports=require("node:perf_hooks")},1708:a=>{a.exports=require("node:process")},1932:a=>{a.exports=require("url")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{a.exports=require("node:buffer")},7066:a=>{a.exports=require("node:tty")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{a.exports=require("dns")},16698:a=>{a.exports=require("node:async_hooks")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{a.exports=require("os")},26915:a=>{a.exports=import("playwright-core")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},30714:a=>{a.exports=require("node:vm")},31421:a=>{a.exports=require("node:child_process")},32467:a=>{a.exports=require("node:http2")},33873:a=>{a.exports=require("path")},34589:a=>{a.exports=require("node:assert")},37067:a=>{a.exports=require("node:http")},37540:a=>{a.exports=require("node:console")},38522:a=>{a.exports=require("node:zlib")},40610:a=>{a.exports=require("node:dns")},41692:a=>{a.exports=require("node:tls")},41792:a=>{a.exports=require("node:querystring")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46293:a=>{a.exports=require("sql.js")},48161:a=>{a.exports=require("node:os")},51455:a=>{a.exports=require("node:fs/promises")},53053:a=>{a.exports=require("node:diagnostics_channel")},54648:(a,b,c)=>{c.r(b),c.d(b,{OPTIONS:()=>e,POST:()=>f});var d=c(66581);async function e(){return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"POST, OPTIONS","Access-Control-Allow-Headers":"*"}})}async function f(a){return await (0,d.g)(a,"generations")}},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},57075:a=>{a.exports=require("node:stream")},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{a.exports=require("node:dns/promises")},71622:a=>{a.exports=import("open")},72271:a=>{a.exports=require("@aws-sdk/credential-providers")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},73429:a=>{a.exports=require("node:util/types")},73496:a=>{a.exports=require("http2")},74075:a=>{a.exports=require("zlib")},75919:a=>{a.exports=require("node:worker_threads")},76760:a=>{a.exports=require("node:path")},77030:a=>{a.exports=require("node:net")},77598:a=>{a.exports=require("node:crypto")},78474:a=>{a.exports=require("node:events")},79646:a=>{a.exports=require("child_process")},79868:a=>{a.exports=require("node:sqlite")},81630:a=>{a.exports=require("http")},81787:a=>{a.exports=require("bun:sqlite")},82382:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/v1/videos/generations/route",pathname:"/api/v1/videos/generations",filename:"route",bundlePath:"app/api/v1/videos/generations/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/gin/work/Hilbras/OmniHilbras/src/app/api/v1/videos/generations/route.js",nextConfigOutput:"standalone",userland:()=>c(54648),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/v1/videos/generations/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:w,deploymentId:x,params:y,nextConfig:z,parsedUrl:A,isDraftMode:B,prerenderManifest:C,routerServerContext:D,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,resolvedPathname:G,clientReferenceManifest:H,serverActionsManifest:I,previewProps:J}=f,K=(0,j.normalizeAppPath)(d),L=!!C.routes[G]&&(v.isDev||(0,t.isRouteCacheOwner)(G,v.cacheOwner,C.routes[G])),M=!!(C.dynamicRoutes[K]||L),N=async()=>((null==D?void 0:D.render404)?await D.render404(a,b,A,!1):b.end("This page could not be found"),null);if(M&&!B){let a=C.dynamicRoutes[K];if(a&&!1===a.fallback&&!L){if(z.adapterPath)return await N();throw new s.NoFallbackError}}let O=null;!M||v.isDev||B||(O="/index"===(O=G)?"/":O),I&&H&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:H,serverActionsManifest:I});let P=a.method||"GET",Q=(0,h.getTracer)(),R=Q.getActiveScopeSpan(),S=!!(null==D?void 0:D.isWrappedByNextServer),T=!!(0,g.getRequestMeta)(a,"minimalMode"),U=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,z,J,C,T);null==U||U.resetRequestCache(),globalThis.__incrementalCache=U;let V={params:y,previewProps:J,renderOpts:{experimental:{authInterrupts:!!z.experimental.authInterrupts,useCacheTimeout:z.experimental.useCacheTimeout,durableUseCacheEntries:!!z.experimental.durableUseCacheEntries},cacheComponents:!!z.cacheComponents,validationLevel:z.experimental.instantInsights.validationLevel,isDraftMode:B,incrementalCache:U,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:z.cacheLife,staticPageGenerationTimeout:z.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:w,deploymentId:x}},W=new k.NodeNextRequest(a),X=new k.NodeNextResponse(b),Y=l.NextRequestAdapter.fromNodeNextRequest(W,(0,l.signalFromNodeResponse)(b)),Z=async({previousCacheEntry:e})=>{try{if(!T&&E&&F&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===O?await v.handle(Y,V):await v.prerender(Y,V);a.fetchMetrics=V.renderOpts.fetchMetrics;let f=V.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=V.renderOpts.collectedTags;if(!M)return await (0,o.I)(W,X,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,e=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?z.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),b}},$=async(d,f)=>{try{var g,i;let d=await v.handleResponse({req:a,nextConfig:z,cacheKey:O,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:J,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,responseGenerator:Z,waitUntil:c.waitUntil,isMinimalMode:T});if(null!==d&&"error"in d)throw d.error;if(!M)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`);T||b.setHeader("x-nextjs-cache",E?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),B&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);T&&M||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(W,X,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:K,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),M)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(W,X,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=Q.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||K,g=`${P} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(S&&R)await $(R,void 0);else{let b=Q.getActiveScopeSpan();await Q.withPropagatedContext(a.headers,()=>Q.trace(m.BaseServerSpan.handleRequest,{spanName:`${P} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":P,"http.target":a.url}},a=>$(a,b)),void 0,!S)}}},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},87997:a=>{a.exports=require("node:timers")},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1813,2391,8292,4293,6717,3750,6070,436,3943,6723,7073,8401,7828,238,6503],()=>b(b.s=82382));module.exports=c})();
|
|
1
|
+
"use strict";(()=>{var a={};a.id=6996,a.ids=[6996],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},643:a=>{a.exports=require("node:perf_hooks")},1708:a=>{a.exports=require("node:process")},1932:a=>{a.exports=require("url")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{a.exports=require("node:buffer")},7066:a=>{a.exports=require("node:tty")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{a.exports=require("dns")},16698:a=>{a.exports=require("node:async_hooks")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{a.exports=require("os")},26915:a=>{a.exports=import("playwright-core")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},30714:a=>{a.exports=require("node:vm")},31421:a=>{a.exports=require("node:child_process")},32467:a=>{a.exports=require("node:http2")},33873:a=>{a.exports=require("path")},34589:a=>{a.exports=require("node:assert")},37067:a=>{a.exports=require("node:http")},37540:a=>{a.exports=require("node:console")},38522:a=>{a.exports=require("node:zlib")},40610:a=>{a.exports=require("node:dns")},41692:a=>{a.exports=require("node:tls")},41792:a=>{a.exports=require("node:querystring")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46293:a=>{a.exports=require("sql.js")},48161:a=>{a.exports=require("node:os")},51455:a=>{a.exports=require("node:fs/promises")},53053:a=>{a.exports=require("node:diagnostics_channel")},54648:(a,b,c)=>{c.r(b),c.d(b,{OPTIONS:()=>e,POST:()=>f});var d=c(66581);async function e(){return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"POST, OPTIONS","Access-Control-Allow-Headers":"*"}})}async function f(a){return await (0,d.g)(a,"generations")}},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},57075:a=>{a.exports=require("node:stream")},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{a.exports=require("node:dns/promises")},71622:a=>{a.exports=import("open")},72271:a=>{a.exports=require("@aws-sdk/credential-providers")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},73429:a=>{a.exports=require("node:util/types")},73496:a=>{a.exports=require("http2")},74075:a=>{a.exports=require("zlib")},74825:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/v1/videos/generations/route",pathname:"/api/v1/videos/generations",filename:"route",bundlePath:"app/api/v1/videos/generations/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/gin/work/Hilbras/OmniHilbras/src/app/api/v1/videos/generations/route.js",nextConfigOutput:"standalone",userland:()=>c(54648),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/v1/videos/generations/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:w,deploymentId:x,params:y,nextConfig:z,parsedUrl:A,isDraftMode:B,prerenderManifest:C,routerServerContext:D,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,resolvedPathname:G,clientReferenceManifest:H,serverActionsManifest:I,previewProps:J}=f,K=(0,j.normalizeAppPath)(d),L=!!C.routes[G]&&(v.isDev||(0,t.isRouteCacheOwner)(G,v.cacheOwner,C.routes[G])),M=!!(C.dynamicRoutes[K]||L),N=async()=>((null==D?void 0:D.render404)?await D.render404(a,b,A,!1):b.end("This page could not be found"),null);if(M&&!B){let a=C.dynamicRoutes[K];if(a&&!1===a.fallback&&!L){if(z.adapterPath)return await N();throw new s.NoFallbackError}}let O=null;!M||v.isDev||B||(O="/index"===(O=G)?"/":O),I&&H&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:H,serverActionsManifest:I});let P=a.method||"GET",Q=(0,h.getTracer)(),R=Q.getActiveScopeSpan(),S=!!(null==D?void 0:D.isWrappedByNextServer),T=!!(0,g.getRequestMeta)(a,"minimalMode"),U=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,z,J,C,T);null==U||U.resetRequestCache(),globalThis.__incrementalCache=U;let V={params:y,previewProps:J,renderOpts:{experimental:{authInterrupts:!!z.experimental.authInterrupts,useCacheTimeout:z.experimental.useCacheTimeout,durableUseCacheEntries:!!z.experimental.durableUseCacheEntries},cacheComponents:!!z.cacheComponents,validationLevel:z.experimental.instantInsights.validationLevel,isDraftMode:B,incrementalCache:U,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:z.cacheLife,staticPageGenerationTimeout:z.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:w,deploymentId:x}},W=new k.NodeNextRequest(a),X=new k.NodeNextResponse(b),Y=l.NextRequestAdapter.fromNodeNextRequest(W,(0,l.signalFromNodeResponse)(b)),Z=async({previousCacheEntry:e})=>{try{if(!T&&E&&F&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===O?await v.handle(Y,V):await v.prerender(Y,V);a.fetchMetrics=V.renderOpts.fetchMetrics;let f=V.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=V.renderOpts.collectedTags;if(!M)return await (0,o.I)(W,X,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,e=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?z.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),b}},$=async(d,f)=>{try{var g,i;let d=await v.handleResponse({req:a,nextConfig:z,cacheKey:O,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:J,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,responseGenerator:Z,waitUntil:c.waitUntil,isMinimalMode:T});if(null!==d&&"error"in d)throw d.error;if(!M)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`);T||b.setHeader("x-nextjs-cache",E?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),B&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);T&&M||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(W,X,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:K,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),M)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(W,X,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=Q.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||K,g=`${P} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(S&&R)await $(R,void 0);else{let b=Q.getActiveScopeSpan();await Q.withPropagatedContext(a.headers,()=>Q.trace(m.BaseServerSpan.handleRequest,{spanName:`${P} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":P,"http.target":a.url}},a=>$(a,b)),void 0,!S)}}},75919:a=>{a.exports=require("node:worker_threads")},76760:a=>{a.exports=require("node:path")},77030:a=>{a.exports=require("node:net")},77598:a=>{a.exports=require("node:crypto")},78474:a=>{a.exports=require("node:events")},79646:a=>{a.exports=require("child_process")},79868:a=>{a.exports=require("node:sqlite")},81630:a=>{a.exports=require("http")},81787:a=>{a.exports=require("bun:sqlite")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},87997:a=>{a.exports=require("node:timers")},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1813,2391,8292,4293,6717,3750,6070,436,3943,6723,7073,8401,7828,238,6503],()=>b(b.s=74825));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=3883,a.ids=[615,3883],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},643:a=>{a.exports=require("node:perf_hooks")},1708:a=>{a.exports=require("node:process")},1932:a=>{a.exports=require("url")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{a.exports=require("node:buffer")},7066:a=>{a.exports=require("node:tty")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{a.exports=require("dns")},16698:a=>{a.exports=require("node:async_hooks")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{a.exports=require("os")},26915:a=>{a.exports=import("playwright-core")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},30714:a=>{a.exports=require("node:vm")},31421:a=>{a.exports=require("node:child_process")},32467:a=>{a.exports=require("node:http2")},33873:a=>{a.exports=require("path")},34589:a=>{a.exports=require("node:assert")},35842:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/v1/web/fetch/route",pathname:"/api/v1/web/fetch",filename:"route",bundlePath:"app/api/v1/web/fetch/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/gin/work/Hilbras/OmniHilbras/src/app/api/v1/web/fetch/route.js",nextConfigOutput:"standalone",userland:()=>c(52408),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/v1/web/fetch/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:w,deploymentId:x,params:y,nextConfig:z,parsedUrl:A,isDraftMode:B,prerenderManifest:C,routerServerContext:D,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,resolvedPathname:G,clientReferenceManifest:H,serverActionsManifest:I,previewProps:J}=f,K=(0,j.normalizeAppPath)(d),L=!!C.routes[G]&&(v.isDev||(0,t.isRouteCacheOwner)(G,v.cacheOwner,C.routes[G])),M=!!(C.dynamicRoutes[K]||L),N=async()=>((null==D?void 0:D.render404)?await D.render404(a,b,A,!1):b.end("This page could not be found"),null);if(M&&!B){let a=C.dynamicRoutes[K];if(a&&!1===a.fallback&&!L){if(z.adapterPath)return await N();throw new s.NoFallbackError}}let O=null;!M||v.isDev||B||(O="/index"===(O=G)?"/":O),I&&H&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:H,serverActionsManifest:I});let P=a.method||"GET",Q=(0,h.getTracer)(),R=Q.getActiveScopeSpan(),S=!!(null==D?void 0:D.isWrappedByNextServer),T=!!(0,g.getRequestMeta)(a,"minimalMode"),U=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,z,J,C,T);null==U||U.resetRequestCache(),globalThis.__incrementalCache=U;let V={params:y,previewProps:J,renderOpts:{experimental:{authInterrupts:!!z.experimental.authInterrupts,useCacheTimeout:z.experimental.useCacheTimeout,durableUseCacheEntries:!!z.experimental.durableUseCacheEntries},cacheComponents:!!z.cacheComponents,validationLevel:z.experimental.instantInsights.validationLevel,isDraftMode:B,incrementalCache:U,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:z.cacheLife,staticPageGenerationTimeout:z.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:w,deploymentId:x}},W=new k.NodeNextRequest(a),X=new k.NodeNextResponse(b),Y=l.NextRequestAdapter.fromNodeNextRequest(W,(0,l.signalFromNodeResponse)(b)),Z=async({previousCacheEntry:e})=>{try{if(!T&&E&&F&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===O?await v.handle(Y,V):await v.prerender(Y,V);a.fetchMetrics=V.renderOpts.fetchMetrics;let f=V.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=V.renderOpts.collectedTags;if(!M)return await (0,o.I)(W,X,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,e=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?z.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),b}},$=async(d,f)=>{try{var g,i;let d=await v.handleResponse({req:a,nextConfig:z,cacheKey:O,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:J,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,responseGenerator:Z,waitUntil:c.waitUntil,isMinimalMode:T});if(null!==d&&"error"in d)throw d.error;if(!M)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`);T||b.setHeader("x-nextjs-cache",E?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),B&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);T&&M||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(W,X,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:K,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),M)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(W,X,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=Q.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||K,g=`${P} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(S&&R)await $(R,void 0);else{let b=Q.getActiveScopeSpan();await Q.withPropagatedContext(a.headers,()=>Q.trace(m.BaseServerSpan.handleRequest,{spanName:`${P} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":P,"http.target":a.url}},a=>$(a,b)),void 0,!S)}}},37067:a=>{a.exports=require("node:http")},37540:a=>{a.exports=require("node:console")},38522:a=>{a.exports=require("node:zlib")},40610:a=>{a.exports=require("node:dns")},40615:(a,b,c)=>{c.d(b,{AI_PROVIDERS:()=>t,js:()=>x,DI:()=>o,fg:()=>k,Pd:()=>p,IS:()=>h,nJ:()=>i,zN:()=>j,JH:()=>n,jO:()=>z,wb:()=>y,br:()=>l,mh:()=>m,wG:()=>w,zt:()=>u,gb:()=>r,gC:()=>s,mq:()=>q,rs:()=>v});var d=c(23750);let e="⚠️ Risk Notice: This provider uses a subscription/OAuth session not officially licensed for proxy/router use. Account may be restricted or banned. Use at your own risk.";Object.fromEntries(d.A.filter(a=>a.display).map(a=>{let b;return[a.id,"RISK_NOTICE"===(b=a.display).deprecationNotice?{...b,deprecationNotice:e}:b]}));let f=["serviceKinds","ttsConfig","sttConfig","embeddingConfig","imageConfig","imageToTextConfig","videoConfig","musicConfig","searchViaChat","searchConfig","fetchConfig","credentialFallback","systemoneConfig","modelsFetcher","mediaPriority","hiddenKinds"],g=a=>Object.fromEntries(d.A.filter(b=>b.category===a).map(a=>[a.id,function(a){let b={};for(let c of(a.media&&Object.assign(b,a.media),f))void 0!==a[c]&&(b[c]=a[c]);let c={...a.display||{}};return"RISK_NOTICE"===c.deprecationNotice&&(c.deprecationNotice=e),{...c,id:a.id,alias:a.uiAlias||a.alias,...a.hidden?{hidden:!0}:{},...b,...void 0!==a.priority?{priority:a.priority}:{},...a.hasFree?{hasFree:!0}:{},...a.thinkingConfig?{thinkingConfig:a.thinkingConfig}:{},...a.regions?{regions:a.regions,defaultRegion:a.defaultRegion}:{},...a.hasProviderSpecificData?{hasProviderSpecificData:!0}:{},...a.noAuth?{noAuth:!0}:{},...a.passthroughModels?{passthroughModels:!0}:{},...a.hasOAuth?{hasOAuth:!0}:{},...a.authModes?{authModes:a.authModes}:{},...a.authType?{authType:a.authType}:{},...a.authHint?{authHint:a.authHint}:{},...a.apiKeyOptionalWith?{apiKeyOptionalWith:a.apiKeyOptionalWith}:{},...a.credentialForm?{credentialForm:a.credentialForm}:{}}}(a)])),h=g("free"),i=g("freeTier"),j=g("oauth"),k=g("apikey"),l=g("webCookie"),m=g("webCookieSession"),n="openai-compatible-",o="anthropic-compatible-",p="custom-embedding-";function q(a){return"string"==typeof a&&a.startsWith(n)}function r(a){return"string"==typeof a&&a.startsWith(o)}function s(a){return"string"==typeof a&&a.startsWith(p)}let t={...h,...i,...j,...k,...l,...m};function u(a){for(let b of Object.values(t))if(b.alias===a||b.id===a)return b;return null}function v(a){let b=u(a);return b?.id||a}function w(a){let b=t[a];return b?.alias||a}let x=Object.values(t).reduce((a,b)=>(a[b.alias]=b.id,a),{}),y=d.A.filter(a=>a.features?.usage).map(a=>a.id),z=d.A.filter(a=>a.features?.usageApikey).map(a=>a.id)},41692:a=>{a.exports=require("node:tls")},41792:a=>{a.exports=require("node:querystring")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46293:a=>{a.exports=require("sql.js")},48161:a=>{a.exports=require("node:os")},51455:a=>{a.exports=require("node:fs/promises")},52408:(a,b,c)=>{c.r(b),c.d(b,{OPTIONS:()=>D,POST:()=>E});var d=c(80238),e=c(89718),f=c(40615);async function g(a,b,c){let d=new AbortController,e=setTimeout(()=>d.abort(),c);try{let c=await fetch(a,{...b,headers:function(a){if(!a)return a;let b={};for(let[c,d]of Object.entries(a))b[c]="string"==typeof d?d.replace(/[^\x00-\xFF]/g,"").trim():d;return b}(b.headers),signal:d.signal});return{ok:!0,res:c}}catch(b){let a=b?.name==="AbortError";return{ok:!1,timeout:a,error:b?.message||String(b)}}finally{clearTimeout(e)}}function h(a,b){return a&&"string"==typeof a?!b||b<=0?a:a.length>b?a.slice(0,b):a:a||""}function i({provider:a,url:b,title:c,format:d,text:e,links:f,costUsd:g,responseMs:h,upstreamMs:j}){let k={provider:a,url:b,title:c||null,content:{format:d,text:e||"",length:(e||"").length},metadata:{author:null,published_at:null,language:null},usage:{fetch_cost_usd:g??null},metrics:{response_time_ms:h,upstream_latency_ms:j}};return Array.isArray(f)&&(k.links=f),k}async function j(a){if((a.headers.get("content-type")||"").includes("application/json"))try{return{json:await a.json()}}catch{return{text:""}}return{text:await a.text()}}async function k({url:a,format:b,maxCharacters:c,provider:d,providerConfig:e,credentials:f,log:g}){if(!a||"string"!=typeof a)return{success:!1,status:400,error:"url is required"};if(!d)return{success:!1,status:400,error:"provider is required"};let h=b||"markdown",i=e?.timeoutMs||15e3,j=f?.apiKey||f?.key||f?.token||"",r=e?.costPerQuery??null,s=Date.now();try{if("firecrawl"===d)return await m({url:a,fmt:h,timeoutMs:i,apiKey:j,maxCharacters:c,costPerQuery:r,startedAt:s});if("jina-reader"===d)return await n({url:a,fmt:h,timeoutMs:i,apiKey:j,maxCharacters:c,costPerQuery:r,startedAt:s});if("tavily"===d)return await o({url:a,fmt:h,timeoutMs:i,apiKey:j,maxCharacters:c,costPerQuery:r,startedAt:s});if("exa"===d)return await p({url:a,fmt:h,timeoutMs:i,apiKey:j,maxCharacters:c,costPerQuery:r,startedAt:s});if("ollama"===d)return await q({url:a,fmt:h,timeoutMs:i,apiKey:j,maxCharacters:c,costPerQuery:r,startedAt:s,baseUrl:e?.baseUrl});if("tinyfish"===d)return await l({url:a,fmt:h,timeoutMs:i,apiKey:j,maxCharacters:c,costPerQuery:r,startedAt:s,baseUrl:e?.baseUrl});return{success:!1,status:400,error:`Unsupported provider: ${d}`}}catch(a){return g?.("fetch handler error:",a?.message||a),{success:!1,status:502,error:a?.message||"Internal fetch error"}}}async function l({url:a,fmt:b,timeoutMs:c,apiKey:d,maxCharacters:e,costPerQuery:f,startedAt:k,baseUrl:m}){if(!["markdown","html"].includes(b))return{success:!1,status:400,error:`Unsupported TinyFish format: ${b}`};let n=Date.now(),o=await g(m,{method:"POST",headers:{"content-type":"application/json","X-API-Key":d},body:JSON.stringify({urls:[a],format:b})},c);if(!o.ok)return{success:!1,status:o.timeout?504:502,error:o.error};let p=Date.now()-n,{json:q}=await j(o.res);if(!o.res.ok)return{success:!1,status:o.res.status,error:q?.error?.message||`TinyFish error: ${o.res.status}`};let r=q?.errors?.[0];if(r)return{success:!1,status:r.status||502,error:`TinyFish fetch failed: ${r.error||"unknown error"}`};let s=q?.results?.[0];if(!s||"string"!=typeof s.text)return{success:!1,status:502,error:"TinyFish returned no extractable content"};let t=h(s.text,e);return{success:!0,data:{...i({provider:"tinyfish",url:a,title:s.title,format:b,text:t,links:s.links,costUsd:f,responseMs:Date.now()-k,upstreamMs:p}),metadata:{author:s.author||null,published_at:s.published_date||null,language:s.language||null}}}}async function m({url:a,fmt:b,timeoutMs:c,apiKey:d,maxCharacters:e,costPerQuery:f,startedAt:k}){let l=Date.now(),n=await g("https://api.firecrawl.dev/v1/scrape",{method:"POST",headers:{"content-type":"application/json",...d?{authorization:`Bearer ${d}`}:{}},body:JSON.stringify({url:a,formats:[b]})},c);if(!n.ok)return{success:!1,status:n.timeout?504:502,error:n.error};let o=Date.now()-l,{json:p}=await j(n.res);if(!n.res.ok)return{success:!1,status:n.res.status,error:p?.error||`Firecrawl error: ${n.res.status}`};let q=p?.data||{},r=h(q.markdown||q.html||q.text||"",e);return{success:!0,data:i({provider:"firecrawl",url:a,title:q.metadata?.title||null,format:b,text:r,costUsd:f,responseMs:Date.now()-k,upstreamMs:o})}}async function n({url:a,fmt:b,timeoutMs:c,apiKey:d,maxCharacters:e,costPerQuery:f,startedAt:j}){let k=Date.now(),l=await g("https://r.jina.ai/",{method:"POST",headers:{"content-type":"application/json",...d?{authorization:`Bearer ${d}`}:{}},body:JSON.stringify({url:a})},c);if(!l.ok)return{success:!1,status:l.timeout?504:502,error:l.error};let m=Date.now()-k,o=await l.res.text();if(!l.res.ok)return{success:!1,status:l.res.status,error:o?.slice(0,500)||`Jina error: ${l.res.status}`};let p=h(o,e);return{success:!0,data:i({provider:"jina-reader",url:a,title:function(a){let b=String(a||""),c=b.match(/^\s*Title:\s*(.+)$/mi);if(c)return c[1].trim();let d=b.match(/^\s*#\s+(.+)$/m);return d?d[1].trim():null}(o),format:b,text:p,costUsd:f,responseMs:Date.now()-j,upstreamMs:m})}}async function o({url:a,fmt:b,timeoutMs:c,apiKey:d,maxCharacters:e,costPerQuery:f,startedAt:k}){let l=Date.now(),m=await g("https://api.tavily.com/extract",{method:"POST",headers:{"content-type":"application/json",...d?{authorization:`Bearer ${d}`}:{}},body:JSON.stringify({urls:[a],extract_depth:"basic"})},c);if(!m.ok)return{success:!1,status:m.timeout?504:502,error:m.error};let n=Date.now()-l,{json:p}=await j(m.res);return m.res.ok?{success:!0,data:i({provider:"tavily",url:a,title:null,format:b,text:h((p?.results?.[0]||{}).raw_content||"",e),costUsd:f,responseMs:Date.now()-k,upstreamMs:n})}:{success:!1,status:m.res.status,error:p?.error||`Tavily error: ${m.res.status}`}}async function p({url:a,fmt:b,timeoutMs:c,apiKey:d,maxCharacters:e,costPerQuery:f,startedAt:k}){let l=Date.now(),m=await g("https://api.exa.ai/contents",{method:"POST",headers:{"content-type":"application/json",...d?{"x-api-key":d}:{}},body:JSON.stringify({ids:[a],text:!0})},c);if(!m.ok)return{success:!1,status:m.timeout?504:502,error:m.error};let n=Date.now()-l,{json:o}=await j(m.res);if(!m.res.ok)return{success:!1,status:m.res.status,error:o?.error||`Exa error: ${m.res.status}`};let q=o?.results?.[0]||{},r=h(q.text||"",e);return{success:!0,data:i({provider:"exa",url:a,title:q.title||null,format:b,text:r,costUsd:f,responseMs:Date.now()-k,upstreamMs:n})}}async function q({url:a,fmt:b,timeoutMs:c,apiKey:d,maxCharacters:e,costPerQuery:f,startedAt:k,baseUrl:l}){let m=Date.now(),n=await g(l,{method:"POST",headers:{"content-type":"application/json",...d?{authorization:`Bearer ${d}`}:{}},body:JSON.stringify({url:a})},c);if(!n.ok)return{success:!1,status:n.timeout?504:502,error:n.error};let o=Date.now()-m,{json:p,text:r}=await j(n.res);if(!n.res.ok){let a=p?.error||p?.message||r?.slice(0,500)||`Ollama error: ${n.res.status}`;return{success:!1,status:n.res.status,error:a}}if(!p||"string"!=typeof p.content)return{success:!1,status:502,error:"Ollama returned an empty or invalid web fetch response"};let s=h(p.content,e);return{success:!0,data:i({provider:"ollama",url:a,title:p.title||null,format:b,text:s,links:p.links,costUsd:f,responseMs:Date.now()-k,upstreamMs:o})}}var r=c(43659),s=c(41004),t=c(7803),u=c(67828),v=c(18910),w=c(27811),x=c(88556),y=c(68401),z=c(93297);async function A(a){return await (0,y.Gb)(a,b=>B(a,b))}async function B(a,b={}){let c;try{c=await a.json()}catch{return t.warn("FETCH","Invalid JSON body"),(0,r.yj)(s.gx.BAD_REQUEST,"Invalid JSON body")}let f=new URL(a.url),g=c.provider||c.model,h=c.url;c.format,c.max_characters,t.request("POST",`${f.pathname} | ${g}`);let i=(0,d.Tr)(a);i?t.debug("AUTH",`API Key: ${t.maskKey(i)}`):t.debug("AUTH","No API key provided (local mode)");let j=await (0,e.mt)();if(j.requireApiKey){if(!i)return t.warn("AUTH","Missing API key (requireApiKey=true)"),(0,r.yj)(s.gx.UNAUTHORIZED,"Missing API key");if(!await (0,d.kI)(i))return t.warn("AUTH","Invalid API key (requireApiKey=true)"),(0,r.yj)(s.gx.UNAUTHORIZED,"Invalid API key")}if(!g||"string"!=typeof g)return t.warn("FETCH","Missing provider/model"),(0,r.yj)(s.gx.BAD_REQUEST,"Missing required field: provider (or model)");if(!h||"string"!=typeof h)return t.warn("FETCH","Missing url"),(0,r.yj)(s.gx.BAD_REQUEST,"Missing required field: url");try{new URL(h)}catch{return t.warn("FETCH","Invalid URL",{url:h}),(0,r.yj)(s.gx.BAD_REQUEST,"Invalid URL format")}try{await (0,x.hX)(h)}catch(a){return t.warn("FETCH","Blocked URL",{url:h}),(0,r.yj)(s.gx.BAD_REQUEST,a.message)}let k=await (0,e.Uv)(),l=(0,v.Vu)(g,k),m=await (0,w.dR)(await (0,w.TM)(a),g,l);if(m)return m;if(l){let d=j.comboStrategies||{},e=d[g]?.fallbackStrategy||j.comboStrategy||"fallback",f=j.comboStickyRoundRobinLimit;return t.info("FETCH",`Combo "${g}" with ${l.length} providers (strategy: ${e}, sticky: ${f})`),(0,v.Pr)({body:c,models:l,handleSingleModel:(c,d)=>C(c,d,a,i,j,b.fanOutBudget),log:t,comboName:g,comboStrategy:e,comboStickyLimit:f,fanOutBudget:b.fanOutBudget})}return C(c,g,a,i,j,b.fanOutBudget)}async function C(a,b,c,e,g,h=null){let i=a.url,j=a.format,l=a.max_characters,m=(0,f.rs)(b),n=f.AI_PROVIDERS[m];if(!n)return t.warn("FETCH","Unknown provider",{provider:b}),(0,r.yj)(s.gx.BAD_REQUEST,`Unknown provider: ${b}`);let o=n.fetchConfig;if(!o)return t.warn("FETCH","Provider does not support web fetch",{provider:m}),(0,r.yj)(s.gx.BAD_REQUEST,`Provider ${m} does not support web fetch`);if(b!==m?t.info("ROUTING",`${b} → ${m}`):t.info("ROUTING",`Provider: ${m}`),n.noAuth){if(t.info("AUTH",`\x1b[32m${m} no-auth mode\x1b[0m`),!(0,z.consumeFanOutSlot)(h,m))return t.warn("FETCH",`fan-out budget exhausted at ${m}`),(0,z.fanOutLimitResponse)(h);let a=await k({url:i,format:j,maxCharacters:l,provider:n.id,providerConfig:o,credentials:null,log:t});return a.success?new Response(JSON.stringify(a.data),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}}):(0,r.yj)(a.status||s.gx.BAD_GATEWAY,a.error||"Fetch failed")}let p=new Set,q=null,v=null,w=`webfetch:${m}`;for(;;){let a=await (0,d.c1)(m,p,w);if(!a||a.allRateLimited){if(a?.allRateLimited){let b=q||a.lastError||"Unavailable",c=v||Number(a.lastErrorCode)||s.gx.SERVICE_UNAVAILABLE;return t.warn("FETCH",`[${m}] ${b} (${a.retryAfterHuman})`),(0,r.wO)(c,`[${m}] ${b}`,a.retryAfter,a.retryAfterHuman)}if(0===p.size)return t.error("AUTH",`No credentials for provider: ${m}`),(0,r.yj)(s.gx.BAD_REQUEST,`No credentials for provider: ${m}`);return t.warn("FETCH","No more accounts available",{provider:m}),(0,r.yj)(v||s.gx.SERVICE_UNAVAILABLE,q||"All accounts unavailable")}t.info("AUTH",`\x1b[32mUsing ${m} account: ${a.connectionName}\x1b[0m`);let b=await (0,u.checkAndRefreshToken)(m,a);if(!(0,z.consumeFanOutSlot)(h,m))return t.warn("FETCH",`fan-out budget exhausted at ${m}`),(0,z.fanOutLimitResponse)(h);let c=await k({url:i,format:j,maxCharacters:l,provider:n.id,providerConfig:o,credentials:b,log:t,onCredentialsRefreshed:async b=>{await (0,u.vN)(a.connectionId,{accessToken:b.accessToken,refreshToken:b.refreshToken,providerSpecificData:b.providerSpecificData,testStatus:"active"})}});if(c.success)return await (0,d.Pt)(a.connectionId,a,w),new Response(JSON.stringify(c.data),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}});let{shouldFallback:e}=await (0,d.vk)(a.connectionId,c.status,c.error,m,w);if(e){t.warn("AUTH",`Account ${a.connectionName} unavailable (${c.status}), trying fallback`),p.add(a.connectionId),q=c.error,v=c.status;continue}return(0,r.yj)(c.status||s.gx.BAD_GATEWAY,c.error||"Fetch failed")}}async function D(){return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"POST, OPTIONS","Access-Control-Allow-Headers":"*"}})}async function E(a){return await A(a)}},53053:a=>{a.exports=require("node:diagnostics_channel")},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},57075:a=>{a.exports=require("node:stream")},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{a.exports=require("node:dns/promises")},71622:a=>{a.exports=import("open")},72271:a=>{a.exports=require("@aws-sdk/credential-providers")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},73429:a=>{a.exports=require("node:util/types")},73496:a=>{a.exports=require("http2")},74075:a=>{a.exports=require("zlib")},75919:a=>{a.exports=require("node:worker_threads")},76760:a=>{a.exports=require("node:path")},77030:a=>{a.exports=require("node:net")},77598:a=>{a.exports=require("node:crypto")},78474:a=>{a.exports=require("node:events")},79646:a=>{a.exports=require("child_process")},79868:a=>{a.exports=require("node:sqlite")},81630:a=>{a.exports=require("http")},81787:a=>{a.exports=require("bun:sqlite")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},87997:a=>{a.exports=require("node:timers")},88556:(a,b,c)=>{c.d(b,{PA:()=>q,er:()=>s,hX:()=>r});var d=c(40610),e=c.n(d);let f=new Set(["localhost","ip6-localhost","ip6-loopback"]),g=[".internal",".local",".localhost"];function h(a){let b=a.split(".");if(4!==b.length)return null;let c=0;for(let a of b){if(!/^\d{1,3}$/.test(a))return null;let b=Number(a);if(b>255)return null;c=256*c+b}return c>>>0}let i=[[h("0.0.0.0"),8],[h("10.0.0.0"),8],[h("100.64.0.0"),10],[h("127.0.0.0"),8],[h("169.254.0.0"),16],[h("172.16.0.0"),12],[h("192.168.0.0"),16]];function j(a){return i.some(([b,c])=>{let d=0===c?0:0xffffffff<<32-c>>>0;return(a&d)==(b&d)})}function k(a){let b=h(a);return null!==b&&j(b)}function l(a){if(""===a)return[];let b=a.split(":"),c=[];for(let a of b){if(!/^[0-9a-f]{1,4}$/.test(a))return null;c.push(parseInt(a,16))}return c}function m(a){let b,c=a.toLowerCase(),d=c.match(/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})$/),e=null;if(d){let a=h(d[1]);if(null===a)return null;e=[a>>>16&65535,65535&a],(c=c.slice(0,c.length-d[1].length)).endsWith("::")||c.endsWith(":")&&(c=c.slice(0,-1))}let f=c.split("::");if(f.length>2)return null;if(2===f.length){let a=l(f[0]),c=l(f[1]);if(null===a||null===c)return null;let d=e?e.length:0,g=8-a.length-c.length-d;if(g<0)return null;b=[...a,...Array(g).fill(0),...c,...e||[]]}else{let a=l(c);if(null===a)return null;b=[...a,...e||[]]}return 8===b.length?b:null}function n(a){let b=b=>0===a[b];if([0,1,2,3,4,5,6].every(b)&&1===a[7]||a.every(a=>0===a)||(65472&a[0])==65152||(65024&a[0])==64512)return!0;let c=(a[6]<<16|a[7])>>>0;return!!([0,1,2,3,4].every(b)&&65535===a[5]||100===a[0]&&65435===a[1]&&[2,3,4,5].every(b)||[0,1,2,3,4,5].every(b)&&0!==c&&1!==c)&&j(c)}function o(a){return a.toLowerCase().replace(/\.+$/,"")}function p(a){if(f.has(a)||g.some(b=>a.endsWith(b))||k(a))return!0;if(a.includes(":")){let b=m(a.replace(/^\[|\]$/g,""));if(b&&n(b))return!0}return!1}function q(a){if(p(o(new URL(a).hostname)))throw Error("Blocked URL: internal host")}async function r(a){let b,c=o(new URL(a).hostname);if(p(c))throw Error("Blocked URL: internal host");let d=c.replace(/^\[|\]$/g,"");if(!(null!==h(d)||d.includes(":"))){try{b=await e().promises.lookup(c,{all:!0,verbatim:!0})}catch{return}for(let{address:a,family:c}of b)if(4===c?k(a):n(m(a)||[]))throw Error("Blocked URL: hostname resolves to an internal host")}}async function s(a,b={},{maxRedirects:c=5}={}){await r(a);let d=a;for(let a=0;;a++){let e=await fetch(d,{...b,redirect:"manual"}),f=e.status>=300&&e.status<400?e.headers.get("location"):null;if(!f)return e;if(a>=c)throw Error("Blocked URL: too many redirects");let g=new URL(f,d).toString();await r(g),d=g}}},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1813,2391,8292,4293,6717,3750,6070,436,3943,8920,24,6922,6723,7073,8401,7828,238,8910],()=>b(b.s=35842));module.exports=c})();
|
|
1
|
+
"use strict";(()=>{var a={};a.id=3883,a.ids=[615,3883],a.modules={85:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/v1/web/fetch/route",pathname:"/api/v1/web/fetch",filename:"route",bundlePath:"app/api/v1/web/fetch/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/gin/work/Hilbras/OmniHilbras/src/app/api/v1/web/fetch/route.js",nextConfigOutput:"standalone",userland:()=>c(52408),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/v1/web/fetch/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:w,deploymentId:x,params:y,nextConfig:z,parsedUrl:A,isDraftMode:B,prerenderManifest:C,routerServerContext:D,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,resolvedPathname:G,clientReferenceManifest:H,serverActionsManifest:I,previewProps:J}=f,K=(0,j.normalizeAppPath)(d),L=!!C.routes[G]&&(v.isDev||(0,t.isRouteCacheOwner)(G,v.cacheOwner,C.routes[G])),M=!!(C.dynamicRoutes[K]||L),N=async()=>((null==D?void 0:D.render404)?await D.render404(a,b,A,!1):b.end("This page could not be found"),null);if(M&&!B){let a=C.dynamicRoutes[K];if(a&&!1===a.fallback&&!L){if(z.adapterPath)return await N();throw new s.NoFallbackError}}let O=null;!M||v.isDev||B||(O="/index"===(O=G)?"/":O),I&&H&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:H,serverActionsManifest:I});let P=a.method||"GET",Q=(0,h.getTracer)(),R=Q.getActiveScopeSpan(),S=!!(null==D?void 0:D.isWrappedByNextServer),T=!!(0,g.getRequestMeta)(a,"minimalMode"),U=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,z,J,C,T);null==U||U.resetRequestCache(),globalThis.__incrementalCache=U;let V={params:y,previewProps:J,renderOpts:{experimental:{authInterrupts:!!z.experimental.authInterrupts,useCacheTimeout:z.experimental.useCacheTimeout,durableUseCacheEntries:!!z.experimental.durableUseCacheEntries},cacheComponents:!!z.cacheComponents,validationLevel:z.experimental.instantInsights.validationLevel,isDraftMode:B,incrementalCache:U,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:z.cacheLife,staticPageGenerationTimeout:z.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:w,deploymentId:x}},W=new k.NodeNextRequest(a),X=new k.NodeNextResponse(b),Y=l.NextRequestAdapter.fromNodeNextRequest(W,(0,l.signalFromNodeResponse)(b)),Z=async({previousCacheEntry:e})=>{try{if(!T&&E&&F&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===O?await v.handle(Y,V):await v.prerender(Y,V);a.fetchMetrics=V.renderOpts.fetchMetrics;let f=V.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=V.renderOpts.collectedTags;if(!M)return await (0,o.I)(W,X,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,e=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?z.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),b}},$=async(d,f)=>{try{var g,i;let d=await v.handleResponse({req:a,nextConfig:z,cacheKey:O,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:J,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,responseGenerator:Z,waitUntil:c.waitUntil,isMinimalMode:T});if(null!==d&&"error"in d)throw d.error;if(!M)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`);T||b.setHeader("x-nextjs-cache",E?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),B&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);T&&M||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(W,X,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:K,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),M)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(W,X,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=Q.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||K,g=`${P} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(S&&R)await $(R,void 0);else{let b=Q.getActiveScopeSpan();await Q.withPropagatedContext(a.headers,()=>Q.trace(m.BaseServerSpan.handleRequest,{spanName:`${P} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":P,"http.target":a.url}},a=>$(a,b)),void 0,!S)}}},261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},643:a=>{a.exports=require("node:perf_hooks")},1708:a=>{a.exports=require("node:process")},1932:a=>{a.exports=require("url")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{a.exports=require("node:buffer")},7066:a=>{a.exports=require("node:tty")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{a.exports=require("dns")},16698:a=>{a.exports=require("node:async_hooks")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{a.exports=require("os")},26915:a=>{a.exports=import("playwright-core")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},30714:a=>{a.exports=require("node:vm")},31421:a=>{a.exports=require("node:child_process")},32467:a=>{a.exports=require("node:http2")},33873:a=>{a.exports=require("path")},34589:a=>{a.exports=require("node:assert")},37067:a=>{a.exports=require("node:http")},37540:a=>{a.exports=require("node:console")},38522:a=>{a.exports=require("node:zlib")},40610:a=>{a.exports=require("node:dns")},40615:(a,b,c)=>{c.d(b,{AI_PROVIDERS:()=>t,js:()=>x,DI:()=>o,fg:()=>k,Pd:()=>p,IS:()=>h,nJ:()=>i,zN:()=>j,JH:()=>n,jO:()=>z,wb:()=>y,br:()=>l,mh:()=>m,wG:()=>w,zt:()=>u,gb:()=>r,gC:()=>s,mq:()=>q,rs:()=>v});var d=c(23750);let e="⚠️ Risk Notice: This provider uses a subscription/OAuth session not officially licensed for proxy/router use. Account may be restricted or banned. Use at your own risk.";Object.fromEntries(d.A.filter(a=>a.display).map(a=>{let b;return[a.id,"RISK_NOTICE"===(b=a.display).deprecationNotice?{...b,deprecationNotice:e}:b]}));let f=["serviceKinds","ttsConfig","sttConfig","embeddingConfig","imageConfig","imageToTextConfig","videoConfig","musicConfig","searchViaChat","searchConfig","fetchConfig","credentialFallback","systemoneConfig","modelsFetcher","mediaPriority","hiddenKinds"],g=a=>Object.fromEntries(d.A.filter(b=>b.category===a).map(a=>[a.id,function(a){let b={};for(let c of(a.media&&Object.assign(b,a.media),f))void 0!==a[c]&&(b[c]=a[c]);let c={...a.display||{}};return"RISK_NOTICE"===c.deprecationNotice&&(c.deprecationNotice=e),{...c,id:a.id,alias:a.uiAlias||a.alias,...a.hidden?{hidden:!0}:{},...b,...void 0!==a.priority?{priority:a.priority}:{},...a.hasFree?{hasFree:!0}:{},...a.thinkingConfig?{thinkingConfig:a.thinkingConfig}:{},...a.regions?{regions:a.regions,defaultRegion:a.defaultRegion}:{},...a.hasProviderSpecificData?{hasProviderSpecificData:!0}:{},...a.noAuth?{noAuth:!0}:{},...a.passthroughModels?{passthroughModels:!0}:{},...a.hasOAuth?{hasOAuth:!0}:{},...a.authModes?{authModes:a.authModes}:{},...a.authType?{authType:a.authType}:{},...a.authHint?{authHint:a.authHint}:{},...a.apiKeyOptionalWith?{apiKeyOptionalWith:a.apiKeyOptionalWith}:{},...a.credentialForm?{credentialForm:a.credentialForm}:{}}}(a)])),h=g("free"),i=g("freeTier"),j=g("oauth"),k=g("apikey"),l=g("webCookie"),m=g("webCookieSession"),n="openai-compatible-",o="anthropic-compatible-",p="custom-embedding-";function q(a){return"string"==typeof a&&a.startsWith(n)}function r(a){return"string"==typeof a&&a.startsWith(o)}function s(a){return"string"==typeof a&&a.startsWith(p)}let t={...h,...i,...j,...k,...l,...m};function u(a){for(let b of Object.values(t))if(b.alias===a||b.id===a)return b;return null}function v(a){let b=u(a);return b?.id||a}function w(a){let b=t[a];return b?.alias||a}let x=Object.values(t).reduce((a,b)=>(a[b.alias]=b.id,a),{}),y=d.A.filter(a=>a.features?.usage).map(a=>a.id),z=d.A.filter(a=>a.features?.usageApikey).map(a=>a.id)},41692:a=>{a.exports=require("node:tls")},41792:a=>{a.exports=require("node:querystring")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46293:a=>{a.exports=require("sql.js")},48161:a=>{a.exports=require("node:os")},51455:a=>{a.exports=require("node:fs/promises")},52408:(a,b,c)=>{c.r(b),c.d(b,{OPTIONS:()=>D,POST:()=>E});var d=c(80238),e=c(89718),f=c(40615);async function g(a,b,c){let d=new AbortController,e=setTimeout(()=>d.abort(),c);try{let c=await fetch(a,{...b,headers:function(a){if(!a)return a;let b={};for(let[c,d]of Object.entries(a))b[c]="string"==typeof d?d.replace(/[^\x00-\xFF]/g,"").trim():d;return b}(b.headers),signal:d.signal});return{ok:!0,res:c}}catch(b){let a=b?.name==="AbortError";return{ok:!1,timeout:a,error:b?.message||String(b)}}finally{clearTimeout(e)}}function h(a,b){return a&&"string"==typeof a?!b||b<=0?a:a.length>b?a.slice(0,b):a:a||""}function i({provider:a,url:b,title:c,format:d,text:e,links:f,costUsd:g,responseMs:h,upstreamMs:j}){let k={provider:a,url:b,title:c||null,content:{format:d,text:e||"",length:(e||"").length},metadata:{author:null,published_at:null,language:null},usage:{fetch_cost_usd:g??null},metrics:{response_time_ms:h,upstream_latency_ms:j}};return Array.isArray(f)&&(k.links=f),k}async function j(a){if((a.headers.get("content-type")||"").includes("application/json"))try{return{json:await a.json()}}catch{return{text:""}}return{text:await a.text()}}async function k({url:a,format:b,maxCharacters:c,provider:d,providerConfig:e,credentials:f,log:g}){if(!a||"string"!=typeof a)return{success:!1,status:400,error:"url is required"};if(!d)return{success:!1,status:400,error:"provider is required"};let h=b||"markdown",i=e?.timeoutMs||15e3,j=f?.apiKey||f?.key||f?.token||"",r=e?.costPerQuery??null,s=Date.now();try{if("firecrawl"===d)return await m({url:a,fmt:h,timeoutMs:i,apiKey:j,maxCharacters:c,costPerQuery:r,startedAt:s});if("jina-reader"===d)return await n({url:a,fmt:h,timeoutMs:i,apiKey:j,maxCharacters:c,costPerQuery:r,startedAt:s});if("tavily"===d)return await o({url:a,fmt:h,timeoutMs:i,apiKey:j,maxCharacters:c,costPerQuery:r,startedAt:s});if("exa"===d)return await p({url:a,fmt:h,timeoutMs:i,apiKey:j,maxCharacters:c,costPerQuery:r,startedAt:s});if("ollama"===d)return await q({url:a,fmt:h,timeoutMs:i,apiKey:j,maxCharacters:c,costPerQuery:r,startedAt:s,baseUrl:e?.baseUrl});if("tinyfish"===d)return await l({url:a,fmt:h,timeoutMs:i,apiKey:j,maxCharacters:c,costPerQuery:r,startedAt:s,baseUrl:e?.baseUrl});return{success:!1,status:400,error:`Unsupported provider: ${d}`}}catch(a){return g?.("fetch handler error:",a?.message||a),{success:!1,status:502,error:a?.message||"Internal fetch error"}}}async function l({url:a,fmt:b,timeoutMs:c,apiKey:d,maxCharacters:e,costPerQuery:f,startedAt:k,baseUrl:m}){if(!["markdown","html"].includes(b))return{success:!1,status:400,error:`Unsupported TinyFish format: ${b}`};let n=Date.now(),o=await g(m,{method:"POST",headers:{"content-type":"application/json","X-API-Key":d},body:JSON.stringify({urls:[a],format:b})},c);if(!o.ok)return{success:!1,status:o.timeout?504:502,error:o.error};let p=Date.now()-n,{json:q}=await j(o.res);if(!o.res.ok)return{success:!1,status:o.res.status,error:q?.error?.message||`TinyFish error: ${o.res.status}`};let r=q?.errors?.[0];if(r)return{success:!1,status:r.status||502,error:`TinyFish fetch failed: ${r.error||"unknown error"}`};let s=q?.results?.[0];if(!s||"string"!=typeof s.text)return{success:!1,status:502,error:"TinyFish returned no extractable content"};let t=h(s.text,e);return{success:!0,data:{...i({provider:"tinyfish",url:a,title:s.title,format:b,text:t,links:s.links,costUsd:f,responseMs:Date.now()-k,upstreamMs:p}),metadata:{author:s.author||null,published_at:s.published_date||null,language:s.language||null}}}}async function m({url:a,fmt:b,timeoutMs:c,apiKey:d,maxCharacters:e,costPerQuery:f,startedAt:k}){let l=Date.now(),n=await g("https://api.firecrawl.dev/v1/scrape",{method:"POST",headers:{"content-type":"application/json",...d?{authorization:`Bearer ${d}`}:{}},body:JSON.stringify({url:a,formats:[b]})},c);if(!n.ok)return{success:!1,status:n.timeout?504:502,error:n.error};let o=Date.now()-l,{json:p}=await j(n.res);if(!n.res.ok)return{success:!1,status:n.res.status,error:p?.error||`Firecrawl error: ${n.res.status}`};let q=p?.data||{},r=h(q.markdown||q.html||q.text||"",e);return{success:!0,data:i({provider:"firecrawl",url:a,title:q.metadata?.title||null,format:b,text:r,costUsd:f,responseMs:Date.now()-k,upstreamMs:o})}}async function n({url:a,fmt:b,timeoutMs:c,apiKey:d,maxCharacters:e,costPerQuery:f,startedAt:j}){let k=Date.now(),l=await g("https://r.jina.ai/",{method:"POST",headers:{"content-type":"application/json",...d?{authorization:`Bearer ${d}`}:{}},body:JSON.stringify({url:a})},c);if(!l.ok)return{success:!1,status:l.timeout?504:502,error:l.error};let m=Date.now()-k,o=await l.res.text();if(!l.res.ok)return{success:!1,status:l.res.status,error:o?.slice(0,500)||`Jina error: ${l.res.status}`};let p=h(o,e);return{success:!0,data:i({provider:"jina-reader",url:a,title:function(a){let b=String(a||""),c=b.match(/^\s*Title:\s*(.+)$/mi);if(c)return c[1].trim();let d=b.match(/^\s*#\s+(.+)$/m);return d?d[1].trim():null}(o),format:b,text:p,costUsd:f,responseMs:Date.now()-j,upstreamMs:m})}}async function o({url:a,fmt:b,timeoutMs:c,apiKey:d,maxCharacters:e,costPerQuery:f,startedAt:k}){let l=Date.now(),m=await g("https://api.tavily.com/extract",{method:"POST",headers:{"content-type":"application/json",...d?{authorization:`Bearer ${d}`}:{}},body:JSON.stringify({urls:[a],extract_depth:"basic"})},c);if(!m.ok)return{success:!1,status:m.timeout?504:502,error:m.error};let n=Date.now()-l,{json:p}=await j(m.res);return m.res.ok?{success:!0,data:i({provider:"tavily",url:a,title:null,format:b,text:h((p?.results?.[0]||{}).raw_content||"",e),costUsd:f,responseMs:Date.now()-k,upstreamMs:n})}:{success:!1,status:m.res.status,error:p?.error||`Tavily error: ${m.res.status}`}}async function p({url:a,fmt:b,timeoutMs:c,apiKey:d,maxCharacters:e,costPerQuery:f,startedAt:k}){let l=Date.now(),m=await g("https://api.exa.ai/contents",{method:"POST",headers:{"content-type":"application/json",...d?{"x-api-key":d}:{}},body:JSON.stringify({ids:[a],text:!0})},c);if(!m.ok)return{success:!1,status:m.timeout?504:502,error:m.error};let n=Date.now()-l,{json:o}=await j(m.res);if(!m.res.ok)return{success:!1,status:m.res.status,error:o?.error||`Exa error: ${m.res.status}`};let q=o?.results?.[0]||{},r=h(q.text||"",e);return{success:!0,data:i({provider:"exa",url:a,title:q.title||null,format:b,text:r,costUsd:f,responseMs:Date.now()-k,upstreamMs:n})}}async function q({url:a,fmt:b,timeoutMs:c,apiKey:d,maxCharacters:e,costPerQuery:f,startedAt:k,baseUrl:l}){let m=Date.now(),n=await g(l,{method:"POST",headers:{"content-type":"application/json",...d?{authorization:`Bearer ${d}`}:{}},body:JSON.stringify({url:a})},c);if(!n.ok)return{success:!1,status:n.timeout?504:502,error:n.error};let o=Date.now()-m,{json:p,text:r}=await j(n.res);if(!n.res.ok){let a=p?.error||p?.message||r?.slice(0,500)||`Ollama error: ${n.res.status}`;return{success:!1,status:n.res.status,error:a}}if(!p||"string"!=typeof p.content)return{success:!1,status:502,error:"Ollama returned an empty or invalid web fetch response"};let s=h(p.content,e);return{success:!0,data:i({provider:"ollama",url:a,title:p.title||null,format:b,text:s,links:p.links,costUsd:f,responseMs:Date.now()-k,upstreamMs:o})}}var r=c(43659),s=c(41004),t=c(7803),u=c(67828),v=c(18910),w=c(27811),x=c(88556),y=c(68401),z=c(93297);async function A(a){return await (0,y.Gb)(a,b=>B(a,b))}async function B(a,b={}){let c;try{c=await a.json()}catch{return t.warn("FETCH","Invalid JSON body"),(0,r.yj)(s.gx.BAD_REQUEST,"Invalid JSON body")}let f=new URL(a.url),g=c.provider||c.model,h=c.url;c.format,c.max_characters,t.request("POST",`${f.pathname} | ${g}`);let i=(0,d.Tr)(a);i?t.debug("AUTH",`API Key: ${t.maskKey(i)}`):t.debug("AUTH","No API key provided (local mode)");let j=await (0,e.mt)();if(j.requireApiKey){if(!i)return t.warn("AUTH","Missing API key (requireApiKey=true)"),(0,r.yj)(s.gx.UNAUTHORIZED,"Missing API key");if(!await (0,d.kI)(i))return t.warn("AUTH","Invalid API key (requireApiKey=true)"),(0,r.yj)(s.gx.UNAUTHORIZED,"Invalid API key")}if(!g||"string"!=typeof g)return t.warn("FETCH","Missing provider/model"),(0,r.yj)(s.gx.BAD_REQUEST,"Missing required field: provider (or model)");if(!h||"string"!=typeof h)return t.warn("FETCH","Missing url"),(0,r.yj)(s.gx.BAD_REQUEST,"Missing required field: url");try{new URL(h)}catch{return t.warn("FETCH","Invalid URL",{url:h}),(0,r.yj)(s.gx.BAD_REQUEST,"Invalid URL format")}try{await (0,x.hX)(h)}catch(a){return t.warn("FETCH","Blocked URL",{url:h}),(0,r.yj)(s.gx.BAD_REQUEST,a.message)}let k=await (0,e.Uv)(),l=(0,v.Vu)(g,k),m=await (0,w.dR)(await (0,w.TM)(a),g,l);if(m)return m;if(l){let d=j.comboStrategies||{},e=d[g]?.fallbackStrategy||j.comboStrategy||"fallback",f=j.comboStickyRoundRobinLimit;return t.info("FETCH",`Combo "${g}" with ${l.length} providers (strategy: ${e}, sticky: ${f})`),(0,v.Pr)({body:c,models:l,handleSingleModel:(c,d)=>C(c,d,a,i,j,b.fanOutBudget),log:t,comboName:g,comboStrategy:e,comboStickyLimit:f,fanOutBudget:b.fanOutBudget})}return C(c,g,a,i,j,b.fanOutBudget)}async function C(a,b,c,e,g,h=null){let i=a.url,j=a.format,l=a.max_characters,m=(0,f.rs)(b),n=f.AI_PROVIDERS[m];if(!n)return t.warn("FETCH","Unknown provider",{provider:b}),(0,r.yj)(s.gx.BAD_REQUEST,`Unknown provider: ${b}`);let o=n.fetchConfig;if(!o)return t.warn("FETCH","Provider does not support web fetch",{provider:m}),(0,r.yj)(s.gx.BAD_REQUEST,`Provider ${m} does not support web fetch`);if(b!==m?t.info("ROUTING",`${b} → ${m}`):t.info("ROUTING",`Provider: ${m}`),n.noAuth){if(t.info("AUTH",`\x1b[32m${m} no-auth mode\x1b[0m`),!(0,z.consumeFanOutSlot)(h,m))return t.warn("FETCH",`fan-out budget exhausted at ${m}`),(0,z.fanOutLimitResponse)(h);let a=await k({url:i,format:j,maxCharacters:l,provider:n.id,providerConfig:o,credentials:null,log:t});return a.success?new Response(JSON.stringify(a.data),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}}):(0,r.yj)(a.status||s.gx.BAD_GATEWAY,a.error||"Fetch failed")}let p=new Set,q=null,v=null,w=`webfetch:${m}`;for(;;){let a=await (0,d.c1)(m,p,w);if(!a||a.allRateLimited){if(a?.allRateLimited){let b=q||a.lastError||"Unavailable",c=v||Number(a.lastErrorCode)||s.gx.SERVICE_UNAVAILABLE;return t.warn("FETCH",`[${m}] ${b} (${a.retryAfterHuman})`),(0,r.wO)(c,`[${m}] ${b}`,a.retryAfter,a.retryAfterHuman)}if(0===p.size)return t.error("AUTH",`No credentials for provider: ${m}`),(0,r.yj)(s.gx.BAD_REQUEST,`No credentials for provider: ${m}`);return t.warn("FETCH","No more accounts available",{provider:m}),(0,r.yj)(v||s.gx.SERVICE_UNAVAILABLE,q||"All accounts unavailable")}t.info("AUTH",`\x1b[32mUsing ${m} account: ${a.connectionName}\x1b[0m`);let b=await (0,u.checkAndRefreshToken)(m,a);if(!(0,z.consumeFanOutSlot)(h,m))return t.warn("FETCH",`fan-out budget exhausted at ${m}`),(0,z.fanOutLimitResponse)(h);let c=await k({url:i,format:j,maxCharacters:l,provider:n.id,providerConfig:o,credentials:b,log:t,onCredentialsRefreshed:async b=>{await (0,u.vN)(a.connectionId,{accessToken:b.accessToken,refreshToken:b.refreshToken,providerSpecificData:b.providerSpecificData,testStatus:"active"})}});if(c.success)return await (0,d.Pt)(a.connectionId,a,w),new Response(JSON.stringify(c.data),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}});let{shouldFallback:e}=await (0,d.vk)(a.connectionId,c.status,c.error,m,w);if(e){t.warn("AUTH",`Account ${a.connectionName} unavailable (${c.status}), trying fallback`),p.add(a.connectionId),q=c.error,v=c.status;continue}return(0,r.yj)(c.status||s.gx.BAD_GATEWAY,c.error||"Fetch failed")}}async function D(){return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"POST, OPTIONS","Access-Control-Allow-Headers":"*"}})}async function E(a){return await A(a)}},53053:a=>{a.exports=require("node:diagnostics_channel")},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},57075:a=>{a.exports=require("node:stream")},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{a.exports=require("node:dns/promises")},71622:a=>{a.exports=import("open")},72271:a=>{a.exports=require("@aws-sdk/credential-providers")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},73429:a=>{a.exports=require("node:util/types")},73496:a=>{a.exports=require("http2")},74075:a=>{a.exports=require("zlib")},75919:a=>{a.exports=require("node:worker_threads")},76760:a=>{a.exports=require("node:path")},77030:a=>{a.exports=require("node:net")},77598:a=>{a.exports=require("node:crypto")},78474:a=>{a.exports=require("node:events")},79646:a=>{a.exports=require("child_process")},79868:a=>{a.exports=require("node:sqlite")},81630:a=>{a.exports=require("http")},81787:a=>{a.exports=require("bun:sqlite")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},87997:a=>{a.exports=require("node:timers")},88556:(a,b,c)=>{c.d(b,{PA:()=>q,er:()=>s,hX:()=>r});var d=c(40610),e=c.n(d);let f=new Set(["localhost","ip6-localhost","ip6-loopback"]),g=[".internal",".local",".localhost"];function h(a){let b=a.split(".");if(4!==b.length)return null;let c=0;for(let a of b){if(!/^\d{1,3}$/.test(a))return null;let b=Number(a);if(b>255)return null;c=256*c+b}return c>>>0}let i=[[h("0.0.0.0"),8],[h("10.0.0.0"),8],[h("100.64.0.0"),10],[h("127.0.0.0"),8],[h("169.254.0.0"),16],[h("172.16.0.0"),12],[h("192.168.0.0"),16]];function j(a){return i.some(([b,c])=>{let d=0===c?0:0xffffffff<<32-c>>>0;return(a&d)==(b&d)})}function k(a){let b=h(a);return null!==b&&j(b)}function l(a){if(""===a)return[];let b=a.split(":"),c=[];for(let a of b){if(!/^[0-9a-f]{1,4}$/.test(a))return null;c.push(parseInt(a,16))}return c}function m(a){let b,c=a.toLowerCase(),d=c.match(/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})$/),e=null;if(d){let a=h(d[1]);if(null===a)return null;e=[a>>>16&65535,65535&a],(c=c.slice(0,c.length-d[1].length)).endsWith("::")||c.endsWith(":")&&(c=c.slice(0,-1))}let f=c.split("::");if(f.length>2)return null;if(2===f.length){let a=l(f[0]),c=l(f[1]);if(null===a||null===c)return null;let d=e?e.length:0,g=8-a.length-c.length-d;if(g<0)return null;b=[...a,...Array(g).fill(0),...c,...e||[]]}else{let a=l(c);if(null===a)return null;b=[...a,...e||[]]}return 8===b.length?b:null}function n(a){let b=b=>0===a[b];if([0,1,2,3,4,5,6].every(b)&&1===a[7]||a.every(a=>0===a)||(65472&a[0])==65152||(65024&a[0])==64512)return!0;let c=(a[6]<<16|a[7])>>>0;return!!([0,1,2,3,4].every(b)&&65535===a[5]||100===a[0]&&65435===a[1]&&[2,3,4,5].every(b)||[0,1,2,3,4,5].every(b)&&0!==c&&1!==c)&&j(c)}function o(a){return a.toLowerCase().replace(/\.+$/,"")}function p(a){if(f.has(a)||g.some(b=>a.endsWith(b))||k(a))return!0;if(a.includes(":")){let b=m(a.replace(/^\[|\]$/g,""));if(b&&n(b))return!0}return!1}function q(a){if(p(o(new URL(a).hostname)))throw Error("Blocked URL: internal host")}async function r(a){let b,c=o(new URL(a).hostname);if(p(c))throw Error("Blocked URL: internal host");let d=c.replace(/^\[|\]$/g,"");if(!(null!==h(d)||d.includes(":"))){try{b=await e().promises.lookup(c,{all:!0,verbatim:!0})}catch{return}for(let{address:a,family:c}of b)if(4===c?k(a):n(m(a)||[]))throw Error("Blocked URL: hostname resolves to an internal host")}}async function s(a,b={},{maxRedirects:c=5}={}){await r(a);let d=a;for(let a=0;;a++){let e=await fetch(d,{...b,redirect:"manual"}),f=e.status>=300&&e.status<400?e.headers.get("location"):null;if(!f)return e;if(a>=c)throw Error("Blocked URL: too many redirects");let g=new URL(f,d).toString();await r(g),d=g}}},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1813,2391,8292,4293,6717,3750,6070,436,3943,8920,24,6922,6723,7073,8401,7828,238,8910],()=>b(b.s=85));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=1566,a.ids=[1566],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},643:a=>{a.exports=require("node:perf_hooks")},1708:a=>{a.exports=require("node:process")},1932:a=>{a.exports=require("url")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{a.exports=require("node:buffer")},7066:a=>{a.exports=require("node:tty")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},13538:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/v1beta/models/[...path]/route",pathname:"/api/v1beta/models/[...path]",filename:"route",bundlePath:"app/api/v1beta/models/[...path]/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/gin/work/Hilbras/OmniHilbras/src/app/api/v1beta/models/[...path]/route.js",nextConfigOutput:"standalone",userland:()=>c(75230),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/v1beta/models/[...path]/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:w,deploymentId:x,params:y,nextConfig:z,parsedUrl:A,isDraftMode:B,prerenderManifest:C,routerServerContext:D,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,resolvedPathname:G,clientReferenceManifest:H,serverActionsManifest:I,previewProps:J}=f,K=(0,j.normalizeAppPath)(d),L=!!C.routes[G]&&(v.isDev||(0,t.isRouteCacheOwner)(G,v.cacheOwner,C.routes[G])),M=!!(C.dynamicRoutes[K]||L),N=async()=>((null==D?void 0:D.render404)?await D.render404(a,b,A,!1):b.end("This page could not be found"),null);if(M&&!B){let a=C.dynamicRoutes[K];if(a&&!1===a.fallback&&!L){if(z.adapterPath)return await N();throw new s.NoFallbackError}}let O=null;!M||v.isDev||B||(O="/index"===(O=G)?"/":O),I&&H&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:H,serverActionsManifest:I});let P=a.method||"GET",Q=(0,h.getTracer)(),R=Q.getActiveScopeSpan(),S=!!(null==D?void 0:D.isWrappedByNextServer),T=!!(0,g.getRequestMeta)(a,"minimalMode"),U=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,z,J,C,T);null==U||U.resetRequestCache(),globalThis.__incrementalCache=U;let V={params:y,previewProps:J,renderOpts:{experimental:{authInterrupts:!!z.experimental.authInterrupts,useCacheTimeout:z.experimental.useCacheTimeout,durableUseCacheEntries:!!z.experimental.durableUseCacheEntries},cacheComponents:!!z.cacheComponents,validationLevel:z.experimental.instantInsights.validationLevel,isDraftMode:B,incrementalCache:U,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:z.cacheLife,staticPageGenerationTimeout:z.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:w,deploymentId:x}},W=new k.NodeNextRequest(a),X=new k.NodeNextResponse(b),Y=l.NextRequestAdapter.fromNodeNextRequest(W,(0,l.signalFromNodeResponse)(b)),Z=async({previousCacheEntry:e})=>{try{if(!T&&E&&F&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===O?await v.handle(Y,V):await v.prerender(Y,V);a.fetchMetrics=V.renderOpts.fetchMetrics;let f=V.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=V.renderOpts.collectedTags;if(!M)return await (0,o.I)(W,X,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,e=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?z.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),b}},$=async(d,f)=>{try{var g,i;let d=await v.handleResponse({req:a,nextConfig:z,cacheKey:O,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:J,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,responseGenerator:Z,waitUntil:c.waitUntil,isMinimalMode:T});if(null!==d&&"error"in d)throw d.error;if(!M)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`);T||b.setHeader("x-nextjs-cache",E?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),B&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);T&&M||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(W,X,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:K,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),M)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(W,X,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=Q.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||K,g=`${P} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(S&&R)await $(R,void 0);else{let b=Q.getActiveScopeSpan();await Q.withPropagatedContext(a.headers,()=>Q.trace(m.BaseServerSpan.handleRequest,{spanName:`${P} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":P,"http.target":a.url}},a=>$(a,b)),void 0,!S)}}},14985:a=>{a.exports=require("dns")},16698:a=>{a.exports=require("node:async_hooks")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{a.exports=require("os")},26915:a=>{a.exports=import("playwright-core")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},30714:a=>{a.exports=require("node:vm")},31421:a=>{a.exports=require("node:child_process")},32467:a=>{a.exports=require("node:http2")},33873:a=>{a.exports=require("path")},34589:a=>{a.exports=require("node:assert")},37067:a=>{a.exports=require("node:http")},37540:a=>{a.exports=require("node:console")},38522:a=>{a.exports=require("node:zlib")},40610:a=>{a.exports=require("node:dns")},41692:a=>{a.exports=require("node:tls")},41792:a=>{a.exports=require("node:querystring")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46293:a=>{a.exports=require("sql.js")},48161:a=>{a.exports=require("node:os")},51455:a=>{a.exports=require("node:fs/promises")},53053:a=>{a.exports=require("node:diagnostics_channel")},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},57075:a=>{a.exports=require("node:stream")},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{a.exports=require("node:dns/promises")},71622:a=>{a.exports=import("open")},72271:a=>{a.exports=require("@aws-sdk/credential-providers")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},73429:a=>{a.exports=require("node:util/types")},73496:a=>{a.exports=require("http2")},74075:a=>{a.exports=require("zlib")},75230:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{OPTIONS:()=>n,POST:()=>o});var e=c(79489),f=c(80238),g=c(89718),h=c(81329),i=c(41004),j=c(88499),k=c(27811),l=a([e]);e=(l.then?(await l)():l)[0];let v=!1,w=/^[a-zA-Z0-9_.:-]+$/;async function m(){v||(await (0,j.Ai)(),v=!0)}async function n(){return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"GET, POST, OPTIONS","Access-Control-Allow-Headers":"*"}})}async function o(a,{params:b}){await m();try{let f,g,{path:i}=await b;if(i.length>=2){let a=i[0],b=i[1];g=b.includes(":streamGenerateContent")?":streamGenerateContent":":generateContent";let c=b.replace(":streamGenerateContent","").replace(":generateContent","");f=a+"/"+c}else{let a=i[0];g=a.includes(":streamGenerateContent")?":streamGenerateContent":":generateContent",f=a.replace(":streamGenerateContent","").replace(":generateContent","")}let j=await a.json();if(function(a,b){let c,d=String(a||"");if(d.includes("/")&&!d.startsWith("gemini/")&&!d.startsWith("models/"))return!1;let e=p(a);return Array.isArray(c=b?.generationConfig?.responseModalities)&&c.some(a=>"AUDIO"===String(a).toUpperCase())||new Set([...(h.vq.gemini||[]).filter(a=>"tts"===(a.kind||a.type)).map(a=>a.id),...(h.vq["gemini-tts-models"]||[]).map(a=>a.id)]).has(e)}(f,j))return await t(a,j,f,g);let k=":streamGenerateContent"===g,l=function(a,b,c){let d=[];if(a.systemInstruction){let b=a.systemInstruction.parts?.map(a=>a.text).join("\n")||"";b&&d.push({role:"system",content:b})}if(a.contents)for(let b of a.contents){let a="model"===b.role?"assistant":"user",c=b.parts?.map(a=>a.text).join("\n")||"";d.push({role:a,content:c})}return{model:b,messages:d,stream:c,max_tokens:a.generationConfig?.maxOutputTokens,temperature:a.generationConfig?.temperature,top_p:a.generationConfig?.topP}}(j,f,k),m=new Request(a.url,{method:"POST",headers:a.headers,body:JSON.stringify(l)}),n=await (0,e.P)(m);if(k){var c=n,d=f;if(!c.ok||!c.body)return c;let a=new TextDecoder,b=new TextEncoder,e=new TransformStream({transform(c,e){for(let f of a.decode(c,{stream:!0}).split("\n")){let a;if(!f.startsWith("data:"))continue;let c=f.slice(5).trim();if(!c||"[DONE]"===c)continue;try{a=JSON.parse(c)}catch{continue}let g=a.choices?.[0];if(!g)continue;let h=g.delta||{},i=[];if(h.reasoning_content&&i.push({text:h.reasoning_content,thought:!0}),h.content&&i.push({text:h.content}),0===i.length&&!g.finish_reason)continue;let j={content:{role:"model",parts:i.length>0?i:[{text:""}]},index:0};g.finish_reason&&(j.finishReason=x[g.finish_reason]||"STOP");let k={candidates:[j]};if(g.finish_reason&&a.usage){k.usageMetadata={promptTokenCount:a.usage.prompt_tokens||0,candidatesTokenCount:a.usage.completion_tokens||0,totalTokenCount:a.usage.total_tokens||0};let b=a.usage.completion_tokens_details?.reasoning_tokens;b&&(k.usageMetadata.thoughtsTokenCount=b),k.modelVersion=a.model||d}e.enqueue(b.encode("data: "+JSON.stringify(k)+"\r\n\r\n"))}}});return new Response(c.body.pipeThrough(e),{status:200,headers:{"Content-Type":"text/event-stream","Cache-Control":"no-cache","Access-Control-Allow-Origin":"*"}})}return await u(n,f)}catch(a){return console.log("Error handling Gemini request:",a),Response.json({error:{message:a.message,code:500}},{status:500})}}function p(a){return String(a||"").replace(/^models\//,"").replace(/^gemini\//,"")}async function q(a){if(!(await (0,g.mt)()).requireApiKey)return null;let b=function(a){let b=a.headers.get("Authorization");if(b?.startsWith("Bearer "))return b.slice(7);let c=a.headers.get("x-goog-api-key");return c||new URL(a.url).searchParams.get("key")}(a);return b?await (0,f.kI)(b)?null:Response.json({error:{message:"Invalid API key"}},{status:401}):Response.json({error:{message:"Missing API key"}},{status:401})}function r(a){let b=new Headers(a.headers);return b.delete("content-encoding"),b.delete("content-length"),b.delete("transfer-encoding"),b.set("Access-Control-Allow-Origin","*"),b}function s(a){return a?.cause?.code||a?.code||a?.cause?.name||a?.name||"UNKNOWN"}async function t(a,b,c,d){let e=await q(a);if(e)return e;let g=p(c);if(!w.test(g))return Response.json({error:{message:"Invalid model"}},{status:400});let h=await (0,k.QU)(await (0,k.TM)(a),c,"gemini",g);if(h)return h;let j=new Set,l=JSON.stringify(b),m=null,n=null;for(;;){let b,c=await (0,f.c1)("gemini",j,g);if(!c||c.allRateLimited)return console.log(`[GEMINI_NATIVE] exhausted model=${g} status=${n||Number(c?.lastErrorCode)||503} error=${m||c?.lastError||"No active credentials for provider: gemini"}`),Response.json({error:{message:m||c?.lastError||"No active credentials for provider: gemini"}},{status:n||Number(c?.lastErrorCode)||503});let e=c?.apiKey?{"x-goog-api-key":c.apiKey}:c?.accessToken?{Authorization:`Bearer ${c.accessToken}`}:null;if(!e)return Response.json({error:{message:"No Gemini API key configured"}},{status:404});let h=function(a){let b=String(a?.connectionId||"unknown").slice(0,8),c=String(a?.connectionName||"");return!c||c.includes("@")?b:`${c}:${b}`}(c),k=Date.now(),o=function(a,b,c){let d=new URL(a),e=new URL(`https://generativelanguage.googleapis.com/v1beta/models/${p(b)}${c}`);for(let[a,b]of d.searchParams.entries())"key"!==a&&e.searchParams.append(a,b);return e.toString()}(a.url,g,d),q=new AbortController,t=!1,u=setTimeout(()=>{t=!0,q.abort()},i.IK),v=()=>q.abort();if(a.signal?.aborted)return console.log(`[GEMINI_NATIVE] client aborted model=${g} ms=0 conn=${h}`),Response.json({error:{message:"Client closed request"}},{status:499});a.signal?.addEventListener("abort",v,{once:!0}),console.log(`[GEMINI_NATIVE] start model=${g} action=${d} conn=${h} body=${Buffer.byteLength(l)}B timeout=${i.IK}`);try{b=await fetch(o,{method:"POST",headers:{"Content-Type":a.headers.get("Content-Type")||"application/json",...e},body:l,signal:q.signal})}catch(l){let b=Date.now()-k;if(a.signal?.aborted&&!t)return console.log(`[GEMINI_NATIVE] client aborted model=${g} ms=${b} conn=${h}`),Response.json({error:{message:"Client closed request"}},{status:499});let d=!function(a,b){if(b)return!0;let c=s(a);return"UND_ERR_HEADERS_TIMEOUT"===c||"HeadersTimeoutError"===c}(l,t)?502:504,e=function(a){let b=a?.message||String(a),c=s(a);return`${b} (${c})`}(l);console.log(`[GEMINI_NATIVE] fetch failed model=${g} status=${d} ms=${b} conn=${h} error=${e}`);let{shouldFallback:i}=await (0,f.vk)(c.connectionId,d,e,"gemini",g);if(i){j.add(c.connectionId),m=e,n=d,console.log(`[GEMINI_NATIVE] fallback model=${g} status=${d} conn=${h} exclude=${j.size}`);continue}return Response.json({error:{message:e}},{status:d})}finally{clearTimeout(u),a.signal?.removeEventListener("abort",v)}if(console.log(`[GEMINI_NATIVE] upstream model=${g} status=${b.status} ms=${Date.now()-k} conn=${h} ct=${b.headers.get("content-type")||"?"} cl=${b.headers.get("content-length")||"?"}`),b.ok)return await (0,f.Pt)(c.connectionId,c,g),new Response(b.body,{status:b.status,statusText:b.statusText,headers:r(b)});let w=await b.text(),{shouldFallback:x}=await (0,f.vk)(c.connectionId,b.status,w,"gemini",g);if(x){j.add(c.connectionId),m=w,n=b.status;continue}return new Response(w,{status:b.status,statusText:b.statusText,headers:r(b)})}}let x={stop:"STOP",length:"MAX_TOKENS",tool_calls:"STOP",content_filter:"SAFETY"};async function u(a,b){let c;if(!a.ok)return a;try{c=await a.json()}catch{return a}if(c.candidates)return Response.json(c,{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}});if(c.error)return Response.json(c,{status:a.status,headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}});let d=c.choices?.[0];if(!d)return Response.json(c,{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}});let{message:e,finish_reason:f}=d,g=[];e.reasoning_content&&g.push({text:e.reasoning_content,thought:!0}),g.push({text:e.content||""});let h={candidates:[{content:{role:"model",parts:g},finishReason:x[f]||"STOP",index:0}],modelVersion:c.model||b};if(c.usage){h.usageMetadata={promptTokenCount:c.usage.prompt_tokens||0,candidatesTokenCount:c.usage.completion_tokens||0,totalTokenCount:c.usage.total_tokens||0};let a=c.usage.completion_tokens_details?.reasoning_tokens;a&&(h.usageMetadata.thoughtsTokenCount=a)}return Response.json(h,{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})}d()}catch(a){d(a)}})},75919:a=>{a.exports=require("node:worker_threads")},76760:a=>{a.exports=require("node:path")},77030:a=>{a.exports=require("node:net")},77598:a=>{a.exports=require("node:crypto")},78474:a=>{a.exports=require("node:events")},79646:a=>{a.exports=require("child_process")},79868:a=>{a.exports=require("node:sqlite")},81630:a=>{a.exports=require("http")},81787:a=>{a.exports=require("bun:sqlite")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},87997:a=>{a.exports=require("node:timers")},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1813,2391,8292,7774,4293,6717,3750,6070,1329,436,3943,8920,24,2578,3225,6922,8064,5215,9696,6723,7552,7073,8932,7655,7373,2304,3686,7803,8401,8895,5961],()=>b(b.s=13538));module.exports=c})();
|
|
1
|
+
"use strict";(()=>{var a={};a.id=1566,a.ids=[1566],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},643:a=>{a.exports=require("node:perf_hooks")},1708:a=>{a.exports=require("node:process")},1932:a=>{a.exports=require("url")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{a.exports=require("node:buffer")},7066:a=>{a.exports=require("node:tty")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{a.exports=require("dns")},16698:a=>{a.exports=require("node:async_hooks")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{a.exports=require("os")},26915:a=>{a.exports=import("playwright-core")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},30714:a=>{a.exports=require("node:vm")},31421:a=>{a.exports=require("node:child_process")},32467:a=>{a.exports=require("node:http2")},33873:a=>{a.exports=require("path")},34589:a=>{a.exports=require("node:assert")},37067:a=>{a.exports=require("node:http")},37540:a=>{a.exports=require("node:console")},38522:a=>{a.exports=require("node:zlib")},40610:a=>{a.exports=require("node:dns")},41692:a=>{a.exports=require("node:tls")},41792:a=>{a.exports=require("node:querystring")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46293:a=>{a.exports=require("sql.js")},48161:a=>{a.exports=require("node:os")},51455:a=>{a.exports=require("node:fs/promises")},53053:a=>{a.exports=require("node:diagnostics_channel")},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},57075:a=>{a.exports=require("node:stream")},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{a.exports=require("node:dns/promises")},71622:a=>{a.exports=import("open")},72271:a=>{a.exports=require("@aws-sdk/credential-providers")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},73429:a=>{a.exports=require("node:util/types")},73496:a=>{a.exports=require("http2")},74075:a=>{a.exports=require("zlib")},75230:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{OPTIONS:()=>n,POST:()=>o});var e=c(79489),f=c(80238),g=c(89718),h=c(81329),i=c(41004),j=c(88499),k=c(27811),l=a([e]);e=(l.then?(await l)():l)[0];let v=!1,w=/^[a-zA-Z0-9_.:-]+$/;async function m(){v||(await (0,j.Ai)(),v=!0)}async function n(){return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"GET, POST, OPTIONS","Access-Control-Allow-Headers":"*"}})}async function o(a,{params:b}){await m();try{let f,g,{path:i}=await b;if(i.length>=2){let a=i[0],b=i[1];g=b.includes(":streamGenerateContent")?":streamGenerateContent":":generateContent";let c=b.replace(":streamGenerateContent","").replace(":generateContent","");f=a+"/"+c}else{let a=i[0];g=a.includes(":streamGenerateContent")?":streamGenerateContent":":generateContent",f=a.replace(":streamGenerateContent","").replace(":generateContent","")}let j=await a.json();if(function(a,b){let c,d=String(a||"");if(d.includes("/")&&!d.startsWith("gemini/")&&!d.startsWith("models/"))return!1;let e=p(a);return Array.isArray(c=b?.generationConfig?.responseModalities)&&c.some(a=>"AUDIO"===String(a).toUpperCase())||new Set([...(h.vq.gemini||[]).filter(a=>"tts"===(a.kind||a.type)).map(a=>a.id),...(h.vq["gemini-tts-models"]||[]).map(a=>a.id)]).has(e)}(f,j))return await t(a,j,f,g);let k=":streamGenerateContent"===g,l=function(a,b,c){let d=[];if(a.systemInstruction){let b=a.systemInstruction.parts?.map(a=>a.text).join("\n")||"";b&&d.push({role:"system",content:b})}if(a.contents)for(let b of a.contents){let a="model"===b.role?"assistant":"user",c=b.parts?.map(a=>a.text).join("\n")||"";d.push({role:a,content:c})}return{model:b,messages:d,stream:c,max_tokens:a.generationConfig?.maxOutputTokens,temperature:a.generationConfig?.temperature,top_p:a.generationConfig?.topP}}(j,f,k),m=new Request(a.url,{method:"POST",headers:a.headers,body:JSON.stringify(l)}),n=await (0,e.P)(m);if(k){var c=n,d=f;if(!c.ok||!c.body)return c;let a=new TextDecoder,b=new TextEncoder,e=new TransformStream({transform(c,e){for(let f of a.decode(c,{stream:!0}).split("\n")){let a;if(!f.startsWith("data:"))continue;let c=f.slice(5).trim();if(!c||"[DONE]"===c)continue;try{a=JSON.parse(c)}catch{continue}let g=a.choices?.[0];if(!g)continue;let h=g.delta||{},i=[];if(h.reasoning_content&&i.push({text:h.reasoning_content,thought:!0}),h.content&&i.push({text:h.content}),0===i.length&&!g.finish_reason)continue;let j={content:{role:"model",parts:i.length>0?i:[{text:""}]},index:0};g.finish_reason&&(j.finishReason=x[g.finish_reason]||"STOP");let k={candidates:[j]};if(g.finish_reason&&a.usage){k.usageMetadata={promptTokenCount:a.usage.prompt_tokens||0,candidatesTokenCount:a.usage.completion_tokens||0,totalTokenCount:a.usage.total_tokens||0};let b=a.usage.completion_tokens_details?.reasoning_tokens;b&&(k.usageMetadata.thoughtsTokenCount=b),k.modelVersion=a.model||d}e.enqueue(b.encode("data: "+JSON.stringify(k)+"\r\n\r\n"))}}});return new Response(c.body.pipeThrough(e),{status:200,headers:{"Content-Type":"text/event-stream","Cache-Control":"no-cache","Access-Control-Allow-Origin":"*"}})}return await u(n,f)}catch(a){return console.log("Error handling Gemini request:",a),Response.json({error:{message:a.message,code:500}},{status:500})}}function p(a){return String(a||"").replace(/^models\//,"").replace(/^gemini\//,"")}async function q(a){if(!(await (0,g.mt)()).requireApiKey)return null;let b=function(a){let b=a.headers.get("Authorization");if(b?.startsWith("Bearer "))return b.slice(7);let c=a.headers.get("x-goog-api-key");return c||new URL(a.url).searchParams.get("key")}(a);return b?await (0,f.kI)(b)?null:Response.json({error:{message:"Invalid API key"}},{status:401}):Response.json({error:{message:"Missing API key"}},{status:401})}function r(a){let b=new Headers(a.headers);return b.delete("content-encoding"),b.delete("content-length"),b.delete("transfer-encoding"),b.set("Access-Control-Allow-Origin","*"),b}function s(a){return a?.cause?.code||a?.code||a?.cause?.name||a?.name||"UNKNOWN"}async function t(a,b,c,d){let e=await q(a);if(e)return e;let g=p(c);if(!w.test(g))return Response.json({error:{message:"Invalid model"}},{status:400});let h=await (0,k.QU)(await (0,k.TM)(a),c,"gemini",g);if(h)return h;let j=new Set,l=JSON.stringify(b),m=null,n=null;for(;;){let b,c=await (0,f.c1)("gemini",j,g);if(!c||c.allRateLimited)return console.log(`[GEMINI_NATIVE] exhausted model=${g} status=${n||Number(c?.lastErrorCode)||503} error=${m||c?.lastError||"No active credentials for provider: gemini"}`),Response.json({error:{message:m||c?.lastError||"No active credentials for provider: gemini"}},{status:n||Number(c?.lastErrorCode)||503});let e=c?.apiKey?{"x-goog-api-key":c.apiKey}:c?.accessToken?{Authorization:`Bearer ${c.accessToken}`}:null;if(!e)return Response.json({error:{message:"No Gemini API key configured"}},{status:404});let h=function(a){let b=String(a?.connectionId||"unknown").slice(0,8),c=String(a?.connectionName||"");return!c||c.includes("@")?b:`${c}:${b}`}(c),k=Date.now(),o=function(a,b,c){let d=new URL(a),e=new URL(`https://generativelanguage.googleapis.com/v1beta/models/${p(b)}${c}`);for(let[a,b]of d.searchParams.entries())"key"!==a&&e.searchParams.append(a,b);return e.toString()}(a.url,g,d),q=new AbortController,t=!1,u=setTimeout(()=>{t=!0,q.abort()},i.IK),v=()=>q.abort();if(a.signal?.aborted)return console.log(`[GEMINI_NATIVE] client aborted model=${g} ms=0 conn=${h}`),Response.json({error:{message:"Client closed request"}},{status:499});a.signal?.addEventListener("abort",v,{once:!0}),console.log(`[GEMINI_NATIVE] start model=${g} action=${d} conn=${h} body=${Buffer.byteLength(l)}B timeout=${i.IK}`);try{b=await fetch(o,{method:"POST",headers:{"Content-Type":a.headers.get("Content-Type")||"application/json",...e},body:l,signal:q.signal})}catch(l){let b=Date.now()-k;if(a.signal?.aborted&&!t)return console.log(`[GEMINI_NATIVE] client aborted model=${g} ms=${b} conn=${h}`),Response.json({error:{message:"Client closed request"}},{status:499});let d=!function(a,b){if(b)return!0;let c=s(a);return"UND_ERR_HEADERS_TIMEOUT"===c||"HeadersTimeoutError"===c}(l,t)?502:504,e=function(a){let b=a?.message||String(a),c=s(a);return`${b} (${c})`}(l);console.log(`[GEMINI_NATIVE] fetch failed model=${g} status=${d} ms=${b} conn=${h} error=${e}`);let{shouldFallback:i}=await (0,f.vk)(c.connectionId,d,e,"gemini",g);if(i){j.add(c.connectionId),m=e,n=d,console.log(`[GEMINI_NATIVE] fallback model=${g} status=${d} conn=${h} exclude=${j.size}`);continue}return Response.json({error:{message:e}},{status:d})}finally{clearTimeout(u),a.signal?.removeEventListener("abort",v)}if(console.log(`[GEMINI_NATIVE] upstream model=${g} status=${b.status} ms=${Date.now()-k} conn=${h} ct=${b.headers.get("content-type")||"?"} cl=${b.headers.get("content-length")||"?"}`),b.ok)return await (0,f.Pt)(c.connectionId,c,g),new Response(b.body,{status:b.status,statusText:b.statusText,headers:r(b)});let w=await b.text(),{shouldFallback:x}=await (0,f.vk)(c.connectionId,b.status,w,"gemini",g);if(x){j.add(c.connectionId),m=w,n=b.status;continue}return new Response(w,{status:b.status,statusText:b.statusText,headers:r(b)})}}let x={stop:"STOP",length:"MAX_TOKENS",tool_calls:"STOP",content_filter:"SAFETY"};async function u(a,b){let c;if(!a.ok)return a;try{c=await a.json()}catch{return a}if(c.candidates)return Response.json(c,{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}});if(c.error)return Response.json(c,{status:a.status,headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}});let d=c.choices?.[0];if(!d)return Response.json(c,{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}});let{message:e,finish_reason:f}=d,g=[];e.reasoning_content&&g.push({text:e.reasoning_content,thought:!0}),g.push({text:e.content||""});let h={candidates:[{content:{role:"model",parts:g},finishReason:x[f]||"STOP",index:0}],modelVersion:c.model||b};if(c.usage){h.usageMetadata={promptTokenCount:c.usage.prompt_tokens||0,candidatesTokenCount:c.usage.completion_tokens||0,totalTokenCount:c.usage.total_tokens||0};let a=c.usage.completion_tokens_details?.reasoning_tokens;a&&(h.usageMetadata.thoughtsTokenCount=a)}return Response.json(h,{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})}d()}catch(a){d(a)}})},75919:a=>{a.exports=require("node:worker_threads")},76760:a=>{a.exports=require("node:path")},77030:a=>{a.exports=require("node:net")},77598:a=>{a.exports=require("node:crypto")},78474:a=>{a.exports=require("node:events")},79646:a=>{a.exports=require("child_process")},79868:a=>{a.exports=require("node:sqlite")},81630:a=>{a.exports=require("http")},81787:a=>{a.exports=require("bun:sqlite")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},87997:a=>{a.exports=require("node:timers")},89365:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/v1beta/models/[...path]/route",pathname:"/api/v1beta/models/[...path]",filename:"route",bundlePath:"app/api/v1beta/models/[...path]/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/gin/work/Hilbras/OmniHilbras/src/app/api/v1beta/models/[...path]/route.js",nextConfigOutput:"standalone",userland:()=>c(75230),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/v1beta/models/[...path]/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:w,deploymentId:x,params:y,nextConfig:z,parsedUrl:A,isDraftMode:B,prerenderManifest:C,routerServerContext:D,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,resolvedPathname:G,clientReferenceManifest:H,serverActionsManifest:I,previewProps:J}=f,K=(0,j.normalizeAppPath)(d),L=!!C.routes[G]&&(v.isDev||(0,t.isRouteCacheOwner)(G,v.cacheOwner,C.routes[G])),M=!!(C.dynamicRoutes[K]||L),N=async()=>((null==D?void 0:D.render404)?await D.render404(a,b,A,!1):b.end("This page could not be found"),null);if(M&&!B){let a=C.dynamicRoutes[K];if(a&&!1===a.fallback&&!L){if(z.adapterPath)return await N();throw new s.NoFallbackError}}let O=null;!M||v.isDev||B||(O="/index"===(O=G)?"/":O),I&&H&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:H,serverActionsManifest:I});let P=a.method||"GET",Q=(0,h.getTracer)(),R=Q.getActiveScopeSpan(),S=!!(null==D?void 0:D.isWrappedByNextServer),T=!!(0,g.getRequestMeta)(a,"minimalMode"),U=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,z,J,C,T);null==U||U.resetRequestCache(),globalThis.__incrementalCache=U;let V={params:y,previewProps:J,renderOpts:{experimental:{authInterrupts:!!z.experimental.authInterrupts,useCacheTimeout:z.experimental.useCacheTimeout,durableUseCacheEntries:!!z.experimental.durableUseCacheEntries},cacheComponents:!!z.cacheComponents,validationLevel:z.experimental.instantInsights.validationLevel,isDraftMode:B,incrementalCache:U,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:z.cacheLife,staticPageGenerationTimeout:z.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:w,deploymentId:x}},W=new k.NodeNextRequest(a),X=new k.NodeNextResponse(b),Y=l.NextRequestAdapter.fromNodeNextRequest(W,(0,l.signalFromNodeResponse)(b)),Z=async({previousCacheEntry:e})=>{try{if(!T&&E&&F&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===O?await v.handle(Y,V):await v.prerender(Y,V);a.fetchMetrics=V.renderOpts.fetchMetrics;let f=V.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=V.renderOpts.collectedTags;if(!M)return await (0,o.I)(W,X,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,e=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?z.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),b}},$=async(d,f)=>{try{var g,i;let d=await v.handleResponse({req:a,nextConfig:z,cacheKey:O,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:J,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,responseGenerator:Z,waitUntil:c.waitUntil,isMinimalMode:T});if(null!==d&&"error"in d)throw d.error;if(!M)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`);T||b.setHeader("x-nextjs-cache",E?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),B&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);T&&M||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(W,X,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:K,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),M)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(W,X,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=Q.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||K,g=`${P} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(S&&R)await $(R,void 0);else{let b=Q.getActiveScopeSpan();await Q.withPropagatedContext(a.headers,()=>Q.trace(m.BaseServerSpan.handleRequest,{spanName:`${P} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":P,"http.target":a.url}},a=>$(a,b)),void 0,!S)}}},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1813,2391,8292,7774,4293,6717,3750,6070,1329,436,3943,8920,24,2578,3225,6922,8064,5215,9696,6723,7552,7073,8932,7655,7373,2304,3686,7803,8401,8895,5961],()=>b(b.s=89365));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var a={};a.id=1860,a.ids=[1860],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3662:(a,b,c)=>{"use strict";c.d(b,{EQ:()=>f,LY:()=>d,O:()=>e,fh:()=>h,t2:()=>i,wf:()=>g});let d={400:{type:"invalid_request_error",code:"bad_request"},401:{type:"authentication_error",code:"invalid_api_key"},402:{type:"billing_error",code:"payment_required"},403:{type:"permission_error",code:"insufficient_quota"},404:{type:"invalid_request_error",code:"model_not_found"},406:{type:"invalid_request_error",code:"model_not_supported"},429:{type:"rate_limit_error",code:"rate_limit_exceeded"},500:{type:"server_error",code:"internal_server_error"},502:{type:"server_error",code:"bad_gateway"},503:{type:"server_error",code:"service_unavailable"},504:{type:"server_error",code:"gateway_timeout"}},e={400:"Bad request",401:"Invalid API key provided",402:"Payment required",403:"You exceeded your current quota",404:"Model not found",406:"Model not supported",429:"Rate limit exceeded",500:"Internal server error",502:"Bad gateway - upstream provider error",503:"Service temporarily unavailable",504:"Gateway timeout"},f={base:2e3,max:3e5,maxLevel:15},g=3e4,h=18e5,i=[{provider:"codex",text:"model is not supported when using codex with a chatgpt account",cooldownMs:18e5},{text:"no credentials",cooldownMs:12e4},{text:"request not allowed",cooldownMs:5e3},{text:"improperly formed request",cooldownMs:12e4},{text:"rate limit",backoff:!0},{text:"too many requests",backoff:!0},{text:"quota exceeded",backoff:!0},{text:"insufficient_quota",backoff:!0},{text:"insufficient quota",backoff:!0},{text:"exceeded your current quota",backoff:!0},{text:"exceeded your quota",backoff:!0},{text:"credit balance",cooldownMs:12e4},{text:"insufficient credit",cooldownMs:12e4},{text:"insufficient balance",cooldownMs:12e4},{text:"insufficient_balance",cooldownMs:12e4},{text:"billing",cooldownMs:12e4},{text:"capacity",backoff:!0},{text:"overloaded",backoff:!0},{status:401,cooldownMs:12e4},{status:402,cooldownMs:12e4},{status:403,cooldownMs:12e4},{status:404,cooldownMs:12e4},{status:429,backoff:!0}]},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")},19225:(a,b,c)=>{"use strict";a.exports=c(44870)},21820:a=>{"use strict";a.exports=require("os")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},41004:(a,b,c)=>{"use strict";c.d(b,{C8:()=>s,DR:()=>r,Ey:()=>k,IK:()=>m,Kv:()=>j,Ps:()=>g,SA:()=>p,Uc:()=>n,Z1:()=>i,ZL:()=>t,cI:()=>q,eo:()=>o,gx:()=>d,jk:()=>u,pH:()=>l,v1:()=>e,xM:()=>h}),c(3662);let d={BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,NOT_ACCEPTABLE:406,REQUEST_TIMEOUT:408,RATE_LIMITED:429,SERVER_ERROR:500,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504},e={sessionTtlMs:72e5,sessionCleanupIntervalMs:18e5,dnsCacheTtlMs:3e5,proxyDispatchersMaxSize:20};function f(a,b){let c=process.env[a];if(null==c||""===c)return b;let d=parseInt(c,10);return Number.isFinite(d)&&d>0?d:b}let g=process.env.SEARXNG_URL?.trim()||"http://localhost:8888/search",h=f("STREAM_STALL_TIMEOUT_MS",36e4),i=f("STREAM_FIRST_CHUNK_TIMEOUT_MS",2e5),j=f("UPSTREAM_MAX_BODY_BYTES",0x2000000),k=f("UPSTREAM_TOTAL_TIMEOUT_MS",18e5),l=f("FETCH_CONNECT_TIMEOUT_MS",6e4),m=f("GEMINI_NATIVE_TTS_FETCH_TIMEOUT_MS",45e3),n=64e3,o=32e3,p="x-omnihilbras-token-saver",q={429:{attempts:0,delayMs:0},502:{attempts:3,delayMs:3e3},503:{attempts:3,delayMs:2e3},504:{attempts:2,delayMs:3e3}};function r(a){return null==a?{attempts:0,delayMs:2e3}:"number"==typeof a?{attempts:a,delayMs:2e3}:{attempts:a.attempts||0,delayMs:null!=a.delayMs?a.delayMs:2e3}}let s=["Please write a 5-10 word title for the following conversation:"],t={candidates:[{flavor:"openai-billing",path:"/dashboard/billing/subscription"},{flavor:"openai-billing",path:"/dashboard/billing/usage"},{flavor:"new-api",path:"/api/user/self"}],usageWindowDays:30,unsupportedTtlMs:f("AGGREGATOR_UNSUPPORTED_TTL_MS",6e5),newApiQuotaPerUnit:5e5,fetchTimeoutMs:1e4},u={supabaseUrl:process.env.AGGREGATOR_WALLET_SUPABASE_URL,anonKey:process.env.AGGREGATOR_WALLET_ANON_KEY,authBaseUrl:process.env.AGGREGATOR_WALLET_AUTH_BASE_URL,walletTable:"wallets",walletColumns:["balance_paid","balance_trial","balance_bonus","balance_bonus_locked"],lockedColumn:"balance_bonus_locked"}},42018:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/v1beta/models/route",pathname:"/api/v1beta/models",filename:"route",bundlePath:"app/api/v1beta/models/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/gin/work/Hilbras/OmniHilbras/src/app/api/v1beta/models/route.js",nextConfigOutput:"standalone",userland:()=>c(51892),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/v1beta/models/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:w,deploymentId:x,params:y,nextConfig:z,parsedUrl:A,isDraftMode:B,prerenderManifest:C,routerServerContext:D,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,resolvedPathname:G,clientReferenceManifest:H,serverActionsManifest:I,previewProps:J}=f,K=(0,j.normalizeAppPath)(d),L=!!C.routes[G]&&(v.isDev||(0,t.isRouteCacheOwner)(G,v.cacheOwner,C.routes[G])),M=!!(C.dynamicRoutes[K]||L),N=async()=>((null==D?void 0:D.render404)?await D.render404(a,b,A,!1):b.end("This page could not be found"),null);if(M&&!B){let a=C.dynamicRoutes[K];if(a&&!1===a.fallback&&!L){if(z.adapterPath)return await N();throw new s.NoFallbackError}}let O=null;!M||v.isDev||B||(O="/index"===(O=G)?"/":O),I&&H&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:H,serverActionsManifest:I});let P=a.method||"GET",Q=(0,h.getTracer)(),R=Q.getActiveScopeSpan(),S=!!(null==D?void 0:D.isWrappedByNextServer),T=!!(0,g.getRequestMeta)(a,"minimalMode"),U=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,z,J,C,T);null==U||U.resetRequestCache(),globalThis.__incrementalCache=U;let V={params:y,previewProps:J,renderOpts:{experimental:{authInterrupts:!!z.experimental.authInterrupts,useCacheTimeout:z.experimental.useCacheTimeout,durableUseCacheEntries:!!z.experimental.durableUseCacheEntries},cacheComponents:!!z.cacheComponents,validationLevel:z.experimental.instantInsights.validationLevel,isDraftMode:B,incrementalCache:U,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:z.cacheLife,staticPageGenerationTimeout:z.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:w,deploymentId:x}},W=new k.NodeNextRequest(a),X=new k.NodeNextResponse(b),Y=l.NextRequestAdapter.fromNodeNextRequest(W,(0,l.signalFromNodeResponse)(b)),Z=async({previousCacheEntry:e})=>{try{if(!T&&E&&F&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===O?await v.handle(Y,V):await v.prerender(Y,V);a.fetchMetrics=V.renderOpts.fetchMetrics;let f=V.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=V.renderOpts.collectedTags;if(!M)return await (0,o.I)(W,X,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,e=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?z.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),b}},$=async(d,f)=>{try{var g,i;let d=await v.handleResponse({req:a,nextConfig:z,cacheKey:O,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:J,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,responseGenerator:Z,waitUntil:c.waitUntil,isMinimalMode:T});if(null!==d&&"error"in d)throw d.error;if(!M)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`);T||b.setHeader("x-nextjs-cache",E?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),B&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);T&&M||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(W,X,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:K,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),M)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(W,X,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=Q.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||K,g=`${P} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(S&&R)await $(R,void 0);else{let b=Q.getActiveScopeSpan();await Q.withPropagatedContext(a.headers,()=>Q.trace(m.BaseServerSpan.handleRequest,{spanName:`${P} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":P,"http.target":a.url}},a=>$(a,b)),void 0,!S)}}},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},51892:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GET:()=>f,OPTIONS:()=>e});var d=c(81329);async function e(){return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"GET, OPTIONS","Access-Control-Allow-Headers":"*"}})}async function f(){try{let b=[],c=new Set;function a({name:d,displayName:e,description:f,methods:g=["generateContent"]}){c.has(d)||(c.add(d),b.push({name:d,displayName:e,description:f,supportedGenerationMethods:g,inputTokenLimit:128e3,outputTokenLimit:8192}))}for(let[b,c]of Object.entries(d.vq))for(let d of c)a({name:`models/${b}/${d.id}`,displayName:d.name||d.id,description:`${b} model: ${d.name||d.id}`}),"gemini"===b&&a({name:`models/${d.id}`,displayName:d.name||d.id,description:`Gemini model: ${d.name||d.id}`,methods:["generateContent","streamGenerateContent"]});return Response.json({models:b})}catch(a){return console.log("Error fetching models:",a),Response.json({error:{message:a.message}},{status:500})}}},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},92280:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,3750,6070,1329],()=>b(b.s=42018));module.exports=c})();
|
|
1
|
+
(()=>{var a={};a.id=1860,a.ids=[1860],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3662:(a,b,c)=>{"use strict";c.d(b,{EQ:()=>f,LY:()=>d,O:()=>e,fh:()=>h,t2:()=>i,wf:()=>g});let d={400:{type:"invalid_request_error",code:"bad_request"},401:{type:"authentication_error",code:"invalid_api_key"},402:{type:"billing_error",code:"payment_required"},403:{type:"permission_error",code:"insufficient_quota"},404:{type:"invalid_request_error",code:"model_not_found"},406:{type:"invalid_request_error",code:"model_not_supported"},429:{type:"rate_limit_error",code:"rate_limit_exceeded"},500:{type:"server_error",code:"internal_server_error"},502:{type:"server_error",code:"bad_gateway"},503:{type:"server_error",code:"service_unavailable"},504:{type:"server_error",code:"gateway_timeout"}},e={400:"Bad request",401:"Invalid API key provided",402:"Payment required",403:"You exceeded your current quota",404:"Model not found",406:"Model not supported",429:"Rate limit exceeded",500:"Internal server error",502:"Bad gateway - upstream provider error",503:"Service temporarily unavailable",504:"Gateway timeout"},f={base:2e3,max:3e5,maxLevel:15},g=3e4,h=18e5,i=[{provider:"codex",text:"model is not supported when using codex with a chatgpt account",cooldownMs:18e5},{text:"no credentials",cooldownMs:12e4},{text:"request not allowed",cooldownMs:5e3},{text:"improperly formed request",cooldownMs:12e4},{text:"rate limit",backoff:!0},{text:"too many requests",backoff:!0},{text:"quota exceeded",backoff:!0},{text:"insufficient_quota",backoff:!0},{text:"insufficient quota",backoff:!0},{text:"exceeded your current quota",backoff:!0},{text:"exceeded your quota",backoff:!0},{text:"credit balance",cooldownMs:12e4},{text:"insufficient credit",cooldownMs:12e4},{text:"insufficient balance",cooldownMs:12e4},{text:"insufficient_balance",cooldownMs:12e4},{text:"billing",cooldownMs:12e4},{text:"capacity",backoff:!0},{text:"overloaded",backoff:!0},{status:401,cooldownMs:12e4},{status:402,cooldownMs:12e4},{status:403,cooldownMs:12e4},{status:404,cooldownMs:12e4},{status:429,backoff:!0}]},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")},19225:(a,b,c)=>{"use strict";a.exports=c(44870)},21820:a=>{"use strict";a.exports=require("os")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},41004:(a,b,c)=>{"use strict";c.d(b,{C8:()=>s,DR:()=>r,Ey:()=>k,IK:()=>m,Kv:()=>j,Ps:()=>g,SA:()=>p,Uc:()=>n,Z1:()=>i,ZL:()=>t,cI:()=>q,eo:()=>o,gx:()=>d,jk:()=>u,pH:()=>l,v1:()=>e,xM:()=>h}),c(3662);let d={BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,NOT_ACCEPTABLE:406,REQUEST_TIMEOUT:408,RATE_LIMITED:429,SERVER_ERROR:500,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504},e={sessionTtlMs:72e5,sessionCleanupIntervalMs:18e5,dnsCacheTtlMs:3e5,proxyDispatchersMaxSize:20};function f(a,b){let c=process.env[a];if(null==c||""===c)return b;let d=parseInt(c,10);return Number.isFinite(d)&&d>0?d:b}let g=process.env.SEARXNG_URL?.trim()||"http://localhost:8888/search",h=f("STREAM_STALL_TIMEOUT_MS",36e4),i=f("STREAM_FIRST_CHUNK_TIMEOUT_MS",2e5),j=f("UPSTREAM_MAX_BODY_BYTES",0x2000000),k=f("UPSTREAM_TOTAL_TIMEOUT_MS",18e5),l=f("FETCH_CONNECT_TIMEOUT_MS",6e4),m=f("GEMINI_NATIVE_TTS_FETCH_TIMEOUT_MS",45e3),n=64e3,o=32e3,p="x-omnihilbras-token-saver",q={429:{attempts:0,delayMs:0},502:{attempts:3,delayMs:3e3},503:{attempts:3,delayMs:2e3},504:{attempts:2,delayMs:3e3}};function r(a){return null==a?{attempts:0,delayMs:2e3}:"number"==typeof a?{attempts:a,delayMs:2e3}:{attempts:a.attempts||0,delayMs:null!=a.delayMs?a.delayMs:2e3}}let s=["Please write a 5-10 word title for the following conversation:"],t={candidates:[{flavor:"openai-billing",path:"/dashboard/billing/subscription"},{flavor:"openai-billing",path:"/dashboard/billing/usage"},{flavor:"new-api",path:"/api/user/self"}],usageWindowDays:30,unsupportedTtlMs:f("AGGREGATOR_UNSUPPORTED_TTL_MS",6e5),newApiQuotaPerUnit:5e5,fetchTimeoutMs:1e4},u={supabaseUrl:process.env.AGGREGATOR_WALLET_SUPABASE_URL,anonKey:process.env.AGGREGATOR_WALLET_ANON_KEY,authBaseUrl:process.env.AGGREGATOR_WALLET_AUTH_BASE_URL,walletTable:"wallets",walletColumns:["balance_paid","balance_trial","balance_bonus","balance_bonus_locked"],lockedColumn:"balance_bonus_locked"}},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},51892:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GET:()=>f,OPTIONS:()=>e});var d=c(81329);async function e(){return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"GET, OPTIONS","Access-Control-Allow-Headers":"*"}})}async function f(){try{let b=[],c=new Set;function a({name:d,displayName:e,description:f,methods:g=["generateContent"]}){c.has(d)||(c.add(d),b.push({name:d,displayName:e,description:f,supportedGenerationMethods:g,inputTokenLimit:128e3,outputTokenLimit:8192}))}for(let[b,c]of Object.entries(d.vq))for(let d of c)a({name:`models/${b}/${d.id}`,displayName:d.name||d.id,description:`${b} model: ${d.name||d.id}`}),"gemini"===b&&a({name:`models/${d.id}`,displayName:d.name||d.id,description:`Gemini model: ${d.name||d.id}`,methods:["generateContent","streamGenerateContent"]});return Response.json({models:b})}catch(a){return console.log("Error fetching models:",a),Response.json({error:{message:a.message}},{status:500})}}},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},85397:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/v1beta/models/route",pathname:"/api/v1beta/models",filename:"route",bundlePath:"app/api/v1beta/models/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/gin/work/Hilbras/OmniHilbras/src/app/api/v1beta/models/route.js",nextConfigOutput:"standalone",userland:()=>c(51892),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/v1beta/models/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:w,deploymentId:x,params:y,nextConfig:z,parsedUrl:A,isDraftMode:B,prerenderManifest:C,routerServerContext:D,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,resolvedPathname:G,clientReferenceManifest:H,serverActionsManifest:I,previewProps:J}=f,K=(0,j.normalizeAppPath)(d),L=!!C.routes[G]&&(v.isDev||(0,t.isRouteCacheOwner)(G,v.cacheOwner,C.routes[G])),M=!!(C.dynamicRoutes[K]||L),N=async()=>((null==D?void 0:D.render404)?await D.render404(a,b,A,!1):b.end("This page could not be found"),null);if(M&&!B){let a=C.dynamicRoutes[K];if(a&&!1===a.fallback&&!L){if(z.adapterPath)return await N();throw new s.NoFallbackError}}let O=null;!M||v.isDev||B||(O="/index"===(O=G)?"/":O),I&&H&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:H,serverActionsManifest:I});let P=a.method||"GET",Q=(0,h.getTracer)(),R=Q.getActiveScopeSpan(),S=!!(null==D?void 0:D.isWrappedByNextServer),T=!!(0,g.getRequestMeta)(a,"minimalMode"),U=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,z,J,C,T);null==U||U.resetRequestCache(),globalThis.__incrementalCache=U;let V={params:y,previewProps:J,renderOpts:{experimental:{authInterrupts:!!z.experimental.authInterrupts,useCacheTimeout:z.experimental.useCacheTimeout,durableUseCacheEntries:!!z.experimental.durableUseCacheEntries},cacheComponents:!!z.cacheComponents,validationLevel:z.experimental.instantInsights.validationLevel,isDraftMode:B,incrementalCache:U,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:z.cacheLife,staticPageGenerationTimeout:z.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:w,deploymentId:x}},W=new k.NodeNextRequest(a),X=new k.NodeNextResponse(b),Y=l.NextRequestAdapter.fromNodeNextRequest(W,(0,l.signalFromNodeResponse)(b)),Z=async({previousCacheEntry:e})=>{try{if(!T&&E&&F&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===O?await v.handle(Y,V):await v.prerender(Y,V);a.fetchMetrics=V.renderOpts.fetchMetrics;let f=V.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=V.renderOpts.collectedTags;if(!M)return await (0,o.I)(W,X,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,e=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?z.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),b}},$=async(d,f)=>{try{var g,i;let d=await v.handleResponse({req:a,nextConfig:z,cacheKey:O,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:J,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,responseGenerator:Z,waitUntil:c.waitUntil,isMinimalMode:T});if(null!==d&&"error"in d)throw d.error;if(!M)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`);T||b.setHeader("x-nextjs-cache",E?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),B&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);T&&M||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(W,X,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:K,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),M)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(W,X,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=Q.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||K,g=`${P} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(S&&R)await $(R,void 0);else{let b=Q.getActiveScopeSpan();await Q.withPropagatedContext(a.headers,()=>Q.trace(m.BaseServerSpan.handleRequest,{spanName:`${P} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":P,"http.target":a.url}},a=>$(a,b)),void 0,!S)}}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},92280:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,3750,6070,1329],()=>b(b.s=85397));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var a={};a.id=2922,a.ids=[2922],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},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")},
|
|
1
|
+
(()=>{var a={};a.id=2922,a.ids=[2922],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},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")},19225:(a,b,c)=>{"use strict";a.exports=c(44870)},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},37485:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/version/route",pathname:"/api/version",filename:"route",bundlePath:"app/api/version/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/gin/work/Hilbras/OmniHilbras/src/app/api/version/route.js",nextConfigOutput:"standalone",userland:()=>c(78778),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/version/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:w,deploymentId:x,params:y,nextConfig:z,parsedUrl:A,isDraftMode:B,prerenderManifest:C,routerServerContext:D,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,resolvedPathname:G,clientReferenceManifest:H,serverActionsManifest:I,previewProps:J}=f,K=(0,j.normalizeAppPath)(d),L=!!C.routes[G]&&(v.isDev||(0,t.isRouteCacheOwner)(G,v.cacheOwner,C.routes[G])),M=!!(C.dynamicRoutes[K]||L),N=async()=>((null==D?void 0:D.render404)?await D.render404(a,b,A,!1):b.end("This page could not be found"),null);if(M&&!B){let a=C.dynamicRoutes[K];if(a&&!1===a.fallback&&!L){if(z.adapterPath)return await N();throw new s.NoFallbackError}}let O=null;!M||v.isDev||B||(O="/index"===(O=G)?"/":O),I&&H&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:H,serverActionsManifest:I});let P=a.method||"GET",Q=(0,h.getTracer)(),R=Q.getActiveScopeSpan(),S=!!(null==D?void 0:D.isWrappedByNextServer),T=!!(0,g.getRequestMeta)(a,"minimalMode"),U=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,z,J,C,T);null==U||U.resetRequestCache(),globalThis.__incrementalCache=U;let V={params:y,previewProps:J,renderOpts:{experimental:{authInterrupts:!!z.experimental.authInterrupts,useCacheTimeout:z.experimental.useCacheTimeout,durableUseCacheEntries:!!z.experimental.durableUseCacheEntries},cacheComponents:!!z.cacheComponents,validationLevel:z.experimental.instantInsights.validationLevel,isDraftMode:B,incrementalCache:U,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:z.cacheLife,staticPageGenerationTimeout:z.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:w,deploymentId:x}},W=new k.NodeNextRequest(a),X=new k.NodeNextResponse(b),Y=l.NextRequestAdapter.fromNodeNextRequest(W,(0,l.signalFromNodeResponse)(b)),Z=async({previousCacheEntry:e})=>{try{if(!T&&E&&F&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===O?await v.handle(Y,V):await v.prerender(Y,V);a.fetchMetrics=V.renderOpts.fetchMetrics;let f=V.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=V.renderOpts.collectedTags;if(!M)return await (0,o.I)(W,X,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,e=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?z.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),b}},$=async(d,f)=>{try{var g,i;let d=await v.handleResponse({req:a,nextConfig:z,cacheKey:O,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:J,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,responseGenerator:Z,waitUntil:c.waitUntil,isMinimalMode:T});if(null!==d&&"error"in d)throw d.error;if(!M)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`);T||b.setHeader("x-nextjs-cache",E?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),B&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);T&&M||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(W,X,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:K,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),M)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(W,X,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=Q.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||K,g=`${P} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(S&&R)await $(R,void 0);else{let b=Q.getActiveScopeSpan();await Q.withPropagatedContext(a.headers,()=>Q.trace(m.BaseServerSpan.handleRequest,{spanName:`${P} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":P,"http.target":a.url}},a=>$(a,b)),void 0,!S)}}},39006:a=>{"use strict";a.exports={rE:"2.9.18"}},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},78778:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GET:()=>j});var d=c(55591),e=c.n(d),f=c(39006);let g=`https://registry.npmjs.org/${encodeURIComponent("@hilbras/omnihilbras")}/latest`,h=global.__npmVersionCache??={value:null,fetchedAt:0};async function i(){if(h.value&&Date.now()-h.fetchedAt<36e5)return h.value;let a=await new Promise(a=>{let b=e().get(g,{timeout:4e3},b=>{let c="";b.on("data",a=>c+=a),b.on("end",()=>{try{a(JSON.parse(c).version||null)}catch{a(null)}})});b.on("error",()=>a(null)),b.on("timeout",()=>{b.destroy(),a(null)})});return a&&(h.value=a,h.fetchedAt=Date.now()),a}async function j(){let a=await i(),b=f.rE,c=!!a&&function(a,b){let c=a.split(".").map(Number),d=b.split(".").map(Number);for(let a=0;a<3;a++){if(c[a]>d[a])return 1;if(c[a]<d[a])return -1}return 0}(a,b)>0;return Response.json({currentVersion:b,latestVersion:a,hasUpdate:c})}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},92280:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970],()=>b(b.s=37485));module.exports=c})();
|