Skip to content

Build your personal knowledge base with Trilium Notes

fix(deps): update ai sdk

renovate[bot]0fe063cc0193
diff --git a/apps/server/package.json b/apps/server/package.json
index 8b1f206bb3..6f9a672d45 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.72",
- "@ai-sdk/deepseek": "3.0.59",
- "@ai-sdk/google": "4.0.88",
- "@ai-sdk/openai": "4.0.84",
+ "@ai-sdk/anthropic": "4.0.74",
+ "@ai-sdk/deepseek": "3.0.61",
+ "@ai-sdk/google": "4.0.90",
+ "@ai-sdk/openai": "4.0.86",
"@anthropic-ai/claude-agent-sdk": "^0.3.207",
"@hyzyla/pdfium": "2.1.13",
"@modelcontextprotocol/sdk": "^1.12.1",
- "ai": "7.0.128",
+ "ai": "7.0.130",
"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 b11712e749..b18656c207 100644
--- a/packages/trilium-core/package.json
+++ b/packages/trilium-core/package.json
@@ -8,16 +8,16 @@
"update-model-prices": "tsx ./scripts/update-model-prices.ts"
},
"dependencies": {
- "@ai-sdk/anthropic": "4.0.72",
- "@ai-sdk/deepseek": "3.0.59",
- "@ai-sdk/google": "4.0.88",
- "@ai-sdk/openai": "4.0.84",
+ "@ai-sdk/anthropic": "4.0.74",
+ "@ai-sdk/deepseek": "3.0.61",
+ "@ai-sdk/google": "4.0.90",
+ "@ai-sdk/openai": "4.0.86",
"@braintree/sanitize-url": "7.1.2",
"@triliumnext/commons": "workspace:*",
"@triliumnext/highlightjs": "workspace:*",
"@triliumnext/share-theme": "workspace:*",
"@triliumnext/turndown-plugin-gfm": "workspace:*",
- "ai": "7.0.128",
+ "ai": "7.0.130",
"async-mutex": "0.5.0",
"chardet": "2.2.0",
"color": "5.0.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 1d2d8cd346..bc454a5ab9 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.54
+ '@ai-sdk/provider-utils': 5.0.56
'@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.72
- version: 4.0.72([email protected])
+ specifier: 4.0.74
+ version: 4.0.74([email protected])
'@ai-sdk/deepseek':
- specifier: 3.0.59
- version: 3.0.59([email protected])
+ specifier: 3.0.61
+ version: 3.0.61([email protected])
'@ai-sdk/google':
- specifier: 4.0.88
- version: 4.0.88([email protected])
+ specifier: 4.0.90
+ version: 4.0.90([email protected])
'@ai-sdk/openai':
- specifier: 4.0.84
- version: 4.0.84([email protected])
+ specifier: 4.0.86
+ version: 4.0.86([email protected])
'@anthropic-ai/claude-agent-sdk':
specifier: ^0.3.207
@@ -660,8 +660,8 @@ importers:
specifier: ^1.12.1
ai:
- specifier: 7.0.128
- version: 7.0.128([email protected])
+ specifier: 7.0.130
+ version: 7.0.130([email protected])
better-sqlite3:
specifier: 13.0.3
version: 13.0.3
@@ -1416,17 +1416,17 @@ importers:
packages/trilium-core:
dependencies:
'@ai-sdk/anthropic':
- specifier: 4.0.72
- version: 4.0.72([email protected])
+ specifier: 4.0.74
+ version: 4.0.74([email protected])
'@ai-sdk/deepseek':
- specifier: 3.0.59
- version: 3.0.59([email protected])
+ specifier: 3.0.61
+ version: 3.0.61([email protected])
'@ai-sdk/google':
- specifier: 4.0.88
- version: 4.0.88([email protected])
+ specifier: 4.0.90
+ version: 4.0.90([email protected])
'@ai-sdk/openai':
- specifier: 4.0.84
- version: 4.0.84([email protected])
+ specifier: 4.0.86
+ version: 4.0.86([email protected])
'@braintree/sanitize-url':
specifier: 7.1.2
version: 7.1.2
@@ -1443,8 +1443,8 @@ importers:
specifier: workspace:*
version: link:../turndown-plugin-gfm
ai:
- specifier: 7.0.128
- version: 7.0.128([email protected])
+ specifier: 7.0.130
+ version: 7.0.130([email protected])
async-mutex:
specifier: 0.5.0
version: 0.5.0
@@ -1578,44 +1578,44 @@ packages:
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-dN5ShH8f6MWlSBSx4BdL+/cfPvByFYMo2Hr9UB6XeHY7/9tbcYU/ZukptBcyWJzqMsQOl3gSfg99iWdyNuH3kg==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-q/A7hCZSsCknmC1TtyNkBgNlT12hbKOWrgyb1UdPpIAO9sZcFS0nilZFIsW/ugVKG+hd6bU1r9NL1Ru33FDwZw==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-2kHK4rmsyWE3KIiRtfrwzzQ7fcMIyEDoDsXPhilmn+Vp2hWVdM3gl+0Pyk1iUo2HuNzBJUcctEaHt3Dvm4gCrQ==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-D9fj/eMQiWjMjmNkNifvhN7ohJ98kXmlTuqtNzPNaHGo0aqZ4jmxEfAT0DQNLxEkNcljtr0+QP9LmEjUwikIKQ==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-4lTyt8a4BMfVz4QGo+VO5odakmYMX5kq+xiRgdQGGY7o/jP2WSasp6LvIvYvt/lHzz1MfE+xKTOJhz7mMwjynA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-NprSdFzyVnbEp2SDWtIgsCFIUHFCehOD9S6FQkF/dLrCmnke8w4SOK3KcmUUiEbwtVzlUF8prkaELp+ohcQaQw==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-5wfpAcnXrR2o1kUZURXhl6ErOGDmdayCi+GsfsB3vJHeITpm1t9aVqrw9/wUhpUmZTvvC5/+vDRtdo5QU9XYJA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-XQNKWT6CwcgARdqTUZn0j89y0gvDMR0k2j2qhOg7ffoL+6MNViQ9t3ALoleAAKo10yMLFE7Ato0Fk+RD14i2kg==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-RsHz+jqstQ+wnMex1BLzIlwseDRzJAruT7ZW1X1azCEI9cVkSQVn17JS6qVntdi+DKkAMPg4rP1APixDEZFKiw==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-sbUHayMvjAYV6ELydYXFTr5UBX5qyYmRELqZR3tV0dieUhgUYd8dED9bwEgqZJNJU6V8GGLOlaEpL1ltbNXA/g==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-amqDxFnw9+dpVrDACRDGmExUUNOH9C1D2bhg/DqWJnamEOieDTXBBXLHujSby/0MqHdAFksnpE8Pzfqx6ABMBw==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-F7/U1YpVXEfSxRHbxScm0PVdr9lN6GaUWHnt8ws2UjuGeuxWHqCkV25dGpHAkpDHkuIXoC+aak/OqSylKSJmHw==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-1Jtmn36VNMOBo9CMUQrPqsR744qtqRloEiXpWCYS8ffPlhS2CrSNmoho5lPjp3R7EnkzBsGI6p51TA7fQJQZdA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-iztFqJTdxNN0ZzqZAAnVPMhRMaL1bfQFa3GIPAffWQ0+dP2FXIkyMD8kHeEI7EpB/C6TR45cqOkrS7YZZ1sATA==}
engines: {node: '>=22'}
'@aklinker1/[email protected]':
@@ -5557,8 +5557,8 @@ packages:
resolution: {integrity: sha512-TQf59BsZnytt8GdJKLPfUZ54g/iaUL2OWDSFCCvMOhsHduDQxO8xC4PNeyIkVcA5KwL2phPSv0douC0fgWzmnA==}
engines: {node: '>= 20'}
- resolution: {integrity: sha512-WMKN83DodYtH52ETPHq0jrSwj3wU0aHkhLHXMrwMRabC/aMpIqeWsXJgjkUwrOqkaKHWONdupk/2ttPRvAyFcg==}
+ resolution: {integrity: sha512-QkBkCogl46jXUg0SrSsdqQlOI2ZVMCjfnbBQS8t3gE21U/SO17oNMVFyjmcC9z20wOoYUA+2O2vsso0maoS7dw==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
@@ -11374,47 +11374,47 @@ snapshots:
dependencies:
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.22
- '@ai-sdk/provider-utils': 5.0.54([email protected])
+ '@ai-sdk/provider': 4.0.24
+ '@ai-sdk/provider-utils': 5.0.56([email protected])
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.22
- '@ai-sdk/provider-utils': 5.0.54([email protected])
+ '@ai-sdk/provider': 4.0.24
+ '@ai-sdk/provider-utils': 5.0.56([email protected])
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.22
- '@ai-sdk/provider-utils': 5.0.54([email protected])
+ '@ai-sdk/provider': 4.0.24
+ '@ai-sdk/provider-utils': 5.0.56([email protected])
'@vercel/oidc': 3.2.0
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.22
- '@ai-sdk/provider-utils': 5.0.54([email protected])
+ '@ai-sdk/provider': 4.0.24
+ '@ai-sdk/provider-utils': 5.0.56([email protected])
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.22
- '@ai-sdk/provider-utils': 5.0.54([email protected])
+ '@ai-sdk/provider': 4.0.24
+ '@ai-sdk/provider-utils': 5.0.56([email protected])
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.22
+ '@ai-sdk/provider': 4.0.24
'@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
@@ -16616,11 +16616,11 @@ snapshots:
dependencies:
- '@ai-sdk/gateway': 4.0.104([email protected])
- '@ai-sdk/provider': 4.0.22
- '@ai-sdk/provider-utils': 5.0.54([email protected])
+ '@ai-sdk/gateway': 4.0.106([email protected])
+ '@ai-sdk/provider': 4.0.24
+ '@ai-sdk/provider-utils': 5.0.56([email protected])
zod: 4.6.5
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 1d87880b91..5b46c58a8e 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.54"
+ "@ai-sdk/provider-utils": "5.0.56"
# 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": "-"