Skip to content

Build your personal knowledge base with Trilium Notes

Update ai sdk

renovate[bot]d3e34ce0dc12
diff --git a/apps/server/package.json b/apps/server/package.json
index 9ca4890f3a..5107f44a1b 100644
--- a/apps/server/package.json
+++ b/apps/server/package.json
@@ -29,15 +29,15 @@
},
"dependencies": {
"@agentclientprotocol/codex-acp": "2.2.2",
- "@ai-sdk/anthropic": "4.0.85",
- "@ai-sdk/deepseek": "3.0.70",
- "@ai-sdk/google": "4.0.102",
- "@ai-sdk/openai": "4.0.99",
+ "@ai-sdk/anthropic": "4.0.88",
+ "@ai-sdk/deepseek": "3.0.73",
+ "@ai-sdk/google": "4.0.105",
+ "@ai-sdk/openai": "4.0.102",
"@anthropic-ai/claude-agent-sdk": "^0.3.207",
"@hyzyla/pdfium": "3.0.0",
"@modelcontextprotocol/sdk": "^1.12.1",
"@openrouter/ai-sdk-provider": "3.1.0",
- "ai": "7.0.148",
+ "ai": "7.0.153",
"better-sqlite3": "13.0.3",
"i18next": "26.5.5",
"ipaddr.js": "^2.4.0",
diff --git a/packages/trilium-core/package.json b/packages/trilium-core/package.json
index f0c5312bb4..2d1f617050 100644
--- a/packages/trilium-core/package.json
+++ b/packages/trilium-core/package.json
@@ -8,10 +8,10 @@
"update-model-prices": "tsx ./scripts/update-model-prices.ts"
},
"dependencies": {
- "@ai-sdk/anthropic": "4.0.85",
- "@ai-sdk/deepseek": "3.0.70",
- "@ai-sdk/google": "4.0.102",
- "@ai-sdk/openai": "4.0.99",
+ "@ai-sdk/anthropic": "4.0.88",
+ "@ai-sdk/deepseek": "3.0.73",
+ "@ai-sdk/google": "4.0.105",
+ "@ai-sdk/openai": "4.0.102",
"@braintree/sanitize-url": "7.1.2",
"@openrouter/ai-sdk-provider": "3.1.0",
"@triliumnext/codemirror": "workspace:*",
@@ -19,7 +19,7 @@
"@triliumnext/highlightjs": "workspace:*",
"@triliumnext/share-theme": "workspace:*",
"@triliumnext/turndown-plugin-gfm": "workspace:*",
- "ai": "7.0.148",
+ "ai": "7.0.153",
"async-mutex": "0.5.0",
"chardet": "2.2.0",
"color": "5.0.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index c9f12529dd..efddecf7f0 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.65
+ '@ai-sdk/provider-utils': 5.0.68
'@agentclientprotocol/codex-acp>@openai/codex': '-'
zod: 4.6.7
mermaid: 12.2.0
@@ -638,17 +638,17 @@ importers:
specifier: 2.2.2
version: 2.2.2
'@ai-sdk/anthropic':
- specifier: 4.0.85
- version: 4.0.85([email protected])
+ specifier: 4.0.88
+ version: 4.0.88([email protected])
'@ai-sdk/deepseek':
- specifier: 3.0.70
- version: 3.0.70([email protected])
+ specifier: 3.0.73
+ version: 3.0.73([email protected])
'@ai-sdk/google':
+ specifier: 4.0.105
+ version: 4.0.105([email protected])
+ '@ai-sdk/openai':
specifier: 4.0.102
version: 4.0.102([email protected])
- '@ai-sdk/openai':
- specifier: 4.0.99
- version: 4.0.99([email protected])
'@anthropic-ai/claude-agent-sdk':
specifier: ^0.3.207
@@ -660,10 +660,10 @@ importers:
'@openrouter/ai-sdk-provider':
specifier: 3.1.0
ai:
- specifier: 7.0.148
- version: 7.0.148([email protected])
+ specifier: 7.0.153
+ version: 7.0.153([email protected])
better-sqlite3:
specifier: 13.0.3
version: 13.0.3
@@ -1442,23 +1442,23 @@ importers:
packages/trilium-core:
dependencies:
'@ai-sdk/anthropic':
- specifier: 4.0.85
- version: 4.0.85([email protected])
+ specifier: 4.0.88
+ version: 4.0.88([email protected])
'@ai-sdk/deepseek':
- specifier: 3.0.70
- version: 3.0.70([email protected])
+ specifier: 3.0.73
+ version: 3.0.73([email protected])
'@ai-sdk/google':
+ specifier: 4.0.105
+ version: 4.0.105([email protected])
+ '@ai-sdk/openai':
specifier: 4.0.102
version: 4.0.102([email protected])
- '@ai-sdk/openai':
- specifier: 4.0.99
- version: 4.0.99([email protected])
'@braintree/sanitize-url':
specifier: 7.1.2
version: 7.1.2
'@openrouter/ai-sdk-provider':
specifier: 3.1.0
'@triliumnext/codemirror':
specifier: workspace:*
version: link:../codemirror
@@ -1475,8 +1475,8 @@ importers:
specifier: workspace:*
version: link:../turndown-plugin-gfm
ai:
- specifier: 7.0.148
- version: 7.0.148([email protected])
+ specifier: 7.0.153
+ version: 7.0.153([email protected])
async-mutex:
specifier: 0.5.0
version: 0.5.0
@@ -1610,44 +1610,44 @@ packages:
peerDependencies:
zod: 4.6.7
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-nfv/vtR4HuNUZyCzdK37d2CaW1mzeZJlzSmC+4Jn8Dn8ces8R9HOAgF9d+8iwx+SedmzurKQQmNvJ7xYGBcPMQ==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-7h/rI3jLCfLbQsjVt37Q5PCEGOHrpVgrO2zl+y///UpUcWfiRDcqk8DL7br//OFxiEhyxgeIoU/5ulsN1llOyg==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.7
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-smmwv3BVWiu5y71F6gxOOOVptjFbmKNlbLnBzwTADSPa0EQG3fJ5PYilJ65NsWbduNSsziMBB9UITHvAuoOsTA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-Ut7tXu4mKWXxY6pQfx/3EQZpvjfql0DEGtPCgCAvT5yz3zfuAuq9jHKELK07Ft15rQGM5gvAlWE7sAIsz8ZvDw==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.7
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-cPNXvQ4B5OkmVAm98Dxe1fHdMthyqqqAG0HJx3D92NUa9FpcvkNxdAqiuZdeAhNAodFb9lBrslzzzEwxuVS53A==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-gOrvnfrWxslTws5puMe+CvEDjZ0rxbpQYLZgdngQl1g/z3mRc5sllcflVAhy2xJSZacrWtsXwua+NJoc/IKZDw==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.7
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-xbiBNOPcHDnxIGPhPAdHAhf1EAw7KuwMAP4/urT7mYBEwoIfEfFr7hVm2c0HQwrtL0hokw6WtpkolBec92vt1A==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-CTeWVshKJKilEWQwqrjHG6GYUE0f/BbeDDUtRestAoH9vEf0f1YariQYbu69fPJGa6itc0pMdqvHzTWqAVD1OA==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.7
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-XRHUiXgxhVEe0smSp537lzCqMsOVg6jvGTWDbTZeGMTc+iHeOwgHgZMFBvOiNWXZ8n125Jta72m+64PtU1WNJA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-8hvs5UO6OgGSR0HASptyopqoJYgdCccVfksUlBLeJ8/h2KoKYU2ZiFjArOkS6ciJbmnDz3G+Zoo4KiI4rlQSoA==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.7
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-LCugcsP8oWmdeI3BASf4Fuo1wiC6Qx0YrefFssl7n12s+LV4DNi5RdwWQrtrB4oek3GGNQRN/h/NSwVZM2eHKw==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-SASuC1DqSdWoYyYfpxbgPKm9VCnMP1VTahWY7WEYzi2QDmFdbw4runqmH7NKC33iB/INo+XbaN2hH3dXHSNQZw==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.7
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-3wJnwVTFg8SwOyoZCv+ov7Re2GB+7IQnU5a5MYJACrtiWDDUHgqTBeeesq2MB2ddgojzL8hgWleltwpAgtUqfg==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-Ip7ZQBq/FiGpM1mmOVseTtX9PBjnzo0bLC41WTgBSBBRUBz6LhNFGbYaNUzI6hPm6ll1oNSPOAZc/q/z+3QZEQ==}
engines: {node: '>=22'}
'@aklinker1/[email protected]':
@@ -5684,8 +5684,8 @@ packages:
resolution: {integrity: sha512-TQf59BsZnytt8GdJKLPfUZ54g/iaUL2OWDSFCCvMOhsHduDQxO8xC4PNeyIkVcA5KwL2phPSv0douC0fgWzmnA==}
engines: {node: '>= 20'}
- resolution: {integrity: sha512-FPgfIAhz/FrlzcvqTN7pGGibahR5rD19NXZWX9WQ1tskTic+CN+jxvubpreyq8uN1maIEHPwvZmil/3IYN8FIw==}
+ resolution: {integrity: sha512-Ib8v374jWn9FXsjADXodRaP7fsMutlmPsbTLT5gYBDyadFcF9XxfYX1CSSxgSvE1r06MmOeYVwvQjFb3CcBi1Q==}
engines: {node: '>=22'}
peerDependencies:
zod: 4.6.7
@@ -12017,47 +12017,47 @@ snapshots:
dependencies:
zod: 4.6.7
dependencies:
- '@ai-sdk/provider': 4.0.31
- '@ai-sdk/provider-utils': 5.0.65([email protected])
+ '@ai-sdk/provider': 4.0.34
+ '@ai-sdk/provider-utils': 5.0.68([email protected])
zod: 4.6.7
dependencies:
- '@ai-sdk/provider': 4.0.31
- '@ai-sdk/provider-utils': 5.0.65([email protected])
+ '@ai-sdk/provider': 4.0.34
+ '@ai-sdk/provider-utils': 5.0.68([email protected])
zod: 4.6.7
dependencies:
- '@ai-sdk/provider': 4.0.31
- '@ai-sdk/provider-utils': 5.0.65([email protected])
+ '@ai-sdk/provider': 4.0.34
+ '@ai-sdk/provider-utils': 5.0.68([email protected])
'@vercel/oidc': 3.2.0
zod: 4.6.7
dependencies:
- '@ai-sdk/provider': 4.0.31
- '@ai-sdk/provider-utils': 5.0.65([email protected])
+ '@ai-sdk/provider': 4.0.34
+ '@ai-sdk/provider-utils': 5.0.68([email protected])
zod: 4.6.7
dependencies:
- '@ai-sdk/provider': 4.0.31
- '@ai-sdk/provider-utils': 5.0.65([email protected])
+ '@ai-sdk/provider': 4.0.34
+ '@ai-sdk/provider-utils': 5.0.68([email protected])
zod: 4.6.7
dependencies:
- '@ai-sdk/provider': 4.0.31
+ '@ai-sdk/provider': 4.0.34
'@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
@@ -14858,9 +14858,9 @@ snapshots:
dependencies:
'@octokit/openapi-types': 29.0.1
dependencies:
- ai: 7.0.148([email protected])
+ ai: 7.0.153([email protected])
zod: 4.6.7
'@oxc-project/[email protected]': {}
@@ -17114,11 +17114,11 @@ snapshots:
dependencies:
- '@ai-sdk/gateway': 4.0.121([email protected])
- '@ai-sdk/provider': 4.0.31
- '@ai-sdk/provider-utils': 5.0.65([email protected])
+ '@ai-sdk/gateway': 4.0.126([email protected])
+ '@ai-sdk/provider': 4.0.34
+ '@ai-sdk/provider-utils': 5.0.68([email protected])
zod: 4.6.7
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 29a9cde944..392698e8d8 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.65"
+ "@ai-sdk/provider-utils": "5.0.68"
# 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": "-"