@ai-sdk/anthropic 3.0.72 → 3.0.73
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 +10 -0
- package/dist/index.js +288 -143
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +157 -5
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +281 -136
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +156 -4
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/anthropic-error.ts +1 -1
- package/src/anthropic-message-metadata.ts +1 -1
- package/src/anthropic-messages-api.ts +6 -2
- package/src/anthropic-messages-language-model.ts +28 -27
- package/src/anthropic-prepare-tools.ts +6 -3
- package/src/anthropic-provider.ts +4 -4
- package/src/convert-anthropic-messages-usage.ts +1 -1
- package/src/convert-to-anthropic-messages-prompt.ts +11 -11
- package/src/forward-anthropic-container-id-from-last-step.ts +2 -2
- package/src/get-cache-control.ts +5 -2
- package/src/map-anthropic-stop-reason.ts +1 -1
- package/src/sanitize-json-schema.ts +203 -0
- package/src/tool/text-editor_20250728.ts +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @ai-sdk/anthropic
|
|
2
2
|
|
|
3
|
+
## 3.0.73
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f8c9ae4: feat(anthropic): sanitize the unsupported JSON schema validation properties
|
|
8
|
+
- a727da4: chore: ensure consistent import handling and avoid import duplicates or cycles
|
|
9
|
+
- Updated dependencies [a727da4]
|
|
10
|
+
- @ai-sdk/provider-utils@4.0.25
|
|
11
|
+
- @ai-sdk/provider@3.0.10
|
|
12
|
+
|
|
3
13
|
## 3.0.72
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|