Skip to content

Build your personal knowledge base with Trilium Notes

fix(deps): update ai sdk

renovate[bot]2ed0925ee413
diff --git a/apps/server/package.json b/apps/server/package.json
index 5c97aabfd1..a0d7025f01 100644
--- a/apps/server/package.json
+++ b/apps/server/package.json
@@ -29,14 +29,14 @@
},
"dependencies": {
"@agentclientprotocol/codex-acp": "2.2.2",
- "@ai-sdk/anthropic": "4.0.78",
- "@ai-sdk/deepseek": "3.0.63",
- "@ai-sdk/google": "4.0.93",
- "@ai-sdk/openai": "4.0.91",
+ "@ai-sdk/anthropic": "4.0.79",
+ "@ai-sdk/deepseek": "3.0.64",
+ "@ai-sdk/google": "4.0.94",
+ "@ai-sdk/openai": "4.0.92",
"@anthropic-ai/claude-agent-sdk": "^0.3.207",
"@hyzyla/pdfium": "2.1.13",
"@modelcontextprotocol/sdk": "^1.12.1",
- "ai": "7.0.137",
+ "ai": "7.0.138",
"better-sqlite3": "13.0.3",
"i18next": "26.4.4",
"ipaddr.js": "^2.4.0",
diff --git a/packages/trilium-core/package.json b/packages/trilium-core/package.json
index bc8073bace..52e29d0c57 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.78",
- "@ai-sdk/deepseek": "3.0.63",
- "@ai-sdk/google": "4.0.93",
- "@ai-sdk/openai": "4.0.91",
+ "@ai-sdk/anthropic": "4.0.79",
+ "@ai-sdk/deepseek": "3.0.64",
+ "@ai-sdk/google": "4.0.94",
+ "@ai-sdk/openai": "4.0.92",
"@braintree/sanitize-url": "7.1.2",
"@triliumnext/commons": "workspace:*",
"@triliumnext/highlightjs": "workspace:*",
"@triliumnext/share-theme": "workspace:*",
"@triliumnext/turndown-plugin-gfm": "workspace:*",
- "ai": "7.0.137",
+ "ai": "7.0.138",
"async-mutex": "0.5.0",
"chardet": "2.2.0",
"color": "5.0.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 30bf806599..4be59eccb5 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.11
- '@ai-sdk/provider-utils': 5.0.58
+ '@ai-sdk/provider-utils': 5.0.59
'@agentclientprotocol/codex-acp>@openai/codex': '-'
zod: 4.6.7
mermaid: 12.1.0
@@ -642,17 +642,17 @@ importers:
specifier: 2.2.2
version: 2.2.2
'@ai-sdk/anthropic':
- specifier: 4.0.78
- version: 4.0.78([email protected])
+ specifier: 4.0.79
+ version: 4.0.79([email protected])
'@ai-sdk/deepseek':
- specifier: 3.0.63
- version: 3.0.63([email protected])
+ specifier: 3.0.64
+ version: 3.0.64([email protected])
'@ai-sdk/google':
- specifier: 4.0.93
- version: 4.0.93([email protected])
+ specifier: 4.0.94
+ version: 4.0.94([email protected])
'@ai-sdk/openai':
- specifier: 4.0.91
- version: 4.0.91([email protected])
+ specifier: 4.0.92
+ version: 4.0.92([email protected])
'@anthropic-ai/claude-agent-sdk':
specifier: ^0.3.207
@@ -663,8 +663,8 @@ importers:
specifier: ^1.12.1
ai:
- specifier: 7.0.137
- version: 7.0.137([email protected])
+ specifier: 7.0.138
+ version: 7.0.138([email protected])
better-sqlite3:
specifier: 13.0.3
version: 13.0.3
@@ -1428,17 +1428,17 @@ importers:
packages/trilium-core:
dependencies:
'@ai-sdk/anthropic':
- specifier: 4.0.78
- version: 4.0.78([email protected])
+ specifier: 4.0.79
+ version: 4.0.79([email protected])
'@ai-sdk/deepseek':
- specifier: 3.0.63
- version: 3.0.63([email protected])
+ specifier: 3.0.64
+ version: 3.0.64([email protected])
'@ai-sdk/google':
- specifier: 4.0.93
- version: 4.0.93([email protected])
+ specifier: 4.0.94
+ version: 4.0.94([email protected])
'@ai-sdk/openai':
- specifier: 4.0.91
- version: 4.0.91([email protected])
+ specifier: 4.0.92
+ version: 4.0.92([email protected])
'@braintree/sanitize-url':
specifier: 7.1.2
version: 7.1.2
@@ -1455,8 +1455,8 @@ importers:
specifier: workspace:*
version: link:../turndown-plugin-gfm
ai:
- specifier: 7.0.137
- version: 7.0.137([email protected])
+ specifier: 7.0.138
+ version: 7.0.138([email protected])
async-mutex:
specifier: 0.5.0
version: 0.5.0
@@ -1590,44 +1590,44 @@ packages:
peerDependencies:
zod: 4.6.7
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-lVMxa9tLM5WoB72bqxjzWEWQlCwtBTo1L3yIKxAefowWATd+1YKohrINey6wTn8gtGEqyYm79z4DUGJBYauUFw==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-bBAmgc8IcwJDz7RkyIHaGNrN6k84oqZu6K2aYcdekYwab8PNcxvUgp/LG1S/tSU3SBoS+blFYuMjTQrIg8WHRQ==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.7
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-oSIwe9tIpRXkANMsdNcW7JnJRLp+dakWiudl8ZImffhw3PD91i5zpN8x3V6jkXhknvEhRxyd6IIiCSCevVZHyw==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-nv+NE2CzKykapKCYTsUlOZ+HBPPMNc0QYl3PKYHEy9cvorKTWDWtN/u4UCXs2Uj5VjDF9nNUg22gLOgDYCy+Lw==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.7
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-5IwnOR6v7KC+D9eddUqsCobXl/FbLUVb2LaQc/uyuQdpP3/n9s0YLc9zl4/W3IS/R2pjHrqUfCzEAeOu7bFLoQ==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-+Uq8GgAsEkq3rv1AoYyqpCeHSOXG5ZP7KnsquM8yyIXkn1oBeZbFZvTtNE6gC9Eg1VK34KwImv8NrtB6tfm2wA==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.7
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-hubOUxbG2W7oD3acdCxxnrQ84NlnLqfzcHe9uWMmwkglHxq/rwsbjloPhvebeQlcQ2G0gaX+akDF1Ddm/fNAnQ==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-OPT9YSx6oBEVIjpOY/6E5Pkjd8yiISRFa3gowkI1LEhYygFkbU88r6IU2U750uN18SShROJoNVWXQ+/GzNPMZw==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.7
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-Nk382R6us0GNxI1cGJUXMryz1XHpyrmC3K/Rmqdx9tIsqAlc7UtuO/hC9dd31F41w8uzoS362HJSDXgAI7zKbA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-py1DdK0t1bvUOkRCJDU5saql95Kyed13Bo41GYVBKkbff2Lh5pHGAeNZBkOsVSQXr+Ah1qJdR/ZYnisoxvoP6Q==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.7
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-iXSwKR/7LpHzAlyrUl+bTinwzmZ3Nmup1viwPisM5Gn5cogRdIG4rV9w1ZDuKFcrXyu/AeVs42E1CX/0aNwrfQ==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-eaXBTkguxBFzS+KvxGRsbdkX9A7+R1g/C4jWx9mup0oSs3Cx5Mb427/byGpD2XL8SnMYT9O8LmXBmrgo+N3TJw==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.7
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-BZ443uBEq6HuMA+Z4b7Hpm65GpZSo7pWqnYqpf/7tAO3C48JbtvAhOE2JnODFj+jodsZzfRHkAyQb64xuD2tZQ==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-TtWwm6SxFiPomlMIbTQa+yhJte+w4/oCsW+wJrJzMC3MqHpAY9e5dJF1Y4HxyKt3W2Csac0KiI76Ckio11TFYw==}
engines: {node: '>=22'}
'@aklinker1/[email protected]':
@@ -5665,8 +5665,8 @@ packages:
resolution: {integrity: sha512-TQf59BsZnytt8GdJKLPfUZ54g/iaUL2OWDSFCCvMOhsHduDQxO8xC4PNeyIkVcA5KwL2phPSv0douC0fgWzmnA==}
engines: {node: '>= 20'}
- resolution: {integrity: sha512-JxrPkSQknxIN/gYqS3UQksExS6eWI23QMPBrKMGXeeFHhru6xFtF4MuMq17WaHD+lXPh0lne6H0BM2Z2VMW9EQ==}
+ resolution: {integrity: sha512-rB2grfrM9se2GY/au4e5Eq0xadPM4+a+ip3EZ0ofedIPU8/GETWGjXO6gbzQDA+7nMaZnaUVaX2f+ByAj/LF8w==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.7
@@ -6950,9 +6950,6 @@ packages:
resolution: {integrity: sha512-gYzvtM72ZtxQO0T048kd6HWSbbGCNOUwcnfQ01cqIJ4X2IYKFFHZ5mKvrQETcFXxsRObZulDaKmy//R7TPtsBg==}
engines: {node: '>=20.19.0'}
- resolution: {integrity: sha512-sqo+pNp3qRhCIpbgRi1y8Tgk27Bo2Ry7w0dC1NBeNTdZChWjz9Xb/KOoZbRP/R6pQZ80Qw8YhXw13hWWBbMRnQ==}
-
resolution: {integrity: sha512-B/pSlYVHQ58kqISD/yDjuJ1yfzI34m1gF4lAod2bwSRhiN4K5Cl3H8Af7hqB2PmTL911tdEudnnXn5FnhRoz0w==}
@@ -11985,47 +11982,47 @@ snapshots:
dependencies:
zod: 4.6.7
dependencies:
- '@ai-sdk/provider': 4.0.26
- '@ai-sdk/provider-utils': 5.0.58([email protected])
+ '@ai-sdk/provider': 4.0.27
+ '@ai-sdk/provider-utils': 5.0.59([email protected])
zod: 4.6.7
dependencies:
- '@ai-sdk/provider': 4.0.26
- '@ai-sdk/provider-utils': 5.0.58([email protected])
+ '@ai-sdk/provider': 4.0.27
+ '@ai-sdk/provider-utils': 5.0.59([email protected])
zod: 4.6.7
dependencies:
- '@ai-sdk/provider': 4.0.26
- '@ai-sdk/provider-utils': 5.0.58([email protected])
+ '@ai-sdk/provider': 4.0.27
+ '@ai-sdk/provider-utils': 5.0.59([email protected])
'@vercel/oidc': 3.2.0
zod: 4.6.7
dependencies:
- '@ai-sdk/provider': 4.0.26
- '@ai-sdk/provider-utils': 5.0.58([email protected])
+ '@ai-sdk/provider': 4.0.27
+ '@ai-sdk/provider-utils': 5.0.59([email protected])
zod: 4.6.7
dependencies:
- '@ai-sdk/provider': 4.0.26
- '@ai-sdk/provider-utils': 5.0.58([email protected])
+ '@ai-sdk/provider': 4.0.27
+ '@ai-sdk/provider-utils': 5.0.59([email protected])
zod: 4.6.7
dependencies:
- '@ai-sdk/provider': 4.0.26
+ '@ai-sdk/provider': 4.0.27
'@standard-schema/spec': 1.1.0
'@workflow/serde': 4.1.0
eventsource-parser: 3.1.1
undici: 7.29.1
zod: 4.6.7
- '@ai-sdk/[email protected]':
+ '@ai-sdk/[email protected]':
dependencies:
json-schema: 0.4.0
@@ -17353,11 +17350,11 @@ snapshots:
dependencies:
- '@ai-sdk/gateway': 4.0.110([email protected])
- '@ai-sdk/provider': 4.0.26
- '@ai-sdk/provider-utils': 5.0.58([email protected])
+ '@ai-sdk/gateway': 4.0.111([email protected])
+ '@ai-sdk/provider': 4.0.27
+ '@ai-sdk/provider-utils': 5.0.59([email protected])
zod: 4.6.7
@@ -18827,10 +18824,6 @@ snapshots:
dependencies:
domelementtype: 3.0.0
- optionalDependencies:
- '@types/trusted-types': 2.0.7
-
optionalDependencies:
'@types/trusted-types': 2.0.7
@@ -21398,7 +21391,7 @@ snapshots:
d3-sankey: 0.12.3
dagre-d3-es: 7.0.14
dayjs: 1.11.23
- dompurify: 3.4.16
+ dompurify: 3.4.17
elkjs: 0.9.3
es-toolkit: 1.52.0
katex: 0.16.47
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 7542526898..96b5b9b7d7 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.58"
+ "@ai-sdk/provider-utils": "5.0.59"
# 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": "-"