Skip to content

Build your personal knowledge base with Trilium Notes

Update ai sdk

renovate[bot]bf52f7946aeb
diff --git a/apps/server/package.json b/apps/server/package.json
index 8808c575f7..1d7be0bf17 100644
--- a/apps/server/package.json
+++ b/apps/server/package.json
@@ -33,12 +33,12 @@
"proxy-nginx-subdir": "docker run --name trilium-nginx-subdir --rm --network=host -v ./docker/nginx.conf:/etc/nginx/conf.d/default.conf:ro nginx:latest"
},
"dependencies": {
- "@ai-sdk/anthropic": "4.0.15",
- "@ai-sdk/google": "4.0.17",
- "@ai-sdk/openai": "4.0.15",
+ "@ai-sdk/anthropic": "4.0.18",
+ "@ai-sdk/google": "4.0.21",
+ "@ai-sdk/openai": "4.0.17",
"@anthropic-ai/claude-agent-sdk": "^0.3.207",
"@modelcontextprotocol/sdk": "^1.12.1",
- "ai": "7.0.29",
+ "ai": "7.0.34",
"better-sqlite3": "12.11.1",
"html-to-text": "10.0.0",
"i18next": "26.3.6",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index b42f784e3b..a70b3af790 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -610,14 +610,14 @@ importers:
apps/server:
dependencies:
'@ai-sdk/anthropic':
- specifier: 4.0.15
- version: 4.0.15([email protected])
+ specifier: 4.0.18
+ version: 4.0.18([email protected])
'@ai-sdk/google':
+ specifier: 4.0.21
+ version: 4.0.21([email protected])
+ '@ai-sdk/openai':
specifier: 4.0.17
version: 4.0.17([email protected])
- '@ai-sdk/openai':
- specifier: 4.0.15
- version: 4.0.15([email protected])
'@anthropic-ai/claude-agent-sdk':
specifier: ^0.3.207
@@ -625,8 +625,8 @@ importers:
specifier: ^1.12.1
ai:
- specifier: 7.0.29
- version: 7.0.29([email protected])
+ specifier: 7.0.34
+ version: 7.0.34([email protected])
better-sqlite3:
specifier: 12.11.1
version: 12.11.1
@@ -1767,32 +1767,32 @@ packages:
resolution: {integrity: sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg==}
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-6iVlzqZjqqoHTmgO1WU9id/33pYykIRasWJFAMf1+d+nhju6d7566VRFsOGZ2W2GzgNtzKs8DGsYN7X5/wOGuw==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-CpSBDI7DWk3DHM+qwbjhH7JxqqEqr5sK/SDrC9eit8Q03Uf1xBBrgMAVf9FajbpaH3oHxynLn474lf6ikjjO8A==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-GafyeyHFDKJjdtbyhCQ0aC2FORdyE56IxK45EZ1JLO1iVdg8XqEU3bwnRzI0+5S1XHV7W2qQsxkZnGYPbsFiXA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-b/nc3COKtk8IxzgcCi418IoZFky/Bw+Jg8+J0/SBBnu/mOXA4bkIKCu81coEtJAWuH2g5Fvvsa0ar7EpmzNWTw==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-90YMrWWIz7HVqrtthaP60fqGhsTT8OXHskxJ9sPmD/bFBHqdbOBrtS9oKBWjO0XBAY8eo2Rd7Ai8zGKCTvPn9Q==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-ijIvZnnSmLKT2yXnd4Aym0sM3/CsBHx1U7H/++wTUOdbIMKn8pbfsnGArLXksjlHUxWagFMh7zdGhj5Vb5cQeA==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-JpTLQp5RUbRcs5nOyPEu5NRdxZLUnD/uCyT3qzy26D+iunCeL7KJV58ER9kwisAKnTjWravfNblaQNiWr20M9A==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-Zme92Jvleq2kC11/vvqaA37Q2ihRXpLTLuTwQMo1zYOjK+K7+9PmWIuSI+En5ws6EQ7/nwcfCWlP3YeRfh5VbQ==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-uPyec0+85dwxZYXtb8qe8gCjhjDfxP4LCDo/uRQS/iG+FIgYbHPRhr/ys281udG90bTaE18+5cxWraYaf8oHCw==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-bbhlOgHeYwrIGheLkM6fhS8hVger8uFPmcOLg+kxc9EFh7y30XYorWhthlYAgpadO3SJhFZrIcEknN7qEqEVvA==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
@@ -2629,7 +2629,7 @@ packages:
engines: {node: '>=22.12.0'}
'@electron/node-gyp@https://codeload.github.com/electron/node-gyp/tar.gz/06b29aafb7708acef8b3669835c8a7857ebc92d2':
- resolution: {gitHosted: true, tarball: https://codeload.github.com/electron/node-gyp/tar.gz/06b29aafb7708acef8b3669835c8a7857ebc92d2}
+ resolution: {gitHosted: true, integrity: sha512-MXgzlTDEEndJB3TBbvd5uFQO/8gaINo1Hfen8vef5rq/VHVPeB63uuv/uO5+8GFsAJ/rauu6XB79S6K4+aXc+w==, tarball: https://codeload.github.com/electron/node-gyp/tar.gz/06b29aafb7708acef8b3669835c8a7857ebc92d2}
version: 10.2.0-electron.1
engines: {node: '>=12.13.0'}
hasBin: true
@@ -6784,8 +6784,8 @@ packages:
resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==}
engines: {node: '>=8'}
- resolution: {integrity: sha512-q+A+skhl6SyjWliU6W7zNYgDUrEk5SbNrCc5vt4S9n6+n6e7jSorDmu51hlhjDOsS7VwzWGCgbWFvvT3iomtvg==}
+ resolution: {integrity: sha512-jDqclWYqPGFKcUG4CQiKcBiwi5XqVMqvYy6eJdujVpvE1SDoB6j7RtjrGYz3Bn5B1dzTj1StAlrOebY//WK9/Q==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
@@ -13920,32 +13920,32 @@ snapshots:
'@adobe/[email protected]': {}
dependencies:
'@ai-sdk/provider': 4.0.3
- '@ai-sdk/provider-utils': 5.0.10([email protected])
+ '@ai-sdk/provider-utils': 5.0.12([email protected])
zod: 4.4.3
dependencies:
'@ai-sdk/provider': 4.0.3
- '@ai-sdk/provider-utils': 5.0.10([email protected])
+ '@ai-sdk/provider-utils': 5.0.12([email protected])
'@vercel/oidc': 3.2.0
zod: 4.4.3
dependencies:
'@ai-sdk/provider': 4.0.3
- '@ai-sdk/provider-utils': 5.0.10([email protected])
+ '@ai-sdk/provider-utils': 5.0.12([email protected])
zod: 4.4.3
dependencies:
'@ai-sdk/provider': 4.0.3
- '@ai-sdk/provider-utils': 5.0.10([email protected])
+ '@ai-sdk/provider-utils': 5.0.12([email protected])
zod: 4.4.3
dependencies:
'@ai-sdk/provider': 4.0.3
'@standard-schema/spec': 1.1.0
@@ -20871,11 +20871,11 @@ snapshots:
clean-stack: 2.2.0
indent-string: 4.0.0
dependencies:
- '@ai-sdk/gateway': 4.0.21([email protected])
+ '@ai-sdk/gateway': 4.0.26([email protected])
'@ai-sdk/provider': 4.0.3
- '@ai-sdk/provider-utils': 5.0.10([email protected])
+ '@ai-sdk/provider-utils': 5.0.12([email protected])
zod: 4.4.3