@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/internal/index.mjs
CHANGED
|
@@ -3351,8 +3351,6 @@ var anthropicTools = {
|
|
|
3351
3351
|
* allowing system operations, script execution, and command-line automation.
|
|
3352
3352
|
*
|
|
3353
3353
|
* Image results are supported.
|
|
3354
|
-
*
|
|
3355
|
-
* Tool name must be `bash`.
|
|
3356
3354
|
*/
|
|
3357
3355
|
bash_20241022,
|
|
3358
3356
|
/**
|
|
@@ -3360,8 +3358,6 @@ var anthropicTools = {
|
|
|
3360
3358
|
* allowing system operations, script execution, and command-line automation.
|
|
3361
3359
|
*
|
|
3362
3360
|
* Image results are supported.
|
|
3363
|
-
*
|
|
3364
|
-
* Tool name must be `bash`.
|
|
3365
3361
|
*/
|
|
3366
3362
|
bash_20250124,
|
|
3367
3363
|
/**
|
|
@@ -3371,8 +3367,6 @@ var anthropicTools = {
|
|
|
3371
3367
|
*
|
|
3372
3368
|
* The code execution tool allows Claude to run Bash commands and manipulate files,
|
|
3373
3369
|
* including writing code, in a secure, sandboxed environment.
|
|
3374
|
-
*
|
|
3375
|
-
* Tool name must be `code_execution`.
|
|
3376
3370
|
*/
|
|
3377
3371
|
codeExecution_20250522,
|
|
3378
3372
|
/**
|
|
@@ -3384,8 +3378,6 @@ var anthropicTools = {
|
|
|
3384
3378
|
* including writing code, in a secure, sandboxed environment.
|
|
3385
3379
|
*
|
|
3386
3380
|
* This is the latest version with enhanced Bash support and file operations.
|
|
3387
|
-
*
|
|
3388
|
-
* Tool name must be `code_execution`.
|
|
3389
3381
|
*/
|
|
3390
3382
|
codeExecution_20250825,
|
|
3391
3383
|
/**
|
|
@@ -3394,8 +3386,6 @@ var anthropicTools = {
|
|
|
3394
3386
|
*
|
|
3395
3387
|
* Image results are supported.
|
|
3396
3388
|
*
|
|
3397
|
-
* Tool name must be `computer`.
|
|
3398
|
-
*
|
|
3399
3389
|
* @param displayWidthPx - The width of the display being controlled by the model in pixels.
|
|
3400
3390
|
* @param displayHeightPx - The height of the display being controlled by the model in pixels.
|
|
3401
3391
|
* @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.
|
|
@@ -3407,8 +3397,6 @@ var anthropicTools = {
|
|
|
3407
3397
|
*
|
|
3408
3398
|
* Image results are supported.
|
|
3409
3399
|
*
|
|
3410
|
-
* Tool name must be `computer`.
|
|
3411
|
-
*
|
|
3412
3400
|
* @param displayWidthPx - The width of the display being controlled by the model in pixels.
|
|
3413
3401
|
* @param displayHeightPx - The height of the display being controlled by the model in pixels.
|
|
3414
3402
|
* @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.
|
|
@@ -3421,8 +3409,6 @@ var anthropicTools = {
|
|
|
3421
3409
|
* The memory tool operates client-side—you control where and how the data is stored through your own infrastructure.
|
|
3422
3410
|
*
|
|
3423
3411
|
* Supported models: Claude Sonnet 4.5, Claude Sonnet 4, Claude Opus 4.1, Claude Opus 4.
|
|
3424
|
-
*
|
|
3425
|
-
* Tool name must be `memory`.
|
|
3426
3412
|
*/
|
|
3427
3413
|
memory_20250818,
|
|
3428
3414
|
/**
|
|
@@ -3431,8 +3417,6 @@ var anthropicTools = {
|
|
|
3431
3417
|
* to directly interact with your files, providing hands-on assistance rather than just suggesting changes.
|
|
3432
3418
|
*
|
|
3433
3419
|
* Supported models: Claude Sonnet 3.5
|
|
3434
|
-
*
|
|
3435
|
-
* Tool name must be `str_replace_editor`.
|
|
3436
3420
|
*/
|
|
3437
3421
|
textEditor_20241022,
|
|
3438
3422
|
/**
|
|
@@ -3441,8 +3425,6 @@ var anthropicTools = {
|
|
|
3441
3425
|
* to directly interact with your files, providing hands-on assistance rather than just suggesting changes.
|
|
3442
3426
|
*
|
|
3443
3427
|
* Supported models: Claude Sonnet 3.7
|
|
3444
|
-
*
|
|
3445
|
-
* Tool name must be `str_replace_editor`.
|
|
3446
3428
|
*/
|
|
3447
3429
|
textEditor_20250124,
|
|
3448
3430
|
/**
|
|
@@ -3452,8 +3434,6 @@ var anthropicTools = {
|
|
|
3452
3434
|
*
|
|
3453
3435
|
* Note: This version does not support the "undo_edit" command.
|
|
3454
3436
|
*
|
|
3455
|
-
* Tool name must be `str_replace_based_edit_tool`.
|
|
3456
|
-
*
|
|
3457
3437
|
* @deprecated Use textEditor_20250728 instead
|
|
3458
3438
|
*/
|
|
3459
3439
|
textEditor_20250429,
|
|
@@ -3466,16 +3446,12 @@ var anthropicTools = {
|
|
|
3466
3446
|
*
|
|
3467
3447
|
* Supported models: Claude Sonnet 4, Opus 4, and Opus 4.1
|
|
3468
3448
|
*
|
|
3469
|
-
* Tool name must be `str_replace_based_edit_tool`.
|
|
3470
|
-
*
|
|
3471
3449
|
* @param maxCharacters - Optional maximum number of characters to view in the file
|
|
3472
3450
|
*/
|
|
3473
3451
|
textEditor_20250728,
|
|
3474
3452
|
/**
|
|
3475
3453
|
* Creates a web fetch tool that gives Claude direct access to real-time web content.
|
|
3476
3454
|
*
|
|
3477
|
-
* Tool name must be `web_fetch`.
|
|
3478
|
-
*
|
|
3479
3455
|
* @param maxUses - The max_uses parameter limits the number of web fetches performed
|
|
3480
3456
|
* @param allowedDomains - Only fetch from these domains
|
|
3481
3457
|
* @param blockedDomains - Never fetch from these domains
|
|
@@ -3486,8 +3462,6 @@ var anthropicTools = {
|
|
|
3486
3462
|
/**
|
|
3487
3463
|
* Creates a web search tool that gives Claude direct access to real-time web content.
|
|
3488
3464
|
*
|
|
3489
|
-
* Tool name must be `web_search`.
|
|
3490
|
-
*
|
|
3491
3465
|
* @param maxUses - Maximum number of web searches Claude can perform during the conversation.
|
|
3492
3466
|
* @param allowedDomains - Optional list of domains that Claude is allowed to search.
|
|
3493
3467
|
* @param blockedDomains - Optional list of domains that Claude should avoid when searching.
|