@ai-sdk/anthropic 3.0.0-beta.64 → 3.0.0-beta.65
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 +9 -0
- package/dist/index.js +1 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -14
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +0 -13
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +0 -13
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @ai-sdk/anthropic
|
|
2
2
|
|
|
3
|
+
## 3.0.0-beta.65
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 954c356: feat(openai): allow custom names for provider-defined tools
|
|
8
|
+
- Updated dependencies [954c356]
|
|
9
|
+
- @ai-sdk/provider-utils@4.0.0-beta.39
|
|
10
|
+
- @ai-sdk/provider@3.0.0-beta.21
|
|
11
|
+
|
|
3
12
|
## 3.0.0-beta.64
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ var import_provider4 = require("@ai-sdk/provider");
|
|
|
31
31
|
var import_provider_utils20 = require("@ai-sdk/provider-utils");
|
|
32
32
|
|
|
33
33
|
// src/version.ts
|
|
34
|
-
var VERSION = true ? "3.0.0-beta.
|
|
34
|
+
var VERSION = true ? "3.0.0-beta.65" : "0.0.0-test";
|
|
35
35
|
|
|
36
36
|
// src/anthropic-messages-language-model.ts
|
|
37
37
|
var import_provider3 = require("@ai-sdk/provider");
|
|
@@ -740,7 +740,6 @@ var textEditor_20250728InputSchema = (0, import_provider_utils4.lazySchema)(
|
|
|
740
740
|
);
|
|
741
741
|
var factory = (0, import_provider_utils3.createProviderDefinedToolFactory)({
|
|
742
742
|
id: "anthropic.text_editor_20250728",
|
|
743
|
-
name: "str_replace_based_edit_tool",
|
|
744
743
|
inputSchema: textEditor_20250728InputSchema
|
|
745
744
|
});
|
|
746
745
|
var textEditor_20250728 = (args = {}) => {
|
|
@@ -788,7 +787,6 @@ var webSearch_20250305InputSchema = (0, import_provider_utils5.lazySchema)(
|
|
|
788
787
|
);
|
|
789
788
|
var factory2 = (0, import_provider_utils5.createProviderDefinedToolFactoryWithOutputSchema)({
|
|
790
789
|
id: "anthropic.web_search_20250305",
|
|
791
|
-
name: "web_search",
|
|
792
790
|
inputSchema: webSearch_20250305InputSchema,
|
|
793
791
|
outputSchema: webSearch_20250305OutputSchema
|
|
794
792
|
});
|
|
@@ -845,7 +843,6 @@ var webFetch_20250910InputSchema = (0, import_provider_utils6.lazySchema)(
|
|
|
845
843
|
);
|
|
846
844
|
var factory3 = (0, import_provider_utils6.createProviderDefinedToolFactoryWithOutputSchema)({
|
|
847
845
|
id: "anthropic.web_fetch_20250910",
|
|
848
|
-
name: "web_fetch",
|
|
849
846
|
inputSchema: webFetch_20250910InputSchema,
|
|
850
847
|
outputSchema: webFetch_20250910OutputSchema
|
|
851
848
|
});
|
|
@@ -1124,7 +1121,6 @@ var codeExecution_20250522InputSchema = (0, import_provider_utils8.lazySchema)(
|
|
|
1124
1121
|
);
|
|
1125
1122
|
var factory4 = (0, import_provider_utils8.createProviderDefinedToolFactoryWithOutputSchema)({
|
|
1126
1123
|
id: "anthropic.code_execution_20250522",
|
|
1127
|
-
name: "code_execution",
|
|
1128
1124
|
inputSchema: codeExecution_20250522InputSchema,
|
|
1129
1125
|
outputSchema: codeExecution_20250522OutputSchema
|
|
1130
1126
|
});
|
|
@@ -1213,7 +1209,6 @@ var codeExecution_20250825InputSchema = (0, import_provider_utils9.lazySchema)(
|
|
|
1213
1209
|
);
|
|
1214
1210
|
var factory5 = (0, import_provider_utils9.createProviderDefinedToolFactoryWithOutputSchema)({
|
|
1215
1211
|
id: "anthropic.code_execution_20250825",
|
|
1216
|
-
name: "code_execution",
|
|
1217
1212
|
inputSchema: codeExecution_20250825InputSchema,
|
|
1218
1213
|
outputSchema: codeExecution_20250825OutputSchema
|
|
1219
1214
|
});
|
|
@@ -3106,7 +3101,6 @@ var bash_20241022InputSchema = (0, import_provider_utils12.lazySchema)(
|
|
|
3106
3101
|
);
|
|
3107
3102
|
var bash_20241022 = (0, import_provider_utils12.createProviderDefinedToolFactory)({
|
|
3108
3103
|
id: "anthropic.bash_20241022",
|
|
3109
|
-
name: "bash",
|
|
3110
3104
|
inputSchema: bash_20241022InputSchema
|
|
3111
3105
|
});
|
|
3112
3106
|
|
|
@@ -3123,7 +3117,6 @@ var bash_20250124InputSchema = (0, import_provider_utils13.lazySchema)(
|
|
|
3123
3117
|
);
|
|
3124
3118
|
var bash_20250124 = (0, import_provider_utils13.createProviderDefinedToolFactory)({
|
|
3125
3119
|
id: "anthropic.bash_20250124",
|
|
3126
|
-
name: "bash",
|
|
3127
3120
|
inputSchema: bash_20250124InputSchema
|
|
3128
3121
|
});
|
|
3129
3122
|
|
|
@@ -3152,7 +3145,6 @@ var computer_20241022InputSchema = (0, import_provider_utils14.lazySchema)(
|
|
|
3152
3145
|
);
|
|
3153
3146
|
var computer_20241022 = (0, import_provider_utils14.createProviderDefinedToolFactory)({
|
|
3154
3147
|
id: "anthropic.computer_20241022",
|
|
3155
|
-
name: "computer",
|
|
3156
3148
|
inputSchema: computer_20241022InputSchema
|
|
3157
3149
|
});
|
|
3158
3150
|
|
|
@@ -3191,7 +3183,6 @@ var computer_20250124InputSchema = (0, import_provider_utils15.lazySchema)(
|
|
|
3191
3183
|
);
|
|
3192
3184
|
var computer_20250124 = (0, import_provider_utils15.createProviderDefinedToolFactory)({
|
|
3193
3185
|
id: "anthropic.computer_20250124",
|
|
3194
|
-
name: "computer",
|
|
3195
3186
|
inputSchema: computer_20250124InputSchema
|
|
3196
3187
|
});
|
|
3197
3188
|
|
|
@@ -3237,7 +3228,6 @@ var memory_20250818InputSchema = (0, import_provider_utils16.lazySchema)(
|
|
|
3237
3228
|
);
|
|
3238
3229
|
var memory_20250818 = (0, import_provider_utils16.createProviderDefinedToolFactory)({
|
|
3239
3230
|
id: "anthropic.memory_20250818",
|
|
3240
|
-
name: "memory",
|
|
3241
3231
|
inputSchema: memory_20250818InputSchema
|
|
3242
3232
|
});
|
|
3243
3233
|
|
|
@@ -3259,7 +3249,6 @@ var textEditor_20241022InputSchema = (0, import_provider_utils17.lazySchema)(
|
|
|
3259
3249
|
);
|
|
3260
3250
|
var textEditor_20241022 = (0, import_provider_utils17.createProviderDefinedToolFactory)({
|
|
3261
3251
|
id: "anthropic.text_editor_20241022",
|
|
3262
|
-
name: "str_replace_editor",
|
|
3263
3252
|
inputSchema: textEditor_20241022InputSchema
|
|
3264
3253
|
});
|
|
3265
3254
|
|
|
@@ -3281,7 +3270,6 @@ var textEditor_20250124InputSchema = (0, import_provider_utils18.lazySchema)(
|
|
|
3281
3270
|
);
|
|
3282
3271
|
var textEditor_20250124 = (0, import_provider_utils18.createProviderDefinedToolFactory)({
|
|
3283
3272
|
id: "anthropic.text_editor_20250124",
|
|
3284
|
-
name: "str_replace_editor",
|
|
3285
3273
|
inputSchema: textEditor_20250124InputSchema
|
|
3286
3274
|
});
|
|
3287
3275
|
|
|
@@ -3303,7 +3291,6 @@ var textEditor_20250429InputSchema = (0, import_provider_utils19.lazySchema)(
|
|
|
3303
3291
|
);
|
|
3304
3292
|
var textEditor_20250429 = (0, import_provider_utils19.createProviderDefinedToolFactory)({
|
|
3305
3293
|
id: "anthropic.text_editor_20250429",
|
|
3306
|
-
name: "str_replace_based_edit_tool",
|
|
3307
3294
|
inputSchema: textEditor_20250429InputSchema
|
|
3308
3295
|
});
|
|
3309
3296
|
|