ai 6.0.0-beta.111 → 6.0.0-beta.113

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/dist/index.mjs CHANGED
@@ -785,7 +785,7 @@ import {
785
785
  } from "@ai-sdk/provider-utils";
786
786
 
787
787
  // src/version.ts
788
- var VERSION = true ? "6.0.0-beta.111" : "0.0.0-test";
788
+ var VERSION = true ? "6.0.0-beta.113" : "0.0.0-test";
789
789
 
790
790
  // src/util/download/download.ts
791
791
  var download = async ({ url }) => {
@@ -6680,11 +6680,13 @@ var ToolLoopAgent = class {
6680
6680
  */
6681
6681
  async stream({
6682
6682
  abortSignal,
6683
+ experimental_transform,
6683
6684
  ...options
6684
6685
  }) {
6685
6686
  return streamText({
6686
6687
  ...await this.prepareCall(options),
6687
- abortSignal
6688
+ abortSignal,
6689
+ experimental_transform
6688
6690
  });
6689
6691
  }
6690
6692
  };
@@ -7434,6 +7436,8 @@ async function createAgentUIStream({
7434
7436
  agent,
7435
7437
  messages,
7436
7438
  options,
7439
+ abortSignal,
7440
+ experimental_transform,
7437
7441
  ...uiMessageStreamOptions
7438
7442
  }) {
7439
7443
  const validatedMessages = await validateUIMessages({
@@ -7445,7 +7449,9 @@ async function createAgentUIStream({
7445
7449
  });
7446
7450
  const result = await agent.stream({
7447
7451
  prompt: modelMessages,
7448
- options
7452
+ options,
7453
+ abortSignal,
7454
+ experimental_transform
7449
7455
  });
7450
7456
  return result.toUIMessageStream(uiMessageStreamOptions);
7451
7457
  }