@ai-sdk/anthropic 3.0.30 → 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 +14 -0
- package/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +5 -0
- package/dist/internal/index.d.ts +5 -0
- package/dist/internal/index.js +4 -0
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +4 -0
- package/dist/internal/index.mjs.map +1 -1
- package/docs/05-anthropic.mdx +3 -2
- package/package.json +3 -3
- package/src/tool/text-editor_20241022.ts +7 -1
- package/src/tool/text-editor_20250124.ts +7 -1
- package/src/tool/text-editor_20250429.ts +7 -1
- package/src/tool/text-editor_20250728.ts +7 -1
|
@@ -348,6 +348,7 @@ declare const anthropicTools: {
|
|
|
348
348
|
file_text?: string;
|
|
349
349
|
insert_line?: number;
|
|
350
350
|
new_str?: string;
|
|
351
|
+
insert_text?: string;
|
|
351
352
|
old_str?: string;
|
|
352
353
|
view_range?: number[];
|
|
353
354
|
}, {}>;
|
|
@@ -364,6 +365,7 @@ declare const anthropicTools: {
|
|
|
364
365
|
file_text?: string;
|
|
365
366
|
insert_line?: number;
|
|
366
367
|
new_str?: string;
|
|
368
|
+
insert_text?: string;
|
|
367
369
|
old_str?: string;
|
|
368
370
|
view_range?: number[];
|
|
369
371
|
}, {}>;
|
|
@@ -382,6 +384,7 @@ declare const anthropicTools: {
|
|
|
382
384
|
file_text?: string;
|
|
383
385
|
insert_line?: number;
|
|
384
386
|
new_str?: string;
|
|
387
|
+
insert_text?: string;
|
|
385
388
|
old_str?: string;
|
|
386
389
|
view_range?: number[];
|
|
387
390
|
}, {}>;
|
|
@@ -402,6 +405,7 @@ declare const anthropicTools: {
|
|
|
402
405
|
file_text?: string;
|
|
403
406
|
insert_line?: number;
|
|
404
407
|
new_str?: string;
|
|
408
|
+
insert_text?: string;
|
|
405
409
|
old_str?: string;
|
|
406
410
|
view_range?: number[];
|
|
407
411
|
}, {
|
|
@@ -412,6 +416,7 @@ declare const anthropicTools: {
|
|
|
412
416
|
file_text?: string;
|
|
413
417
|
insert_line?: number;
|
|
414
418
|
new_str?: string;
|
|
419
|
+
insert_text?: string;
|
|
415
420
|
old_str?: string;
|
|
416
421
|
view_range?: number[];
|
|
417
422
|
}, unknown>;
|
package/dist/internal/index.d.ts
CHANGED
|
@@ -348,6 +348,7 @@ declare const anthropicTools: {
|
|
|
348
348
|
file_text?: string;
|
|
349
349
|
insert_line?: number;
|
|
350
350
|
new_str?: string;
|
|
351
|
+
insert_text?: string;
|
|
351
352
|
old_str?: string;
|
|
352
353
|
view_range?: number[];
|
|
353
354
|
}, {}>;
|
|
@@ -364,6 +365,7 @@ declare const anthropicTools: {
|
|
|
364
365
|
file_text?: string;
|
|
365
366
|
insert_line?: number;
|
|
366
367
|
new_str?: string;
|
|
368
|
+
insert_text?: string;
|
|
367
369
|
old_str?: string;
|
|
368
370
|
view_range?: number[];
|
|
369
371
|
}, {}>;
|
|
@@ -382,6 +384,7 @@ declare const anthropicTools: {
|
|
|
382
384
|
file_text?: string;
|
|
383
385
|
insert_line?: number;
|
|
384
386
|
new_str?: string;
|
|
387
|
+
insert_text?: string;
|
|
385
388
|
old_str?: string;
|
|
386
389
|
view_range?: number[];
|
|
387
390
|
}, {}>;
|
|
@@ -402,6 +405,7 @@ declare const anthropicTools: {
|
|
|
402
405
|
file_text?: string;
|
|
403
406
|
insert_line?: number;
|
|
404
407
|
new_str?: string;
|
|
408
|
+
insert_text?: string;
|
|
405
409
|
old_str?: string;
|
|
406
410
|
view_range?: number[];
|
|
407
411
|
}, {
|
|
@@ -412,6 +416,7 @@ declare const anthropicTools: {
|
|
|
412
416
|
file_text?: string;
|
|
413
417
|
insert_line?: number;
|
|
414
418
|
new_str?: string;
|
|
419
|
+
insert_text?: string;
|
|
415
420
|
old_str?: string;
|
|
416
421
|
view_range?: number[];
|
|
417
422
|
}, unknown>;
|
package/dist/internal/index.js
CHANGED
|
@@ -913,6 +913,7 @@ var textEditor_20250728InputSchema = (0, import_provider_utils4.lazySchema)(
|
|
|
913
913
|
file_text: import_v44.z.string().optional(),
|
|
914
914
|
insert_line: import_v44.z.number().int().optional(),
|
|
915
915
|
new_str: import_v44.z.string().optional(),
|
|
916
|
+
insert_text: import_v44.z.string().optional(),
|
|
916
917
|
old_str: import_v44.z.string().optional(),
|
|
917
918
|
view_range: import_v44.z.array(import_v44.z.number().int()).optional()
|
|
918
919
|
})
|
|
@@ -4163,6 +4164,7 @@ var textEditor_20241022InputSchema = (0, import_provider_utils19.lazySchema)(
|
|
|
4163
4164
|
file_text: import_v416.z.string().optional(),
|
|
4164
4165
|
insert_line: import_v416.z.number().int().optional(),
|
|
4165
4166
|
new_str: import_v416.z.string().optional(),
|
|
4167
|
+
insert_text: import_v416.z.string().optional(),
|
|
4166
4168
|
old_str: import_v416.z.string().optional(),
|
|
4167
4169
|
view_range: import_v416.z.array(import_v416.z.number().int()).optional()
|
|
4168
4170
|
})
|
|
@@ -4184,6 +4186,7 @@ var textEditor_20250124InputSchema = (0, import_provider_utils20.lazySchema)(
|
|
|
4184
4186
|
file_text: import_v417.z.string().optional(),
|
|
4185
4187
|
insert_line: import_v417.z.number().int().optional(),
|
|
4186
4188
|
new_str: import_v417.z.string().optional(),
|
|
4189
|
+
insert_text: import_v417.z.string().optional(),
|
|
4187
4190
|
old_str: import_v417.z.string().optional(),
|
|
4188
4191
|
view_range: import_v417.z.array(import_v417.z.number().int()).optional()
|
|
4189
4192
|
})
|
|
@@ -4205,6 +4208,7 @@ var textEditor_20250429InputSchema = (0, import_provider_utils21.lazySchema)(
|
|
|
4205
4208
|
file_text: import_v418.z.string().optional(),
|
|
4206
4209
|
insert_line: import_v418.z.number().int().optional(),
|
|
4207
4210
|
new_str: import_v418.z.string().optional(),
|
|
4211
|
+
insert_text: import_v418.z.string().optional(),
|
|
4208
4212
|
old_str: import_v418.z.string().optional(),
|
|
4209
4213
|
view_range: import_v418.z.array(import_v418.z.number().int()).optional()
|
|
4210
4214
|
})
|