ai 6.0.0-beta.42 → 6.0.0-beta.43

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
@@ -720,7 +720,7 @@ import {
720
720
  } from "@ai-sdk/provider-utils";
721
721
 
722
722
  // src/version.ts
723
- var VERSION = true ? "6.0.0-beta.42" : "0.0.0-test";
723
+ var VERSION = true ? "6.0.0-beta.43" : "0.0.0-test";
724
724
 
725
725
  // src/util/download/download.ts
726
726
  var download = async ({ url }) => {
@@ -6307,16 +6307,16 @@ function convertToModelMessages(messages, options) {
6307
6307
  }
6308
6308
  var convertToCoreMessages = convertToModelMessages;
6309
6309
 
6310
- // src/agent/agent.ts
6311
- var Agent = class {
6310
+ // src/agent/basic-agent.ts
6311
+ var BasicAgent = class {
6312
6312
  constructor(settings) {
6313
6313
  this.settings = settings;
6314
6314
  }
6315
6315
  /**
6316
- * The name of the agent.
6316
+ * The id of the agent.
6317
6317
  */
6318
- get name() {
6319
- return this.settings.name;
6318
+ get id() {
6319
+ return this.settings.id;
6320
6320
  }
6321
6321
  /**
6322
6322
  * The tools that the agent can use.
@@ -10884,11 +10884,11 @@ export {
10884
10884
  AISDKError18 as AISDKError,
10885
10885
  APICallError,
10886
10886
  AbstractChat,
10887
- Agent,
10887
+ BasicAgent,
10888
10888
  DefaultChatTransport,
10889
10889
  DownloadError,
10890
10890
  EmptyResponseBodyError,
10891
- Agent as Experimental_Agent,
10891
+ BasicAgent as Experimental_Agent,
10892
10892
  HttpChatTransport,
10893
10893
  InvalidArgumentError,
10894
10894
  InvalidDataContentError,