ai 7.0.133 → 7.0.135

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 CHANGED
@@ -1,5 +1,28 @@
1
1
  # ai
2
2
 
3
+ ## 7.0.135
4
+
5
+ ### Patch Changes
6
+
7
+ - 5ddbb70: fix(ai): prevent duplicate continuation requests for repeated tool approval responses
8
+ - 7c40a09: feat(ai): log warning when default step limit stops a tool loop
9
+ - 4dbc902: feat(ai): add a top level 'dimensions' setting for embeddding functions
10
+ - ff18b73: fix(ai): wait for chat stream cleanup when stopping
11
+ - 9be846c: feat(ai): add a persistent WebSocket chat transport with correlated streaming, serialized backpressure, cancellation, validated protocol frames, explicit lifecycle, and sequence-based resume support
12
+ - Updated dependencies [5cf13d2]
13
+ - Updated dependencies [4dbc902]
14
+ - Updated dependencies [908fd12]
15
+ - @ai-sdk/gateway@4.0.109
16
+ - @ai-sdk/provider@4.0.26
17
+ - @ai-sdk/provider-utils@5.0.58
18
+
19
+ ## 7.0.134
20
+
21
+ ### Patch Changes
22
+
23
+ - 8281ec4: fix(ai): propagate async sendAutomaticallyWhen failures from tool updates
24
+ - 46c2b05: fix(ai): preserve provider-executed tool calls when resuming streams
25
+
3
26
  ## 7.0.133
4
27
 
5
28
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { GatewayAsyncJobMetadata, GatewayModelId, GatewayModelId as GatewayModelId$1, GatewayProviderMetadata, createGateway, gateway } from "@ai-sdk/gateway";
2
- import { Arrayable, AssistantContent, AssistantModelMessage, AssistantModelMessage as AssistantModelMessage$1, Context, DataContent, DataContent as DataContent$1, DownloadError, Experimental_SandboxProcess, Experimental_SandboxSession, Experimental_SandboxSession as Experimental_SandboxSession$1, Experimental_ToolCallerTool, Experimental_ToolCallerTool as Experimental_ToolCallerTool$1, FetchFunction, FilePart, FilePart as FilePart$1, FlexibleSchema, FlexibleSchema as FlexibleSchema$1, HasRequiredKey, IdGenerator, IdGenerator as IdGenerator$1, ImagePart, InferSchema, InferSchema as InferSchema$1, InferToolContext, InferToolInput, InferToolInput as InferToolInput$1, InferToolOutput, InferToolOutput as InferToolOutput$1, InferToolSetContext, MaybePromiseLike, ModelMessage, ModelMessage as ModelMessage$1, ProviderOptions, ReasoningFilePart, ReasoningPart, Resolvable, Schema, SystemModelMessage, SystemModelMessage as SystemModelMessage$1, TextPart, TextPart as TextPart$1, Tool, Tool as Tool$1, ToolApprovalRequest, ToolApprovalResponse, ToolCall, ToolCallPart, ToolContent, ToolExecuteFunction, ToolExecutionOptions, ToolExecutionOptions as ToolExecutionOptions$1, ToolModelMessage, ToolModelMessage as ToolModelMessage$1, ToolResultPart, ToolSet, ToolSet as ToolSet$1, UserContent, UserModelMessage, UserModelMessage as UserModelMessage$1, asSchema, createIdGenerator, dynamicTool, experimental_toolCaller, generateId as generateId$1, jsonSchema, parseJsonEventStream, tool as tool$1, zodSchema } from "@ai-sdk/provider-utils";
2
+ import { Arrayable, AssistantContent, AssistantModelMessage, AssistantModelMessage as AssistantModelMessage$1, Context, DataContent, DataContent as DataContent$1, DownloadError, Experimental_SandboxProcess, Experimental_SandboxSession, Experimental_SandboxSession as Experimental_SandboxSession$1, Experimental_ToolCallerTool, Experimental_ToolCallerTool as Experimental_ToolCallerTool$1, FetchFunction, FilePart, FilePart as FilePart$1, FlexibleSchema, FlexibleSchema as FlexibleSchema$1, HasRequiredKey, IdGenerator, IdGenerator as IdGenerator$1, ImagePart, InferSchema, InferSchema as InferSchema$1, InferToolContext, InferToolInput, InferToolInput as InferToolInput$1, InferToolOutput, InferToolOutput as InferToolOutput$1, InferToolSetContext, MaybePromiseLike, ModelMessage, ModelMessage as ModelMessage$1, ProviderOptions, ReasoningFilePart, ReasoningPart, Resolvable, Schema, SystemModelMessage, SystemModelMessage as SystemModelMessage$1, TextPart, TextPart as TextPart$1, Tool, Tool as Tool$1, ToolApprovalRequest, ToolApprovalResponse, ToolCall, ToolCallPart, ToolContent, ToolExecuteFunction, ToolExecutionOptions, ToolExecutionOptions as ToolExecutionOptions$1, ToolModelMessage, ToolModelMessage as ToolModelMessage$1, ToolResultPart, ToolSet, ToolSet as ToolSet$1, UserContent, UserModelMessage, UserModelMessage as UserModelMessage$1, WebSocketConstructor, asSchema, createIdGenerator, dynamicTool, experimental_toolCaller, generateId as generateId$1, jsonSchema, parseJsonEventStream, tool as tool$1, zodSchema } from "@ai-sdk/provider-utils";
3
3
  import { AISDKError, AISDKError as AISDKError$1, APICallError, EmbeddingModelV2, EmbeddingModelV3, EmbeddingModelV4, EmbeddingModelV4CallOptions, EmbeddingModelV4Embedding, EmbeddingModelV4Middleware, EmptyResponseBodyError, Experimental_BatchV4, Experimental_BatchV4Error, Experimental_BatchV4ModelIds, Experimental_BatchV4StartResult, Experimental_BatchV4Status, Experimental_DecisionModelV4, Experimental_DecisionModelV4CallOptions, Experimental_DecisionModelV4Question, Experimental_DecisionModelV4Question as Experimental_DecisionQuestion, Experimental_DecisionModelV4Result, Experimental_DecisionRefusalError, Experimental_DecisionUnsupportedQuestionTypeError, Experimental_DecisionUnsupportedQuestionTypeError as Experimental_DecisionUnsupportedQuestionTypeError$1, Experimental_EvaluationModelV4, Experimental_RealtimeFactoryV4, Experimental_RealtimeFactoryV4GetTokenOptions, Experimental_RealtimeFactoryV4GetTokenResult, Experimental_RealtimeModelV4, Experimental_RealtimeModelV4ClientEvent, Experimental_RealtimeModelV4ServerEvent, Experimental_RealtimeModelV4SessionConfig, Experimental_RealtimeModelV4ToolDefinition, Experimental_SpeechTranslationModelV4, Experimental_SpeechTranslationModelV4Usage, Experimental_VideoModelV3, Experimental_VideoModelV4, Experimental_VideoModelV4FrameType, Experimental_VideoModelV4OperationStatusResult, Experimental_VideoModelV4OperationWebhook, FilesV4, FilesV4UploadFileCallOptions, ImageModelV2, ImageModelV2ProviderMetadata, ImageModelV3, ImageModelV4, ImageModelV4Middleware, ImageModelV4ProviderMetadata, ImageModelV4Usage, InvalidPromptError, InvalidResponseDataError, JSONObject, JSONParseError, JSONParseError as JSONParseError$1, JSONSchema7, JSONSchema7 as JSONSchema7$1, JSONValue as JSONValue$1, LanguageModelV2, LanguageModelV3, LanguageModelV4, LanguageModelV4CallOptions, LanguageModelV4Content, LanguageModelV4Middleware, LanguageModelV4Prompt, LanguageModelV4Source, LanguageModelV4ToolCall, LanguageModelV4ToolChoice, LoadAPIKeyError, LoadSettingError, NoContentGeneratedError, NoSuchModelError, NoSuchModelError as NoSuchModelError$1, NoSuchProviderReferenceError, ProviderV2, ProviderV3, ProviderV4, RerankingModelV3, RerankingModelV4, SharedV4AudioFormat, SharedV4Headers, SharedV4ProviderMetadata, SharedV4ProviderReference, SharedV4Warning, SkillsV4, SkillsV4File, SkillsV4UploadSkillCallOptions, SkillsV4UploadSkillResult, SpeechModelV2, SpeechModelV3, SpeechModelV4, TooManyEmbeddingValuesForCallError, TranscriptionModelV2, TranscriptionModelV3, TranscriptionModelV4, TypeValidationError, TypeValidationError as TypeValidationError$1, UnsupportedFunctionalityError } from "@ai-sdk/provider";
