@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 +6 -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 +1 -1
- 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
package/dist/index.mjs
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "@ai-sdk/provider-utils";
|
|
13
13
|
|
|
14
14
|
// src/version.ts
|
|
15
|
-
var VERSION = true ? "3.0.
|
|
15
|
+
var VERSION = true ? "3.0.32" : "0.0.0-test";
|
|
16
16
|
|
|
17
17
|
// src/anthropic-messages-language-model.ts
|
|
18
18
|
import {
|
|
@@ -918,6 +918,7 @@ var textEditor_20250728InputSchema = lazySchema3(
|
|
|
918
918
|
file_text: z4.string().optional(),
|
|
919
919
|
insert_line: z4.number().int().optional(),
|
|
920
920
|
new_str: z4.string().optional(),
|
|
921
|
+
insert_text: z4.string().optional(),
|
|
921
922
|
old_str: z4.string().optional(),
|
|
922
923
|
view_range: z4.array(z4.number().int()).optional()
|
|
923
924
|
})
|
|
@@ -4223,6 +4224,7 @@ var textEditor_20241022InputSchema = lazySchema15(
|
|
|
4223
4224
|
file_text: z16.string().optional(),
|
|
4224
4225
|
insert_line: z16.number().int().optional(),
|
|
4225
4226
|
new_str: z16.string().optional(),
|
|
4227
|
+
insert_text: z16.string().optional(),
|
|
4226
4228
|
old_str: z16.string().optional(),
|
|
4227
4229
|
view_range: z16.array(z16.number().int()).optional()
|
|
4228
4230
|
})
|
|
@@ -4248,6 +4250,7 @@ var textEditor_20250124InputSchema = lazySchema16(
|
|
|
4248
4250
|
file_text: z17.string().optional(),
|
|
4249
4251
|
insert_line: z17.number().int().optional(),
|
|
4250
4252
|
new_str: z17.string().optional(),
|
|
4253
|
+
insert_text: z17.string().optional(),
|
|
4251
4254
|
old_str: z17.string().optional(),
|
|
4252
4255
|
view_range: z17.array(z17.number().int()).optional()
|
|
4253
4256
|
})
|
|
@@ -4273,6 +4276,7 @@ var textEditor_20250429InputSchema = lazySchema17(
|
|
|
4273
4276
|
file_text: z18.string().optional(),
|
|
4274
4277
|
insert_line: z18.number().int().optional(),
|
|
4275
4278
|
new_str: z18.string().optional(),
|
|
4279
|
+
insert_text: z18.string().optional(),
|
|
4276
4280
|
old_str: z18.string().optional(),
|
|
4277
4281
|
view_range: z18.array(z18.number().int()).optional()
|
|
4278
4282
|
})
|