@ai-sdk/gateway 4.0.150 → 4.0.152
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/dist/index.d.ts +194 -14
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +238 -5
- package/dist/index.js.map +1 -1
- package/docs/00-ai-gateway.mdx +66 -0
- package/package.json +4 -4
- package/src/gateway-decision-model-settings.ts +3 -26
- package/src/gateway-embedding-model-settings.ts +3 -28
- package/src/gateway-extraction-model-settings.ts +5 -1
- package/src/gateway-image-model-settings.ts +3 -46
- package/src/gateway-language-model-settings.ts +3 -324
- package/src/gateway-model-catalog.ts +543 -0
- package/src/gateway-provider.ts +84 -17
- package/src/gateway-realtime-model-live.ts +385 -0
- package/src/gateway-realtime-model-settings.ts +19 -10
- package/src/gateway-reranking-model-settings.ts +3 -9
- package/src/gateway-speech-model-settings.ts +3 -26
- package/src/gateway-transcription-model-settings.ts +3 -16
- package/src/gateway-video-model-settings.ts +3 -39
- package/src/index.ts +6 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @ai-sdk/gateway
|
|
2
2
|
|
|
3
|
+
## 4.0.152
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7e55599: feat(gateway): support Live models over WebSocket
|
|
8
|
+
|
|
9
|
+
- `gateway.experimental_realtime()` returns a continuous Live model for `openai/gpt-live-1` and `openai/gpt-live-1.1`. It connects to the Gateway Live route and speaks the normalized Live protocol (`session-start`, PCM16 audio, `context-append`, `session-close` with final usage). Pass `{ api: 'live' }` for other Live model IDs or `{ api: 'realtime' }` to force the realtime route. Before, these model IDs opened the realtime route, which rejected them with `invalid_model`.
|
|
10
|
+
- `gateway.experimental_realtime.getToken()` mints Live-bound client secrets for Live models.
|
|
11
|
+
- `experimental_useRealtime` and the realtime session can connect a continuous model straight to the provider with a short-lived token (`api.token`) when the model explicitly declares the `client-secret-websocket` connection. Before, continuous WebSocket sessions required an application relay.
|
|
12
|
+
|
|
13
|
+
- beccad3: chore(provider/gateway): update gateway model settings files
|
|
14
|
+
|
|
15
|
+
## 4.0.151
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- a51981c: Derive model ID types from a single modality-specific catalog and update model generation to maintain the catalog.
|
|
20
|
+
- 875de7b: feat(google): add the `gemini-4-neon` model ID with `xhigh` thinking support
|
|
21
|
+
- Updated dependencies [1d2c2ff]
|
|
22
|
+
- @ai-sdk/provider-utils@5.0.83
|
|
23
|
+
|
|
3
24
|
## 4.0.150
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,23 @@
|
|
|
1
1
|
import { FetchFunction, InferSchema, Resolvable, WebSocketConstructor } from "@ai-sdk/provider-utils";
|
|
2
|
-
import { APICallError, EmbeddingModelV4, Experimental_BatchV4, Experimental_DecisionModelV4, Experimental_ExtractionModelV4, Experimental_RealtimeFactoryV4, Experimental_StreamingSpeechModelV4, Experimental_VideoModelV4, ImageModelV4, JSONValue, LanguageModelV4, ProviderV4, RerankingModelV4, SpeechModelV4, TranscriptionModelV4, TypeValidationError } from "@ai-sdk/provider";
|
|
2
|
+
import { APICallError, EmbeddingModelV4, Experimental_BatchV4, Experimental_DecisionModelV4, Experimental_ExtractionModelV4, Experimental_RealtimeFactoryV4, Experimental_RealtimeFactoryV4GetTokenOptions, Experimental_RealtimeFactoryV4GetTokenResult, Experimental_RealtimeModelV4, Experimental_RealtimeModelV4ClientEvent, Experimental_RealtimeModelV4ClientSecretOptions, Experimental_RealtimeModelV4ClientSecretResult, Experimental_RealtimeModelV4ServerConnection, Experimental_RealtimeModelV4ServerEvent, Experimental_RealtimeModelV4SessionConfig, Experimental_RealtimeModelV4SessionIntent, Experimental_StreamingSpeechModelV4, Experimental_VideoModelV4, ImageModelV4, JSONValue, LanguageModelV4, ProviderV4, RerankingModelV4, SpeechModelV4, TranscriptionModelV4, TypeValidationError } from "@ai-sdk/provider";
|
|
3
|
+
//#region src/gateway-model-catalog.d.ts
|
|
4
|
+
declare const gatewayModelIds: {
|
|
5
|
+
readonly language: readonly ["alibaba/qwen-3-14b", "alibaba/qwen-3-30b", "alibaba/qwen-3-32b", "alibaba/qwen3-coder-30b-a3b", "alibaba/qwen3-coder-next", "alibaba/qwen3-max-thinking", "alibaba/qwen3-next-80b-a3b-instruct", "alibaba/qwen3-vl-instruct", "alibaba/qwen3.5-flash", "alibaba/qwen3.5-plus", "alibaba/qwen3.6-27b", "alibaba/qwen3.6-35b-a3b", "alibaba/qwen3.6-plus", "alibaba/qwen3.7-flash", "alibaba/qwen3.7-max", "alibaba/qwen3.7-plus", "alibaba/qwen3.8-2.4t-a95b", "alibaba/qwen3.8-27b", "alibaba/qwen3.8-flash", "alibaba/qwen3.8-max", "alibaba/qwen3.8-max-0902", "alibaba/qwen3.8-max-prime", "alibaba/qwen3.8-omni-flash", "alibaba/qwen4-max", "amazon/nova-2-lite", "amazon/nova-lite", "amazon/nova-micro", "amazon/nova-pro", "anthropic/claude-fable-5", "anthropic/claude-fable-5-batch", "anthropic/claude-fable-5.1", "anthropic/claude-fable-5.1-batch", "anthropic/claude-fable-5.2", "anthropic/claude-fable-5.2-batch", "anthropic/claude-fable-5.2-fast", "anthropic/claude-haiku-4.5", "anthropic/claude-haiku-4.5-batch", "anthropic/claude-haiku-5.5", "anthropic/claude-haiku-5.5-batch", "anthropic/claude-opus-4.5", "anthropic/claude-opus-4.5-batch", "anthropic/claude-opus-4.6", "anthropic/claude-opus-4.6-batch", "anthropic/claude-opus-4.7", "anthropic/claude-opus-4.7-batch", "anthropic/claude-opus-4.8", "anthropic/claude-opus-4.8-batch", "anthropic/claude-opus-4.8-fast", "anthropic/claude-opus-5", "anthropic/claude-opus-5-batch", "anthropic/claude-opus-5-fast", "anthropic/claude-opus-5.5", "anthropic/claude-opus-5.5-batch", "anthropic/claude-opus-5.5-fast", "anthropic/claude-sonnet-4.5", "anthropic/claude-sonnet-4.5-batch", "anthropic/claude-sonnet-4.6", "anthropic/claude-sonnet-4.6-batch", "anthropic/claude-sonnet-5", "anthropic/claude-sonnet-5-batch", "anthropic/claude-sonnet-5.5", "anthropic/claude-sonnet-5.5-batch", "bytedance/seed-2.1-turbo", "callstack/apex", "cohere/command-a", "deepseek/deepseek-r1", "deepseek/deepseek-v3.1", "deepseek/deepseek-v3.2", "deepseek/deepseek-v3.2-thinking", "deepseek/deepseek-v4-flash", "deepseek/deepseek-v4-flash-0731", "deepseek/deepseek-v4-flash-vision-exp", "deepseek/deepseek-v4-pro", "deepseek/deepseek-v4-pro-0813", "deepseek/deepseek-v4.1-flash", "deepseek/deepseek-v4.1-flash-1017", "deepseek/deepseek-v4.1-flash-1017-fast", "deepseek/deepseek-v4.1-flash-1017-ultrafast", "deepseek/deepseek-v4.1-flash-fast", "elorian/glimpse", "fireworks/ember-1", "google/gemini-2.5-flash", "google/gemini-2.5-flash-batch", "google/gemini-2.5-flash-image", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-lite-batch", "google/gemini-2.5-pro", "google/gemini-2.5-pro-batch", "google/gemini-3-flash", "google/gemini-3-flash-batch", "google/gemini-3-pro-image", "google/gemini-3.1-flash-image", "google/gemini-3.1-flash-lite", "google/gemini-3.1-flash-lite-batch", "google/gemini-3.1-flash-lite-image", "google/gemini-3.1-pro-preview", "google/gemini-3.1-pro-preview-batch", "google/gemini-3.5-flash", "google/gemini-3.5-flash-lite", "google/gemini-3.5-flash-lite-batch", "google/gemini-3.6-flash", "google/gemini-3.6-flash-batch", "google/gemini-3.7-flash", "google/gemini-3.8-flash", "google/gemini-4-argon", "google/gemini-4-carbon", "google/gemini-4-hydrogen", "google/gemini-4-neon", "google/gemini-nano-banana-2.1", "google/gemini-omni-1.2-flash", "google/gemini-omni-flash-preview", "google/gemma-4-26b-a4b-it", "google/gemma-4-31b-it", "humansand/ampersand-v0.1", "inception/mercury-3", "inclusionai/ling-3.0-flash", "inclusionai/ling-3.0-flash-fin", "inclusionai/ling-3.0-flash-sante", "inclusionai/ling-3.0-flash-vl", "inclusionai/ling-3.1-flash", "inclusionai/ling-3.1-flash-1019", "inference-net/schematron-v2-small", "inference-net/schematron-v2-turbo", "interfaze/interfaze-beta", "liquid/lfm2.5-24b-a2b", "meituan/longcat-2.5", "meta/llama-3.1-70b", "meta/llama-3.1-8b", "meta/llama-3.3-70b", "meta/llama-4-maverick", "meta/llama-4-scout", "meta/muse-ember", "meta/muse-glimmer-30b", "meta/muse-spark-1.1", "meta/muse-spark-1.2", "meta/muse-spark-1.2-contributor", "meta/muse-spark-1.3", "meta/muse-spark-1.3-contributor", "meta/muse-spark-open", "meta/muse-wonder-1.0", "minimax/minimax-m2.1", "minimax/minimax-m2.5", "minimax/minimax-m2.7", "minimax/minimax-m3", "minimax/minimax-m3.1-flash", "mistral/codestral", "mistral/ministral-14b", "mistral/ministral-3b", "mistral/ministral-8b", "mistral/mistral-large-3", "mistral/mistral-large-4", "mistral/mistral-medium-3.5", "mistral/mistral-nemo", "mistral/mistral-small", "mixedbread/toast-1", "moonshotai/kimi-k2", "moonshotai/kimi-k2.5", "moonshotai/kimi-k2.6", "moonshotai/kimi-k2.7-code", "moonshotai/kimi-k2.7-code-highspeed", "moonshotai/kimi-k3", "moonshotai/kimi-k3-fast", "moonshotai/kimi-k3.1-pro", "moonshotai/kimi-k3.1-pro-highspeed", "morph/morph-v3-fast", "morph/morph-v3-large", "nvidia/nemotron-3-super-120b-a12b", "nvidia/nemotron-3-ultra-550b-a55b", "nvidia/nemotron-3.5-lightning", "nvidia/nemotron-3.5-lightning-free", "nvidia/nemotron-3.5-super-vl", "nvidia/nemotron-nano-12b-v2-vl", "nvidia/nemotron-nano-9b-v2", "openai/gpt-4.1", "openai/gpt-4.1-batch", "openai/gpt-4.1-fast", "openai/gpt-4.1-mini", "openai/gpt-4.1-mini-batch", "openai/gpt-4.1-mini-fast", "openai/gpt-4.1-nano", "openai/gpt-4o", "openai/gpt-4o-batch", "openai/gpt-4o-fast", "openai/gpt-4o-mini", "openai/gpt-4o-mini-batch", "openai/gpt-4o-mini-fast", "openai/gpt-5", "openai/gpt-5-batch", "openai/gpt-5-codex", "openai/gpt-5-fast", "openai/gpt-5-mini", "openai/gpt-5-mini-batch", "openai/gpt-5-mini-fast", "openai/gpt-5-nano", "openai/gpt-5-nano-batch", "openai/gpt-5-pro", "openai/gpt-5-pro-batch", "openai/gpt-5.1-codex", "openai/gpt-5.1-codex-max", "openai/gpt-5.1-codex-mini", "openai/gpt-5.1-thinking", "openai/gpt-5.1-thinking-fast", "openai/gpt-5.2", "openai/gpt-5.2-batch", "openai/gpt-5.2-codex", "openai/gpt-5.2-fast", "openai/gpt-5.2-pro", "openai/gpt-5.3-codex", "openai/gpt-5.3-codex-fast", "openai/gpt-5.4", "openai/gpt-5.4-batch", "openai/gpt-5.4-fast", "openai/gpt-5.4-mini", "openai/gpt-5.4-mini-batch", "openai/gpt-5.4-mini-fast", "openai/gpt-5.4-nano", "openai/gpt-5.4-nano-batch", "openai/gpt-5.4-pro", "openai/gpt-5.5", "openai/gpt-5.5-batch", "openai/gpt-5.5-fast", "openai/gpt-5.5-pro", "openai/gpt-5.5-pro-batch", "openai/gpt-5.6-luna", "openai/gpt-5.6-luna-batch", "openai/gpt-5.6-luna-fast", "openai/gpt-5.6-sol", "openai/gpt-5.6-sol-batch", "openai/gpt-5.6-sol-fast", "openai/gpt-5.6-terra", "openai/gpt-5.6-terra-batch", "openai/gpt-5.6-terra-fast", "openai/gpt-6-astra", "openai/gpt-6-astra-batch", "openai/gpt-6-astra-fast", "openai/gpt-6-luna", "openai/gpt-6-luna-batch", "openai/gpt-6-luna-fast", "openai/gpt-6-sol", "openai/gpt-6-sol-batch", "openai/gpt-6-sol-fast", "openai/gpt-6.1-sol", "openai/gpt-6.1-sol-batch", "openai/gpt-6.1-sol-fast", "openai/gpt-6.1-terra", "openai/gpt-6.1-terra-fast", "openai/gpt-6.2-astra", "openai/gpt-6.2-astra-fast", "openai/gpt-6.2-sol", "openai/gpt-6.2-sol-fast", "openai/gpt-oss-120b", "openai/gpt-oss-20b", "openai/gpt-oss-safeguard-120b", "openai/gpt-oss-safeguard-20b", "openai/o1", "openai/o3", "openai/o3-fast", "openai/o3-mini", "openai/o3-pro", "openai/o4-mini", "paperinstruments/ultramarine-1-flash", "particle/particle-1", "perplexity/sonar", "quiverai/arrow-2", "quiverai/arrow-2-telos", "recursive/flint-v1.0", "reflection/beam", "reflection/beam-free", "sakana/fugu-max", "sakana/fugu-ultra", "sakana/fugu-ultra-v2", "sakana/namazu", "scaledown/scaledown-extract-1", "scaledown/scaledown-summarize-1", "spacexai/grok-4.20-multi-agent", "spacexai/grok-4.20-multi-agent-batch", "spacexai/grok-4.20-multi-agent-beta", "spacexai/grok-4.20-non-reasoning", "spacexai/grok-4.20-non-reasoning-batch", "spacexai/grok-4.20-non-reasoning-beta", "spacexai/grok-4.20-reasoning", "spacexai/grok-4.20-reasoning-batch", "spacexai/grok-4.20-reasoning-beta", "spacexai/grok-4.3", "spacexai/grok-4.3-batch", "spacexai/grok-4.5", "spacexai/grok-4.6", "spacexai/grok-4.7", "stealth/glyph-cluster", "stepfun/step-3.7-flash", "stepfun/step-5-preview", "tencent/hy-mt2-lite", "tencent/hy-mt2-plus", "tencent/hy-mt2-pro", "tencent/hy3", "tencent/hy4", "tencent/hy4-flash", "tencent/hy4-preview", "thinkingmachines/inkling", "thinkingmachines/inkling-2-small", "thinkingmachines/inkling-small", "xiaomi/mimo-v2.6-flash", "xiaomi/mimo-v2.6-pro", "xiaomi/mimo-v2.6-pro-ultraspeed", "zai/glm-4.5", "zai/glm-4.5-air", "zai/glm-4.5v", "zai/glm-4.6", "zai/glm-4.7", "zai/glm-4.7-flash", "zai/glm-4.7-flashx", "zai/glm-5", "zai/glm-5-turbo", "zai/glm-5.1", "zai/glm-5.2", "zai/glm-5.2-fast", "zai/glm-5.3", "zai/glm-5.3-fast", "zai/glm-5.3-flash", "zai/glm-5.3-flashx", "zai/glm-5.3-flashx-legal", "zai/glm-5v-turbo"];
|
|
6
|
+
readonly embedding: readonly ["alibaba/qwen3-embedding-0.6b", "alibaba/qwen3-embedding-4b", "alibaba/qwen3-embedding-8b", "amazon/titan-embed-text-v2", "cohere/embed-v4.0", "cohere/embed-v5.0-fast", "cohere/embed-v5.0-pro", "google/gemini-embedding-001", "google/gemini-embedding-2", "google/text-embedding-005", "google/text-multilingual-embedding-002", "mistral/codestral-embed", "mistral/mistral-embed", "openai/text-embedding-3-large", "openai/text-embedding-3-small", "openai/text-embedding-ada-002", "perplexity/pplx-embed-v1-0.6b", "perplexity/pplx-embed-v1-4b", "voyage/voyage-3-large", "voyage/voyage-3.5", "voyage/voyage-3.5-lite", "voyage/voyage-4", "voyage/voyage-4-large", "voyage/voyage-4-lite", "voyage/voyage-code-2", "voyage/voyage-code-3", "voyage/voyage-finance-2", "voyage/voyage-law-2"];
|
|
7
|
+
readonly decision: readonly ["baseten/elephant-1", "baseten/joey-1", "baseten/mammoth-1", "convaiinnovations/laya", "google/gemini-decision-1", "heygen/heygen-decision-1", "heygen/heygen-decision-1-turbo", "liquid/d1", "liquid/d1-ultra", "liquid/d1.2", "liquid/d1.2-ultra", "microsoft/decision-1.1", "microsoft/microsoft-decision-1", "modaic/mo", "nace-ai/drex-max-finance", "nace-ai/drex-max-v1.1", "nace-ai/drex-v2.0", "openai/gpt-6-luna-decisions", "parallel/parallel-decisions-fast", "perplexity/pplx-decider-flash-v1.2", "perplexity/pplx-decider-flash-v1.3", "perplexity/pplx-decider-v1.2", "perplexity/pplx-decider-v1.3", "scaledown/scaledown-classify-1", "typesafe-ai/jev", "typesafe-ai/jev-1.13.0", "typesafe-ai/jev-1.14.0"];
|
|
8
|
+
readonly extraction: readonly ["scaledown/extract-1"];
|
|
9
|
+
readonly image: readonly ["bfl/flux-2-flex", "bfl/flux-2-klein-4b", "bfl/flux-2-klein-9b", "bfl/flux-2-max", "bfl/flux-2-pro", "bfl/flux-3-image", "bfl/flux-3-image-klein", "bfl/flux-kontext-max", "bfl/flux-kontext-pro", "bfl/flux-pro-1.0-fill", "bfl/flux-pro-1.1", "bfl/flux-pro-1.1-ultra", "bytedance/seedream-4.0", "bytedance/seedream-4.5", "bytedance/seedream-5.0-lite", "bytedance/seedream-5.0-pro", "bytedance/seedream-5.5", "meta/muse-image-1.0", "microsoft/mai-image-2.6", "microsoft/mai-image-2.6-flash", "microsoft/mai-image-2.7", "microsoft/mai-image-2.7-flash", "minimax/minimax-h3-image", "minimax/minimax-h3-image-highspeed", "openai/gpt-image-1-mini", "openai/gpt-image-1.5", "openai/gpt-image-2", "openai/gpt-image-2.5-flare", "openai/gpt-image-2.5-sunburst", "openai/gpt-image-2.6-flare", "openai/gpt-image-2.6-sunburst", "recraft/recraft-v2", "recraft/recraft-v3", "recraft/recraft-v4", "recraft/recraft-v4-pro", "recraft/recraft-v4.1", "recraft/recraft-v4.1-flash", "recraft/recraft-v4.1-pro", "recraft/recraft-v4.1-utility", "recraft/recraft-v4.1-utility-pro", "spacexai/grok-imagine-image", "spacexai/grok-imagine-image-2.0", "topaz/wonder-3.5"];
|
|
10
|
+
readonly video: readonly ["alibaba/wan-v2.5-t2v-preview", "alibaba/wan-v2.6-i2v", "alibaba/wan-v2.6-i2v-flash", "alibaba/wan-v2.6-r2v", "alibaba/wan-v2.6-r2v-flash", "alibaba/wan-v2.6-t2v", "alibaba/wan-v2.7-r2v", "alibaba/wan-v2.7-t2v", "alibaba/wan-v3.0-video", "alibaba/wan-v3.0-video-prime", "bfl/flux-3-video", "bytedance/seedance-2.0", "bytedance/seedance-2.0-fast", "bytedance/seedance-2.0-mini", "bytedance/seedance-2.5", "bytedance/seedance-2.5-flash", "bytedance/seedance-v1.0-pro", "bytedance/seedance-v1.0-pro-fast", "google/veo-3.1-fast-generate-001", "google/veo-3.1-generate-001", "google/veo-3.1-lite-generate-001", "heygen/heygen-video-1", "klingai/kling-v2.5-turbo-i2v", "klingai/kling-v2.5-turbo-t2v", "klingai/kling-v2.6-i2v", "klingai/kling-v2.6-motion-control", "klingai/kling-v2.6-t2v", "klingai/kling-v3.0-i2v", "klingai/kling-v3.0-motion-control", "klingai/kling-v3.0-t2v", "minimax/minimax-h3", "minimax/minimax-h3-max", "spacexai/grok-imagine-video", "spacexai/grok-imagine-video-1.5", "spacexai/grok-imagine-video-1.5-lite", "topaz/proteus", "topaz/starlight-precise-2.6"];
|
|
11
|
+
readonly realtime: readonly ["elevenlabs/eleven-realtime-v1-max", "elevenlabs/eleven-realtime-v1-mini", "google/gemini-3.8-live", "google/gemini-3.8-live-extended-thinking", "openai/gpt-live-1", "openai/gpt-live-1.1", "openai/gpt-realtime-1.5", "openai/gpt-realtime-2", "openai/gpt-realtime-2.1", "openai/gpt-realtime-mini", "spacexai/grok-voice-3.0"];
|
|
12
|
+
readonly reranking: readonly ["cohere/rerank-v3.5", "cohere/rerank-v4-fast", "cohere/rerank-v4-pro", "cohere/rerank-v5-fast", "cohere/rerank-v5-pro", "voyage/rerank-2.5", "voyage/rerank-2.5-lite", "voyage/rerank-3", "voyage/rerank-3-lite"];
|
|
13
|
+
readonly speech: readonly ["elevenlabs/eleven-flash-v2", "elevenlabs/eleven-flash-v2.5", "elevenlabs/eleven-multilingual-v2", "elevenlabs/eleven-v3", "elevenlabs/eleven-v3-conversational", "elevenlabs/eleven-v4", "elevenlabs/eleven-v4-turbo", "elevenlabs/music-v2", "elevenlabs/music-v2.5", "elevenlabs/sound-effects-v2", "fish-audio/drama-3", "fish-audio/s1", "fish-audio/s2-pro", "fish-audio/s2.1-pro", "google/gemini-3.8-flash-lite-tts", "google/gemini-3.8-flash-tts", "microsoft/mai-voice-2", "microsoft/mai-voice-2-flash", "microsoft/mai-voice-2.1", "microsoft/mai-voice-2.1-flash", "mistral/voxtral-mini-tts-3", "openai/tts-1", "openai/tts-1-hd", "spacexai/grok-tts"];
|
|
14
|
+
readonly transcription: readonly ["elevenlabs/scribe-v2", "elevenlabs/scribe-v2-realtime", "fish-audio/transcribe-1", "google/gemini-3.5-transcribe", "google/gemini-3.5-transcribe-live", "microsoft/mai-transcribe-2", "microsoft/mai-transcribe-2-streaming", "mistral/voxtral-mini-transcribe-3", "mistral/voxtral-small-transcribe-3", "openai/gpt-4o-mini-transcribe", "openai/gpt-4o-transcribe", "openai/gpt-live-transcribe", "openai/gpt-realtime-whisper", "openai/gpt-transcribe", "openai/whisper-1", "spacexai/grok-stt"];
|
|
15
|
+
};
|
|
16
|
+
/** Known model IDs, derived from the catalog declarations. */
|
|
17
|
+
type GatewayModelIds = { [Type in keyof typeof gatewayModelIds]: (typeof gatewayModelIds)[Type][number]; };
|
|
18
|
+
//#endregion
|
|
3
19
|
//#region src/gateway-decision-model-settings.d.ts
|
|
4
|
-
type GatewayDecisionModelId = '
|
|
20
|
+
type GatewayDecisionModelId = GatewayModelIds['decision'] | (string & {});
|
|
5
21
|
//#endregion
|
|
6
22
|
//#region src/gateway-provider-options.d.ts
|
|
7
23
|
/**
|
|
@@ -110,16 +126,16 @@ type ConditionalGatewayModelFallback<QUESTION_ID extends string> = Exclude<Gatew
|
|
|
110
126
|
type GatewayModelFallbackList<QUESTION_ID extends string> = string[] | [ConditionalGatewayModelFallback<QUESTION_ID>, ...string[]];
|
|
111
127
|
//#endregion
|
|
112
128
|
//#region src/gateway-embedding-model-settings.d.ts
|
|
113
|
-
type GatewayEmbeddingModelId = '
|
|
129
|
+
type GatewayEmbeddingModelId = GatewayModelIds['embedding'] | (string & {});
|
|
114
130
|
//#endregion
|
|
115
131
|
//#region src/gateway-extraction-model-settings.d.ts
|
|
116
|
-
type GatewayExtractionModelId = string & {};
|
|
132
|
+
type GatewayExtractionModelId = GatewayModelIds['extraction'] | (string & {});
|
|
117
133
|
//#endregion
|
|
118
134
|
//#region src/gateway-image-model-settings.d.ts
|
|
119
|
-
type GatewayImageModelId = '
|
|
135
|
+
type GatewayImageModelId = GatewayModelIds['image'] | (string & {});
|
|
120
136
|
//#endregion
|
|
121
137
|
//#region src/gateway-language-model-settings.d.ts
|
|
122
|
-
type GatewayModelId = '
|
|
138
|
+
type GatewayModelId = GatewayModelIds['language'] | (string & {});
|
|
123
139
|
//#endregion
|
|
124
140
|
//#region src/gateway-realtime-auth.d.ts
|
|
125
141
|
/**
|
|
@@ -203,19 +219,29 @@ export declare function getGatewayRealtimeAuthToken(secWebSocketProtocol: string
|
|
|
203
219
|
export declare function getGatewayRealtimeTeamIdOrSlug(secWebSocketProtocol: string | null | undefined): string | undefined;
|
|
204
220
|
//#endregion
|
|
205
221
|
//#region src/gateway-realtime-model-settings.d.ts
|
|
206
|
-
type GatewayRealtimeModelId = '
|
|
222
|
+
type GatewayRealtimeModelId = GatewayModelIds['realtime'] | (string & {});
|
|
223
|
+
/**
|
|
224
|
+
* Realtime model IDs that use the continuous Live API by default. Other IDs use
|
|
225
|
+
* the realtime API unless `{ api: 'live' }` is passed.
|
|
226
|
+
*/
|
|
227
|
+
declare const gatewayLiveModelIds: readonly ["openai/gpt-live-1", "openai/gpt-live-1.1"];
|
|
228
|
+
type GatewayKnownLiveModelId = (typeof gatewayLiveModelIds)[number];
|
|
229
|
+
type GatewayRealtimeOptions = {
|
|
230
|
+
/** Selects the Gateway API for the model ID, including for new Live models. */
|
|
231
|
+
api?: 'live' | 'realtime';
|
|
232
|
+
};
|
|
207
233
|
//#endregion
|
|
208
234
|
//#region src/gateway-reranking-model-settings.d.ts
|
|
209
|
-
type GatewayRerankingModelId = '
|
|
235
|
+
type GatewayRerankingModelId = GatewayModelIds['reranking'] | (string & {});
|
|
210
236
|
//#endregion
|
|
211
237
|
//#region src/gateway-speech-model-settings.d.ts
|
|
212
|
-
type GatewaySpeechModelId = '
|
|
238
|
+
type GatewaySpeechModelId = GatewayModelIds['speech'] | (string & {});
|
|
213
239
|
//#endregion
|
|
214
240
|
//#region src/gateway-transcription-model-settings.d.ts
|
|
215
|
-
type GatewayTranscriptionModelId = '
|
|
241
|
+
type GatewayTranscriptionModelId = GatewayModelIds['transcription'] | (string & {});
|
|
216
242
|
//#endregion
|
|
217
243
|
//#region src/gateway-video-model-settings.d.ts
|
|
218
|
-
type GatewayVideoModelId = '
|
|
244
|
+
type GatewayVideoModelId = GatewayModelIds['video'] | (string & {});
|
|
219
245
|
//#endregion
|
|
220
246
|
//#region src/gateway-model-entry.d.ts
|
|
221
247
|
declare const KNOWN_MODEL_TYPES: readonly ["embedding", "decision", "evaluation", "extraction", "image", "language", "realtime", "reranking", "speech", "transcription", "video"];
|
|
@@ -386,6 +412,141 @@ interface GatewayGenerationInfo {
|
|
|
386
412
|
billableWebSearchCalls: number;
|
|
387
413
|
}
|
|
388
414
|
//#endregion
|
|
415
|
+
//#region src/gateway-realtime-model-live.d.ts
|
|
416
|
+
type GatewayRealtimeModelLiveConfig = {
|
|
417
|
+
provider: string;
|
|
418
|
+
baseURL: string;
|
|
419
|
+
teamIdOrSlug?: string;
|
|
420
|
+
getHeaders: () => Promise<Record<string, string | undefined>>;
|
|
421
|
+
/** Mints a Live-bound client secret (`vcst_`) server-side. */
|
|
422
|
+
createClientSecret: (params: {
|
|
423
|
+
modelId: string;
|
|
424
|
+
expiresAfterSeconds?: number;
|
|
425
|
+
routeKind: 'live';
|
|
426
|
+
}) => PromiseLike<{
|
|
427
|
+
token: string;
|
|
428
|
+
expiresAt?: number;
|
|
429
|
+
}>;
|
|
430
|
+
};
|
|
431
|
+
/**
|
|
432
|
+
* Live model backed by the AI Gateway.
|
|
433
|
+
*
|
|
434
|
+
* Live is a continuous conversation API: one `session-start` opens the
|
|
435
|
+
* session, PCM audio streams in both directions, and `session-close` ends it
|
|
436
|
+
* with final usage. The client speaks the Gateway's normalized Live protocol
|
|
437
|
+
* on `/v4/ai/live-model`, and the Gateway runs the provider mapping
|
|
438
|
+
* server-side, so server events arrive already normalized.
|
|
439
|
+
*/
|
|
440
|
+
declare class GatewayRealtimeModelLive implements Experimental_RealtimeModelV4 {
|
|
441
|
+
readonly specificationVersion: "v4";
|
|
442
|
+
readonly capabilities: {
|
|
443
|
+
readonly conversation: "continuous";
|
|
444
|
+
readonly transports: readonly ["websocket"];
|
|
445
|
+
readonly connections: readonly ["client-secret-websocket", "server-websocket"];
|
|
446
|
+
readonly startup: "session-start";
|
|
447
|
+
readonly finalization: "session-close";
|
|
448
|
+
};
|
|
449
|
+
readonly provider: string;
|
|
450
|
+
readonly modelId: string;
|
|
451
|
+
private readonly config;
|
|
452
|
+
constructor(modelId: string, config: GatewayRealtimeModelLiveConfig);
|
|
453
|
+
/**
|
|
454
|
+
* Mints a short-lived client secret bound to this Live model. The browser
|
|
455
|
+
* opens the Live WebSocket with it through the `ai-gateway-auth.<token>`
|
|
456
|
+
* subprotocol; the session configuration is sent later in `session-start`.
|
|
457
|
+
*/
|
|
458
|
+
doCreateClientSecret(options?: Experimental_RealtimeModelV4ClientSecretOptions): Promise<Experimental_RealtimeModelV4ClientSecretResult>;
|
|
459
|
+
getWebSocketConfig(options: {
|
|
460
|
+
token: string;
|
|
461
|
+
url: string;
|
|
462
|
+
}): {
|
|
463
|
+
url: string;
|
|
464
|
+
protocols?: string[];
|
|
465
|
+
};
|
|
466
|
+
getServerWebSocketConfig(options?: {
|
|
467
|
+
intent?: Experimental_RealtimeModelV4SessionIntent;
|
|
468
|
+
}): Promise<Experimental_RealtimeModelV4ServerConnection>;
|
|
469
|
+
parseServerEvent(raw: unknown): Experimental_RealtimeModelV4ServerEvent;
|
|
470
|
+
serializeClientEvent(event: Experimental_RealtimeModelV4ClientEvent, options?: {
|
|
471
|
+
intent?: Experimental_RealtimeModelV4SessionIntent;
|
|
472
|
+
}): unknown;
|
|
473
|
+
buildSessionConfig(config: Experimental_RealtimeModelV4SessionConfig, options?: {
|
|
474
|
+
intent?: Experimental_RealtimeModelV4SessionIntent;
|
|
475
|
+
}): Experimental_RealtimeModelV4SessionConfig;
|
|
476
|
+
private assertConversationIntent;
|
|
477
|
+
}
|
|
478
|
+
//#endregion
|
|
479
|
+
//#region src/gateway-realtime-model.d.ts
|
|
480
|
+
type GatewayRealtimeModelConfig = {
|
|
481
|
+
provider: string;
|
|
482
|
+
baseURL: string;
|
|
483
|
+
teamIdOrSlug?: string;
|
|
484
|
+
getHeaders: () => Promise<Record<string, string | undefined>>;
|
|
485
|
+
/**
|
|
486
|
+
* Mints a short-lived client secret (`vcst_`) for this model via the
|
|
487
|
+
* Gateway's `/v1/realtime/client-secrets` endpoint. Implemented by the
|
|
488
|
+
* provider because minting requires the long-lived Gateway credential
|
|
489
|
+
* (API key / OIDC) and must run server-side.
|
|
490
|
+
*/
|
|
491
|
+
createClientSecret: (params: {
|
|
492
|
+
modelId: string;
|
|
493
|
+
expiresAfterSeconds?: number;
|
|
494
|
+
}) => PromiseLike<{
|
|
495
|
+
token: string;
|
|
496
|
+
expiresAt?: number;
|
|
497
|
+
}>;
|
|
498
|
+
};
|
|
499
|
+
/**
|
|
500
|
+
* Realtime model backed by the AI Gateway.
|
|
501
|
+
*
|
|
502
|
+
* The Gateway normalizes realtime exactly like it normalizes every other
|
|
503
|
+
* modality: the client speaks the normalized AI SDK realtime protocol and the
|
|
504
|
+
* Gateway translates to and from the upstream provider server-side. This model
|
|
505
|
+
* is therefore a thin identity codec over that normalized protocol — only the
|
|
506
|
+
* connection and authentication are Gateway-specific.
|
|
507
|
+
*/
|
|
508
|
+
declare class GatewayRealtimeModel implements Experimental_RealtimeModelV4 {
|
|
509
|
+
readonly specificationVersion: "v4";
|
|
510
|
+
readonly capabilities: {
|
|
511
|
+
readonly conversation: "turn-based";
|
|
512
|
+
readonly transports: readonly ["websocket"];
|
|
513
|
+
readonly connections: readonly ["client-secret-websocket", "server-websocket"];
|
|
514
|
+
};
|
|
515
|
+
readonly provider: string;
|
|
516
|
+
readonly modelId: string;
|
|
517
|
+
private readonly config;
|
|
518
|
+
constructor(modelId: string, config: GatewayRealtimeModelConfig);
|
|
519
|
+
/**
|
|
520
|
+
* Mints a single-use, short-lived client secret (`vcst_`) the browser uses to
|
|
521
|
+
* open the realtime WebSocket without ever holding the long-lived Gateway
|
|
522
|
+
* credential. The customer's server calls this (via
|
|
523
|
+
* `gateway.experimental_realtime.getToken`) and hands the returned token to
|
|
524
|
+
* the browser, which connects with it through the `ai-gateway-auth.<token>`
|
|
525
|
+
* subprotocol. `expiresAfterSeconds` is forwarded to the mint endpoint;
|
|
526
|
+
* `sessionConfig` is intentionally unused here — it is applied later via the
|
|
527
|
+
* normalized `session-update` event.
|
|
528
|
+
*/
|
|
529
|
+
doCreateClientSecret(options?: Experimental_RealtimeModelV4ClientSecretOptions): Promise<Experimental_RealtimeModelV4ClientSecretResult>;
|
|
530
|
+
getWebSocketConfig(options: {
|
|
531
|
+
token: string;
|
|
532
|
+
url: string;
|
|
533
|
+
}): {
|
|
534
|
+
url: string;
|
|
535
|
+
protocols?: string[];
|
|
536
|
+
};
|
|
537
|
+
getServerWebSocketConfig(options?: {
|
|
538
|
+
intent?: Experimental_RealtimeModelV4SessionIntent;
|
|
539
|
+
}): Promise<Experimental_RealtimeModelV4ServerConnection>;
|
|
540
|
+
private assertConversationIntent;
|
|
541
|
+
parseServerEvent(raw: unknown): Experimental_RealtimeModelV4ServerEvent;
|
|
542
|
+
serializeClientEvent(event: Experimental_RealtimeModelV4ClientEvent, options?: {
|
|
543
|
+
intent?: Experimental_RealtimeModelV4SessionIntent;
|
|
544
|
+
}): unknown;
|
|
545
|
+
buildSessionConfig(config: Experimental_RealtimeModelV4SessionConfig, options?: {
|
|
546
|
+
intent?: Experimental_RealtimeModelV4SessionIntent;
|
|
547
|
+
}): unknown;
|
|
548
|
+
}
|
|
549
|
+
//#endregion
|
|
389
550
|
//#region src/tool/browserbase-fetch.d.ts
|
|
390
551
|
type BrowserbaseFetchFormat = 'raw' | 'json' | 'markdown';
|
|
391
552
|
interface BrowserbaseFetchConfig {
|
|
@@ -1438,9 +1599,10 @@ interface GatewayProvider extends ProviderV4 {
|
|
|
1438
1599
|
transcriptionModel(modelId: GatewayTranscriptionModelId): TranscriptionModelV4;
|
|
1439
1600
|
/**
|
|
1440
1601
|
* Creates an experimental realtime model for bidirectional audio/text
|
|
1441
|
-
* communication over WebSocket, normalized through the AI Gateway.
|
|
1602
|
+
* communication over WebSocket, normalized through the AI Gateway. Known
|
|
1603
|
+
* Live model IDs return a continuous Live model; `{ api }` overrides routing.
|
|
1442
1604
|
*/
|
|
1443
|
-
experimental_realtime:
|
|
1605
|
+
experimental_realtime: GatewayRealtimeFactory;
|
|
1444
1606
|
/**
|
|
1445
1607
|
* Experimental streaming-transcription entry point. Callable like
|
|
1446
1608
|
* `transcription(modelId)`, plus `getToken` for minting a short-lived
|
|
@@ -1460,6 +1622,24 @@ interface GatewayProvider extends ProviderV4 {
|
|
|
1460
1622
|
*/
|
|
1461
1623
|
tools: typeof gatewayTools;
|
|
1462
1624
|
}
|
|
1625
|
+
/**
|
|
1626
|
+
* Realtime factory: returns a turn-based realtime model or, for Live model IDs
|
|
1627
|
+
* or `{ api: 'live' }`, a continuous Live model. `getToken` mints a client
|
|
1628
|
+
* secret bound to the matching Gateway WebSocket route.
|
|
1629
|
+
*/
|
|
1630
|
+
interface GatewayRealtimeFactory extends Experimental_RealtimeFactoryV4 {
|
|
1631
|
+
(modelId: string, options: {
|
|
1632
|
+
api: 'live';
|
|
1633
|
+
}): GatewayRealtimeModelLive;
|
|
1634
|
+
(modelId: string, options: {
|
|
1635
|
+
api: 'realtime';
|
|
1636
|
+
}): GatewayRealtimeModel;
|
|
1637
|
+
(modelId: GatewayKnownLiveModelId, options?: {
|
|
1638
|
+
api?: undefined;
|
|
1639
|
+
}): GatewayRealtimeModelLive;
|
|
1640
|
+
(modelId: GatewayRealtimeModelId, options?: GatewayRealtimeOptions): Experimental_RealtimeModelV4;
|
|
1641
|
+
getToken(options: Experimental_RealtimeFactoryV4GetTokenOptions & GatewayRealtimeOptions): Promise<Experimental_RealtimeFactoryV4GetTokenResult>;
|
|
1642
|
+
}
|
|
1463
1643
|
type GatewayTranscriptionFactoryGetTokenOptions = {
|
|
1464
1644
|
model: GatewayTranscriptionModelId;
|
|
1465
1645
|
/** Token lifetime in seconds. Gateway default is 60s (max 300s). */
|
|
@@ -1858,5 +2038,5 @@ export type GatewayEvaluationModelId = GatewayDecisionModelId;
|
|
|
1858
2038
|
/** @deprecated Use `DecisionFallbackCondition` instead. */
|
|
1859
2039
|
export type EvaluationFallbackCondition<QUESTION_ID extends string = string> = DecisionFallbackCondition<QUESTION_ID>;
|
|
1860
2040
|
//#endregion
|
|
1861
|
-
export { type DecisionFallbackCondition, type GatewayAsyncJobMetadata, type GatewayCreditsResponse, type GatewayDecisionModelId, type GatewayEmbeddingModelId, type GatewayErrorResponse, type GatewayExtractionModelId, type GatewayGenerationInfo, type GatewayGenerationInfoParams, type GatewayImageModelId, type GatewayLanguageModelEntry, type GatewayLanguageModelEntry as GatewayModelEntry, type GatewayProviderOptions as GatewayLanguageModelOptions, type GatewayProviderOptions, type GatewayLanguageModelSpecification, type GatewayModelFallback, type GatewayModelId, type GatewayProvider, type GatewayProviderMetadata, type GatewayProviderSettings, type GatewayRealtimeModelId, type GatewayRerankingModelId, type GatewaySpeechModelId, type GatewaySpendReportParams, type GatewaySpendReportResponse, type GatewaySpendReportRow, type GatewayTranscriptionModelId, type GatewayVideoModelId, createGateway as createGatewayProvider };
|
|
2041
|
+
export { type DecisionFallbackCondition, type GatewayAsyncJobMetadata, type GatewayCreditsResponse, type GatewayDecisionModelId, type GatewayEmbeddingModelId, type GatewayErrorResponse, type GatewayExtractionModelId, type GatewayGenerationInfo, type GatewayGenerationInfoParams, type GatewayImageModelId, type GatewayKnownLiveModelId, type GatewayLanguageModelEntry, type GatewayLanguageModelEntry as GatewayModelEntry, type GatewayProviderOptions as GatewayLanguageModelOptions, type GatewayProviderOptions, type GatewayLanguageModelSpecification, type GatewayModelFallback, type GatewayModelId, type GatewayProvider, type GatewayProviderMetadata, type GatewayProviderSettings, type GatewayRealtimeFactory, type GatewayRealtimeModelId, type GatewayRealtimeOptions, type GatewayRerankingModelId, type GatewaySpeechModelId, type GatewaySpendReportParams, type GatewaySpendReportResponse, type GatewaySpendReportRow, type GatewayTranscriptionModelId, type GatewayVideoModelId, createGateway as createGatewayProvider };
|
|
1862
2042
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":["_$__tool_browserbase_fetch0.BrowserbaseFetchConfig","_$__tool_browserbase_fetch0.browserbaseFetchToolFactory","_$__tool_browserbase_search0.BrowserbaseSearchConfig","_$__tool_browserbase_search0.browserbaseSearchToolFactory","_$__tool_deepseek_fetch0.DeepSeekFetchConfig","_$__tool_deepseek_fetch0.deepseekFetchToolFactory","_$__tool_deepseek_search0.DeepSeekSearchConfig","_$__tool_deepseek_search0.deepseekSearchToolFactory","_$__tool_exa_search0.ExaSearchConfig","_$__tool_exa_search0.exaSearchToolFactory","_$__tool_parallel_search0.ParallelSearchConfig","_$__tool_parallel_search0.parallelSearchToolFactory","_$__tool_perplexity_search0.PerplexitySearchConfig","_$__tool_perplexity_search0.perplexitySearchToolFactory","_$__tool_tako_search0.TakoSearchConfig","_$__tool_tako_search0.takoSearchToolFactory","BatchV4","RealtimeFactoryV4","symbol","symbol","symbol","symbol","symbol","symbol","symbol","symbol","symbol","symbol"],"sources":["../src/gateway-decision-model-settings.ts","../src/gateway-provider-options.ts","../src/gateway-embedding-model-settings.ts","../src/gateway-extraction-model-settings.ts","../src/gateway-image-model-settings.ts","../src/gateway-language-model-settings.ts","../src/gateway-realtime-auth.ts","../src/gateway-realtime-model-settings.ts","../src/gateway-reranking-model-settings.ts","../src/gateway-speech-model-settings.ts","../src/gateway-transcription-model-settings.ts","../src/gateway-video-model-settings.ts","../src/gateway-model-entry.ts","../src/gateway-fetch-metadata.ts","../src/gateway-spend-report.ts","../src/gateway-generation-info.ts","../src/tool/browserbase-fetch.ts","../src/tool/browserbase-search.ts","../src/tool/gateway-tool-error.ts","../src/tool/deepseek-fetch.ts","../src/tool/deepseek-search.ts","../src/tool/exa-search.ts","../src/tool/parallel-search.ts","../src/tool/perplexity-search.ts","../src/tool/tako-search.ts","../src/gateway-tools.ts","../src/gateway-provider.ts","../src/gateway-provider-metadata.ts","../src/errors/gateway-error.ts","../src/errors/create-gateway-error.ts","../src/errors/gateway-access-policy-denied-error.ts","../src/errors/gateway-authentication-error.ts","../src/errors/gateway-failed-dependency-error.ts","../src/errors/gateway-forbidden-error.ts","../src/errors/gateway-internal-server-error.ts","../src/errors/gateway-invalid-request-error.ts","../src/errors/gateway-model-not-found-error.ts","../src/errors/gateway-not-found-error.ts","../src/errors/gateway-rate-limit-error.ts","../src/errors/gateway-response-error.ts","../src/version.ts","../src/index.ts"],"mappings":";;;KAAY;;;;;;;;;;KC2BA,0BAA0B,uCAClC;EAAqB,WAAW;EAAa;KAC7C;EACE,WAAW;EACX;KAEF;EAAqB,KAAK,8BAA8B;KACxD;EAAqB,KAAK,8BAA8B;KACxD;EACE;IACE;IACA,YAAY,8BAA8B;;;KAItC,qBAAqB;EAG3B;EACA,MAAM,0BAA0B;;KAG1B,uBAAuB;;;;;GAKhC;;EAGD,OAAO,eAAe,MAAM;;EAG5B;;;;;;;EAQA;;EAGA;;;;;;EAOA;;;;;;;;;;;;;EAcA,MAAM;;;;;EAcN;;;;;;;;EASA,SAAS,yBAAyB;;EAGlC;;EAGA;;EAGA;IACE,OAAO;;;EAIT;;EAGA;;EAGA;;EAGA;;EAGA;;EAGA;;KAGG,8BAA8B,+BACjC,0BAA0B,iBACvB,0BAA0B;KAG1B;KASA,mBAAmB,aAAa,eAClC,OAAO,QAAQ,oBAAoB;KAGjC,gCAAgC,8BAA8B,QACjE,qBAAqB;KAIlB,yBAAyB,0CAEzB,gCAAgC;;;KC5KzB;;;KCAA;;;KCAA;;;KCAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBC4BC;;;;;qBAMA;;;;;qBAMA;;qBAGA;;qBAGA;;;;;wBAMG,4BACd,eACA;EAAY;;;;;;wBAS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A;WACT;WACA;WACA;WACA;EAEG,cACV,SACA,YACA,OACA,cACA;IAMA;IACA;IACA;IACA;IACA;;;;;;;SAcK,WAAW,iBAAiB,SAAS;SAIrC,UAAU,iBAAiB,SAAS;;;;cC6HvC,6DAA0B;;;;;;;;;KAcpB,uBAAuB,mBAC1B;;;cCpLHC;;;;;qBAiBO,uCAAuC;oBAChCA;WAET;WACA;;;;;WAMA;;;;WAKA;;;;WAKA;EAEG,cACV,SACA,YACA,OACA,cACA,WACA,eACA;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;;SAQK,WAAW,iBAAiB,SAAS;;;;cChExCC;;;;qBAKO,mCAAmC;oBAC5BA;WAET;WACA;EAEG,cACV,SACA,YACA,OACA;IAEA;IACA;IACA;IACA;;SAKK,WAAW,iBAAiB,SAAS;;;;SAOrC,wBACL,gBACA,mBACA,YACA,OACA;IAEA;IACA;IACA;IACA;IACA;IACA;MACE;;;;cC7CAC;;;;;;qBAOO,qCAAqC;oBAC9BA;WAET;WACA;EAEG,cACV,SACA,YACA,OACA;IAEA;IACA;IACA;IACA;;SAKK,WAAW,iBAAiB,SAAS;;;;cCzBxCC;;;;;qBAcO,8BAA8B;oBACvBA;WAET;WACA;WACA;EAEG,cACV,SACA,YACA,OACA,cACA;IAEA;IACA;IACA;IACA;IACA;;SAMK,WAAW,iBAAiB,SAAS;;;;cCxCxCC;;;;qBAKO,mCAAmC;oBAC5BA;WAET;WACA;EAEG,cACV,SACA,YACA,OACA;IAEA;IACA;IACA;IACA;;SAKK,WAAW,iBAAiB,SAAS;;;;cCzBxCC;;;;qBAKO,mCAAmC;oBAC5BA;WAET;WACA;EAEG,cACV,SACA,YACA,OACA;IAEA;IACA;IACA;IACA;;SAKK,WAAW,iBAAiB,SAAS;;;;cCvBxCC;;;;qBAaO,kCAAkC;oBAC3BA;WAET;WACA;WACA;EAEG,cACV,SACA,YACA,SACA,OACA;IAEA;IACA;IACA;IACA;IACA;;SAMK,WAAW,iBAAiB,SAAS;;;;cCvCxCC;;;;;;qBAOO,6BAA6B;oBACtBA;WAET;WACA;EAEG,cACV,SACA,YACA,OACA;IAEA;IACA;IACA;IACA;;SAKK,WAAW,iBAAiB,SAAS;;;;cC3BxCC;;;;qBAKO,8BAA8B;oBACvBA;WAET;WACA;EAEG,cACV,SACA,YACA,OACA;IAEA;IACA;IACA;IACA;;SAKK,WAAW,iBAAiB,SAAS;;;;cCxBxC;;;;qBAKO,6BAA6B;oBACtB;WAET;WACA;WACA;WACA,kBAAkB;EAEf,cACV,SACA,YACA,UACA,iBACA,OACA,cACA;IAEA;IACA;IACA;IACA,kBAAkB;IAClB;IACA;IACA;;SAOK,WAAW,iBAAiB,SAAS;;;;qBCtCjC;;;;YC4ED,2BAA2B;;YAE3B,4BAA4B,uCACtC,0BAA0B"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":["RealtimeModelV4ClientSecretOptions","RealtimeModelV4ClientSecretResult","RealtimeModelV4SessionIntent","RealtimeModelV4ServerConnection","RealtimeModelV4ServerEvent","RealtimeModelV4ClientEvent","RealtimeModelV4SessionConfig","RealtimeModelV4","RealtimeModelV4ClientSecretOptions","RealtimeModelV4ClientSecretResult","RealtimeModelV4SessionIntent","RealtimeModelV4ServerConnection","RealtimeModelV4ServerEvent","RealtimeModelV4ClientEvent","RealtimeModelV4SessionConfig","RealtimeModelV4","_$__tool_browserbase_fetch0.BrowserbaseFetchConfig","_$__tool_browserbase_fetch0.browserbaseFetchToolFactory","_$__tool_browserbase_search0.BrowserbaseSearchConfig","_$__tool_browserbase_search0.browserbaseSearchToolFactory","_$__tool_deepseek_fetch0.DeepSeekFetchConfig","_$__tool_deepseek_fetch0.deepseekFetchToolFactory","_$__tool_deepseek_search0.DeepSeekSearchConfig","_$__tool_deepseek_search0.deepseekSearchToolFactory","_$__tool_exa_search0.ExaSearchConfig","_$__tool_exa_search0.exaSearchToolFactory","_$__tool_parallel_search0.ParallelSearchConfig","_$__tool_parallel_search0.parallelSearchToolFactory","_$__tool_perplexity_search0.PerplexitySearchConfig","_$__tool_perplexity_search0.perplexitySearchToolFactory","_$__tool_tako_search0.TakoSearchConfig","_$__tool_tako_search0.takoSearchToolFactory","BatchV4","RealtimeModelV4","RealtimeFactoryV4GetTokenOptions","RealtimeFactoryV4GetTokenResult","RealtimeFactoryV4","symbol","symbol","symbol","symbol","symbol","symbol","symbol","symbol","symbol","symbol"],"sources":["../src/gateway-model-catalog.ts","../src/gateway-decision-model-settings.ts","../src/gateway-provider-options.ts","../src/gateway-embedding-model-settings.ts","../src/gateway-extraction-model-settings.ts","../src/gateway-image-model-settings.ts","../src/gateway-language-model-settings.ts","../src/gateway-realtime-auth.ts","../src/gateway-realtime-model-settings.ts","../src/gateway-reranking-model-settings.ts","../src/gateway-speech-model-settings.ts","../src/gateway-transcription-model-settings.ts","../src/gateway-video-model-settings.ts","../src/gateway-model-entry.ts","../src/gateway-fetch-metadata.ts","../src/gateway-spend-report.ts","../src/gateway-generation-info.ts","../src/gateway-realtime-model-live.ts","../src/gateway-realtime-model.ts","../src/tool/browserbase-fetch.ts","../src/tool/browserbase-search.ts","../src/tool/gateway-tool-error.ts","../src/tool/deepseek-fetch.ts","../src/tool/deepseek-search.ts","../src/tool/exa-search.ts","../src/tool/parallel-search.ts","../src/tool/perplexity-search.ts","../src/tool/tako-search.ts","../src/gateway-tools.ts","../src/gateway-provider.ts","../src/gateway-provider-metadata.ts","../src/errors/gateway-error.ts","../src/errors/create-gateway-error.ts","../src/errors/gateway-access-policy-denied-error.ts","../src/errors/gateway-authentication-error.ts","../src/errors/gateway-failed-dependency-error.ts","../src/errors/gateway-forbidden-error.ts","../src/errors/gateway-internal-server-error.ts","../src/errors/gateway-invalid-request-error.ts","../src/errors/gateway-model-not-found-error.ts","../src/errors/gateway-not-found-error.ts","../src/errors/gateway-rate-limit-error.ts","../src/errors/gateway-response-error.ts","../src/version.ts","../src/index.ts"],"mappings":";;;cAAa;;;;;;;;;;;;;KA4hBD,qBACT,qBAAqB,0BAA0B,iBAA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