4
4
  import { ZodType, array, boolean, custom, discriminatedUnion, enum as enum$1, instanceof as instanceof$1, lazy, literal, looseObject, never, null as null$1, number, object, record, string, union, unknown } from "zod/v4";
5
5
  import { ServerResponse } from "node:http";
@@ -455,6 +455,8 @@ export type EmbedStartEvent<RUNTIME_CONTEXT extends Context = Context> = {
455
455
  readonly modelId: string;
456
456
  /** The value(s) being embedded. A string for embed, an array for embedMany. */
457
457
  readonly value: string | Array<string>;
458
+ /** Requested output dimensions, when specified. */
459
+ readonly dimensions?: number;
458
460
  /** Maximum number of retries for failed requests. */
459
461
  readonly maxRetries: number;
460
462
  /** Additional HTTP headers sent with the request. */
@@ -516,6 +518,8 @@ export type EmbeddingModelCallStartEvent = {
516
518
  readonly modelId: string;
517
519
  /** The values being embedded in this particular model call. */
518
520
  readonly values: Array<string>;
521
+ /** Requested output dimensions, when specified. */
522
+ readonly dimensions?: number;
519
523
  };
520
524
  /**
521
525
  * Event fired when an individual embedding model call (doEmbed) completes.
@@ -5818,6 +5822,20 @@ export declare function callCompletionApi({ api, prompt, credentials, headers, b
5818
5822
  * @template UI_MESSAGE - The UI message type extending UIMessage
5819
5823
  */
5820
5824
  interface ChatTransport<UI_MESSAGE extends UIMessage> {
5825
+ /**
5826
+ * Whether reconnecting returns the complete response from its beginning.
5827
+ * Complete replays must reset the streaming message state before processing
5828
+ * the first start chunk.
5829
+ */
5830
+ readonly resumeStreamIsReplay?: boolean;
5831
+ /**
5832
+ * Releases persistent resources owned by the transport.
5833
+ *
5834
+ * The caller that creates a transport owns its lifecycle and should call
5835
+ * this method when no consumers remain. `AbstractChat.dispose()` calls it
5836
+ * for directly managed chat instances.
5837
+ */
5838
+ close?: () => void;
5821
5839
  /**
5822
5840
  * Sends messages to the chat API endpoint and returns a streaming response.
5823
5841
  *
@@ -6044,6 +6062,8 @@ export declare abstract class AbstractChat<UI_MESSAGE extends UIMessage> {
6044
6062
  private activeResumeRequest;
6045
6063
  private resumableStreamState;
6046
6064
  private jobExecutor;
6065
+ private activeStopCount;
6066
+ private stopGeneration;
6047
6067
  constructor({ generateId, id, transport, messageMetadataSchema, dataPartSchemas, state, onError, onToolCall, onFinish, onData, sendAutomaticallyWhen }: Omit<ChatInit<UI_MESSAGE>, 'messages'> & {
6048
6068
  state: ChatState<UI_MESSAGE>;
6049
6069
  });
@@ -6106,12 +6126,19 @@ export declare abstract class AbstractChat<UI_MESSAGE extends UIMessage> {
6106
6126
  /** @deprecated Use addToolOutput */
6107
6127
  addToolResult: ChatAddToolOutputFunction<UI_MESSAGE>;
6108
6128
  /**
6109
- * Abort the current request immediately, keep the generated tokens if any.
6129
+ * Abort the current request, keep the generated tokens if any, and wait for
6130
+ * the request pipeline to finish.
6110
6131
  */
6111
6132
  stop: () => Promise<void>;
6133
+ /**
6134
+ * Stops active work and releases resources owned by the chat transport.
6135
+ */
6136
+ dispose: () => Promise<void>;
6112
6137
  private shouldSendAutomatically;
6138
+ private runAutomaticRequest;
6113
6139
  private makeRequestForToolApproval;
6114
6140
  private makeRequest;
6141
+ private makeRequestImpl;
6115
6142
  }
6116
6143
  //#endregion
6117
6144
  //#region src/ui/convert-file-list-to-file-ui-parts.d.ts
@@ -6303,6 +6330,188 @@ export declare class TextStreamChatTransport<UI_MESSAGE extends UIMessage> exten
6303
6330
  protected processResponseStream(stream: ReadableStream<Uint8Array<ArrayBufferLike>>): ReadableStream<UIMessageChunk>;
6304
6331
  }
