@ai-sdk/anthropic 3.0.31 → 3.0.32

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.32
4
+
5
+ ### Patch Changes
6
+
7
+ - c33343b: fix(anthropic): add missing param in tool schema
8
+
3
9
  ## 3.0.31
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -477,6 +477,7 @@ declare const anthropicTools: {
477
477
  file_text?: string;
478
478
  insert_line?: number;
479
479
  new_str?: string;
480
+ insert_text?: string;
480
481
  old_str?: string;
481
482
  view_range?: number[];
482
483
  }, {}>;
@@ -493,6 +494,7 @@ declare const anthropicTools: {
493
494
  file_text?: string;
494
495
  insert_line?: number;
495
496
  new_str?: string;
497
+ insert_text?: string;
496
498
  old_str?: string;
497
499
  view_range?: number[];
498
500
  }, {}>;
@@ -511,6 +513,7 @@ declare const anthropicTools: {
511
513
  file_text?: string;
512
514
  insert_line?: number;
513
515
  new_str?: string;
516
+ insert_text?: string;
514
517
  old_str?: string;
515
518
  view_range?: number[];
516
519
  }, {}>;
@@ -531,6 +534,7 @@ declare const anthropicTools: {
531
534
  file_text?: string;
532
535
  insert_line?: number;
533
536
  new_str?: string;
537
+ insert_text?: string;
534
538
  old_str?: string;
535
539
  view_range?: number[];
536
540
  }, {
@@ -541,6 +545,7 @@ declare const anthropicTools: {
541
545
  file_text?: string;
542
546
  insert_line?: number;
543
547
  new_str?: string;
548
+ insert_text?: string;
544
549
  old_str?: string;
545
550
  view_range?: number[];
546
551
  }, unknown>;
package/dist/index.d.ts CHANGED
@@ -477,6 +477,7 @@ declare const anthropicTools: {
477
477
  file_text?: string;
478
478
  insert_line?: number;
479
479
  new_str?: string;
480
+ insert_text?: string;
480
481
  old_str?: string;
481
482
  view_range?: number[];
482
483
  }, {}>;
@@ -493,6 +494,7 @@ declare const anthropicTools: {
493
494
  file_text?: string;
494
495
  insert_line?: number;
495
496
  new_str?: string;
497
+ insert_text?: string;
496
498
  old_str?: string;
497
499
  view_range?: number[];
498
500
  }, {}>;
@@ -511,6 +513,7 @@ declare const anthropicTools: {
511
513
  file_text?: string;
512
514
  insert_line?: number;
513
515
  new_str?: string;
516
+ insert_text?: string;
514
517
  old_str?: string;
515
518
  view_range?: number[];
516
519
  }, {}>;
@@ -531,6 +534,7 @@ declare const anthropicTools: {
531
534
  file_text?: string;
532
535
  insert_line?: number;
533
536
  new_str?: string;
537
+ insert_text?: string;
534
538
  old_str?: string;
535
539
  view_range?: number[];
536
540
  }, {
@@ -541,6 +545,7 @@ declare const anthropicTools: {
541
545
  file_text?: string;
542
546
  insert_line?: number;
543
547
  new_str?: string;
548
+ insert_text?: string;
544
549
  old_str?: string;
545
550
  view_range?: number[];
546
551
  }, unknown>;
package/dist/index.js CHANGED
@@ -32,7 +32,7 @@ var import_provider4 = require("@ai-sdk/provider");
32
32
  var import_provider_utils23 = require("@ai-sdk/provider-utils");
33
33
 
34
34
  // src/version.ts
35
- var VERSION = true ? "3.0.31" : "0.0.0-test";
35
+ var VERSION = true ? "3.0.32" : "0.0.0-test";
36
36
 
37
37
  // src/anthropic-messages-language-model.ts
38
38
  var import_provider3 = require("@ai-sdk/provider");
@@ -921,6 +921,7 @@ var textEditor_20250728InputSchema = (0, import_provider_utils4.lazySchema)(
921
921
  file_text: import_v44.z.string().optional(),
922
922
  insert_line: import_v44.z.number().int().optional(),
923
923
  new_str: import_v44.z.string().optional(),
924
+ insert_text: import_v44.z.string().optional(),
924
925
  old_str: import_v44.z.string().optional(),
925
926
  view_range: import_v44.z.array(import_v44.z.number().int()).optional()
926
927
  })
@@ -4171,6 +4172,7 @@ var textEditor_20241022InputSchema = (0, import_provider_utils19.lazySchema)(
4171
4172
  file_text: import_v416.z.string().optional(),
4172
4173
  insert_line: import_v416.z.number().int().optional(),
4173
4174
  new_str: import_v416.z.string().optional(),
4175
+ insert_text: import_v416.z.string().optional(),
4174
4176
  old_str: import_v416.z.string().optional(),
4175
4177
  view_range: import_v416.z.array(import_v416.z.number().int()).optional()
4176
4178
  })
@@ -4192,6 +4194,7 @@ var textEditor_20250124InputSchema = (0, import_provider_utils20.lazySchema)(
4192
4194
  file_text: import_v417.z.string().optional(),
4193
4195
  insert_line: import_v417.z.number().int().optional(),
4194
4196
  new_str: import_v417.z.string().optional(),
4197
+ insert_text: import_v417.z.string().optional(),
4195
4198
  old_str: import_v417.z.string().optional(),
4196
4199
  view_range: import_v417.z.array(import_v417.z.number().int()).optional()
4197
4200
  })
@@ -4213,6 +4216,7 @@ var textEditor_20250429InputSchema = (0, import_provider_utils21.lazySchema)(
4213
4216
  file_text: import_v418.z.string().optional(),
4214
4217
  insert_line: import_v418.z.number().int().optional(),
4215
4218
  new_str: import_v418.z.string().optional(),
4219
+ insert_text: import_v418.z.string().optional(),
4216
4220
  old_str: import_v418.z.string().optional(),
4217
4221
  view_range: import_v418.z.array(import_v418.z.number().int()).optional()
4218
4222
  })