@ai-sdk/anthropic 3.0.0-beta.71 → 3.0.0-beta.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 +13 -0
- package/dist/index.d.mts +0 -26
- package/dist/index.d.ts +0 -26
- package/dist/index.js +1 -27
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -27
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +0 -26
- package/dist/internal/index.d.ts +0 -26
- package/dist/internal/index.js +0 -26
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +0 -26
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "@ai-sdk/provider-utils";
|
|
12
12
|
|
|
13
13
|
// src/version.ts
|
|
14
|
-
var VERSION = true ? "3.0.0-beta.
|
|
14
|
+
var VERSION = true ? "3.0.0-beta.73" : "0.0.0-test";
|
|
15
15
|
|
|
16
16
|
// src/anthropic-messages-language-model.ts
|
|
17
17
|
import {
|
|
@@ -3366,8 +3366,6 @@ var anthropicTools = {
|
|
|
3366
3366
|
* allowing system operations, script execution, and command-line automation.
|
|
3367
3367
|
*
|
|
3368
3368
|
* Image results are supported.
|
|
3369
|
-
*
|
|
3370
|
-
* Tool name must be `bash`.
|
|
3371
3369
|
*/
|
|
3372
3370
|
bash_20241022,
|
|
3373
3371
|
/**
|
|
@@ -3375,8 +3373,6 @@ var anthropicTools = {
|
|
|
3375
3373
|
* allowing system operations, script execution, and command-line automation.
|
|
3376
3374
|
*
|
|
3377
3375
|
* Image results are supported.
|
|
3378
|
-
*
|
|
3379
|
-
* Tool name must be `bash`.
|
|
3380
3376
|
*/
|
|
3381
3377
|
bash_20250124,
|
|
3382
3378
|
/**
|
|
@@ -3386,8 +3382,6 @@ var anthropicTools = {
|
|
|
3386
3382
|
*
|
|
3387
3383
|
* The code execution tool allows Claude to run Bash commands and manipulate files,
|
|
3388
3384
|
* including writing code, in a secure, sandboxed environment.
|
|
3389
|
-
*
|
|
3390
|
-
* Tool name must be `code_execution`.
|
|
3391
3385
|
*/
|
|
3392
3386
|
codeExecution_20250522,
|
|
3393
3387
|
/**
|
|
@@ -3399,8 +3393,6 @@ var anthropicTools = {
|
|
|
3399
3393
|
* including writing code, in a secure, sandboxed environment.
|
|
3400
3394
|
*
|
|
3401
3395
|
* This is the latest version with enhanced Bash support and file operations.
|
|
3402
|
-
*
|
|
3403
|
-
* Tool name must be `code_execution`.
|
|
3404
3396
|
*/
|
|
3405
3397
|
codeExecution_20250825,
|
|
3406
3398
|
/**
|
|
@@ -3409,8 +3401,6 @@ var anthropicTools = {
|
|
|
3409
3401
|
*
|
|
3410
3402
|
* Image results are supported.
|
|
3411
3403
|
*
|
|
3412
|
-
* Tool name must be `computer`.
|
|
3413
|
-
*
|
|
3414
3404
|
* @param displayWidthPx - The width of the display being controlled by the model in pixels.
|
|
3415
3405
|
* @param displayHeightPx - The height of the display being controlled by the model in pixels.
|
|
3416
3406
|
* @param displayNumber - The display number to control (only relevant for X11 environments). If specified, the tool will be provided a display number in the tool definition.
|
|
@@ -3422,8 +3412,6 @@ var anthropicTools = {
|
|
|
3422
3412
|
*
|
|
3423
3413
|
* Image results are supported.
|
|
3424
3414
|
*
|
|
3425
|
-
* Tool name must be `computer`.
|
|
3426
|
-
*
|
|
3427
3415
|
* @param displayWidthPx - The width of the display being controlled by the model in pixels.
|
|
3428
3416
|
* @param displayHeightPx - The height of the display being controlled by the model in pixels.
|
|
3429
3417
|
* @param displayNumber - The display number to control (only relevant for X11 environments). If specified, the tool will be provided a display number in the tool definition.
|
|
@@ -3436,8 +3424,6 @@ var anthropicTools = {
|
|
|
3436
3424
|
* The memory tool operates client-side—you control where and how the data is stored through your own infrastructure.
|
|
3437
3425
|
*
|
|
3438
3426
|
* Supported models: Claude Sonnet 4.5, Claude Sonnet 4, Claude Opus 4.1, Claude Opus 4.
|
|
3439
|
-
*
|
|
3440
|
-
* Tool name must be `memory`.
|
|
3441
3427
|
*/
|
|
3442
3428
|
memory_20250818,
|
|
3443
3429
|
/**
|
|
@@ -3446,8 +3432,6 @@ var anthropicTools = {
|
|
|
3446
3432
|
* to directly interact with your files, providing hands-on assistance rather than just suggesting changes.
|
|
3447
3433
|
*
|
|
3448
3434
|
* Supported models: Claude Sonnet 3.5
|
|
3449
|
-
*
|
|
3450
|
-
* Tool name must be `str_replace_editor`.
|
|
3451
3435
|
*/
|
|
3452
3436
|
textEditor_20241022,
|
|
3453
3437
|
/**
|
|
@@ -3456,8 +3440,6 @@ var anthropicTools = {
|
|
|
3456
3440
|
* to directly interact with your files, providing hands-on assistance rather than just suggesting changes.
|
|
3457
3441
|
*
|
|
3458
3442
|
* Supported models: Claude Sonnet 3.7
|
|
3459
|
-
*
|
|
3460
|
-
* Tool name must be `str_replace_editor`.
|
|
3461
3443
|
*/
|
|
3462
3444
|
textEditor_20250124,
|
|
3463
3445
|
/**
|
|
@@ -3467,8 +3449,6 @@ var anthropicTools = {
|
|
|
3467
3449
|
*
|
|
3468
3450
|
* Note: This version does not support the "undo_edit" command.
|
|
3469
3451
|
*
|
|
3470
|
-
* Tool name must be `str_replace_based_edit_tool`.
|
|
3471
|
-
*
|
|
3472
3452
|
* @deprecated Use textEditor_20250728 instead
|
|
3473
3453
|
*/
|
|
3474
3454
|
textEditor_20250429,
|
|
@@ -3481,16 +3461,12 @@ var anthropicTools = {
|
|
|
3481
3461
|
*
|
|
3482
3462
|
* Supported models: Claude Sonnet 4, Opus 4, and Opus 4.1
|
|
3483
3463
|
*
|
|
3484
|
-
* Tool name must be `str_replace_based_edit_tool`.
|
|
3485
|
-
*
|
|
3486
3464
|
* @param maxCharacters - Optional maximum number of characters to view in the file
|
|
3487
3465
|
*/
|
|
3488
3466
|
textEditor_20250728,
|
|
3489
3467
|
/**
|
|
3490
3468
|
* Creates a web fetch tool that gives Claude direct access to real-time web content.
|
|
3491
3469
|
*
|
|
3492
|
-
* Tool name must be `web_fetch`.
|
|
3493
|
-
*
|
|
3494
3470
|
* @param maxUses - The max_uses parameter limits the number of web fetches performed
|
|
3495
3471
|
* @param allowedDomains - Only fetch from these domains
|
|
3496
3472
|
* @param blockedDomains - Never fetch from these domains
|
|
@@ -3501,8 +3477,6 @@ var anthropicTools = {
|
|
|
3501
3477
|
/**
|
|
3502
3478
|
* Creates a web search tool that gives Claude direct access to real-time web content.
|
|
3503
3479
|
*
|
|
3504
|
-
* Tool name must be `web_search`.
|
|
3505
|
-
*
|
|
3506
3480
|
* @param maxUses - Maximum number of web searches Claude can perform during the conversation.
|
|
3507
3481
|
* @param allowedDomains - Optional list of domains that Claude is allowed to search.
|
|
3508
3482
|
* @param blockedDomains - Optional list of domains that Claude should avoid when searching.
|