@ai-sdk/anthropic 3.0.54 → 3.0.55

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.55
4
+
5
+ ### Patch Changes
6
+
7
+ - 7531e72: fix(provider/anthropic): handle encrypted_code_execution_result for multi-turn with web_fetch/web_search 20260209
8
+
3
9
  ## 3.0.54
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -451,6 +451,15 @@ declare const anthropicTools: {
451
451
  type: "code_execution_output";
452
452
  file_id: string;
453
453
  }>;
454
+ } | {
455
+ type: "encrypted_code_execution_result";
456
+ encrypted_stdout: string;
457
+ stderr: string;
458
+ return_code: number;
459
+ content: Array<{
460
+ type: "code_execution_output";
461
+ file_id: string;
462
+ }>;
454
463
  } | {
455
464
  type: "bash_code_execution_result";
456
465
  content: Array<{
@@ -513,6 +522,15 @@ declare const anthropicTools: {
513
522
  type: "code_execution_output";
514
523
  file_id: string;
515
524
  }>;
525
+ } | {
526
+ type: "encrypted_code_execution_result";
527
+ encrypted_stdout: string;
528
+ stderr: string;
529
+ return_code: number;
530
+ content: Array<{
531
+ type: "code_execution_output";
532
+ file_id: string;
533
+ }>;
516
534
  } | {
517
535
  type: "bash_code_execution_result";
518
536
  content: Array<{
package/dist/index.d.ts CHANGED
@@ -451,6 +451,15 @@ declare const anthropicTools: {
451
451
  type: "code_execution_output";
452
452
  file_id: string;
453
453
  }>;
454
+ } | {
455
+ type: "encrypted_code_execution_result";
456
+ encrypted_stdout: string;
457
+ stderr: string;
458
+ return_code: number;
459
+ content: Array<{
460
+ type: "code_execution_output";
461
+ file_id: string;
462
+ }>;
454
463
  } | {
455
464
  type: "bash_code_execution_result";
456
465
  content: Array<{
@@ -513,6 +522,15 @@ declare const anthropicTools: {
513
522
  type: "code_execution_output";
514
523
  file_id: string;
515
524
  }>;
525
+ } | {
526
+ type: "encrypted_code_execution_result";
527
+ encrypted_stdout: string;
528
+ stderr: string;
529
+ return_code: number;
530
+ content: Array<{
531
+ type: "code_execution_output";
532
+ file_id: string;
533
+ }>;
516
534
  } | {
517
535
  type: "bash_code_execution_result";
518
536
  content: Array<{