6305
6332
  //#endregion
6333
+ //#region src/ui/websocket-chat-transport.d.ts
6334
+ type WebSocketChatTransportSendRequest<UI_MESSAGE extends UIMessage = UIMessage> = {
6335
+ type: 'send';
6336
+ requestId: string;
6337
+ id: string;
6338
+ trigger: 'submit-message' | 'regenerate-message';
6339
+ messageId: string | undefined;
6340
+ messages: UI_MESSAGE[];
6341
+ headers: Record<string, string>;
6342
+ body: object;
6343
+ metadata: unknown;
6344
+ };
6345
+ type WebSocketChatTransportResumeRequest = {
6346
+ type: 'resume';
6347
+ requestId: string;
6348
+ id: string;
6349
+ /** Omitted by this transport to request a complete UI message replay. */
6350
+ lastSequence: number | undefined;
6351
+ headers: Record<string, string>;
6352
+ body: object;
6353
+ metadata: unknown;
6354
+ };
6355
+ type WebSocketChatTransportAbortRequest = {
6356
+ type: 'abort';
6357
+ requestId: string;
6358
+ };
6359
+ /**
6360
+ * A client-to-server frame used by `WebSocketChatTransport`.
6361
+ */
6362
+ type WebSocketChatTransportRequest<UI_MESSAGE extends UIMessage = UIMessage> = WebSocketChatTransportSendRequest<UI_MESSAGE> | WebSocketChatTransportResumeRequest | WebSocketChatTransportAbortRequest;
6363
+ /**
6364
+ * A server-to-client frame used by `WebSocketChatTransport`.
6365
+ */
6366
+ type WebSocketChatTransportResponse = {
6367
+ type: 'start';
6368
+ requestId: string;
6369
+ } | {
6370
+ type: 'chunk';
6371
+ requestId: string;
6372
+ sequence: number;
6373
+ chunk: UIMessageChunk;
6374
+ } | {
6375
+ type: 'end';
6376
+ requestId: string;
6377
+ } | {
6378
+ type: 'error';
6379
+ requestId: string;
6380
+ errorText?: string;
6381
+ } | {
6382
+ type: 'no-active';
6383
+ requestId: string;
6384
+ };
6385
+ type SafeValidateWebSocketChatTransportRequestResult<UI_MESSAGE extends UIMessage> = {
6386
+ success: true;
6387
+ data: WebSocketChatTransportRequest<UI_MESSAGE>;
6388
+ } | {
6389
+ success: false;
6390
+ error: Error;
6391
+ };
6392
+ type PrepareWebSocketChatTransportSendMessagesRequest<UI_MESSAGE extends UIMessage> = (options: {
6393
+ id: string;
6394
+ messages: UI_MESSAGE[];
6395
+ requestMetadata: unknown;
6396
+ body: object;
6397
+ headers: Record<string, string>;
6398
+ trigger: 'submit-message' | 'regenerate-message';
6399
+ messageId: string | undefined;
6400
+ }) => {
6401
+ messages?: UI_MESSAGE[];
6402
+ body?: object;
6403
+ headers?: HeadersInit;
6404
+ } | PromiseLike<{
6405
+ messages?: UI_MESSAGE[];
6406
+ body?: object;
6407
+ headers?: HeadersInit;
6408
+ }>;
6409
+ type PrepareWebSocketChatTransportReconnectToStreamRequest = (options: {
6410
+ id: string;
6411
+ requestMetadata: unknown;
6412
+ body: object;
6413
+ headers: Record<string, string>;
6414
+ }) => {
6415
+ body?: object;
6416
+ headers?: HeadersInit;
6417
+ } | PromiseLike<{
6418
+ body?: object;
6419
+ headers?: HeadersInit;
6420
+ }>;
6421
+ /**
6422
+ * Options for `WebSocketChatTransport`.
6423
+ */
6424
+ type WebSocketChatTransportInitOptions<UI_MESSAGE extends UIMessage> = {
6425
+ /**
6426
+ * WebSocket endpoint URL. HTTP(S) URLs are converted to WS(S), and relative
6427
+ * URLs are resolved against the current browser location.
6428
+ */
6429
+ url: string;
6430
+ /**
6431
+ * Optional WebSocket subprotocols used during the connection handshake.
6432
+ */
6433
+ protocols?: string | string[];
6434
+ /**
6435
+ * Query parameters appended when a new connection is opened.
6436
+ */
6437
+ params?: Resolvable<Record<string, string>>;
6438
+ /**
6439
+ * Headers included in each application-level request frame.
6440
+ *
6441
+ * Browser WebSocket APIs cannot set handshake headers. Use cookies, query
6442
+ * parameters, or subprotocols for handshake authentication.
6443
+ */
6444
+ headers?: Resolvable<Record<string, string> | Headers>;
6445
+ /**
6446
+ * Extra application data included in each send and resume request.
6447
+ */
6448
+ body?: Resolvable<object>;
6449
+ /**
6450
+ * Custom WebSocket implementation, for example the `ws` package in Node.js.
6451
+ */
6452
+ webSocket?: WebSocketConstructor;
6453
+ /**
6454
+ * Customizes send request frames before they are transmitted.
6455
+ */
6456
+ prepareSendMessagesRequest?: PrepareWebSocketChatTransportSendMessagesRequest<UI_MESSAGE>;
6457
+ /**
6458
+ * Customizes resume request frames before they are transmitted.
6459
+ */
6460
+ prepareReconnectToStreamRequest?: PrepareWebSocketChatTransportReconnectToStreamRequest;
6461
+ };
6462
+ /**
6463
+ * Validates an untrusted client-to-server WebSocket chat frame.
6464
+ */
6465
+ export declare function safeValidateWebSocketChatTransportRequest<UI_MESSAGE extends UIMessage = UIMessage>({ value }: {
6466
+ value: unknown;
6467
+ }): Promise<SafeValidateWebSocketChatTransportRequestResult<UI_MESSAGE>>;
6468
+ /**
6469
+ * A `ChatTransport` that multiplexes correlated UI message streams over one
6470
+ * persistent WebSocket connection.
6471
+ *
6472
+ * The server must implement the protocol represented by
6473
+ * `WebSocketChatTransportRequest` and `WebSocketChatTransportResponse`.
6474
+ */
6475
+ export declare class WebSocketChatTransport<UI_MESSAGE extends UIMessage> implements ChatTransport<UI_MESSAGE> {
6476
+ readonly resumeStreamIsReplay = true;
6477
+ private readonly url;
6478
+ private readonly protocols?;
6479
+ private readonly params?;
6480
+ private readonly headers?;
6481
+ private readonly body?;
6482
+ private readonly webSocket?;
6483
+ private readonly prepareSendMessagesRequest?;
6484
+ private readonly prepareReconnectToStreamRequest?;
6485
+ private connection?;
6486
+ private readonly activeRequests;
6487
+ private sendQueue;
6488
+ constructor(options: WebSocketChatTransportInitOptions<UI_MESSAGE>);
6489
+ sendMessages({ abortSignal, ...options }: Parameters<ChatTransport<UI_MESSAGE>['sendMessages']>[0]): Promise<ReadableStream<UIMessageChunk>>;
6490
+ reconnectToStream(options: Parameters<ChatTransport<UI_MESSAGE>['reconnectToStream']>[0]): Promise<ReadableStream<UIMessageChunk> | null>;
6491
+ /**
6492
+ * Closes the current connection and errors any active response streams.
6493
+ * A later request opens a new connection.
6494
+ */
6495
+ close(): void;
6496
+ private throwIfAborted;
6497
+ private getSocket;
6498
+ private initializeConnection;
6499
+ private buildUrl;
6500
+ private waitForConnection;
6501
+ private resolveConnection;
6502
+ private rejectConnection;
6503
+ private terminateConnection;
6504
+ private createActiveRequest;
6505
+ private abortRequest;
6506
+ private cleanupRequest;
6507
+ private failRequest;
6508
+ private failAllRequests;
6509
+ private resolveResumeStream;
6510
+ private validateResponseChunk;
6511
+ private handleResponseFrame;
6512
+ private sendFrame;
6513
+ }
6514
+ //#endregion
6306
6515
  //#region src/ui/use-completion.d.ts
6307
6516
  type CompletionRequestOptions<BODY extends object = object> = {
6308
6517
  /**
@@ -7385,6 +7594,8 @@ export interface EmbedResult {
7385
7594
  * @param model - The embedding model to use.
7386
7595
  * @param value - The value that should be embedded.
7387
7596
  *
7597
+ * @param dimensions - Requested output dimensions. Must be a positive integer. Requires provider support.
7598
+ *
7388
7599
  * @param maxRetries - Maximum number of retries. Set to 0 to disable retries. Default: 2.
7389
7600
  * @param abortSignal - An optional abort signal that can be used to cancel the call.
7390
7601
  * @param headers - Additional HTTP headers to be sent with the request. Only applicable for HTTP-based providers.
@@ -7398,7 +7609,7 @@ export interface EmbedResult {
7398
7609
  *
7399
7610
  * @returns A result object that contains the embedding, the value, and additional information.
7400
7611
  */
7401
- export declare function embed<RUNTIME_CONTEXT extends Context = Context>({ model: modelArg, value, providerOptions, maxRetries: maxRetriesArg, abortSignal, headers, experimental_telemetry, telemetry, runtimeContext, onStart, experimental_onStart, onEnd, experimental_onEnd, _internal: { generateCallId } }: {
7612
+ export declare function embed<RUNTIME_CONTEXT extends Context = Context>({ model: modelArg, value, dimensions, providerOptions, maxRetries: maxRetriesArg, abortSignal, headers, experimental_telemetry, telemetry, runtimeContext, onStart, experimental_onStart, onEnd, experimental_onEnd, _internal: { generateCallId } }: {
7402
7613
  /**
7403
7614
  * The embedding model to use.
7404
7615
  */
@@ -7407,6 +7618,12 @@ export declare function embed<RUNTIME_CONTEXT extends Context = Context>({ model
7407
7618
  * The value that should be embedded.
7408
7619
  */
7409
7620
  value: string;
7621
+ /**
7622
+ * The requested number of dimensions for the output embeddings.
7623
+ * Must be a positive integer. Support and allowed values depend on the model
7624
+ * and provider implementation.
7625
+ */
7626
+ dimensions?: number;
7410
7627
  /**
7411
7628
  * Maximum number of retries per embedding model call. Set to 0 to disable retries.
7412
7629
  *
@@ -7527,6 +7744,8 @@ export interface EmbedManyResult {
7527
7744
  * @param model - The embedding model to use.
7528
7745
  * @param values - The values that should be embedded.
7529
7746
  *
7747
+ * @param dimensions - Requested output dimensions. Must be a positive integer. Requires provider support.
7748
+ *
7530
7749
  * @param maxRetries - Maximum number of retries. Set to 0 to disable retries. Default: 2.
7531
7750
  * @param abortSignal - An optional abort signal that can be used to cancel the call.
7532
7751
  * @param headers - Additional HTTP headers to be sent with the request. Only applicable for HTTP-based providers.
@@ -7544,7 +7763,7 @@ export interface EmbedManyResult {
7544
7763
  *
7545
7764
  * @returns A result object that contains the embeddings, the value, and additional information.
7546
7765
  */
7547
- export declare function embedMany<RUNTIME_CONTEXT extends Context = Context>({ model: modelArg, values, maxParallelCalls, maxRetries: maxRetriesArg, abortSignal, headers, providerOptions, experimental_telemetry, telemetry, runtimeContext, onStart, experimental_onStart, onEnd, experimental_onEnd, _internal: { generateCallId } }: {
7766
+ export declare function embedMany<RUNTIME_CONTEXT extends Context = Context>({ model: modelArg, values, dimensions, maxParallelCalls, maxRetries: maxRetriesArg, abortSignal, headers, providerOptions, experimental_telemetry, telemetry, runtimeContext, onStart, experimental_onStart, onEnd, experimental_onEnd, _internal: { generateCallId } }: {
7548
7767
  /**
7549
7768
  * The embedding model to use.
7550
7769
  */
@@ -7553,6 +7772,12 @@ export declare function embedMany<RUNTIME_CONTEXT extends Context = Context>({ m
7553
7772
  * The values that should be embedded.
7554
7773
  */
7555
7774
  values: Array<string>;
7775
+ /**
7776
+ * The requested number of dimensions for the output embeddings.
7777
+ * Must be a positive integer. Support and allowed values depend on the model
7778
+ * and provider implementation.
7779
+ */
7780
+ dimensions?: number;
7556
7781
  /**
7557
7782
  * Maximum number of retries per embedding model call. Set to 0 to disable retries.
7558
7783
  *
@@ -8483,8 +8708,10 @@ type Job = () => Promise<void>;
8483
8708
  export declare class SerialJobExecutor {
8484
8709
  private queue;
8485
8710
  private isProcessing;
8711
+ private idleWaiters;
8486
8712
  private processQueue;
8487
8713
  run(job: Job): Promise<void>;
8714
+ waitForIdle(): Promise<void>;
8488
8715
  }
8489
8716
  //#endregion
8490
8717
  //#region src/util/simulate-readable-stream.d.ts
@@ -10657,5 +10884,5 @@ export declare function uploadSkill({ api, files, displayTitle, providerOptions
10657
10884
  files: UploadSkillFile[];
10658
10885
  }): Promise<UploadSkillResult>;
10659
10886
  //#endregion
10660
- export { AISDKError, APICallError, type ActiveTools, type Agent, type AgentCallParameters, type AgentStreamParameters, type AssistantContent, type AssistantModelMessage, type AsyncIterableStream, type CallWarning, type CallWarningRegistry, type ChatAddToolApproveResponseFunction, type ChatAddToolOutputFunction, type ChatInit, type ChatOnDataCallback, type ChatOnErrorCallback, type ChatOnFinishCallback, type ChatOnToolCallCallback, type ChatRequestOptions, type ChatState, type ChatStatus, type ChatTransport, type ChunkDetector, type CompletionRequestOptions, type ContentPart, type CreateUIMessage, type CustomContentUIPart, type DataContent, type DataUIPart, type DeepPartial, type DirectChatTransportOptions, DownloadError, type DynamicToolCall, type DynamicToolError, type DynamicToolResult, type DynamicToolUIPart, type Embedding, type EmbeddingModel, type EmbeddingModelMiddleware, type EmbeddingModelUsage, EmptyResponseBodyError, type ErrorHandler, AbstractRealtimeSession as Experimental_AbstractRealtimeSession, ToolLoopAgent as Experimental_Agent, type ToolLoopAgentSettings as Experimental_AgentSettings, type ToolLoopAgentSettings, type Batch as Experimental_Batch, type BatchError as Experimental_BatchError, type BatchItemResult as Experimental_BatchItemResult, type BatchProvider as Experimental_BatchProvider, type BatchReference as Experimental_BatchReference, type BatchRequest as Experimental_BatchRequest, type BatchStatus as Experimental_BatchStatus, type CancelBatchOptions as Experimental_CancelBatchOptions, type CancelBatchResult as Experimental_CancelBatchResult, type DecideEndEvent as Experimental_DecideEndEvent, type DecideStartEvent as Experimental_DecideStartEvent, type DecisionAnswer as Experimental_DecisionAnswer, type DecisionModel as Experimental_DecisionModel, type DecisionModelCallEndEvent as Experimental_DecisionModelCallEndEvent, type DecisionModelCallStartEvent as Experimental_DecisionModelCallStartEvent, type DecisionProviderRegistry as Experimental_DecisionProviderRegistry, type Experimental_DecisionQuestion, Experimental_DecisionRefusalError, type DecisionResult as Experimental_DecisionResult, type DecisionState as Experimental_DecisionState, type DecisionStatePart as Experimental_DecisionStatePart, Experimental_DecisionUnsupportedQuestionTypeError, type DownloadFunction as Experimental_DownloadFunction, type Experimental_GeneratedImage, type GetBatchResultsOptions as Experimental_GetBatchResultsOptions, type GetBatchStatusOptions as Experimental_GetBatchStatusOptions, type ImageBatchGenerationResult as Experimental_ImageBatchGenerationResult, type ImageBatchItemResult as Experimental_ImageBatchItemResult, type ImageBatchRequest as Experimental_ImageBatchRequest, type InferAgentUIMessage as Experimental_InferAgentUIMessage, type InferAgentUIMessage, type LanguageModelStreamPart as Experimental_LanguageModelStreamPart, type ListBatchesOptions as Experimental_ListBatchesOptions, type ListBatchesResult as Experimental_ListBatchesResult, type LogWarningsFunction as Experimental_LogWarningsFunction, type LogWarningsFunction, type RealtimeClientEvent as Experimental_RealtimeClientEvent, type RealtimeFactory as Experimental_RealtimeFactory, type RealtimeFactoryGetTokenOptions as Experimental_RealtimeFactoryGetTokenOptions, type RealtimeFactoryGetTokenResult as Experimental_RealtimeFactoryGetTokenResult, type RealtimeModel as Experimental_RealtimeModel, type RealtimeServerEvent as Experimental_RealtimeServerEvent, type RealtimeSessionConfig as Experimental_RealtimeSessionConfig, type RealtimeSessionOptions as Experimental_RealtimeSessionOptions, type RealtimeSessionState as Experimental_RealtimeSessionState, type RealtimeSetupResponse as Experimental_RealtimeSetupResponse, type RealtimeState as Experimental_RealtimeState, type RealtimeStatus as Experimental_RealtimeStatus, type RealtimeToolDefinition as Experimental_RealtimeToolDefinition, type Experimental_SandboxProcess, type Experimental_SandboxSession, type Experimental_SpeechResult, type StartBatchOptions as Experimental_StartBatchOptions, type StartBatchResult as Experimental_StartBatchResult, type StreamTranscriptionEndEvent as Experimental_StreamTranscriptionEndEvent, type StreamTranscriptionStartEvent as Experimental_StreamTranscriptionStartEvent, type StreamTranslationResult as Experimental_StreamTranslationResult, type TextBatchGenerationResult as Experimental_TextBatchGenerationResult, type TextBatchItemResult as Experimental_TextBatchItemResult, type TextBatchRequest as Experimental_TextBatchRequest, type Experimental_ToolCallerTool, type Experimental_ToolCallers, type Experimental_TranscriptionResult, type TranslationStreamPart as Experimental_TranslationStreamPart, type FilePart, type FileUIPart, type FinishReason, type FlexibleSchema, type GatewayAsyncJobMetadata, type GatewayModelId, type GatewayProviderMetadata, type GenerateImageCall, type GenerateImageResult, type GenerateObjectEndEvent, type GenerateObjectResult, type GenerateObjectStartEvent, type GenerateObjectStepEndEvent, type GenerateObjectStepStartEvent, type GenerateSpeechEndEvent, type GenerateSpeechStartEvent, type GenerateTextAbortEvent, type GenerateTextEndEvent, type GenerateTextInclude, type GenerateTextOnAbortCallback, type GenerateTextOnEndCallback, type GenerateTextOnFinishCallback, type GenerateTextOnStartCallback, type GenerateTextOnStepEndCallback, type GenerateTextOnStepFinishCallback, type GenerateTextOnStepStartCallback, type GenerateTextResult, type GenerateTextStartEvent, type GenerateTextStepEndEvent, type GenerateTextStepStartEvent, type GenerateVideoPrompt, type GenerateVideoResult, type GeneratedAudioFile, type GeneratedFile, type GenericToolApprovalFunction, type GetVideoStatusResult, type HttpChatTransportInitOptions, type IdGenerator, type ImageModel, type ImageModelMiddleware, type ImageModelProviderMetadata, type ImageModelResponseMetadata, type ImageModelUsage, type ImagePart, type InferCompleteOutput as InferGenerateOutput, type InferSchema, type InferPartialOutput as InferStreamOutput, type InferTelemetryEvent, type InferToolInput, type InferToolOutput, type InferUIDataParts, type InferUIMessageChunk, type InferUITool, type InferUITools, type Instructions, InvalidPromptError, InvalidResponseDataError, JSONParseError, type JSONSchema7, type JSONValue, type LanguageModel, type LanguageModelCallEndEvent, type LanguageModelCallOptions, type LanguageModelCallStartEvent, type LanguageModelMiddleware, type LanguageModelRequestMetadata, type LanguageModelResponseMetadata, type LanguageModelUsage, LoadAPIKeyError, LoadSettingError, type ModelInfo, type ModelMessage, NoContentGeneratedError, NoSuchModelError, NoSuchProviderReferenceError, type ObjectStreamPart, type OnFinishEvent, type OnLanguageModelCallEndCallback, type OnLanguageModelCallStartCallback, type OnStartEvent, type OnStepFinishEvent, type OnStepStartEvent, type OnToolCallFinishEvent, type OnToolCallStartEvent, type OnToolExecutionEndCallback, type OnToolExecutionStartCallback, output_d_exports as Output, type OutputChunkTimingStats, type Output as OutputInterface, type PrepareReconnectToStreamRequest, type PrepareSendMessagesRequest, type PrepareStepFunction, type PrepareStepResult, type Prompt, type Provider, type ProviderMetadata, type ProviderReference, type ProviderRegistryProvider, type ReasoningFileOutput, type ReasoningFileUIPart, type ReasoningOutput, type ReasoningUIPart, type RepairTextFunction, type RequestOptions, type RerankEndEvent, type RerankResult, type RerankStartEvent, type RerankingModel, type RerankingModelCallEndEvent, type RerankingModelCallStartEvent, type SafeValidateUIMessagesResult, type Schema, type SingleToolApprovalFunction, type SourceDocumentUIPart, type SourceUrlUIPart, type SpeechModel, type SpeechModelResponseMetadata, type SpeechResult, type StartVideoResult, type StaticToolCall, type StaticToolError, type StaticToolOutputDenied, type StaticToolResult, type StepResult, type StepResultPerformance, type StepStartUIPart, type StopCondition, type StreamObjectOnFinishCallback, type StreamObjectResult, type StreamTextEndEvent, type StreamTextInclude, type StreamTextOnChunkCallback, type StreamTextOnEndCallback, type StreamTextOnErrorCallback, type StreamTextOnErrorResult, type StreamTextOnErrorRetryCallback, type StreamTextResult, type StreamTextTransform, type StreamTranscriptionResult, type SystemModelMessage, type Telemetry, type TelemetryOptions, type TelemetryTracingChannelMessage, type TelemetryTracingEventType, type TextPart, type TextStreamPart, type TextUIPart, type TimeoutConfiguration, type ToUIMessageChunkOptions, TooManyEmbeddingValuesForCallError, type Tool, type ToolApprovalConfiguration, type ToolApprovalRequest, type ToolApprovalRequestOutput, type ToolApprovalResponse, type ToolApprovalResponseOutput, type ToolApprovalStatus, type ToolCallPart, type ToolCallRepairFunction, type ToolChoice, type ToolContent, type ToolExecuteFunction, type ToolExecutionEndEvent, type ToolExecutionOptions, type ToolExecutionStartEvent, type ToolInputRefinement, type ToolModelMessage, type ToolOrder, type ToolOutputErrorUIPart, type ToolResultPart, type ToolSet, type ToolUIPart, type TranscriptionEndEvent, type TranscriptionModel, type TranscriptionModelResponseMetadata, type TranscriptionResult, type TranscriptionStartEvent, type TranscriptionStreamPart, TypeValidationError, type TypedToolCall, type TypedToolError, type TypedToolOutputDenied, type TypedToolResult, type UIDataPartSchemas, type UIDataTypes, type UIMessage, type UIMessageChunk, type UIMessagePart, type UIMessageStreamOnEndCallback, type UIMessageStreamOnFinishCallback, type UIMessageStreamOnStepEndCallback, type UIMessageStreamOnStepFinishCallback, type UIMessageStreamOptions, type UIMessageStreamOutcome, type UIMessageStreamWriter, type UIMessageStreamWriterWithOutcome, type UITool, type UIToolInvocation, type UITools, UnsupportedFunctionalityError, type UploadFileResult, type UploadSkillResult, type UseCompletionOptions, type UserContent, type UserModelMessage, type Warning, asSchema, createGateway, createIdGenerator, dynamicTool, cancelBatch as experimental_cancelBatch, decide as experimental_decide, decodeRealtimeAudio as experimental_decodeRealtimeAudio, encodeRealtimeAudio as experimental_encodeRealtimeAudio, filterActiveTools as experimental_filterActiveTools, experimental_generateSpeech, getBatchResults as experimental_getBatchResults, getBatchStatus as experimental_getBatchStatus, getRealtimeToolDefinitions as experimental_getRealtimeToolDefinitions, listBatches as experimental_listBatches, resampleAudio as experimental_resampleAudio, startBatch as experimental_startBatch, streamLanguageModelCall as experimental_streamLanguageModelCall, streamTranscribe as experimental_streamTranscribe, streamTranslate as experimental_streamTranslate, experimental_toolCaller, experimental_transcribe, gateway, generateId$1 as generateId, isStepCount as stepCountIs, jsonSchema, parseJsonEventStream, tool$1 as tool, zodSchema };
10887
+ export { AISDKError, APICallError, type ActiveTools, type Agent, type AgentCallParameters, type AgentStreamParameters, type AssistantContent, type AssistantModelMessage, type AsyncIterableStream, type CallWarning, type CallWarningRegistry, type ChatAddToolApproveResponseFunction, type ChatAddToolOutputFunction, type ChatInit, type ChatOnDataCallback, type ChatOnErrorCallback, type ChatOnFinishCallback, type ChatOnToolCallCallback, type ChatRequestOptions, type ChatState, type ChatStatus, type ChatTransport, type ChunkDetector, type CompletionRequestOptions, type ContentPart, type CreateUIMessage, type CustomContentUIPart, type DataContent, type DataUIPart, type DeepPartial, type DirectChatTransportOptions, DownloadError, type DynamicToolCall, type DynamicToolError, type DynamicToolResult, type DynamicToolUIPart, type Embedding, type EmbeddingModel, type EmbeddingModelMiddleware, type EmbeddingModelUsage, EmptyResponseBodyError, type ErrorHandler, AbstractRealtimeSession as Experimental_AbstractRealtimeSession, ToolLoopAgent as Experimental_Agent, type ToolLoopAgentSettings as Experimental_AgentSettings, type ToolLoopAgentSettings, type Batch as Experimental_Batch, type BatchError as Experimental_BatchError, type BatchItemResult as Experimental_BatchItemResult, type BatchProvider as Experimental_BatchProvider, type BatchReference as Experimental_BatchReference, type BatchRequest as Experimental_BatchRequest, type BatchStatus as Experimental_BatchStatus, type CancelBatchOptions as Experimental_CancelBatchOptions, type CancelBatchResult as Experimental_CancelBatchResult, type DecideEndEvent as Experimental_DecideEndEvent, type DecideStartEvent as Experimental_DecideStartEvent, type DecisionAnswer as Experimental_DecisionAnswer, type DecisionModel as Experimental_DecisionModel, type DecisionModelCallEndEvent as Experimental_DecisionModelCallEndEvent, type DecisionModelCallStartEvent as Experimental_DecisionModelCallStartEvent, type DecisionProviderRegistry as Experimental_DecisionProviderRegistry, type Experimental_DecisionQuestion, Experimental_DecisionRefusalError, type DecisionResult as Experimental_DecisionResult, type DecisionState as Experimental_DecisionState, type DecisionStatePart as Experimental_DecisionStatePart, Experimental_DecisionUnsupportedQuestionTypeError, type DownloadFunction as Experimental_DownloadFunction, type Experimental_GeneratedImage, type GetBatchResultsOptions as Experimental_GetBatchResultsOptions, type GetBatchStatusOptions as Experimental_GetBatchStatusOptions, type ImageBatchGenerationResult as Experimental_ImageBatchGenerationResult, type ImageBatchItemResult as Experimental_ImageBatchItemResult, type ImageBatchRequest as Experimental_ImageBatchRequest, type InferAgentUIMessage as Experimental_InferAgentUIMessage, type InferAgentUIMessage, type LanguageModelStreamPart as Experimental_LanguageModelStreamPart, type ListBatchesOptions as Experimental_ListBatchesOptions, type ListBatchesResult as Experimental_ListBatchesResult, type LogWarningsFunction as Experimental_LogWarningsFunction, type LogWarningsFunction, type RealtimeClientEvent as Experimental_RealtimeClientEvent, type RealtimeFactory as Experimental_RealtimeFactory, type RealtimeFactoryGetTokenOptions as Experimental_RealtimeFactoryGetTokenOptions, type RealtimeFactoryGetTokenResult as Experimental_RealtimeFactoryGetTokenResult, type RealtimeModel as Experimental_RealtimeModel, type RealtimeServerEvent as Experimental_RealtimeServerEvent, type RealtimeSessionConfig as Experimental_RealtimeSessionConfig, type RealtimeSessionOptions as Experimental_RealtimeSessionOptions, type RealtimeSessionState as Experimental_RealtimeSessionState, type RealtimeSetupResponse as Experimental_RealtimeSetupResponse, type RealtimeState as Experimental_RealtimeState, type RealtimeStatus as Experimental_RealtimeStatus, type RealtimeToolDefinition as Experimental_RealtimeToolDefinition, type Experimental_SandboxProcess, type Experimental_SandboxSession, type Experimental_SpeechResult, type StartBatchOptions as Experimental_StartBatchOptions, type StartBatchResult as Experimental_StartBatchResult, type StreamTranscriptionEndEvent as Experimental_StreamTranscriptionEndEvent, type StreamTranscriptionStartEvent as Experimental_StreamTranscriptionStartEvent, type StreamTranslationResult as Experimental_StreamTranslationResult, type TextBatchGenerationResult as Experimental_TextBatchGenerationResult, type TextBatchItemResult as Experimental_TextBatchItemResult, type TextBatchRequest as Experimental_TextBatchRequest, type Experimental_ToolCallerTool, type Experimental_ToolCallers, type Experimental_TranscriptionResult, type TranslationStreamPart as Experimental_TranslationStreamPart, type FilePart, type FileUIPart, type FinishReason, type FlexibleSchema, type GatewayAsyncJobMetadata, type GatewayModelId, type GatewayProviderMetadata, type GenerateImageCall, type GenerateImageResult, type GenerateObjectEndEvent, type GenerateObjectResult, type GenerateObjectStartEvent, type GenerateObjectStepEndEvent, type GenerateObjectStepStartEvent, type GenerateSpeechEndEvent, type GenerateSpeechStartEvent, type GenerateTextAbortEvent, type GenerateTextEndEvent, type GenerateTextInclude, type GenerateTextOnAbortCallback, type GenerateTextOnEndCallback, type GenerateTextOnFinishCallback, type GenerateTextOnStartCallback, type GenerateTextOnStepEndCallback, type GenerateTextOnStepFinishCallback, type GenerateTextOnStepStartCallback, type GenerateTextResult, type GenerateTextStartEvent, type GenerateTextStepEndEvent, type GenerateTextStepStartEvent, type GenerateVideoPrompt, type GenerateVideoResult, type GeneratedAudioFile, type GeneratedFile, type GenericToolApprovalFunction, type GetVideoStatusResult, type HttpChatTransportInitOptions, type IdGenerator, type ImageModel, type ImageModelMiddleware, type ImageModelProviderMetadata, type ImageModelResponseMetadata, type ImageModelUsage, type ImagePart, type InferCompleteOutput as InferGenerateOutput, type InferSchema, type InferPartialOutput as InferStreamOutput, type InferTelemetryEvent, type InferToolInput, type InferToolOutput, type InferUIDataParts, type InferUIMessageChunk, type InferUITool, type InferUITools, type Instructions, InvalidPromptError, InvalidResponseDataError, JSONParseError, type JSONSchema7, type JSONValue, type LanguageModel, type LanguageModelCallEndEvent, type LanguageModelCallOptions, type LanguageModelCallStartEvent, type LanguageModelMiddleware, type LanguageModelRequestMetadata, type LanguageModelResponseMetadata, type LanguageModelUsage, LoadAPIKeyError, LoadSettingError, type ModelInfo, type ModelMessage, NoContentGeneratedError, NoSuchModelError, NoSuchProviderReferenceError, type ObjectStreamPart, type OnFinishEvent, type OnLanguageModelCallEndCallback, type OnLanguageModelCallStartCallback, type OnStartEvent, type OnStepFinishEvent, type OnStepStartEvent, type OnToolCallFinishEvent, type OnToolCallStartEvent, type OnToolExecutionEndCallback, type OnToolExecutionStartCallback, output_d_exports as Output, type OutputChunkTimingStats, type Output as OutputInterface, type PrepareReconnectToStreamRequest, type PrepareSendMessagesRequest, type PrepareStepFunction, type PrepareStepResult, type PrepareWebSocketChatTransportReconnectToStreamRequest, type PrepareWebSocketChatTransportSendMessagesRequest, type Prompt, type Provider, type ProviderMetadata, type ProviderReference, type ProviderRegistryProvider, type ReasoningFileOutput, type ReasoningFileUIPart, type ReasoningOutput, type ReasoningUIPart, type RepairTextFunction, type RequestOptions, type RerankEndEvent, type RerankResult, type RerankStartEvent, type RerankingModel, type RerankingModelCallEndEvent, type RerankingModelCallStartEvent, type SafeValidateUIMessagesResult, type SafeValidateWebSocketChatTransportRequestResult, type Schema, type SingleToolApprovalFunction, type SourceDocumentUIPart, type SourceUrlUIPart, type SpeechModel, type SpeechModelResponseMetadata, type SpeechResult, type StartVideoResult, type StaticToolCall, type StaticToolError, type StaticToolOutputDenied, type StaticToolResult, type StepResult, type StepResultPerformance, type StepStartUIPart, type StopCondition, type StreamObjectOnFinishCallback, type StreamObjectResult, type StreamTextEndEvent, type StreamTextInclude, type StreamTextOnChunkCallback, type StreamTextOnEndCallback, type StreamTextOnErrorCallback, type StreamTextOnErrorResult, type StreamTextOnErrorRetryCallback, type StreamTextResult, type StreamTextTransform, type StreamTranscriptionResult, type SystemModelMessage, type Telemetry, type TelemetryOptions, type TelemetryTracingChannelMessage, type TelemetryTracingEventType, type TextPart, type TextStreamPart, type TextUIPart, type TimeoutConfiguration, type ToUIMessageChunkOptions, TooManyEmbeddingValuesForCallError, type Tool, type ToolApprovalConfiguration, type ToolApprovalRequest, type ToolApprovalRequestOutput, type ToolApprovalResponse, type ToolApprovalResponseOutput, type ToolApprovalStatus, type ToolCallPart, type ToolCallRepairFunction, type ToolChoice, type ToolContent, type ToolExecuteFunction, type ToolExecutionEndEvent, type ToolExecutionOptions, type ToolExecutionStartEvent, type ToolInputRefinement, type ToolModelMessage, type ToolOrder, type ToolOutputErrorUIPart, type ToolResultPart, type ToolSet, type ToolUIPart, type TranscriptionEndEvent, type TranscriptionModel, type TranscriptionModelResponseMetadata, type TranscriptionResult, type TranscriptionStartEvent, type TranscriptionStreamPart, TypeValidationError, type TypedToolCall, type TypedToolError, type TypedToolOutputDenied, type TypedToolResult, type UIDataPartSchemas, type UIDataTypes, type UIMessage, type UIMessageChunk, type UIMessagePart, type UIMessageStreamOnEndCallback, type UIMessageStreamOnFinishCallback, type UIMessageStreamOnStepEndCallback, type UIMessageStreamOnStepFinishCallback, type UIMessageStreamOptions, type UIMessageStreamOutcome, type UIMessageStreamWriter, type UIMessageStreamWriterWithOutcome, type UITool, type UIToolInvocation, type UITools, UnsupportedFunctionalityError, type UploadFileResult, type UploadSkillResult, type UseCompletionOptions, type UserContent, type UserModelMessage, type Warning, type WebSocketChatTransportAbortRequest, type WebSocketChatTransportInitOptions, type WebSocketChatTransportRequest, type WebSocketChatTransportResponse, type WebSocketChatTransportResumeRequest, type WebSocketChatTransportSendRequest, asSchema, createGateway, createIdGenerator, dynamicTool, cancelBatch as experimental_cancelBatch, decide as experimental_decide, decodeRealtimeAudio as experimental_decodeRealtimeAudio, encodeRealtimeAudio as experimental_encodeRealtimeAudio, filterActiveTools as experimental_filterActiveTools, experimental_generateSpeech, getBatchResults as experimental_getBatchResults, getBatchStatus as experimental_getBatchStatus, getRealtimeToolDefinitions as experimental_getRealtimeToolDefinitions, listBatches as experimental_listBatches, resampleAudio as experimental_resampleAudio, startBatch as experimental_startBatch, streamLanguageModelCall as experimental_streamLanguageModelCall, streamTranscribe as experimental_streamTranscribe, streamTranslate as experimental_streamTranslate, experimental_toolCaller, experimental_transcribe, gateway, generateId$1 as generateId, isStepCount as stepCountIs, jsonSchema, parseJsonEventStream, tool$1 as tool, zodSchema };
10661
10888
  //# sourceMappingURL=index.d.ts.map