@ai-sdk/anthropic 2.0.53 → 2.0.54
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 +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +4 -4
- package/dist/internal/index.d.ts +4 -4
- package/dist/internal/index.js +2 -2
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +2 -2
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -384,7 +384,7 @@ declare const anthropicTools: {
|
|
|
384
384
|
url: string;
|
|
385
385
|
content: {
|
|
386
386
|
type: "document";
|
|
387
|
-
title: string;
|
|
387
|
+
title: string | null;
|
|
388
388
|
citations?: {
|
|
389
389
|
enabled: boolean;
|
|
390
390
|
};
|
|
@@ -414,7 +414,7 @@ declare const anthropicTools: {
|
|
|
414
414
|
url: string;
|
|
415
415
|
content: {
|
|
416
416
|
type: "document";
|
|
417
|
-
title: string;
|
|
417
|
+
title: string | null;
|
|
418
418
|
citations?: {
|
|
419
419
|
enabled: boolean;
|
|
420
420
|
};
|
|
@@ -445,7 +445,7 @@ declare const anthropicTools: {
|
|
|
445
445
|
}, {
|
|
446
446
|
type: "web_search_result";
|
|
447
447
|
url: string;
|
|
448
|
-
title: string;
|
|
448
|
+
title: string | null;
|
|
449
449
|
pageAge: string | null;
|
|
450
450
|
encryptedContent: string;
|
|
451
451
|
}[], {
|
|
@@ -464,7 +464,7 @@ declare const anthropicTools: {
|
|
|
464
464
|
}, {
|
|
465
465
|
type: "web_search_result";
|
|
466
466
|
url: string;
|
|
467
|
-
title: string;
|
|
467
|
+
title: string | null;
|
|
468
468
|
pageAge: string | null;
|
|
469
469
|
encryptedContent: string;
|
|
470
470
|
}[]>;
|
package/dist/internal/index.d.ts
CHANGED
|
@@ -384,7 +384,7 @@ declare const anthropicTools: {
|
|
|
384
384
|
url: string;
|
|
385
385
|
content: {
|
|
386
386
|
type: "document";
|
|
387
|
-
title: string;
|
|
387
|
+
title: string | null;
|
|
388
388
|
citations?: {
|
|
389
389
|
enabled: boolean;
|
|
390
390
|
};
|
|
@@ -414,7 +414,7 @@ declare const anthropicTools: {
|
|
|
414
414
|
url: string;
|
|
415
415
|
content: {
|
|
416
416
|
type: "document";
|
|
417
|
-
title: string;
|
|
417
|
+
title: string | null;
|
|
418
418
|
citations?: {
|
|
419
419
|
enabled: boolean;
|
|
420
420
|
};
|
|
@@ -445,7 +445,7 @@ declare const anthropicTools: {
|
|
|
445
445
|
}, {
|
|
446
446
|
type: "web_search_result";
|
|
447
447
|
url: string;
|
|
448
|
-
title: string;
|
|
448
|
+
title: string | null;
|
|
449
449
|
pageAge: string | null;
|
|
450
450
|
encryptedContent: string;
|
|
451
451
|
}[], {
|
|
@@ -464,7 +464,7 @@ declare const anthropicTools: {
|
|
|
464
464
|
}, {
|
|
465
465
|
type: "web_search_result";
|
|
466
466
|
url: string;
|
|
467
|
-
title: string;
|
|
467
|
+
title: string | null;
|
|
468
468
|
pageAge: string | null;
|
|
469
469
|
encryptedContent: string;
|
|
470
470
|
}[]>;
|
package/dist/internal/index.js
CHANGED
|
@@ -699,7 +699,7 @@ var webSearch_20250305OutputSchema = (0, import_provider_utils5.lazySchema)(
|
|
|
699
699
|
import_v45.z.array(
|
|
700
700
|
import_v45.z.object({
|
|
701
701
|
url: import_v45.z.string(),
|
|
702
|
-
title: import_v45.z.string(),
|
|
702
|
+
title: import_v45.z.string().nullable(),
|
|
703
703
|
pageAge: import_v45.z.string().nullable(),
|
|
704
704
|
encryptedContent: import_v45.z.string(),
|
|
705
705
|
type: import_v45.z.literal("web_search_result")
|
|
@@ -745,7 +745,7 @@ var webFetch_20250910OutputSchema = (0, import_provider_utils6.lazySchema)(
|
|
|
745
745
|
url: import_v46.z.string(),
|
|
746
746
|
content: import_v46.z.object({
|
|
747
747
|
type: import_v46.z.literal("document"),
|
|
748
|
-
title: import_v46.z.string(),
|
|
748
|
+
title: import_v46.z.string().nullable(),
|
|
749
749
|
citations: import_v46.z.object({ enabled: import_v46.z.boolean() }).optional(),
|
|
750
750
|
source: import_v46.z.union([
|
|
751
751
|
import_v46.z.object({
|