Skip to content

Build your personal knowledge base with Trilium Notes

fix(deps): update ai sdk

renovate[bot]d4ee123ecd75
diff --git a/apps/server/package.json b/apps/server/package.json
index 1524421d76..c42802b6fb 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.74",
- "@ai-sdk/deepseek": "3.0.61",
- "@ai-sdk/google": "4.0.90",
- "@ai-sdk/openai": "4.0.86",
+ "@ai-sdk/anthropic": "4.0.76",
+ "@ai-sdk/deepseek": "3.0.62",
+ "@ai-sdk/google": "4.0.92",
+ "@ai-sdk/openai": "4.0.89",
"@anthropic-ai/claude-agent-sdk": "^0.3.207",
"@hyzyla/pdfium": "2.1.13",
"@modelcontextprotocol/sdk": "^1.12.1",
- "ai": "7.0.130",
+ "ai": "7.0.133",
"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 b18656c207..bf366f0238 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.74",
- "@ai-sdk/deepseek": "3.0.61",
- "@ai-sdk/google": "4.0.90",
- "@ai-sdk/openai": "4.0.86",
+ "@ai-sdk/anthropic": "4.0.76",
+ "@ai-sdk/deepseek": "3.0.62",
+ "@ai-sdk/google": "4.0.92",
+ "@ai-sdk/openai": "4.0.89",
"@braintree/sanitize-url": "7.1.2",
"@triliumnext/commons": "workspace:*",
"@triliumnext/highlightjs": "workspace:*",
"@triliumnext/share-theme": "workspace:*",
"@triliumnext/turndown-plugin-gfm": "workspace:*",
- "ai": "7.0.130",
+ "ai": "7.0.133",
"async-mutex": "0.5.0",
"chardet": "2.2.0",
"color": "5.0.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 58e800ccf0..b8cfe38cfb 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.56
+ '@ai-sdk/provider-utils': 5.0.57
'@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.74
- version: 4.0.74([email protected])
+ specifier: 4.0.76
+ version: 4.0.76([email protected])
'@ai-sdk/deepseek':
- specifier: 3.0.61
- version: 3.0.61([email protected])
+ specifier: 3.0.62
+ version: 3.0.62([email protected])
'@ai-sdk/google':
- specifier: 4.0.90
- version: 4.0.90([email protected])
+ specifier: 4.0.92
+ version: 4.0.92([email protected])
'@ai-sdk/openai':
- specifier: 4.0.86
- version: 4.0.86([email protected])
+ specifier: 4.0.89
+ version: 4.0.89([email protected])
'@anthropic-ai/claude-agent-sdk':
specifier: ^0.3.207
@@ -660,8 +660,8 @@ importers:
specifier: ^1.12.1
ai:
- specifier: 7.0.130
- version: 7.0.130([email protected])
+ specifier: 7.0.133
+ version: 7.0.133([email protected])
better-sqlite3:
specifier: 13.0.3
version: 13.0.3
@@ -1425,17 +1425,17 @@ importers:
packages/trilium-core:
dependencies:
'@ai-sdk/anthropic':
- specifier: 4.0.74
- version: 4.0.74([email protected])
+ specifier: 4.0.76
+ version: 4.0.76([email protected])
'@ai-sdk/deepseek':
- specifier: 3.0.61
- version: 3.0.61([email protected])
+ specifier: 3.0.62
+ version: 3.0.62([email protected])
'@ai-sdk/google':
- specifier: 4.0.90
- version: 4.0.90([email protected])
+ specifier: 4.0.92
+ version: 4.0.92([email protected])
'@ai-sdk/openai':
- specifier: 4.0.86
- version: 4.0.86([email protected])
+ specifier: 4.0.89
+ version: 4.0.89([email protected])
'@braintree/sanitize-url':
specifier: 7.1.2
version: 7.1.2
@@ -1452,8 +1452,8 @@ importers:
specifier: workspace:*
version: link:../turndown-plugin-gfm
ai:
- specifier: 7.0.130
- version: 7.0.130([email protected])
+ specifier: 7.0.133
+ version: 7.0.133([email protected])
async-mutex:
specifier: 0.5.0
version: 0.5.0
@@ -1587,44 +1587,44 @@ packages:
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-q/A7hCZSsCknmC1TtyNkBgNlT12hbKOWrgyb1UdPpIAO9sZcFS0nilZFIsW/ugVKG+hd6bU1r9NL1Ru33FDwZw==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-3sKHzUTs53rt396ulT4ghSEHVH4krWTHKVqBlA5Vr271l4jeFwI5z1P1WRFrrjwb0OWDADJv2MVSy1pF5/z5Vg==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-D9fj/eMQiWjMjmNkNifvhN7ohJ98kXmlTuqtNzPNaHGo0aqZ4jmxEfAT0DQNLxEkNcljtr0+QP9LmEjUwikIKQ==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-/zi/hw0hRSXvsfIhzGMrT9TRZrf/INDz78lFzoGHETYFsyqKarpCfXZp8tvBllEzVDMN7lUa7EfiLrPFJiFqmw==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-NprSdFzyVnbEp2SDWtIgsCFIUHFCehOD9S6FQkF/dLrCmnke8w4SOK3KcmUUiEbwtVzlUF8prkaELp+ohcQaQw==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-UgtnyyuIpMSzhha89MAK6c2pTeQW8s9jLSmDeYI92NzqDsoyEYFZ/lYAXTXLUQxA25j5iTWPEnzGVl5adIy+8w==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-XQNKWT6CwcgARdqTUZn0j89y0gvDMR0k2j2qhOg7ffoL+6MNViQ9t3ALoleAAKo10yMLFE7Ato0Fk+RD14i2kg==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-403P/VR0720o51op1lvPAUjsX46eVFPxk/XHL6IS5njfrkmmlzwCEpqj1wPBAT18cJwSE24kHR9hQxBiSTT6pA==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-sbUHayMvjAYV6ELydYXFTr5UBX5qyYmRELqZR3tV0dieUhgUYd8dED9bwEgqZJNJU6V8GGLOlaEpL1ltbNXA/g==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-Lmg/77zyVaSHTiqCis24JS79AC6zb5eqvZs1uAEAWckMlyz9E1GgMxr1J5l1OigDdAOg0brdV2S9UsDfZlaxvQ==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-F7/U1YpVXEfSxRHbxScm0PVdr9lN6GaUWHnt8ws2UjuGeuxWHqCkV25dGpHAkpDHkuIXoC+aak/OqSylKSJmHw==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-giQ9mNwVzYUbahU2DG1FWEjXkDU8D8Hitz7Rk4AlRGtqh8Ss48msQ9+wEAXquWs/GYOETzxMMFsgcHK0i7TbUQ==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-iztFqJTdxNN0ZzqZAAnVPMhRMaL1bfQFa3GIPAffWQ0+dP2FXIkyMD8kHeEI7EpB/C6TR45cqOkrS7YZZ1sATA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-vG0l7MUavfhn6c5+Z0y1/E6lKUrzecsLtFkuIknnHjAGAIiuwFDucafzebJuFVTZcLyhf8qhYYU2zeKP55Mymw==}
engines: {node: '>=22'}
'@aklinker1/[email protected]':
@@ -5669,8 +5669,8 @@ packages:
resolution: {integrity: sha512-TQf59BsZnytt8GdJKLPfUZ54g/iaUL2OWDSFCCvMOhsHduDQxO8xC4PNeyIkVcA5KwL2phPSv0douC0fgWzmnA==}
engines: {node: '>= 20'}
- resolution: {integrity: sha512-QkBkCogl46jXUg0SrSsdqQlOI2ZVMCjfnbBQS8t3gE21U/SO17oNMVFyjmcC9z20wOoYUA+2O2vsso0maoS7dw==}
+ resolution: {integrity: sha512-OjyVMdsDp4ORPSrRB9hiYGic4bzeiOtaOzBPxOM7jiavz6tSXuMrqLwd1eILGhN669VD0G/+jxaiweRqfVulYg==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
@@ -11914,47 +11914,47 @@ snapshots:
dependencies:
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.24
- '@ai-sdk/provider-utils': 5.0.56([email protected])
+ '@ai-sdk/provider': 4.0.25
+ '@ai-sdk/provider-utils': 5.0.57([email protected])
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.24
- '@ai-sdk/provider-utils': 5.0.56([email protected])
+ '@ai-sdk/provider': 4.0.25
+ '@ai-sdk/provider-utils': 5.0.57([email protected])
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.24
- '@ai-sdk/provider-utils': 5.0.56([email protected])
+ '@ai-sdk/provider': 4.0.25
+ '@ai-sdk/provider-utils': 5.0.57([email protected])
'@vercel/oidc': 3.2.0
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.24
- '@ai-sdk/provider-utils': 5.0.56([email protected])
+ '@ai-sdk/provider': 4.0.25
+ '@ai-sdk/provider-utils': 5.0.57([email protected])
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.24
- '@ai-sdk/provider-utils': 5.0.56([email protected])
+ '@ai-sdk/provider': 4.0.25
+ '@ai-sdk/provider-utils': 5.0.57([email protected])
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 4.0.24
+ '@ai-sdk/provider': 4.0.25
'@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
@@ -17292,11 +17292,11 @@ snapshots:
dependencies:
- '@ai-sdk/gateway': 4.0.106([email protected])
- '@ai-sdk/provider': 4.0.24
- '@ai-sdk/provider-utils': 5.0.56([email protected])
+ '@ai-sdk/gateway': 4.0.108([email protected])
+ '@ai-sdk/provider': 4.0.25
+ '@ai-sdk/provider-utils': 5.0.57([email protected])
zod: 4.6.5
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 5b46c58a8e..31f7f6ca38 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.56"
+ "@ai-sdk/provider-utils": "5.0.57"
# 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": "-"