diff --git a/examples/demo/package.json b/examples/demo/package.json index af7b83b..6321bdc 100644 --- a/examples/demo/package.json +++ b/examples/demo/package.json @@ -19,7 +19,7 @@ "build": "next build" }, "dependencies": { - "@ai-sdk/amazon-bedrock": "4.0.116", + "@ai-sdk/amazon-bedrock": "5.0.8", "@ai-sdk/anthropic": "3.0.83", "@ai-sdk/google": "3.0.81", "@ai-sdk/google-vertex": "4.0.144", diff --git a/packages/chat-service/package.json b/packages/chat-service/package.json index 1d34e9d..cb623dd 100644 --- a/packages/chat-service/package.json +++ b/packages/chat-service/package.json @@ -107,7 +107,7 @@ } }, "devDependencies": { - "@ai-sdk/amazon-bedrock": "4.0.116", + "@ai-sdk/amazon-bedrock": "5.0.8", "@ai-sdk/anthropic": "3.0.83", "@ai-sdk/google": "3.0.81", "@ai-sdk/google-vertex": "4.0.144", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cf821d9..8ca8930 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,8 +20,8 @@ importers: examples/demo: dependencies: '@ai-sdk/amazon-bedrock': - specifier: 4.0.116 - version: 4.0.116(zod@4.4.3) + specifier: 5.0.8 + version: 5.0.8(zod@4.4.3) '@ai-sdk/anthropic': specifier: 3.0.83 version: 3.0.83(zod@4.4.3) @@ -190,8 +190,8 @@ importers: version: 4.4.3 devDependencies: '@ai-sdk/amazon-bedrock': - specifier: 4.0.116 - version: 4.0.116(zod@4.4.3) + specifier: 5.0.8 + version: 5.0.8(zod@4.4.3) '@ai-sdk/anthropic': specifier: 3.0.83 version: 3.0.83(zod@4.4.3) @@ -322,9 +322,9 @@ packages: '@adobe/css-tools@4.4.4': resolution: {integrity: sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg==} - '@ai-sdk/amazon-bedrock@4.0.116': - resolution: {integrity: sha512-GEge4nF9z5DNSxwzSTyaKKr9JGWvAgCZGxCsaoxHMAs0uXoFzezhRI2Lf2zO5FgqiqCyurSxgbd7GlZ233sGyg==} - engines: {node: '>=18'} + '@ai-sdk/amazon-bedrock@5.0.8': + resolution: {integrity: sha512-E4TozODmCKGS5VlCBnCR1Iffd0e0hkcbjpjzlqvxQPTJlw0hm9sJ3vltAIRU3wTKVTn0BfZiKzYylu2CAEyP6g==} + engines: {node: '>=22'} peerDependencies: zod: ^3.25.76 || ^4.1.8 @@ -334,6 +334,12 @@ packages: peerDependencies: zod: ^3.25.76 || ^4.1.8 + '@ai-sdk/anthropic@4.0.5': + resolution: {integrity: sha512-JyJYKWGYz8vfoQ1pCm48a9zgX3Gvb2/6iGHb+8pEelpqnOiUq3aDHVq+nYMf9VepqcjCuH0JSOwBrKiPg/PD9w==} + engines: {node: '>=22'} + peerDependencies: + zod: ^3.25.76 || ^4.1.8 + '@ai-sdk/gateway@3.0.124': resolution: {integrity: sha512-h8CrmbSG+8X0C+M/E1M4oiDHYevqwbzAPN+uLRHS0eJaatF2MZ+juNtOHXNOjk7Bsk9mD2RjYMjJO9dFkb9I7Q==} engines: {node: '>=18'} @@ -370,6 +376,12 @@ packages: peerDependencies: zod: ^3.25.76 || ^4.1.8 + '@ai-sdk/openai@4.0.5': + resolution: {integrity: sha512-a9cYQNAKAbkMTt6bHAvDuLv3klwtJT9m0A6x7s8EZlf1ebcxadg/1CONaYh1GA80ZRA9UQHJUS2wHoOphkQQkg==} + engines: {node: '>=22'} + peerDependencies: + zod: ^3.25.76 || ^4.1.8 + '@ai-sdk/provider-utils@4.0.27': resolution: {integrity: sha512-ubkAJ+xODouwtmN1tYlvTPphH1hPOBfZaEQe8U7skGvFAnIRs9PPpsq57bC2+Ky/MB4yzhd6YOsxTAx9sGpazw==} engines: {node: '>=18'} @@ -382,10 +394,20 @@ packages: peerDependencies: zod: ^3.25.76 || ^4.1.8 + '@ai-sdk/provider-utils@5.0.3': + resolution: {integrity: sha512-El0JOXXGcHFe6+owJ1UV0VgB9XtdivP8vcZni+rUIt6lt+cBHCnUdddaA6LE2avJGJ5AD0uXSY+uAvRL2tSvgw==} + engines: {node: '>=22'} + peerDependencies: + zod: ^3.25.76 || ^4.1.8 + '@ai-sdk/provider@3.0.10': resolution: {integrity: sha512-Q3BZ27qfpYqnCYGvE3vt+Qi6LGOF9R5Nmzn+9JoM1lCRsD9mYaIhfJLkSunN48nfGXJ6n+XNV0J/XVpqGQl7Dw==} engines: {node: '>=18'} + '@ai-sdk/provider@4.0.1': + resolution: {integrity: sha512-6p3C/vGqVIjcptBu1DnVd/BZJ2wWmV9TUv9192vT6ZvT9KNED8EwRTqyqFpoQZKgSbMDSvBSq3dqR524Nt/Crw==} + engines: {node: '>=22'} + '@ai-sdk/react@3.0.198': resolution: {integrity: sha512-ozlxMidzvKXAefvnq95Y34rJ5MipXABIv1bg2RLEnWUBxGrKxNHrYl0fTfi6grTN88wSXMZYaMY2oHMCHDFuJw==} engines: {node: '>=18'} @@ -1616,12 +1638,16 @@ packages: resolution: {integrity: sha512-mLUktFAn+Pa2agl1J7VgtYNFWCX8/b4GMJSK1hCu4YCvtBfM6F8Os3EP4ry+DFFlXOf3wyvlgXhuUdFoy52D3g==} engines: {node: '>=18.0.0'} + '@smithy/core@3.29.0': + resolution: {integrity: sha512-sEvpvkBVoMxjoek35XyJFn2ZD3EJ1RpiZrT47WaZodxzAIWS44zkdvbqGE/ZlugtjiQp62cffYZ9ldyRkjAGnA==} + engines: {node: '>=18.0.0'} + '@smithy/credential-provider-imds@4.4.2': resolution: {integrity: sha512-18UMDMyrAbDcpmL1gLUA7ww0fRTcdCrSjSJOi2Sbld+tVjwD/pW+OAwjlScFLR7vvBnhZrIPQ7kVuTf1mnJLug==} engines: {node: '>=18.0.0'} - '@smithy/eventstream-codec@4.3.6': - resolution: {integrity: sha512-Ussyv240JxwQP8AmkYdm26wGP/1I8QmIv0ZosgDJDlSzD73FEdj1BOpXMc06VrxX5KxTKhadFNomT2SWutUnpg==} + '@smithy/eventstream-codec@4.4.5': + resolution: {integrity: sha512-rasV+96Obv6tEhWPKWaehEhR+MEd2/lE/rdOYcmSMh6tJiQdoZg4v21p37Y1A7DMZOFgFDUX/3eNl/J3+MJDdA==} engines: {node: '>=18.0.0'} '@smithy/fetch-http-handler@5.5.2': @@ -1644,6 +1670,10 @@ packages: resolution: {integrity: sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg==} engines: {node: '>=18.0.0'} + '@smithy/types@4.15.1': + resolution: {integrity: sha512-x3L0XSACF6UYzKpa9biqiRMgvH5+wnFFew9Tm/grFYqgaupPwx/+ojDPpPJM8dZON3S9tjz5U+PQYsCBd1Mw5Q==} + engines: {node: '>=18.0.0'} + '@smithy/util-buffer-from@2.2.0': resolution: {integrity: sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA==} engines: {node: '>=14.0.0'} @@ -1652,8 +1682,8 @@ packages: resolution: {integrity: sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A==} engines: {node: '>=14.0.0'} - '@smithy/util-utf8@4.3.6': - resolution: {integrity: sha512-tAa4sePYB7mlJzdYbdBqdv37KwFKWixmM/r3ihcI0HFOVjf+a5oGvtcLXcGm4S1bY4DFsLAIOHgjubtp+oRufw==} + '@smithy/util-utf8@4.4.5': + resolution: {integrity: sha512-ZS7Y5X8mU9qRSsqwOeGKw86WWtPsRxa396kX2HyhYwADRqFHJ0cb3p2uFk6QnFF3BluUUBHTZJpPA9QuEl0tlg==} engines: {node: '>=18.0.0'} '@standard-schema/spec@1.1.0': @@ -1807,6 +1837,9 @@ packages: '@vitest/utils@4.1.9': resolution: {integrity: sha512-A51o8ymO5PpqlWNnBP9ZHPXDIpuMtTLlGSjN7la4US+LJzoUMyhwjA5QXlm39JexgwHKW4Xjs8Z2d3dLCXOeuA==} + '@workflow/serde@4.1.0': + resolution: {integrity: sha512-pav4F2BoirECWR7Nf1TKt+2eETcBj7jj4cBefQ8VXQCA6NPkaKeLfj/zMgi+3zYV5ZIBT4GuUiphsj0/b9hPQQ==} + a-sync-waterfall@1.0.1: resolution: {integrity: sha512-RYTOHHdWipFUliRFMCS4X2Yn2X8M87V/OpSqWzKKOGhzqyUxzyVmhHDH9sAvG+ZuQf/TAOFsLCpMw09I1ufUnA==} @@ -3698,14 +3731,14 @@ snapshots: '@adobe/css-tools@4.4.4': {} - '@ai-sdk/amazon-bedrock@4.0.116(zod@4.4.3)': + '@ai-sdk/amazon-bedrock@5.0.8(zod@4.4.3)': dependencies: - '@ai-sdk/anthropic': 3.0.83(zod@4.4.3) - '@ai-sdk/openai': 3.0.70(zod@4.4.3) - '@ai-sdk/provider': 3.0.10 - '@ai-sdk/provider-utils': 4.0.28(zod@4.4.3) - '@smithy/eventstream-codec': 4.3.6 - '@smithy/util-utf8': 4.3.6 + '@ai-sdk/anthropic': 4.0.5(zod@4.4.3) + '@ai-sdk/openai': 4.0.5(zod@4.4.3) + '@ai-sdk/provider': 4.0.1 + '@ai-sdk/provider-utils': 5.0.3(zod@4.4.3) + '@smithy/eventstream-codec': 4.4.5 + '@smithy/util-utf8': 4.4.5 aws4fetch: 1.0.20 zod: 4.4.3 @@ -3715,6 +3748,12 @@ snapshots: '@ai-sdk/provider-utils': 4.0.28(zod@4.4.3) zod: 4.4.3 + '@ai-sdk/anthropic@4.0.5(zod@4.4.3)': + dependencies: + '@ai-sdk/provider': 4.0.1 + '@ai-sdk/provider-utils': 5.0.3(zod@4.4.3) + zod: 4.4.3 + '@ai-sdk/gateway@3.0.124(zod@4.4.3)': dependencies: '@ai-sdk/provider': 3.0.10 @@ -3759,6 +3798,12 @@ snapshots: '@ai-sdk/provider-utils': 4.0.28(zod@4.4.3) zod: 4.4.3 + '@ai-sdk/openai@4.0.5(zod@4.4.3)': + dependencies: + '@ai-sdk/provider': 4.0.1 + '@ai-sdk/provider-utils': 5.0.3(zod@4.4.3) + zod: 4.4.3 + '@ai-sdk/provider-utils@4.0.27(zod@4.4.3)': dependencies: '@ai-sdk/provider': 3.0.10 @@ -3773,10 +3818,22 @@ snapshots: eventsource-parser: 3.1.0 zod: 4.4.3 + '@ai-sdk/provider-utils@5.0.3(zod@4.4.3)': + dependencies: + '@ai-sdk/provider': 4.0.1 + '@standard-schema/spec': 1.1.0 + '@workflow/serde': 4.1.0 + eventsource-parser: 3.1.0 + zod: 4.4.3 + '@ai-sdk/provider@3.0.10': dependencies: json-schema: 0.4.0 + '@ai-sdk/provider@4.0.1': + dependencies: + json-schema: 0.4.0 + '@ai-sdk/react@3.0.198(react@18.3.1)(zod@4.4.3)': dependencies: '@ai-sdk/provider-utils': 4.0.27(zod@4.4.3) @@ -3843,7 +3900,7 @@ snapshots: '@aws-crypto/util': 5.2.0 '@aws-sdk/core': 3.974.23 '@aws-sdk/types': 3.973.13 - '@smithy/core': 3.26.0 + '@smithy/core': 3.29.0 '@smithy/types': 4.15.0 tslib: 2.8.1 @@ -4039,7 +4096,7 @@ snapshots: '@aws-sdk/core': 3.974.23 '@aws-sdk/nested-clients': 3.997.23 '@aws-sdk/types': 3.973.13 - '@smithy/core': 3.26.0 + '@smithy/core': 3.29.0 '@smithy/types': 4.15.0 tslib: 2.8.1 @@ -4913,15 +4970,20 @@ snapshots: '@smithy/types': 4.15.0 tslib: 2.8.1 + '@smithy/core@3.29.0': + dependencies: + '@smithy/types': 4.15.1 + tslib: 2.8.1 + '@smithy/credential-provider-imds@4.4.2': dependencies: '@smithy/core': 3.26.0 '@smithy/types': 4.15.0 tslib: 2.8.1 - '@smithy/eventstream-codec@4.3.6': + '@smithy/eventstream-codec@4.4.5': dependencies: - '@smithy/core': 3.26.0 + '@smithy/core': 3.29.0 tslib: 2.8.1 '@smithy/fetch-http-handler@5.5.2': @@ -4942,7 +5004,7 @@ snapshots: '@smithy/signature-v4@5.5.2': dependencies: - '@smithy/core': 3.26.0 + '@smithy/core': 3.29.0 '@smithy/types': 4.15.0 tslib: 2.8.1 @@ -4950,6 +5012,10 @@ snapshots: dependencies: tslib: 2.8.1 + '@smithy/types@4.15.1': + dependencies: + tslib: 2.8.1 + '@smithy/util-buffer-from@2.2.0': dependencies: '@smithy/is-array-buffer': 2.2.0 @@ -4960,9 +5026,9 @@ snapshots: '@smithy/util-buffer-from': 2.2.0 tslib: 2.8.1 - '@smithy/util-utf8@4.3.6': + '@smithy/util-utf8@4.4.5': dependencies: - '@smithy/core': 3.26.0 + '@smithy/core': 3.29.0 tslib: 2.8.1 '@standard-schema/spec@1.1.0': {} @@ -5141,6 +5207,8 @@ snapshots: convert-source-map: 2.0.0 tinyrainbow: 3.1.0 + '@workflow/serde@4.1.0': {} + a-sync-waterfall@1.0.1: {} abort-controller@3.0.0: