Skip to content

Build your personal knowledge base with Trilium Notes

fix(deps): update ai sdk

renovate[bot]72fdb2402b06
diff --git a/apps/server/package.json b/apps/server/package.json
index 9e78edef02..ca277f27ca 100644
--- a/apps/server/package.json
+++ b/apps/server/package.json
@@ -33,14 +33,14 @@
},
"dependencies": {
"@agentclientprotocol/codex-acp": "1.13.1",
- "@ai-sdk/anthropic": "4.0.63",
- "@ai-sdk/deepseek": "3.0.52",
- "@ai-sdk/google": "4.0.80",
- "@ai-sdk/openai": "4.0.75",
+ "@ai-sdk/anthropic": "4.0.65",
+ "@ai-sdk/deepseek": "3.0.54",
+ "@ai-sdk/google": "4.0.82",
+ "@ai-sdk/openai": "4.0.78",
"@anthropic-ai/claude-agent-sdk": "^0.3.207",
"@hyzyla/pdfium": "2.1.13",
"@modelcontextprotocol/sdk": "^1.12.1",
- "ai": "7.0.114",
+ "ai": "7.0.116",
"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 ac9787412b..ce816e1b6c 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.63",
- "@ai-sdk/deepseek": "3.0.52",
- "@ai-sdk/google": "4.0.80",
- "@ai-sdk/openai": "4.0.75",
+ "@ai-sdk/anthropic": "4.0.65",
+ "@ai-sdk/deepseek": "3.0.54",
+ "@ai-sdk/google": "4.0.82",
+ "@ai-sdk/openai": "4.0.78",
"@braintree/sanitize-url": "7.1.2",
"@triliumnext/commons": "workspace:*",
"@triliumnext/highlightjs": "workspace:*",
"@triliumnext/turndown-plugin-gfm": "workspace:*",
- "ai": "7.0.114",
+ "ai": "7.0.116",
"async-mutex": "0.5.0",
"chardet": "2.2.0",
"color": "5.0.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 844b2a32ca..831f200b88 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -16,7 +16,7 @@ overrides:
'@lezer/common': 1.5.3
'@lezer/highlight': 1.2.4
'@lezer/lr': 1.4.10
- '@ai-sdk/provider-utils': 5.0.47
+ '@ai-sdk/provider-utils': 5.0.49
'@agentclientprotocol/codex-acp>@openai/codex': '-'
zod: 4.6.5
mermaid: 12.0.0
@@ -644,17 +644,17 @@ importers:
specifier: 1.13.1
version: 1.13.1
'@ai-sdk/anthropic':
- specifier: 4.0.63
- version: 4.0.63([email protected])
+ specifier: 4.0.65
+ version: 4.0.65([email protected])
'@ai-sdk/deepseek':
- specifier: 3.0.52
- version: 3.0.52([email protected])
+ specifier: 3.0.54
+ version: 3.0.54([email protected])
'@ai-sdk/google':
- specifier: 4.0.80
- version: 4.0.80([email protected])
+ specifier: 4.0.82
+ version: 4.0.82([email protected])
'@ai-sdk/openai':
- specifier: 4.0.75
- version: 4.0.75([email protected])
+ specifier: 4.0.78
+ version: 4.0.78([email protected])
'@anthropic-ai/claude-agent-sdk':
specifier: ^0.3.207
@@ -665,8 +665,8 @@ importers:
specifier: ^1.12.1
ai:
- specifier: 7.0.114
- version: 7.0.114([email protected])
+ specifier: 7.0.116
+ version: 7.0.116([email protected])
better-sqlite3:
specifier: 13.0.3
version: 13.0.3
@@ -1424,17 +1424,17 @@ importers:
packages/trilium-core:
dependencies:
'@ai-sdk/anthropic':
- specifier: 4.0.63
- version: 4.0.63([email protected])
+ specifier: 4.0.65
+ version: 4.0.65([email protected])
'@ai-sdk/deepseek':
- specifier: 3.0.52
- version: 3.0.52([email protected])
+ specifier: 3.0.54
+ version: 3.0.54([email protected])
'@ai-sdk/google':
- specifier: 4.0.80
- version: 4.0.80([email protected])
+ specifier: 4.0.82
+ version: 4.0.82([email protected])
'@ai-sdk/openai':
- specifier: 4.0.75
- version: 4.0.75([email protected])
+ specifier: 4.0.78
+ version: 4.0.78([email protected])
'@braintree/sanitize-url':
specifier: 7.1.2
version: 7.1.2
@@ -1448,8 +1448,8 @@ importers:
specifier: workspace:*
version: link:../turndown-plugin-gfm
ai:
- specifier: 7.0.114
- version: 7.0.114([email protected])
+ specifier: 7.0.116
+ version: 7.0.116([email protected])
async-mutex:
specifier: 0.5.0
version: 0.5.0
@@ -1586,38 +1586,38 @@ packages:
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-DuhaMr18pIvTLOd8sNm+kc1T/Uh0lv3prNKhgFMp0yXEnLy1MeHdoiokaimwHINPqI/9JzAiHZO/rq19L7iRQA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-3fmxxn5xWGOPU1wGrUCI30YFW5r6h2WrY+sz3rokkVlBHrDr889hPYP1yNoSmOVvtAwCFWlm79P2lRngIPOObg==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-6RBM7PAkHMUtIQqlrIx9jDmZk1Aof79ncMcR/4b57Y2sgeYZD7SVpvz/692aeCsz39PhH7aFUN3eKuJs67WvcA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-1ByKYV/uis+3U66kueMJgF2DjN0DcJVtacZf7s1+BttKQwIRmHhKnQ3aqDRlIzpc2as59eqO5dxGi8Bfii2Pnw==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-awX24+QedfcIDTAdwkCUNG08vPJjkQI9KZLGh4Ua+vNbgeaNFJre96OIbBefOD9XPHSVpdXjwqtWmo4Yh7oczw==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-hcp7GLnMynH6NfMnemgvW9acn7j3WsUe/dHFzX3/fhPit08xhm1aYmDGHMiIT6YwsXVBxkit9TriKb2SGAOg+Q==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-UIsUZwt5qaPeuhjYMz7EUYUk8iATuf6LvClyVvK2x17fiaDSOk+AhH4JCLsvOxjzH2JPKfZ3TR8NR0so0tlmcQ==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-2zPYyBSyIcywLtOEJRxlrtXjBjz4KxEU19Qqg/Dk8I9BrsB08+ghG2jv155dtuDZj8qZMrh6LO8J+Wt5O4xVhg==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-CMGKG95Q9gnycHr++W2z2JCizhRvIbvR/sKaZvxinnzpAS2UJeiL74DEAV8eNDJCZ3XWyeOvlKn9vZP3jqrv4g==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-S9WLSZUqebRjZbwYM8uorb4fsjo4Lhz/PGA3rWl01x88WeF/1PdHtNckcxqNZy5xMRzCHPVv9iA3F+ckV74zfA==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-NZQ1hMxY6Hd4ZiinjpU5HUOsyCHiTFkHw7AiM1EVN+Cd3kNTi47flZWNvFwGqnBojntB1+2eBRTeHRuVLtPhEg==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-T+/H8DCvqJoCqLhltVatS7ffA779Iyk/ZZrgNXkrgv51E0n2Cd6eIdCmtwhCGIKqtbTtwCvTmQdAMv5Z8rOGHQ==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
@@ -5683,8 +5683,8 @@ packages:
resolution: {integrity: sha512-TQf59BsZnytt8GdJKLPfUZ54g/iaUL2OWDSFCCvMOhsHduDQxO8xC4PNeyIkVcA5KwL2phPSv0douC0fgWzmnA==}
engines: {node: '>= 20'}
- resolution: {integrity: sha512-jRMOw7tPMWVYomoHWY5xHBXPQDyKTY1Pn3BX0Rh39UOP6y9FYq6xCIB6khgIC/b9CRg4+IxadwIbie+Eu7yU3g==}
+ resolution: {integrity: sha512-gmkVGPzTNPcJixBiG9zUvP3gmvwko85dHiKrxFKK0zcVJIIu1FP6YDo3jna+ZrC2twMAsUPLr5htCwZjCINH3Q==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.5
@@ -11869,38 +11869,38 @@ snapshots:
dependencies:
zod: 4.6.5
dependencies:
'@ai-sdk/provider': 4.0.18
- '@ai-sdk/provider-utils': 5.0.47([email protected])
+ '@ai-sdk/provider-utils': 5.0.49([email protected])
zod: 4.6.5
dependencies:
'@ai-sdk/provider': 4.0.18
- '@ai-sdk/provider-utils': 5.0.47([email protected])
+ '@ai-sdk/provider-utils': 5.0.49([email protected])
zod: 4.6.5
dependencies:
'@ai-sdk/provider': 4.0.18
- '@ai-sdk/provider-utils': 5.0.47([email protected])
+ '@ai-sdk/provider-utils': 5.0.49([email protected])
'@vercel/oidc': 3.2.0
zod: 4.6.5
dependencies:
'@ai-sdk/provider': 4.0.18
- '@ai-sdk/provider-utils': 5.0.47([email protected])
+ '@ai-sdk/provider-utils': 5.0.49([email protected])
zod: 4.6.5
dependencies:
'@ai-sdk/provider': 4.0.18
- '@ai-sdk/provider-utils': 5.0.47([email protected])
+ '@ai-sdk/provider-utils': 5.0.49([email protected])
zod: 4.6.5
dependencies:
'@ai-sdk/provider': 4.0.18
'@standard-schema/spec': 1.1.0
@@ -17176,11 +17176,11 @@ snapshots:
dependencies:
- '@ai-sdk/gateway': 4.0.92([email protected])
+ '@ai-sdk/gateway': 4.0.94([email protected])
'@ai-sdk/provider': 4.0.18
- '@ai-sdk/provider-utils': 5.0.47([email protected])
+ '@ai-sdk/provider-utils': 5.0.49([email protected])
zod: 4.6.5
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 099c863ff1..18dc1f5eaf 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.47"
+ "@ai-sdk/provider-utils": "5.0.49"
# 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": "-"