Skip to content

Build your personal knowledge base with Trilium Notes

Update ai sdk

renovate[bot]32e902233700
diff --git a/apps/server/package.json b/apps/server/package.json
index 0d46ee4c42..4d696b9c7d 100644
--- a/apps/server/package.json
+++ b/apps/server/package.json
@@ -32,12 +32,12 @@
"proxy-nginx-subdir": "docker run --name trilium-nginx-subdir --rm -p 8095:8095 --add-host=host.docker.internal:host-gateway -v ./docker/nginx.conf:/etc/nginx/conf.d/default.conf:ro nginx:latest"
},
"dependencies": {
- "@ai-sdk/anthropic": "4.0.41",
- "@ai-sdk/google": "4.0.50",
- "@ai-sdk/openai": "4.0.46",
+ "@ai-sdk/anthropic": "4.0.42",
+ "@ai-sdk/google": "4.0.51",
+ "@ai-sdk/openai": "4.0.47",
"@anthropic-ai/claude-agent-sdk": "^0.3.207",
"@modelcontextprotocol/sdk": "^1.12.1",
- "ai": "7.0.77",
+ "ai": "7.0.79",
"better-sqlite3": "13.0.3",
"html-to-text": "10.0.1",
"i18next": "26.4.0",
diff --git a/packages/trilium-core/package.json b/packages/trilium-core/package.json
index 66eb067769..2063617520 100644
--- a/packages/trilium-core/package.json
+++ b/packages/trilium-core/package.json
@@ -8,13 +8,13 @@
"update-model-prices": "tsx ./scripts/update-model-prices.ts"
},
"dependencies": {
- "@ai-sdk/anthropic": "4.0.41",
- "@ai-sdk/google": "4.0.50",
- "@ai-sdk/openai": "4.0.46",
+ "@ai-sdk/anthropic": "4.0.42",
+ "@ai-sdk/google": "4.0.51",
+ "@ai-sdk/openai": "4.0.47",
"@braintree/sanitize-url": "7.1.2",
"@triliumnext/commons": "workspace:*",
"@triliumnext/turndown-plugin-gfm": "workspace:*",
- "ai": "7.0.77",
+ "ai": "7.0.79",
"async-mutex": "0.5.0",
"chardet": "2.2.0",
"color": "5.0.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index e58d3e7b39..aedb659a1b 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -15,7 +15,7 @@ overrides:
'@lezer/common': 1.5.2
'@lezer/highlight': 1.2.3
'@lezer/lr': 1.4.10
- '@ai-sdk/provider-utils': 5.0.29
+ '@ai-sdk/provider-utils': 5.0.30
mermaid: 11.17.1
preact: 10.29.8
roughjs: 4.6.6
@@ -592,14 +592,14 @@ importers:
apps/server:
dependencies:
'@ai-sdk/anthropic':
- specifier: 4.0.41
- version: 4.0.41([email protected])
+ specifier: 4.0.42
+ version: 4.0.42([email protected])
'@ai-sdk/google':
- specifier: 4.0.50
- version: 4.0.50([email protected])
+ specifier: 4.0.51
+ version: 4.0.51([email protected])
'@ai-sdk/openai':
- specifier: 4.0.46
- version: 4.0.46([email protected])
+ specifier: 4.0.47
+ version: 4.0.47([email protected])
'@anthropic-ai/claude-agent-sdk':
specifier: ^0.3.207
@@ -607,8 +607,8 @@ importers:
specifier: ^1.12.1
ai:
- specifier: 7.0.77
- version: 7.0.77([email protected])
+ specifier: 7.0.79
+ version: 7.0.79([email protected])
better-sqlite3:
specifier: 13.0.3
version: 13.0.3
@@ -1378,14 +1378,14 @@ importers:
packages/trilium-core:
dependencies:
'@ai-sdk/anthropic':
- specifier: 4.0.41
- version: 4.0.41([email protected])
+ specifier: 4.0.42
+ version: 4.0.42([email protected])
'@ai-sdk/google':
- specifier: 4.0.50
- version: 4.0.50([email protected])
+ specifier: 4.0.51
+ version: 4.0.51([email protected])
'@ai-sdk/openai':
- specifier: 4.0.46
- version: 4.0.46([email protected])
+ specifier: 4.0.47
+ version: 4.0.47([email protected])
'@braintree/sanitize-url':
specifier: 7.1.2
version: 7.1.2
@@ -1396,8 +1396,8 @@ importers:
specifier: workspace:*
version: link:../turndown-plugin-gfm
ai:
- specifier: 7.0.77
- version: 7.0.77([email protected])
+ specifier: 7.0.79
+ version: 7.0.79([email protected])
async-mutex:
specifier: 0.5.0
version: 0.5.0
@@ -1513,38 +1513,38 @@ packages:
resolution: {integrity: sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg==}
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-So62as8fexWMmXMIxvrWVaDLjLRe6EG2+5mmRc1KCPBoyyyFx6zbTcCvxJkViSUHhsGMBDryAm+mfs91n7Jl8g==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-U3RJDo2/rWdH6SjSbA2Owd30ZawKwt4zFTqteTTn6Po0vEW1ec1KXf6s1nwNE3mxCqKrQWEavU21C46AfGYaeg==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-zR3pustGWhw5eUZHG+fJZx/V/PBe+LxdDpc5hDFWxozG/3MB/+eY62jn+YiR+9uOH+Hx63e5zJoeKLfZfPktWQ==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-iayK1z11I0b3sgbP3j6eKQypfpwO5Fbtaq1Mkwv7YxwGQG1YTNr5QAjyYsSfqyf/58WUOLWz2cTBpk+ExZVgpw==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-n7aMmqw6ZGVNBDAiv89fZkuZp3ahfzwZTXsdW27WugXdFSIuLTlYBZ+FlKGRdk1pRMPrdIGT2GPL2Ra0Gc2Tkg==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-VAVXFtmMwrMDWgWzONew3yBFuE+ktfPJQn554+bOgUspNSMqIAm6PJRU6Mdd4M+4xCUAJi5H5tVtFF0+Je+Eog==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-J53QUkZGOV9YIYf9caVjejdPZfVZ3V2xD5KyTAmMWFiMDkC/IcifEQHJferpGFaQkfmSehPGVPCLE4g8+VdkTA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-5/Lm29x7Z+GvUuzW3Hj6WXIgcdU7rBlpmnZPRVIUh7dhLus021upunjzpteYaH5v+JBQKC+Fg6BkRYrazysgTQ==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-7EIbwXiXKGa7EFk6tDZpuZBs6lxhEJpOuHeqrDb3Vd85uYdjwkdRuHnZDVDIIb2+QTSRmyph2NrXcbvuO/KAjQ==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-9TyxUXolql77ntHIeygLqt7PO1O0HZPB73cJhLG2OsPecSBRIZhNXLxT1T7rlL6Zpm1eDoLMFrMV99kAJ28/Sg==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-6or44XprPzKbr8zkmzosowSE0pxkvJcoojBL+mCZvPUt3kvXp3XSNqeVun9golb1acEfSo6yaEBRT18h2VU+1Q==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-aWO7iwhFUGf347tCwNGggggfmZigaSu7TF739IZSrWWABUp7zkb4Cr3fMqvBe5EIS7ABJJu3Cadn0g/zs1G0QQ==}
engines: {node: '>=22'}
'@aklinker1/[email protected]':
@@ -5974,8 +5974,8 @@ packages:
resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==}
engines: {node: '>=8'}
- resolution: {integrity: sha512-muLtBSTAUCreR77L16w4AFBiX2gK/RNt84EKp8m03SN9+MfNlC5EGqYYttRjYKV3xe0a33yj1Zawj1EnjejIWw==}
+ resolution: {integrity: sha512-zZkSUq6MgmXjwIfML2wkPFeQ5Azk8kGEWkciAtE0NgnFy3slj4ljsw5LvigsCbYXxTSVr+6iCHBTPZafpx1P0w==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
@@ -12447,41 +12447,41 @@ snapshots:
'@adobe/[email protected]': {}
dependencies:
- '@ai-sdk/provider': 4.0.7
- '@ai-sdk/provider-utils': 5.0.29([email protected])
+ '@ai-sdk/provider': 4.0.8
+ '@ai-sdk/provider-utils': 5.0.30([email protected])
zod: 4.4.3
dependencies:
- '@ai-sdk/provider': 4.0.7
- '@ai-sdk/provider-utils': 5.0.29([email protected])
+ '@ai-sdk/provider': 4.0.8
+ '@ai-sdk/provider-utils': 5.0.30([email protected])
'@vercel/oidc': 3.2.0
zod: 4.4.3
dependencies:
- '@ai-sdk/provider': 4.0.7
- '@ai-sdk/provider-utils': 5.0.29([email protected])
+ '@ai-sdk/provider': 4.0.8
+ '@ai-sdk/provider-utils': 5.0.30([email protected])
zod: 4.4.3
dependencies:
- '@ai-sdk/provider': 4.0.7
- '@ai-sdk/provider-utils': 5.0.29([email protected])
+ '@ai-sdk/provider': 4.0.8
+ '@ai-sdk/provider-utils': 5.0.30([email protected])
zod: 4.4.3
dependencies:
- '@ai-sdk/provider': 4.0.7
+ '@ai-sdk/provider': 4.0.8
'@standard-schema/spec': 1.1.0
'@workflow/serde': 4.1.0
eventsource-parser: 3.1.0
undici: 7.28.0
zod: 4.4.3
- '@ai-sdk/[email protected]':
+ '@ai-sdk/[email protected]':
dependencies:
json-schema: 0.4.0
@@ -18648,11 +18648,11 @@ snapshots:
clean-stack: 2.2.0
indent-string: 4.0.0
dependencies:
- '@ai-sdk/gateway': 4.0.62([email protected])
- '@ai-sdk/provider': 4.0.7
- '@ai-sdk/provider-utils': 5.0.29([email protected])
+ '@ai-sdk/gateway': 4.0.64([email protected])
+ '@ai-sdk/provider': 4.0.8
+ '@ai-sdk/provider-utils': 5.0.30([email protected])
zod: 4.4.3
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 7c55d40167..a999a57516 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -35,7 +35,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.29"
+ "@ai-sdk/provider-utils": "5.0.30"
"mermaid": "11.17.1"
"preact": "10.29.8"
"roughjs": "4.6.6"