Skip to content

Build your personal knowledge base with Trilium Notes

Update ai sdk

renovate[bot]593cd6297a5a
diff --git a/apps/server/package.json b/apps/server/package.json
index e6f018b24c..e75252c7a8 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.45",
- "@ai-sdk/google": "4.0.57",
- "@ai-sdk/openai": "4.0.51",
+ "@ai-sdk/anthropic": "4.0.46",
+ "@ai-sdk/google": "4.0.59",
+ "@ai-sdk/openai": "4.0.53",
"@anthropic-ai/claude-agent-sdk": "^0.3.207",
"@modelcontextprotocol/sdk": "^1.12.1",
- "ai": "7.0.84",
+ "ai": "7.0.87",
"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 f6d1312848..7046341151 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.45",
- "@ai-sdk/google": "4.0.57",
- "@ai-sdk/openai": "4.0.51",
+ "@ai-sdk/anthropic": "4.0.46",
+ "@ai-sdk/google": "4.0.59",
+ "@ai-sdk/openai": "4.0.53",
"@braintree/sanitize-url": "7.1.2",
"@triliumnext/commons": "workspace:*",
"@triliumnext/turndown-plugin-gfm": "workspace:*",
- "ai": "7.0.84",
+ "ai": "7.0.87",
"async-mutex": "0.5.0",
"chardet": "2.2.0",
"color": "5.0.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 7080dc3f44..7e148e0d91 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -16,7 +16,7 @@ overrides:
'@lezer/common': 1.5.2
'@lezer/highlight': 1.2.3
'@lezer/lr': 1.4.10
- '@ai-sdk/provider-utils': 5.0.33
+ '@ai-sdk/provider-utils': 5.0.34
mermaid: 11.17.2
preact: 10.29.8
roughjs: 4.6.6
@@ -593,14 +593,14 @@ importers:
apps/server:
dependencies:
'@ai-sdk/anthropic':
- specifier: 4.0.45
- version: 4.0.45([email protected])
+ specifier: 4.0.46
+ version: 4.0.46([email protected])
'@ai-sdk/google':
- specifier: 4.0.57
- version: 4.0.57([email protected])
+ specifier: 4.0.59
+ version: 4.0.59([email protected])
'@ai-sdk/openai':
- specifier: 4.0.51
- version: 4.0.51([email protected])
+ specifier: 4.0.53
+ version: 4.0.53([email protected])
'@anthropic-ai/claude-agent-sdk':
specifier: ^0.3.207
@@ -608,8 +608,8 @@ importers:
specifier: ^1.12.1
ai:
- specifier: 7.0.84
- version: 7.0.84([email protected])
+ specifier: 7.0.87
+ version: 7.0.87([email protected])
better-sqlite3:
specifier: 13.0.3
version: 13.0.3
@@ -1379,14 +1379,14 @@ importers:
packages/trilium-core:
dependencies:
'@ai-sdk/anthropic':
- specifier: 4.0.45
- version: 4.0.45([email protected])
+ specifier: 4.0.46
+ version: 4.0.46([email protected])
'@ai-sdk/google':
- specifier: 4.0.57
- version: 4.0.57([email protected])
+ specifier: 4.0.59
+ version: 4.0.59([email protected])
'@ai-sdk/openai':
- specifier: 4.0.51
- version: 4.0.51([email protected])
+ specifier: 4.0.53
+ version: 4.0.53([email protected])
'@braintree/sanitize-url':
specifier: 7.1.2
version: 7.1.2
@@ -1397,8 +1397,8 @@ importers:
specifier: workspace:*
version: link:../turndown-plugin-gfm
ai:
- specifier: 7.0.84
- version: 7.0.84([email protected])
+ specifier: 7.0.87
+ version: 7.0.87([email protected])
async-mutex:
specifier: 0.5.0
version: 0.5.0
@@ -1514,38 +1514,38 @@ packages:
resolution: {integrity: sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg==}
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-2h1WYU1VdfkI6CU3mLes7Vh4Ua3jq5LDE1ciMgUymLNS7ZbtqhgVzBBPhnOdg83lnkYTAOeApCgkGOdwJHxdkA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-/q/wWLArkavQHeOYdv8kZyJRTuasTRwrzoAnvUaY0sHx/BGDYDWW9ENn7lu/H5iUeYId6NhtYAVv+TlqHpp9Cg==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-XKvZv6HFoMOWK64zXMaQatk4SxBzBDkGg7enXPWsCkxqPP4zDhFewOoBKasf3FPnZP9ceE+Yj3BgW925blAWtw==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-0tzAH2vwXOs/kVktAZRS04dATEQJk1hf1QR+VuVfvo9QmW3UPgcjhhJD9QFgP8HZLxkrEGDImwLIQ7sUfQTIsA==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-/d4DKIDB5iTQ3X2PDDEdU5cQlLAC3qW7UL2WP+U7QKrr1tCJ58PFRd35NWieahxFe0yQF7PZrHdi212ALSy1Hw==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-5fAbNdudYEB+PE+QkXl0tjdGpn+8nmVWVFSlOzFnwXZv1v8/8/IzM0iyMNzcvqW5Xh4MjdWJrxo+GWkMiDbOyw==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-ByLpf4FrmiAFFV/hI2f3EwtuRR+e0AWttik2UsUgTpS10KIGEOvdO6RSMcMcDINQyqIQh8iCb9V7MC/6RtmDsg==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-2hoR6/HVmNZenRGgRcEJqJcT4kq69uqjzMqZMjWj4yT79kbzlcgoGiaX0KaK3mgiEeSOaG7gQ2cVJ/Gtl8KCUA==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-TfjJqJmRsQyxAlb+3hGmP1o1xLUIT79yhOgtJuTF4hqsB37IC3CufGsuFhU04EeTOg7R9iptQ6Bzm0MW0n/c3g==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-tRBdgRcys/4d8wyQdOdyYScq1AxfMdMd0hIlwolxJKVIbBwXUgClZuQT0VIsz4e7pylY8FE6utYCCZ494UAMJQ==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-aWO7iwhFUGf347tCwNGggggfmZigaSu7TF739IZSrWWABUp7zkb4Cr3fMqvBe5EIS7ABJJu3Cadn0g/zs1G0QQ==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-XnGXPWiBIfqjsVEud5pOaVneRByJQOu2sYNwlSVJTPCvakdCDkVuYKKfNuStkIpMUYl7JIkBZGBx+B5YfNeVjA==}
engines: {node: '>=22'}
'@aklinker1/[email protected]':
@@ -5913,8 +5913,8 @@ packages:
resolution: {integrity: sha512-TQf59BsZnytt8GdJKLPfUZ54g/iaUL2OWDSFCCvMOhsHduDQxO8xC4PNeyIkVcA5KwL2phPSv0douC0fgWzmnA==}
engines: {node: '>= 20'}
- resolution: {integrity: sha512-znHNBWADOy79k8EK7636kDm5LmnjF4tMzegC2TfmlLDobDZbs0z0OXD2sxtH3eDTp5Re+pJQESvjinWJ6+kadQ==}
+ resolution: {integrity: sha512-/hrT7toRx8vLIyr/lTKOOPDxCGdxk2tVs5viHDwIPlUsge5FBaLe9h3BhPAr7cOmEAXkN/Cf2+2N8HYGCjJbHg==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
@@ -12281,41 +12281,41 @@ snapshots:
'@adobe/[email protected]': {}
dependencies:
- '@ai-sdk/provider': 4.0.8
- '@ai-sdk/provider-utils': 5.0.33([email protected])
+ '@ai-sdk/provider': 4.0.9
+ '@ai-sdk/provider-utils': 5.0.34([email protected])
zod: 4.4.3
dependencies:
- '@ai-sdk/provider': 4.0.8
- '@ai-sdk/provider-utils': 5.0.33([email protected])
+ '@ai-sdk/provider': 4.0.9
+ '@ai-sdk/provider-utils': 5.0.34([email protected])
'@vercel/oidc': 3.2.0
zod: 4.4.3
dependencies:
- '@ai-sdk/provider': 4.0.8
- '@ai-sdk/provider-utils': 5.0.33([email protected])
+ '@ai-sdk/provider': 4.0.9
+ '@ai-sdk/provider-utils': 5.0.34([email protected])
zod: 4.4.3
dependencies:
- '@ai-sdk/provider': 4.0.8
- '@ai-sdk/provider-utils': 5.0.33([email protected])
+ '@ai-sdk/provider': 4.0.9
+ '@ai-sdk/provider-utils': 5.0.34([email protected])
zod: 4.4.3
dependencies:
- '@ai-sdk/provider': 4.0.8
+ '@ai-sdk/provider': 4.0.9
'@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
@@ -18389,11 +18389,11 @@ snapshots:
dependencies:
- '@ai-sdk/gateway': 4.0.68([email protected])
- '@ai-sdk/provider': 4.0.8
- '@ai-sdk/provider-utils': 5.0.33([email protected])
+ '@ai-sdk/gateway': 4.0.70([email protected])
+ '@ai-sdk/provider': 4.0.9
+ '@ai-sdk/provider-utils': 5.0.34([email protected])
zod: 4.4.3
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index cc02cad9b1..7f314c956b 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.33"
+ "@ai-sdk/provider-utils": "5.0.34"
"mermaid": "11.17.2"
"preact": "10.29.8"
"roughjs": "4.6.6"