Skip to content

Build your personal knowledge base with Trilium Notes

fix(deps): update ai sdk

renovate[bot]52d7308b98b8
diff --git a/apps/server/package.json b/apps/server/package.json
index b837d5d476..75b023dac3 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.30",
- "@ai-sdk/google": "4.0.34",
- "@ai-sdk/openai": "4.0.30",
+ "@ai-sdk/anthropic": "4.0.34",
+ "@ai-sdk/google": "4.0.37",
+ "@ai-sdk/openai": "4.0.34",
"@anthropic-ai/claude-agent-sdk": "^0.3.207",
"@modelcontextprotocol/sdk": "^1.12.1",
- "ai": "7.0.52",
+ "ai": "7.0.56",
"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 9cbfcc514a..24a7e04b30 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.30",
- "@ai-sdk/google": "4.0.34",
- "@ai-sdk/openai": "4.0.30",
+ "@ai-sdk/anthropic": "4.0.34",
+ "@ai-sdk/google": "4.0.37",
+ "@ai-sdk/openai": "4.0.34",
"@braintree/sanitize-url": "7.1.2",
"@triliumnext/commons": "workspace:*",
"@triliumnext/turndown-plugin-gfm": "workspace:*",
- "ai": "7.0.52",
+ "ai": "7.0.56",
"async-mutex": "0.5.0",
"chardet": "2.2.0",
"color": "5.0.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index e117d0009a..97fa966486 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.21
+ '@ai-sdk/provider-utils': 5.0.23
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.30
- version: 4.0.30([email protected])
- '@ai-sdk/google':
specifier: 4.0.34
version: 4.0.34([email protected])
+ '@ai-sdk/google':
+ specifier: 4.0.37
+ version: 4.0.37([email protected])
'@ai-sdk/openai':
- specifier: 4.0.30
- version: 4.0.30([email protected])
+ specifier: 4.0.34
+ version: 4.0.34([email protected])
'@anthropic-ai/claude-agent-sdk':
specifier: ^0.3.207
@@ -604,8 +604,8 @@ importers:
specifier: ^1.12.1
ai:
- specifier: 7.0.52
- version: 7.0.52([email protected])
+ specifier: 7.0.56
+ version: 7.0.56([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.30
- version: 4.0.30([email protected])
- '@ai-sdk/google':
specifier: 4.0.34
version: 4.0.34([email protected])
+ '@ai-sdk/google':
+ specifier: 4.0.37
+ version: 4.0.37([email protected])
'@ai-sdk/openai':
- specifier: 4.0.30
- version: 4.0.30([email protected])
+ specifier: 4.0.34
+ version: 4.0.34([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.52
- version: 7.0.52([email protected])
+ specifier: 7.0.56
+ version: 7.0.56([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-H6J83sPBQK+SkLST7H2KDTAI6pwexoiitdRl6VIo4A7IEIAD63vIKl7K9k7nIhqDhPLH7I4PsAh3pfB8MLSUVg==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-k3cj4AQ2calM6idUodma1cYlQuEeRxBjzyc2IBO+5kx+yAI8x0fku/Fq+DBKdOgSwNoBbv7lO1CsmmEkBBFbmw==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-DPkDmmA336kqmIp62on550/6Q6JHvldsnvN1SmkwU8QGrVt1PzFxqyKUn0C5EGGmSBpvF1ohZNtvWNl8gEVugA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-dQ/AHH1do1iEpWEXdAge37FtpXV17fsj7NkL9w+xuzVgvmI7+dQFeDerul+F2I5czmxe61Lq+TnUREjU92UXYg==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-kREgkTjLfB9VfTuPNMnfrcvYbiHfTkMHt6+11kVqe3j2BXFTSsL7nwG3t4L97UOD4EiYVvYuS2KlIDlW3LzTnA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-wtf81hl7lAy/cMREfwxeMRcfGl7WrSiZI5nTEDwHqH/dEWEM8lPQn13s9S97nbQn1DHNeyduljH4huCeILP/bw==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-QyM0ucRiKUIQpgTyNaG2azXB0EiJStcfG2bwtDlPH1iBpL9yjUhdcohCTHyC2VesgqVD2dwt9o1O1XJyOt3FtA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-DPGehPPwuTmnWxCDxeWZJgGLn7Lh+QfiiN20tvqnEQMUwCmuadZ3FLlRtTkTpeEa2l+Lsa/sWVkBwShWGjGmKA==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-Q4z27c5vqKuXZN65QuF7FVm+uvm3qxEioiQ+8c3s5xXlhbE1Y/SLGBB4BuF+UWia4KaDu2HmNpdR1RGW02/eGg==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-mFvAAszenK8Xny3v+4Vntke5IcUkyzjss3gTBOxVWNrSIWmt/FhQ5gCgoJXW7IK11cklRaicMPwOXTnnBtaqFQ==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-9WAerTaPU2jcVi8dh8x27tySEuLur1Kfg7Go74GuCmsC/2MDSvrTkrK8ZrXWjryEevKfcPPmO1enveE7eqlzoA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-YYXjvs8F3q/BdEn9tBDoDuQACotfR7c5foGw/ADsM6iAVC1JabqEjQSkwHv/Kg2vNIr1c2AVHcQb+JYsYk76Qw==}
engines: {node: '>=22'}
'@aklinker1/[email protected]':
@@ -6223,8 +6223,8 @@ packages:
resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==}
engines: {node: '>=8'}
- resolution: {integrity: sha512-sEgRnYA+ddJ1rJSz1uKBjkGbOXhXdon1nvno49fVk3tabnlf8v5SaceLBpPDMtmDuLKQFztc/YbRsoCQoPzKZw==}
+ resolution: {integrity: sha512-Lp7q9tZFl/TGOpBBNgt2wZ85SoCvJJVlHQksMkqrgiFUnIGOw+L2FWJ0gXuNEngLQTp9+t32k8QuIB7Jc5uKRA==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
@@ -12738,41 +12738,41 @@ snapshots:
'@adobe/[email protected]': {}
dependencies:
- '@ai-sdk/provider': 4.0.5
- '@ai-sdk/provider-utils': 5.0.21([email protected])
+ '@ai-sdk/provider': 4.0.6
+ '@ai-sdk/provider-utils': 5.0.23([email protected])
zod: 4.4.3
dependencies:
- '@ai-sdk/provider': 4.0.5
- '@ai-sdk/provider-utils': 5.0.21([email protected])
+ '@ai-sdk/provider': 4.0.6
+ '@ai-sdk/provider-utils': 5.0.23([email protected])
'@vercel/oidc': 3.2.0
zod: 4.4.3
dependencies:
- '@ai-sdk/provider': 4.0.5
- '@ai-sdk/provider-utils': 5.0.21([email protected])
+ '@ai-sdk/provider': 4.0.6
+ '@ai-sdk/provider-utils': 5.0.23([email protected])
zod: 4.4.3
dependencies:
- '@ai-sdk/provider': 4.0.5
- '@ai-sdk/provider-utils': 5.0.21([email protected])
+ '@ai-sdk/provider': 4.0.6
+ '@ai-sdk/provider-utils': 5.0.23([email protected])
zod: 4.4.3
dependencies:
- '@ai-sdk/provider': 4.0.5
+ '@ai-sdk/provider': 4.0.6
'@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
@@ -19101,11 +19101,11 @@ snapshots:
clean-stack: 2.2.0
indent-string: 4.0.0
dependencies:
- '@ai-sdk/gateway': 4.0.41([email protected])
- '@ai-sdk/provider': 4.0.5
- '@ai-sdk/provider-utils': 5.0.21([email protected])
+ '@ai-sdk/gateway': 4.0.44([email protected])
+ '@ai-sdk/provider': 4.0.6
+ '@ai-sdk/provider-utils': 5.0.23([email protected])
zod: 4.4.3
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 76a4ad02ff..a807f86c1a 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.21"
+ "@ai-sdk/provider-utils": "5.0.23"
"mermaid": "11.16.1"
"preact": "10.29.8"
"roughjs": "4.6.6"