@ai-sdk/anthropic 3.0.2 → 3.0.3

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,11 @@
1
1
  # @ai-sdk/anthropic
2
2
 
3
+ ## 3.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 77b760d: fix(anthropic): support deferred results for web search/fetch tool
8
+
3
9
  ## 3.0.2
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -32,7 +32,7 @@ var import_provider4 = require("@ai-sdk/provider");
32
32
  var import_provider_utils22 = require("@ai-sdk/provider-utils");
33
33
 
34
34
  // src/version.ts
35
- var VERSION = true ? "3.0.2" : "0.0.0-test";
35
+ var VERSION = true ? "3.0.3" : "0.0.0-test";
36
36
 
37
37
  // src/anthropic-messages-language-model.ts
38
38
  var import_provider3 = require("@ai-sdk/provider");
@@ -974,7 +974,8 @@ var webSearch_20250305InputSchema = (0, import_provider_utils5.lazySchema)(
974
974
  var factory2 = (0, import_provider_utils5.createProviderToolFactoryWithOutputSchema)({
975
975
  id: "anthropic.web_search_20250305",
976
976
  inputSchema: webSearch_20250305InputSchema,
977
- outputSchema: webSearch_20250305OutputSchema
977
+ outputSchema: webSearch_20250305OutputSchema,
978
+ supportsDeferredResults: true
978
979
  });
979
980
  var webSearch_20250305 = (args = {}) => {
980
981
  return factory2(args);
@@ -1030,7 +1031,8 @@ var webFetch_20250910InputSchema = (0, import_provider_utils6.lazySchema)(
1030
1031
  var factory3 = (0, import_provider_utils6.createProviderToolFactoryWithOutputSchema)({
1031
1032
  id: "anthropic.web_fetch_20250910",
1032
1033
  inputSchema: webFetch_20250910InputSchema,
1033
- outputSchema: webFetch_20250910OutputSchema
1034
+ outputSchema: webFetch_20250910OutputSchema,
1035
+ supportsDeferredResults: true
1034
1036
  });
1035
1037
  var webFetch_20250910 = (args = {}) => {
1036
1038
  return factory3(args);