@ai-sdk/anthropic 3.0.0-beta.33 → 3.0.0-beta.35

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,18 @@
1
1
  # @ai-sdk/anthropic
2
2
 
3
+ ## 3.0.0-beta.35
4
+
5
+ ### Patch Changes
6
+
7
+ - 80894b3: add return `file_id` property for anthropic code-execution-20250825 to download output files.
8
+
9
+ ## 3.0.0-beta.34
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [fca786b]
14
+ - @ai-sdk/provider-utils@4.0.0-beta.20
15
+
3
16
  ## 3.0.0-beta.33
4
17
 
5
18
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -157,6 +157,10 @@ declare const anthropicTools: {
157
157
  new_str: string;
158
158
  }, {
159
159
  type: "bash_code_execution_result";
160
+ content: Array<{
161
+ type: "bash_code_execution_output";
162
+ file_id: string;
163
+ }>;
160
164
  stdout: string;
161
165
  stderr: string;
162
166
  return_code: number;
@@ -203,6 +207,10 @@ declare const anthropicTools: {
203
207
  new_str: string;
204
208
  }, {
205
209
  type: "bash_code_execution_result";
210
+ content: Array<{
211
+ type: "bash_code_execution_output";
212
+ file_id: string;
213
+ }>;
206
214
  stdout: string;
207
215
  stderr: string;
208
216
  return_code: number;
package/dist/index.d.ts CHANGED
@@ -157,6 +157,10 @@ declare const anthropicTools: {
157
157
  new_str: string;
158
158
  }, {
159
159
  type: "bash_code_execution_result";
160
+ content: Array<{
161
+ type: "bash_code_execution_output";
162
+ file_id: string;
163
+ }>;
160
164
  stdout: string;
161
165
  stderr: string;
162
166
  return_code: number;
@@ -203,6 +207,10 @@ declare const anthropicTools: {
203
207
  new_str: string;
204
208
  }, {
205
209
  type: "bash_code_execution_result";
210
+ content: Array<{
211
+ type: "bash_code_execution_output";
212
+ file_id: string;
213
+ }>;
206
214
  stdout: string;
207
215
  stderr: string;
208
216
  return_code: number;
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ var import_provider4 = require("@ai-sdk/provider");
31
31
  var import_provider_utils20 = require("@ai-sdk/provider-utils");
32
32
 
33
33
  // src/version.ts
34
- var VERSION = true ? "3.0.0-beta.33" : "0.0.0-test";
34
+ var VERSION = true ? "3.0.0-beta.35" : "0.0.0-test";
35
35
 
36
36
  // src/anthropic-messages-language-model.ts
37
37
  var import_provider3 = require("@ai-sdk/provider");