Skip to content

Build your personal knowledge base with Trilium Notes

Update ai sdk

renovate[bot]298a287e0e91
diff --git a/apps/server/package.json b/apps/server/package.json
index 26fbaa8a17..352693b5e4 100644
--- a/apps/server/package.json
+++ b/apps/server/package.json
@@ -29,14 +29,14 @@
},
"dependencies": {
"@agentclientprotocol/codex-acp": "2.1.1",
- "@ai-sdk/anthropic": "4.0.71",
- "@ai-sdk/deepseek": "3.0.58",
- "@ai-sdk/google": "4.0.87",
- "@ai-sdk/openai": "4.0.83",
+ "@ai-sdk/anthropic": "4.0.72",
+ "@ai-sdk/deepseek": "3.0.59",
+ "@ai-sdk/google": "4.0.88",
+ "@ai-sdk/openai": "4.0.84",
"@anthropic-ai/claude-agent-sdk": "^0.3.207",
"@hyzyla/pdfium": "2.1.13",
"@modelcontextprotocol/sdk": "^1.12.1",
- "ai": "7.0.127",
+ "ai": "7.0.128",
"better-sqlite3": "13.0.3",
"i18next": "26.4.2",
"ipaddr.js": "^2.4.0",
diff --git a/packages/trilium-core/package.json b/packages/trilium-core/package.json
index 92e67ae28d..ecee391269 100644
--- a/packages/trilium-core/package.json
+++ b/packages/trilium-core/package.json
@@ -8,15 +8,15 @@
"update-model-prices": "tsx ./scripts/update-model-prices.ts"
},
"dependencies": {
- "@ai-sdk/anthropic": "4.0.71",
- "@ai-sdk/deepseek": "3.0.58",
- "@ai-sdk/google": "4.0.87",
- "@ai-sdk/openai": "4.0.83",
+ "@ai-sdk/anthropic": "4.0.72",
+ "@ai-sdk/deepseek": "3.0.59",
+ "@ai-sdk/google": "4.0.88",
+ "@ai-sdk/openai": "4.0.84",
"@braintree/sanitize-url": "7.1.2",
"@triliumnext/commons": "workspace:*",
"@triliumnext/highlightjs": "workspace:*",
"@triliumnext/turndown-plugin-gfm": "workspace:*",
- "ai": "7.0.127",
+ "ai": "7.0.128",
"async-mutex": "0.5.0",
"chardet": "2.2.0",
"color": "5.0.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 432ea04d09..96e1dd6fc3 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -16,7 +16,7 @@ overrides:
'@lezer/common': 1.5.3
'@lezer/highlight': 1.2.5
'@lezer/lr': 1.4.10
- '@ai-sdk/provider-utils': 5.0.53
+ '@ai-sdk/provider-utils': 5.0.54
'@agentclientprotocol/codex-acp>@openai/codex': '-'
zod: 4.6.5
mermaid: 12.1.0
@@ -639,17 +639,17 @@ importers:
specifier: 2.1.1
version: 2.1.1
'@ai-sdk/anthropic':
- specifier: 4.0.71
- version: 4.0.71([email protected])
+ specifier: 4.0.72
+ version: 4.0.72([email protected])
'@ai-sdk/deepseek':
- specifier: 3.0.58
- version: 3.0.58([email protected])
+ specifier: 3.0.59
+ version: 3.0.59([email protected])
'@ai-sdk/google':
- specifier: 4.0.87
- version: 4.0.87([email protected])
+ specifier: 4.0.88
+ version: 4.0.88([email protected])
'@ai-sdk/openai':
- specifier: 4.0.83
- version: 4.0.83([email protected])
+ specifier: 4.0.84
+ version: 4.0.84([email protected])
'@anthropic-ai/claude-agent-sdk':
specifier: ^0.3.207
@@ -660,8 +660,8 @@ importers:
specifier: ^1.12.1
ai:
- specifier: 7.0.127
- version: 7.0.127([email protected])
+ specifier: 7.0.128
+ version: 7.0.128([email protected])
better-sqlite3:
specifier: 13.0.3
version: 13.0.3
@@ -1410,17 +1410,17 @@ importers:
packages/trilium-core:
dependencies:
'@ai-sdk/anthropic':
- specifier: 4.0.71
- version: 4.0.71([email protected])
+ specifier: 4.0.72
+ version: 4.0.72([email protected])
'@ai-sdk/deepseek':
- specifier: 3.0.58
- version: 3.0.58([email protected])
+ specifier: 3.0.59
+ version: 3.0.59([email protected])
'@ai-sdk/google':
- specifier: 4.0.87
- version: 4.0.87([email protected])
+ specifier: 4.0.88
+ version: 4.0.88([email protected])
'@ai-sdk/openai':
- specifier: 4.0.83
- version: 4.0.83([email protected])
+ specifier: 4.0.84
+ version: 4.0.84([email protected])
'@braintree/sanitize-url':
specifier: 7.1.2
version: 7.1.2
@@ -1434,8 +1434,8 @@ importers:
specifier: workspace:*
version: link:../turndown-plugin-gfm
ai:
- specifier: 7.0.127
- version: 7.0.127([email protected])
+ specifier: 7.0.128
+ version: 7.0.128([email protected])
async-mutex:
specifier: 0.5.0
version: 0.5.0
@@ -1569,44 +1569,44 @@ packages:
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-wiv3jhUH0RrvGzSolJMZfZ2cI9As45LhwYmcAoWvNivXjC7wzJ4W/Udq9/u7EGnGsT8lpmFKEKBrMXVeUO97Dg==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-dN5ShH8f6MWlSBSx4BdL+/cfPvByFYMo2Hr9UB6XeHY7/9tbcYU/ZukptBcyWJzqMsQOl3gSfg99iWdyNuH3kg==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-tOafL69mHQGJH3g/mu4k0evkP/cRLSHCWe7L9rcVV4b0S1zI2rpWDZbToZO7D4X/uox9baVmgRQ5AoUTeaDs0A==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-2kHK4rmsyWE3KIiRtfrwzzQ7fcMIyEDoDsXPhilmn+Vp2hWVdM3gl+0Pyk1iUo2HuNzBJUcctEaHt3Dvm4gCrQ==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-nnGTUHzPRQ14jhv9CL4OQrzcRBIFTBMIPKGIi9Z9u/4GtwSRxa/nxUX6np2Iwp5phOzO0a0njj/j9Jolf5AEaA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-4lTyt8a4BMfVz4QGo+VO5odakmYMX5kq+xiRgdQGGY7o/jP2WSasp6LvIvYvt/lHzz1MfE+xKTOJhz7mMwjynA==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-s0tWc+QeSce7O2ZLm+VWSRQy16dGfqEcMIUxEWh+LFvXX3h0TLH8jxCQ2H1qhiBgTta+6A97eHPhBlRFu1xy+g==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-5wfpAcnXrR2o1kUZURXhl6ErOGDmdayCi+GsfsB3vJHeITpm1t9aVqrw9/wUhpUmZTvvC5/+vDRtdo5QU9XYJA==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-NgqZVWoya7hfmtLkWyIjX9THbyYMLfxFqpShdAmvMnkoT+R9AZbdULGan8+4BiBWIZ1aHiAsc90l3SL8QU/0+Q==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-RsHz+jqstQ+wnMex1BLzIlwseDRzJAruT7ZW1X1azCEI9cVkSQVn17JS6qVntdi+DKkAMPg4rP1APixDEZFKiw==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-VVe6UDd0y0/B4TfauuKKzcppqvhTmSluwwUVT4WG2/8h7gFbyFm7PM4UGM+ZXe3/RI6bv+Vl1cw/7aiBoQqdxg==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-amqDxFnw9+dpVrDACRDGmExUUNOH9C1D2bhg/DqWJnamEOieDTXBBXLHujSby/0MqHdAFksnpE8Pzfqx6ABMBw==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-UpbC9C1oht8dhfKPbVXSLRZS3DI8uk8n5v2uMjBPNIYGsC2kL045ywq7D8Hh9KgnH9rP5W/GxQdYtWScRouqlA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-1Jtmn36VNMOBo9CMUQrPqsR744qtqRloEiXpWCYS8ffPlhS2CrSNmoho5lPjp3R7EnkzBsGI6p51TA7fQJQZdA==}
engines: {node: '>=22'}
'@aklinker1/[email protected]':
@@ -5640,8 +5640,8 @@ packages:
resolution: {integrity: sha512-TQf59BsZnytt8GdJKLPfUZ54g/iaUL2OWDSFCCvMOhsHduDQxO8xC4PNeyIkVcA5KwL2phPSv0douC0fgWzmnA==}
engines: {node: '>= 20'}
- resolution: {integrity: sha512-JNsNPk4ZvRGEJuqdVo2lYFkm7uAuf3p/RwKFWn1Wh/+IK3U1RyFWw2GXoFnhzqNfxEuj7XJB4WpIUhl1sHToWg==}
+ resolution: {integrity: sha512-WMKN83DodYtH52ETPHq0jrSwj3wU0aHkhLHXMrwMRabC/aMpIqeWsXJgjkUwrOqkaKHWONdupk/2ttPRvAyFcg==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
@@ -11457,47 +11457,47 @@ snapshots:
dependencies:
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.21
- '@ai-sdk/provider-utils': 5.0.53([email protected])
+ '@ai-sdk/provider': 4.0.22
+ '@ai-sdk/provider-utils': 5.0.54([email protected])
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.21
- '@ai-sdk/provider-utils': 5.0.53([email protected])
+ '@ai-sdk/provider': 4.0.22
+ '@ai-sdk/provider-utils': 5.0.54([email protected])
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.21
- '@ai-sdk/provider-utils': 5.0.53([email protected])
+ '@ai-sdk/provider': 4.0.22
+ '@ai-sdk/provider-utils': 5.0.54([email protected])
'@vercel/oidc': 3.2.0
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.21
- '@ai-sdk/provider-utils': 5.0.53([email protected])
+ '@ai-sdk/provider': 4.0.22
+ '@ai-sdk/provider-utils': 5.0.54([email protected])
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.21
- '@ai-sdk/provider-utils': 5.0.53([email protected])
+ '@ai-sdk/provider': 4.0.22
+ '@ai-sdk/provider-utils': 5.0.54([email protected])
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.21
+ '@ai-sdk/provider': 4.0.22
'@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
@@ -16763,11 +16763,11 @@ snapshots:
dependencies:
- '@ai-sdk/gateway': 4.0.103([email protected])
- '@ai-sdk/provider': 4.0.21
- '@ai-sdk/provider-utils': 5.0.53([email protected])
+ '@ai-sdk/gateway': 4.0.104([email protected])
+ '@ai-sdk/provider': 4.0.22
+ '@ai-sdk/provider-utils': 5.0.54([email protected])
zod: 4.6.5
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 1abcc5acef..039e1e4516 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.53"
+ "@ai-sdk/provider-utils": "5.0.54"
# The Codex provider runs the adapter against the user's own `codex` (CODEX_PATH), so the
# 300-400 MB native Codex build the adapter depends on is never used.
"@agentclientprotocol/codex-acp>@openai/codex": "-"