Skip to content

Build your personal knowledge base with Trilium Notes

fix(deps): update ai sdk

renovate[bot]e26ee9178a95
diff --git a/apps/server/package.json b/apps/server/package.json
index 935cd54171..4549276477 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 --network=host -v ./docker/nginx.conf:/etc/nginx/conf.d/default.conf:ro nginx:latest"
},
"dependencies": {
- "@ai-sdk/anthropic": "4.0.37",
- "@ai-sdk/google": "4.0.41",
- "@ai-sdk/openai": "4.0.37",
+ "@ai-sdk/anthropic": "4.0.38",
+ "@ai-sdk/google": "4.0.42",
+ "@ai-sdk/openai": "4.0.40",
"@anthropic-ai/claude-agent-sdk": "^0.3.207",
"@modelcontextprotocol/sdk": "^1.12.1",
- "ai": "7.0.59",
+ "ai": "7.0.62",
"better-sqlite3": "13.0.3",
"html-to-text": "10.0.0",
"i18next": "26.3.6",
diff --git a/packages/trilium-core/package.json b/packages/trilium-core/package.json
index f5f830c9ec..92d6badaa2 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.37",
- "@ai-sdk/google": "4.0.41",
- "@ai-sdk/openai": "4.0.37",
+ "@ai-sdk/anthropic": "4.0.38",
+ "@ai-sdk/google": "4.0.42",
+ "@ai-sdk/openai": "4.0.40",
"@braintree/sanitize-url": "7.1.2",
"@triliumnext/commons": "workspace:*",
"@triliumnext/turndown-plugin-gfm": "workspace:*",
- "ai": "7.0.59",
+ "ai": "7.0.62",
"async-mutex": "0.5.0",
"chardet": "2.2.0",
"color": "5.0.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 3781d1ced9..8a575ec9ae 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.26
+ '@ai-sdk/provider-utils': 5.0.27
mermaid: 11.16.1
preact: 10.29.8
roughjs: 4.6.6
@@ -589,14 +589,14 @@ importers:
apps/server:
dependencies:
'@ai-sdk/anthropic':
- specifier: 4.0.37
- version: 4.0.37([email protected])
+ specifier: 4.0.38
+ version: 4.0.38([email protected])
'@ai-sdk/google':
- specifier: 4.0.41
- version: 4.0.41([email protected])
+ specifier: 4.0.42
+ version: 4.0.42([email protected])
'@ai-sdk/openai':
- specifier: 4.0.37
- version: 4.0.37([email protected])
+ specifier: 4.0.40
+ version: 4.0.40([email protected])
'@anthropic-ai/claude-agent-sdk':
specifier: ^0.3.207
@@ -604,8 +604,8 @@ importers:
specifier: ^1.12.1
ai:
- specifier: 7.0.59
- version: 7.0.59([email protected])
+ specifier: 7.0.62
+ version: 7.0.62([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.37
- version: 4.0.37([email protected])
+ specifier: 4.0.38
+ version: 4.0.38([email protected])
'@ai-sdk/google':
- specifier: 4.0.41
- version: 4.0.41([email protected])
+ specifier: 4.0.42
+ version: 4.0.42([email protected])
'@ai-sdk/openai':
- specifier: 4.0.37
- version: 4.0.37([email protected])
+ specifier: 4.0.40
+ version: 4.0.40([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.59
- version: 7.0.59([email protected])
+ specifier: 7.0.62
+ version: 7.0.62([email protected])
async-mutex:
specifier: 0.5.0
version: 0.5.0
@@ -1513,32 +1513,32 @@ packages:
resolution: {integrity: sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg==}
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-3JVFoPkuVyW/TkUrsNpugQDwJa5RUnExK/J3LKhKece+qFv7MRR33URvmLbND/5yg2qXZ9rf+Wf97adGMltn0g==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-esbTb5jq/37dloBJzld3CpYCZskiDWGcI4O8kzst9J/0Km4by7cgQXLTB/gGdjXxBsyjPQUeotVqqRRIrx2zew==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-BuWWlA8atWEnEJzN4eamCpGZWkoK9V3TCyNaMwgRIazhqkgWkA1Wp36si3j2JeVYzlvlEAOWrJ92dr92j/Vkqg==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-qdSUr4FAN7e+MHBdVzkmbGMtpf7XQdQp1AgMI3jV0QPmld/4k4QbR7mXRQgjUsPeIfAwBzMPMPziHAPP1tXRwg==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-1Kl5R61DyB5MaMZvAVBoTO0ZWsxOjRzAfMuYeo5sIg9++i9mJpkpcvxLDcpw9coLzVWIPstYaTktWI+F7ehQ1g==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-wFo4SmIEKd7kr+x0HvIRQG1E5ye+aW+Lqsg2IM54de4YxaN27iXb7AAvAvp496MNar7DrxgE1QHQ0vZ7hMFG3w==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-rQIdkvqHaqyu94zMJKkhucRwsyTpYUmI+vrH/Dm1Erc6ypURikOV+9e51Pni6RL8IxFlu2bv6y8hA1ghzCy7Gw==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-efidMH4glnomQM8XtAAmL7tn06D1YvBeqXRE0qCEcDamvpEGrROJePxCq+31L5BnuglngWW2ZapddCoshJ0kMA==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-0mqhqx+Dcv+msI84+zkbLXmnCHb/mpkYJ9DU3HBvB1px+UjFQss4lLZqRCSzJ0w3NxwQk4Ishk7cP0r8wEQD5w==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-EzAn4pdgG5g0xXtH6lE2zyNmfjDQIDjATkfqzuidEI35g++hh4+07vnjzkT/RmGmIClPZiRj/Q2GMPV2V7mkHw==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
@@ -6072,8 +6072,8 @@ packages:
resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==}
engines: {node: '>=8'}
- resolution: {integrity: sha512-p10cqg8KvLIZi7Gk+XsQjoYoLENoDdEYvehP0rSo6Wg15nbCmP+nwIy1rOIX+WGIDWGdI+jmhjVx5fXShBVC3w==}
+ resolution: {integrity: sha512-/YiuaaFIUPAiGqzHphnu9NuHQKbToZjlZkKoqGsQx6TFd7CZj6Z3eQUNeK6er1kXb9Ou5hRntRX4dvvE/kHYiQ==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
@@ -12578,32 +12578,32 @@ snapshots:
'@adobe/[email protected]': {}
dependencies:
'@ai-sdk/provider': 4.0.7
- '@ai-sdk/provider-utils': 5.0.26([email protected])
+ '@ai-sdk/provider-utils': 5.0.27([email protected])
zod: 4.4.3
dependencies:
'@ai-sdk/provider': 4.0.7
- '@ai-sdk/provider-utils': 5.0.26([email protected])
+ '@ai-sdk/provider-utils': 5.0.27([email protected])
'@vercel/oidc': 3.2.0
zod: 4.4.3
dependencies:
'@ai-sdk/provider': 4.0.7
- '@ai-sdk/provider-utils': 5.0.26([email protected])
+ '@ai-sdk/provider-utils': 5.0.27([email protected])
zod: 4.4.3
dependencies:
'@ai-sdk/provider': 4.0.7
- '@ai-sdk/provider-utils': 5.0.26([email protected])
+ '@ai-sdk/provider-utils': 5.0.27([email protected])
zod: 4.4.3
dependencies:
'@ai-sdk/provider': 4.0.7
'@standard-schema/spec': 1.1.0
@@ -18865,11 +18865,11 @@ snapshots:
clean-stack: 2.2.0
indent-string: 4.0.0
dependencies:
- '@ai-sdk/gateway': 4.0.47([email protected])
+ '@ai-sdk/gateway': 4.0.49([email protected])
'@ai-sdk/provider': 4.0.7
- '@ai-sdk/provider-utils': 5.0.26([email protected])
+ '@ai-sdk/provider-utils': 5.0.27([email protected])
zod: 4.4.3
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 41098caa60..f26eb99886 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.26"
+ "@ai-sdk/provider-utils": "5.0.27"
"mermaid": "11.16.1"
"preact": "10.29.8"
"roughjs": "4.6.6"