Skip to content

Build your personal knowledge base with Trilium Notes

fix(deps): update ai sdk

renovate[bot]f16e4ee47d26
diff --git a/apps/server/package.json b/apps/server/package.json
index 185b9e56cf..8abc93bee8 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.81",
- "@ai-sdk/deepseek": "3.0.66",
- "@ai-sdk/google": "4.0.98",
- "@ai-sdk/openai": "4.0.95",
+ "@ai-sdk/anthropic": "4.0.82",
+ "@ai-sdk/deepseek": "3.0.67",
+ "@ai-sdk/google": "4.0.99",
+ "@ai-sdk/openai": "4.0.96",
"@anthropic-ai/claude-agent-sdk": "^0.3.207",
"@hyzyla/pdfium": "3.0.0",
"@modelcontextprotocol/sdk": "^1.12.1",
- "ai": "7.0.142",
+ "ai": "7.0.143",
"better-sqlite3": "13.0.3",
"i18next": "26.4.7",
"ipaddr.js": "^2.4.0",
diff --git a/packages/trilium-core/package.json b/packages/trilium-core/package.json
index 92f6f556b8..b7b782c9d9 100644
--- a/packages/trilium-core/package.json
+++ b/packages/trilium-core/package.json
@@ -8,17 +8,17 @@
"update-model-prices": "tsx ./scripts/update-model-prices.ts"
},
"dependencies": {
- "@ai-sdk/anthropic": "4.0.81",
- "@ai-sdk/deepseek": "3.0.66",
- "@ai-sdk/google": "4.0.98",
- "@ai-sdk/openai": "4.0.95",
+ "@ai-sdk/anthropic": "4.0.82",
+ "@ai-sdk/deepseek": "3.0.67",
+ "@ai-sdk/google": "4.0.99",
+ "@ai-sdk/openai": "4.0.96",
"@braintree/sanitize-url": "7.1.2",
"@triliumnext/codemirror": "workspace:*",
"@triliumnext/commons": "workspace:*",
"@triliumnext/highlightjs": "workspace:*",
"@triliumnext/share-theme": "workspace:*",
"@triliumnext/turndown-plugin-gfm": "workspace:*",
- "ai": "7.0.142",
+ "ai": "7.0.143",
"async-mutex": "0.5.0",
"chardet": "2.2.0",
"color": "5.0.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 9e3763dca3..df024c8d79 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.61
+ '@ai-sdk/provider-utils': 5.0.62
'@agentclientprotocol/codex-acp>@openai/codex': '-'
zod: 4.6.7
mermaid: 12.2.0
@@ -642,17 +642,17 @@ importers:
specifier: 2.2.2
version: 2.2.2
'@ai-sdk/anthropic':
- specifier: 4.0.81
- version: 4.0.81([email protected])
+ specifier: 4.0.82
+ version: 4.0.82([email protected])
'@ai-sdk/deepseek':
- specifier: 3.0.66
- version: 3.0.66([email protected])
+ specifier: 3.0.67
+ version: 3.0.67([email protected])
'@ai-sdk/google':
- specifier: 4.0.98
- version: 4.0.98([email protected])
+ specifier: 4.0.99
+ version: 4.0.99([email protected])
'@ai-sdk/openai':
- specifier: 4.0.95
- version: 4.0.95([email protected])
+ specifier: 4.0.96
+ version: 4.0.96([email protected])
'@anthropic-ai/claude-agent-sdk':
specifier: ^0.3.207
@@ -663,8 +663,8 @@ importers:
specifier: ^1.12.1
ai:
- specifier: 7.0.142
- version: 7.0.142([email protected])
+ specifier: 7.0.143
+ version: 7.0.143([email protected])
better-sqlite3:
specifier: 13.0.3
version: 13.0.3
@@ -1443,17 +1443,17 @@ importers:
packages/trilium-core:
dependencies:
'@ai-sdk/anthropic':
- specifier: 4.0.81
- version: 4.0.81([email protected])
+ specifier: 4.0.82
+ version: 4.0.82([email protected])
'@ai-sdk/deepseek':
- specifier: 3.0.66
- version: 3.0.66([email protected])
+ specifier: 3.0.67
+ version: 3.0.67([email protected])
'@ai-sdk/google':
- specifier: 4.0.98
- version: 4.0.98([email protected])
+ specifier: 4.0.99
+ version: 4.0.99([email protected])
'@ai-sdk/openai':
- specifier: 4.0.95
- version: 4.0.95([email protected])
+ specifier: 4.0.96
+ version: 4.0.96([email protected])
'@braintree/sanitize-url':
specifier: 7.1.2
version: 7.1.2
@@ -1473,8 +1473,8 @@ importers:
specifier: workspace:*
version: link:../turndown-plugin-gfm
ai:
- specifier: 7.0.142
- version: 7.0.142([email protected])
+ specifier: 7.0.143
+ version: 7.0.143([email protected])
async-mutex:
specifier: 0.5.0
version: 0.5.0
@@ -1608,44 +1608,44 @@ packages:
peerDependencies:
zod: 4.6.7
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-xcd2bmpJ1QvSAGtXhE/OJ1DPsCFZMfDoV49VlXdgkVBeHLgBf766l4VJUmGXq6ch+mLViE11Iy08F2g7Bi8O4A==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-1HvCBHdBsfG/OTDOmo3R+rwKtVofnPCWKyMKqOa75yieQEC8V7leB40EaG6uQ1wKnqeXdc31s7tNyq+OnKV/mg==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.7
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-STb5esJAlQzKyfcw5PlHeA28cBs37EokRKxtgGZnls2QOjwMakw2Ab9vV+5xGclWV6fKGg2O5cuhEWVFjULTcw==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-pCFgbxemo9xoA1csUSoFP9jNhUpYKNokcCL3E0Gg/EfJdkm7qJ2YF/zUCjy/2Fm0EysR7/wPVlaBaHLUzyhCAA==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.7
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-Xn+gDWM4Ti2FzYmxhlZtjEuGBGZlOYaQMpwcVRSN4c9qCMUszD5F5TAbkxgLV/tHKeMfEX+WEuTCl6Kkj2r73A==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-YK2As2GpxmyHi5w6R4FLepiLcs6MbIMxh6nyTMgHaoHKoM5aWEXvKDe/JqdMQ1ivOy3EPJiEBgRI677YTGxfHQ==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.7
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-oKV8Alas+fs4q0rfm/cErkP8HudA8L4hkR+JyFCmN/plyXU1w0pqF+K41ovnytK+m91HAwPcrrzh7YxLZji0UA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-pa3qI4X807oRAHVrJXfgkNHa4EOXEwOAJJYLVIwBk6PHKUW3S35mr/AvN46czyqn+5XNDwihHSF2iR3YiaV+sQ==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.7
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-rx8agb3u+pvDDqvrDYrXfMJVlnlwigNcdgqbwH4oGVi/UZRMNVY+SYhGNI9ynwjmiGcl6QG/QJz73e6qaGL7jg==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-tCFB99pvAs5MAEVVT2RhtUUa5KsWcQMrdTZNfmW1cKeHQzNvUVlkMAAcWiR/PYOg2NuCvc5TDNBW/7tGK6spJw==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.7
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-Y+Z3539UXw0ctFDNepTtG23VqBQHr2A6yI2qUxvQcg75DJYgJoD2F9U2Vp5OgQjX7lxto1BLgFtKuOhzrr52vQ==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-//6sHa6QNQdM2KHOg5pxp1UMFQB4U8cqdw/kSm9BMr0DLeaFgG3TXZfxhpwRZmxgBpOrzMVZ/gwLXH309+Ortw==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.7
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-6ThcmkJQXSMlBrf6mirIjUUS04Q5/kApbYTOzd5lZfYXLa1XPpnDLxP/G96/DKc00fDIUOW9S2ls0mSzb0+l9w==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-nV7UpLADtKn9f0xfnxVZAeFEKuNkScJv5rOpHL7qeWe2EwEEBa3pd6P0QVK6D6coCJ0E8FyCgoM50AffTYrzDQ==}
engines: {node: '>=22'}
'@aklinker1/[email protected]':
@@ -5680,8 +5680,8 @@ packages:
resolution: {integrity: sha512-TQf59BsZnytt8GdJKLPfUZ54g/iaUL2OWDSFCCvMOhsHduDQxO8xC4PNeyIkVcA5KwL2phPSv0douC0fgWzmnA==}
engines: {node: '>= 20'}
- resolution: {integrity: sha512-Tifni6/6nNhCu4GnFEeYYR7CGmJ3Yhm44SGxYrOupqP2aaZwmGGiiB5Zx4hiauJR0AWimcXULejDT+Qsj+SHOQ==}
+ resolution: {integrity: sha512-y9QNgCK9QRHRCcHEUNoU2vemJ+q2zFX5M9T7xHCMZutfcWCqZPckkAfDbp+KHwqZDiJs5AqoKazj64cb20m5PA==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.7
@@ -11993,47 +11993,47 @@ snapshots:
dependencies:
zod: 4.6.7
dependencies:
- '@ai-sdk/provider': 4.0.28
- '@ai-sdk/provider-utils': 5.0.61([email protected])
+ '@ai-sdk/provider': 4.0.29
+ '@ai-sdk/provider-utils': 5.0.62([email protected])
zod: 4.6.7
dependencies:
- '@ai-sdk/provider': 4.0.28
- '@ai-sdk/provider-utils': 5.0.61([email protected])
+ '@ai-sdk/provider': 4.0.29
+ '@ai-sdk/provider-utils': 5.0.62([email protected])
zod: 4.6.7
dependencies:
- '@ai-sdk/provider': 4.0.28
- '@ai-sdk/provider-utils': 5.0.61([email protected])
+ '@ai-sdk/provider': 4.0.29
+ '@ai-sdk/provider-utils': 5.0.62([email protected])
'@vercel/oidc': 3.2.0
zod: 4.6.7
dependencies:
- '@ai-sdk/provider': 4.0.28
- '@ai-sdk/provider-utils': 5.0.61([email protected])
+ '@ai-sdk/provider': 4.0.29
+ '@ai-sdk/provider-utils': 5.0.62([email protected])
zod: 4.6.7
dependencies:
- '@ai-sdk/provider': 4.0.28
- '@ai-sdk/provider-utils': 5.0.61([email protected])
+ '@ai-sdk/provider': 4.0.29
+ '@ai-sdk/provider-utils': 5.0.62([email protected])
zod: 4.6.7
dependencies:
- '@ai-sdk/provider': 4.0.28
+ '@ai-sdk/provider': 4.0.29
'@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
@@ -17359,11 +17359,11 @@ snapshots:
dependencies:
- '@ai-sdk/gateway': 4.0.115([email protected])
- '@ai-sdk/provider': 4.0.28
- '@ai-sdk/provider-utils': 5.0.61([email protected])
+ '@ai-sdk/gateway': 4.0.116([email protected])
+ '@ai-sdk/provider': 4.0.29
+ '@ai-sdk/provider-utils': 5.0.62([email protected])
zod: 4.6.7
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index f8eed1c192..a8da163173 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.61"
+ "@ai-sdk/provider-utils": "5.0.62"
# 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": "-"