Skip to content

Build your personal knowledge base with Trilium Notes

fix(deps): update ai sdk

renovate[bot]2a03a9be183b
diff --git a/apps/server/package.json b/apps/server/package.json
index b6858f7efe..ab745b2b20 100644
--- a/apps/server/package.json
+++ b/apps/server/package.json
@@ -29,14 +29,14 @@
},
"dependencies": {
"@agentclientprotocol/codex-acp": "2.0.1",
- "@ai-sdk/anthropic": "4.0.68",
- "@ai-sdk/deepseek": "3.0.56",
- "@ai-sdk/google": "4.0.85",
- "@ai-sdk/openai": "4.0.81",
+ "@ai-sdk/anthropic": "4.0.71",
+ "@ai-sdk/deepseek": "3.0.58",
+ "@ai-sdk/google": "4.0.87",
+ "@ai-sdk/openai": "4.0.83",
"@anthropic-ai/claude-agent-sdk": "^0.3.207",
"@hyzyla/pdfium": "2.1.13",
"@modelcontextprotocol/sdk": "^1.12.1",
- "ai": "7.0.122",
+ "ai": "7.0.126",
"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 d04f7f1eb9..9d969a2de4 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.68",
- "@ai-sdk/deepseek": "3.0.56",
- "@ai-sdk/google": "4.0.85",
- "@ai-sdk/openai": "4.0.81",
+ "@ai-sdk/anthropic": "4.0.71",
+ "@ai-sdk/deepseek": "3.0.58",
+ "@ai-sdk/google": "4.0.87",
+ "@ai-sdk/openai": "4.0.83",
"@braintree/sanitize-url": "7.1.2",
"@triliumnext/commons": "workspace:*",
"@triliumnext/highlightjs": "workspace:*",
"@triliumnext/turndown-plugin-gfm": "workspace:*",
- "ai": "7.0.122",
+ "ai": "7.0.126",
"async-mutex": "0.5.0",
"chardet": "2.2.0",
"color": "5.0.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 28572d4cf4..78fb45043c 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.51
+ '@ai-sdk/provider-utils': 5.0.53
'@agentclientprotocol/codex-acp>@openai/codex': '-'
zod: 4.6.5
mermaid: 12.0.0
@@ -645,17 +645,17 @@ importers:
specifier: 2.0.1
version: 2.0.1
'@ai-sdk/anthropic':
- specifier: 4.0.68
- version: 4.0.68([email protected])
+ specifier: 4.0.71
+ version: 4.0.71([email protected])
'@ai-sdk/deepseek':
- specifier: 3.0.56
- version: 3.0.56([email protected])
+ specifier: 3.0.58
+ version: 3.0.58([email protected])
'@ai-sdk/google':
- specifier: 4.0.85
- version: 4.0.85([email protected])
+ specifier: 4.0.87
+ version: 4.0.87([email protected])
'@ai-sdk/openai':
- specifier: 4.0.81
- version: 4.0.81([email protected])
+ specifier: 4.0.83
+ version: 4.0.83([email protected])
'@anthropic-ai/claude-agent-sdk':
specifier: ^0.3.207
@@ -666,8 +666,8 @@ importers:
specifier: ^1.12.1
ai:
- specifier: 7.0.122
- version: 7.0.122([email protected])
+ specifier: 7.0.126
+ version: 7.0.126([email protected])
better-sqlite3:
specifier: 13.0.3
version: 13.0.3
@@ -1422,17 +1422,17 @@ importers:
packages/trilium-core:
dependencies:
'@ai-sdk/anthropic':
- specifier: 4.0.68
- version: 4.0.68([email protected])
+ specifier: 4.0.71
+ version: 4.0.71([email protected])
'@ai-sdk/deepseek':
- specifier: 3.0.56
- version: 3.0.56([email protected])
+ specifier: 3.0.58
+ version: 3.0.58([email protected])
'@ai-sdk/google':
- specifier: 4.0.85
- version: 4.0.85([email protected])
+ specifier: 4.0.87
+ version: 4.0.87([email protected])
'@ai-sdk/openai':
- specifier: 4.0.81
- version: 4.0.81([email protected])
+ specifier: 4.0.83
+ version: 4.0.83([email protected])
'@braintree/sanitize-url':
specifier: 7.1.2
version: 7.1.2
@@ -1446,8 +1446,8 @@ importers:
specifier: workspace:*
version: link:../turndown-plugin-gfm
ai:
- specifier: 7.0.122
- version: 7.0.122([email protected])
+ specifier: 7.0.126
+ version: 7.0.126([email protected])
async-mutex:
specifier: 0.5.0
version: 0.5.0
@@ -1584,44 +1584,44 @@ packages:
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-7PzZEf2brum218FSdXf6gE9yz4gKkLwkoLkPwoBExWYFj/Qsbi2JetWDKnFOdV6eezOnP72pGs3T0OKUaAEcLw==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-wiv3jhUH0RrvGzSolJMZfZ2cI9As45LhwYmcAoWvNivXjC7wzJ4W/Udq9/u7EGnGsT8lpmFKEKBrMXVeUO97Dg==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-ZBmtMofJqRzJK1JoPhz7EwcboJgsA7CCZDQ4Ld6SyHoONN29Sb3Pvnrq6YsK4gE3InnTx/cjjE+GJhL0Z/G+lw==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-tOafL69mHQGJH3g/mu4k0evkP/cRLSHCWe7L9rcVV4b0S1zI2rpWDZbToZO7D4X/uox9baVmgRQ5AoUTeaDs0A==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-diJXVW2D1/NUW2JSg99b8yTpN8eW9AK5ntXSW4B7NrsW5STqwcGJAAOFlfOrQBzYHJlWReyy11WefWetdx4Qsw==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-kAVldt8D2AVSs7BjBZTRWHcFF71lPH8ouS6/QVlFCnKcUsShjXMdRwW6es5BfxyGewHbXfSirSc8j6efKSkIdA==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-gYfORjh13EkLZWKvpF3gEe2cAMEC3O9tnWniz2wuz8mHqJo08RfCjtLtP8iTka/xq4+a8lnXD4OGipDELd/GnA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-s0tWc+QeSce7O2ZLm+VWSRQy16dGfqEcMIUxEWh+LFvXX3h0TLH8jxCQ2H1qhiBgTta+6A97eHPhBlRFu1xy+g==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-xLKx+4pbRvKF1gaXckfg0gQxDppi5SVYQsB/gkkzElCjAZ1OYDJB7xp+CvXIZGI6fzspricSfOl7MxEDvEdilg==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-NgqZVWoya7hfmtLkWyIjX9THbyYMLfxFqpShdAmvMnkoT+R9AZbdULGan8+4BiBWIZ1aHiAsc90l3SL8QU/0+Q==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-z0IsEsDx+dxlZqyCtDjMbBj16NGmxFVTgQcP3+n3EFm9ttNU6wjOgL/kgvaPwtmZM6F7JbtRuLyzr6WOfo5DMw==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-VVe6UDd0y0/B4TfauuKKzcppqvhTmSluwwUVT4WG2/8h7gFbyFm7PM4UGM+ZXe3/RI6bv+Vl1cw/7aiBoQqdxg==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-ryVZSSfmpEsr4bM8rbt9cSBWal+KGYRrm57C+k/hiPQHMiMahaqg2bPF0MpxSUWY8mGpt7s/ajM6PAqNTMKqPQ==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-UpbC9C1oht8dhfKPbVXSLRZS3DI8uk8n5v2uMjBPNIYGsC2kL045ywq7D8Hh9KgnH9rP5W/GxQdYtWScRouqlA==}
engines: {node: '>=22'}
'@aklinker1/[email protected]':
@@ -5577,8 +5577,8 @@ packages:
resolution: {integrity: sha512-TQf59BsZnytt8GdJKLPfUZ54g/iaUL2OWDSFCCvMOhsHduDQxO8xC4PNeyIkVcA5KwL2phPSv0douC0fgWzmnA==}
engines: {node: '>= 20'}
- resolution: {integrity: sha512-Un4yVROG+BMd6Q62xUxb9yV+wlTrUGeXhRtg5ltEFDV0p3lOYQaQHK9ozB6rdPdqlH3LyaszfbFdUkZ1p00nIQ==}
+ resolution: {integrity: sha512-7egcwpnVR2xn3YlJYEX2y15X7Bv7Rc8U2h4YjCOnj5KZL6Pr/BQFzJuF+9fkm3SefmpgkaYRXzrvhafVjxGZww==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
@@ -11446,47 +11446,47 @@ snapshots:
dependencies:
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.19
- '@ai-sdk/provider-utils': 5.0.51([email protected])
+ '@ai-sdk/provider': 4.0.21
+ '@ai-sdk/provider-utils': 5.0.53([email protected])
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.19
- '@ai-sdk/provider-utils': 5.0.51([email protected])
+ '@ai-sdk/provider': 4.0.21
+ '@ai-sdk/provider-utils': 5.0.53([email protected])
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.19
- '@ai-sdk/provider-utils': 5.0.51([email protected])
+ '@ai-sdk/provider': 4.0.21
+ '@ai-sdk/provider-utils': 5.0.53([email protected])
'@vercel/oidc': 3.2.0
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.19
- '@ai-sdk/provider-utils': 5.0.51([email protected])
+ '@ai-sdk/provider': 4.0.21
+ '@ai-sdk/provider-utils': 5.0.53([email protected])
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.19
- '@ai-sdk/provider-utils': 5.0.51([email protected])
+ '@ai-sdk/provider': 4.0.21
+ '@ai-sdk/provider-utils': 5.0.53([email protected])
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.19
+ '@ai-sdk/provider': 4.0.21
'@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
@@ -16779,11 +16779,11 @@ snapshots:
dependencies:
- '@ai-sdk/gateway': 4.0.100([email protected])
- '@ai-sdk/provider': 4.0.19
- '@ai-sdk/provider-utils': 5.0.51([email protected])
+ '@ai-sdk/gateway': 4.0.102([email protected])
+ '@ai-sdk/provider': 4.0.21
+ '@ai-sdk/provider-utils': 5.0.53([email protected])
zod: 4.6.5
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index e3dc8bb0e5..388a1fd1e5 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.51"
+ "@ai-sdk/provider-utils": "5.0.53"
# 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": "-"