Skip to content

Build your personal knowledge base with Trilium Notes

fix(deps): update ai sdk

renovate[bot]4f5200edba45
diff --git a/apps/server/package.json b/apps/server/package.json
index abc62c263d..3a74da0938 100644
--- a/apps/server/package.json
+++ b/apps/server/package.json
@@ -32,13 +32,13 @@
"proxy-nginx-subdir": "docker run --name trilium-nginx-subdir --rm -p 8095:8095 --add-host=host.docker.internal:host-gateway -v ./docker/nginx.conf:/etc/nginx/conf.d/default.conf:ro nginx:latest"
},
"dependencies": {
- "@ai-sdk/anthropic": "4.0.53",
- "@ai-sdk/google": "4.0.69",
- "@ai-sdk/openai": "4.0.66",
+ "@ai-sdk/anthropic": "4.0.54",
+ "@ai-sdk/google": "4.0.72",
+ "@ai-sdk/openai": "4.0.67",
"@anthropic-ai/claude-agent-sdk": "^0.3.207",
"@hyzyla/pdfium": "2.1.13",
"@modelcontextprotocol/sdk": "^1.12.1",
- "ai": "7.0.100",
+ "ai": "7.0.102",
"better-sqlite3": "13.0.3",
"html-to-text": "10.0.1",
"i18next": "26.4.2",
diff --git a/packages/trilium-core/package.json b/packages/trilium-core/package.json
index bfb8408ba5..d7ae72f923 100644
--- a/packages/trilium-core/package.json
+++ b/packages/trilium-core/package.json
@@ -8,13 +8,13 @@
"update-model-prices": "tsx ./scripts/update-model-prices.ts"
},
"dependencies": {
- "@ai-sdk/anthropic": "4.0.53",
- "@ai-sdk/google": "4.0.69",
- "@ai-sdk/openai": "4.0.66",
+ "@ai-sdk/anthropic": "4.0.54",
+ "@ai-sdk/google": "4.0.72",
+ "@ai-sdk/openai": "4.0.67",
"@braintree/sanitize-url": "7.1.2",
"@triliumnext/commons": "workspace:*",
"@triliumnext/turndown-plugin-gfm": "workspace:*",
- "ai": "7.0.100",
+ "ai": "7.0.102",
"async-mutex": "0.5.0",
"chardet": "2.2.0",
"color": "5.0.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index b988ed16f7..3198c022aa 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -16,7 +16,7 @@ overrides:
'@lezer/common': 1.5.2
'@lezer/highlight': 1.2.3
'@lezer/lr': 1.4.10
- '@ai-sdk/provider-utils': 5.0.40
+ '@ai-sdk/provider-utils': 5.0.41
zod: 4.6.5
mermaid: 12.0.0
preact: 10.29.8
@@ -610,14 +610,14 @@ importers:
apps/server:
dependencies:
'@ai-sdk/anthropic':
- specifier: 4.0.53
- version: 4.0.53([email protected])
+ specifier: 4.0.54
+ version: 4.0.54([email protected])
'@ai-sdk/google':
- specifier: 4.0.69
- version: 4.0.69([email protected])
+ specifier: 4.0.72
+ version: 4.0.72([email protected])
'@ai-sdk/openai':
- specifier: 4.0.66
- version: 4.0.66([email protected])
+ specifier: 4.0.67
+ version: 4.0.67([email protected])
'@anthropic-ai/claude-agent-sdk':
specifier: ^0.3.207
@@ -628,8 +628,8 @@ importers:
specifier: ^1.12.1
ai:
- specifier: 7.0.100
- version: 7.0.100([email protected])
+ specifier: 7.0.102
+ version: 7.0.102([email protected])
better-sqlite3:
specifier: 13.0.3
version: 13.0.3
@@ -1393,14 +1393,14 @@ importers:
packages/trilium-core:
dependencies:
'@ai-sdk/anthropic':
- specifier: 4.0.53
- version: 4.0.53([email protected])
+ specifier: 4.0.54
+ version: 4.0.54([email protected])
'@ai-sdk/google':
- specifier: 4.0.69
- version: 4.0.69([email protected])
+ specifier: 4.0.72
+ version: 4.0.72([email protected])
'@ai-sdk/openai':
- specifier: 4.0.66
- version: 4.0.66([email protected])
+ specifier: 4.0.67
+ version: 4.0.67([email protected])
'@braintree/sanitize-url':
specifier: 7.1.2
version: 7.1.2
@@ -1411,8 +1411,8 @@ importers:
specifier: workspace:*
version: link:../turndown-plugin-gfm
ai:
- specifier: 7.0.100
- version: 7.0.100([email protected])
+ specifier: 7.0.102
+ version: 7.0.102([email protected])
async-mutex:
specifier: 0.5.0
version: 0.5.0
@@ -1528,38 +1528,38 @@ packages:
resolution: {integrity: sha512-6OzddxPio9UiWTCemp4N8cYLV2ZN1ncRnV1cVGtve7dhPOtRkleRyx32GQCYSwDYgaHU3USMm84tNsvKzRCa1Q==}
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-JMxAuCFte6mFOvoaUcig3Dp2LObin0wU2Li8ncsveh7hHKW7cG3g1bFjooxn1paxeT8UUf5XMSjhxtXG9wFLig==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-HBYwlpuHgDDiCe+5MnEWPD5UTkB+BOpCzdptteRMSYL0GZot0XUC/j5Aeh0csDnSzohnSEqXMxQdgUgMeEZs/w==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-9TdKEg2l/qfaK7L4gC1FkrHNBrEXQjZSV3DvkRLCXkOSJTzojmarCn19ROWBbrlHqFVbW7OSOwQqz1n7ku9HQA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-WbRChvbJY2zf0qBxFu6UENi0p69fPzP7lKViNTIp3gr76w9bLUFvV5fTXS5uGPqDOkzlTIuAkqWxYNayEBSn6Q==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-clIivD3RQwutykzKQ8CV+BXIA6EX3xcrfJyXXvAni2SlR9JVATSRbu+JFK/j25a330aZ6WiDwbGyD/u951qXOg==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-0e8BKY1/P9/YJ2K09jNG3E0PZlsvtN3dugBjmfCc8vEEQr28tpkv/KB1V6cP3CHw4MKxqQU4wppPYUntpkiM1w==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-W4GooZjROdOmf7dfjWlRWNVs+Vvr7ZwfDZbyAJRPo1bgQbpRoDd9ZcCwy/PX1X0s2G7B/dhN2RWOORsHtr0wGg==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-F14lzHMAEtFyN6hlIP1jH7zqcm4Lutpv4QV9jqpT+/SDRvRssNJrOEZGWA9FSolrUDNfzESPcX/AhvEzlm3czw==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-zsXPwSAQ9mRJ2hvyITaLOYUyuGrBmzFhJXOg4mllGmla1PfNxZcm4GwqMiV2xQaDgcgBMdUGxXkp9xekZZNIkg==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-hSosMII5k33z0buaZ6dugH/g8yIJjPQBILuQvr4ThdiMJxrkiZxFWTgIkvKsT6Dk493JbsnGz5W/q88Y5bR7WA==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-yukP2tbcQQErG5gLCMBGvpvb/rM3D3KlTKG6eKKOdNHLHqtNNDEeBxdYrY/JL+O76B2ig5dXY19H/f1HFSvRiQ==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-LIDCrT8xgWVMiVUV13+v9FXPJ8B5uX/5ByEMXxp9Sspr2SyB1PwMSCPshZoI/t+4AgxyZCFEVutdaigCnqje3w==}
engines: {node: '>=22'}
'@aklinker1/[email protected]':
@@ -5753,8 +5753,8 @@ packages:
resolution: {integrity: sha512-TQf59BsZnytt8GdJKLPfUZ54g/iaUL2OWDSFCCvMOhsHduDQxO8xC4PNeyIkVcA5KwL2phPSv0douC0fgWzmnA==}
engines: {node: '>= 20'}
- resolution: {integrity: sha512-BfIPruxell8aPPW7zL0B2Vs0Pnah3icMQ7zxc/NZHJH7CXSKpeCgUHMwqYmdTdbMhgesxJIdwEgiL97cmoljPQ==}
+ resolution: {integrity: sha512-zYpEoHm3+T+KGGlP7aLGhrEVCbJdTxb7eoxvGBB+BjSrHnt55+uQ/sHUO69xUly1LB2RoDpHD3o521HSzs+h8g==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
@@ -11763,41 +11763,41 @@ snapshots:
'@adobe/[email protected]': {}
dependencies:
- '@ai-sdk/provider': 4.0.14
- '@ai-sdk/provider-utils': 5.0.40([email protected])
+ '@ai-sdk/provider': 4.0.15
+ '@ai-sdk/provider-utils': 5.0.41([email protected])
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.14
- '@ai-sdk/provider-utils': 5.0.40([email protected])
+ '@ai-sdk/provider': 4.0.15
+ '@ai-sdk/provider-utils': 5.0.41([email protected])
'@vercel/oidc': 3.2.0
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.14
- '@ai-sdk/provider-utils': 5.0.40([email protected])
+ '@ai-sdk/provider': 4.0.15
+ '@ai-sdk/provider-utils': 5.0.41([email protected])
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.14
- '@ai-sdk/provider-utils': 5.0.40([email protected])
+ '@ai-sdk/provider': 4.0.15
+ '@ai-sdk/provider-utils': 5.0.41([email protected])
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.14
+ '@ai-sdk/provider': 4.0.15
'@standard-schema/spec': 1.1.0
'@workflow/serde': 4.1.0
eventsource-parser: 3.1.1
undici: 7.29.1
zod: 4.6.5
- '@ai-sdk/[email protected]':
+ '@ai-sdk/[email protected]':
dependencies:
json-schema: 0.4.0
@@ -17741,11 +17741,11 @@ snapshots:
dependencies:
- '@ai-sdk/gateway': 4.0.81([email protected])
- '@ai-sdk/provider': 4.0.14
- '@ai-sdk/provider-utils': 5.0.40([email protected])
+ '@ai-sdk/gateway': 4.0.82([email protected])
+ '@ai-sdk/provider': 4.0.15
+ '@ai-sdk/provider-utils': 5.0.41([email protected])
zod: 4.6.5
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 7e5ab64fc0..98d61d0f34 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -38,7 +38,7 @@ overrides:
# copies in the tree mean two declarations of the `unique symbol` that marks a `Schema`, so a tool
# built by one provider stops being assignable to the ToolSet `ai` expects (TS2322 on the Anthropic
# web-search tool). Pin the version `ai` itself is built against, and raise it with the next bump.
- "@ai-sdk/provider-utils": "5.0.40"
+ "@ai-sdk/provider-utils": "5.0.41"
"zod": "4.6.5"
"mermaid": "12.0.0"
"preact": "10.29.8"