Skip to content

Build your personal knowledge base with Trilium Notes

Update ai sdk

renovate[bot]5af427212994
diff --git a/apps/server/package.json b/apps/server/package.json
index d1cc93e9f9..b540942254 100644
--- a/apps/server/package.json
+++ b/apps/server/package.json
@@ -32,11 +32,11 @@
"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.11",
- "@ai-sdk/google": "4.0.11",
+ "@ai-sdk/anthropic": "4.0.12",
+ "@ai-sdk/google": "4.0.12",
"@ai-sdk/openai": "4.0.11",
"@modelcontextprotocol/sdk": "^1.12.1",
- "ai": "7.0.19",
+ "ai": "7.0.22",
"better-sqlite3": "12.11.1",
"html-to-text": "10.0.0",
"i18next": "26.3.6",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index a8c313eff8..45b3f155a2 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -610,11 +610,11 @@ importers:
apps/server:
dependencies:
'@ai-sdk/anthropic':
- specifier: 4.0.11
- version: 4.0.11([email protected])
+ specifier: 4.0.12
+ version: 4.0.12([email protected])
'@ai-sdk/google':
- specifier: 4.0.11
- version: 4.0.11([email protected])
+ specifier: 4.0.12
+ version: 4.0.12([email protected])
'@ai-sdk/openai':
specifier: 4.0.11
version: 4.0.11([email protected])
@@ -622,8 +622,8 @@ importers:
specifier: ^1.12.1
version: 1.29.0([email protected])
ai:
- specifier: 7.0.19
- version: 7.0.19([email protected])
+ specifier: 7.0.22
+ version: 7.0.22([email protected])
better-sqlite3:
specifier: 12.11.1
version: 12.11.1
@@ -1761,20 +1761,20 @@ packages:
resolution: {integrity: sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg==}
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-Xe9anDf2f1/kfror2VuWPdHZ4MJgzI2+ctTGYofjiGUjiVkjtBvVBdYtPhfFFGaY9zpbDeDTA+huqfvf51BGuw==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-IquWNkGRSF2ulYJ6YIIUqMsNAIDeZFB3/4W92aSOtCxH1TfuVoq3qw4M4TxTxIw4As9cnkeRLe7b9LDMzPDsnA==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-JHvgCU4SR6OdjOI+8rxIF3zhIboFAkQ1vEa+QOIdkK5VyME1ONx8SbgM2YtnSY1DOsCtUyhd+EG876pYpRjopg==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-9iYxdOLquoOFk5e+02P9qfBIA+EJU0FNJvyjGxi4iXJabt2+GlbaCg7TX0sTtxOsBVkdabkatqWM6+kvp53tBg==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-1PvB3JC1D9eA43NCyHYhlz07YNfnAt9/8pvr8R7eaHp6J7LABM3lTHMvDMk1nRNGfBlV8H7U1jtgNEgB4u7MMw==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-4Rw4viFwH2Wprx6OssZzhV/KgNWaA7qYr5Kg28AlZ7r3sEvyXH0kDZtZok7onPjr0RuFTg2EjCjTIeoCesg0Ww==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
@@ -6781,8 +6781,8 @@ packages:
resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==}
engines: {node: '>=8'}
- resolution: {integrity: sha512-7kxMNiy6JqCvruCY2qGMNzeqEt9Ey3XqrtYGHWyipDJTXHFN7gOyO1UR2UIXhw112vAUkrO+OJJzemKJD8P3bA==}
+ resolution: {integrity: sha512-iAXYwQtR18qN7GXwNmGVAQM4uSJOh2+nZ5RP9NtDXfH5d4tlYyYzAM133O3U+eVcyWrvNRzecN9yW58xpCdfMg==}
engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
@@ -13863,20 +13863,20 @@ snapshots:
'@adobe/[email protected]': {}
dependencies:
'@ai-sdk/provider': 4.0.3
'@ai-sdk/provider-utils': 5.0.7([email protected])
zod: 4.4.3
dependencies:
'@ai-sdk/provider': 4.0.3
'@ai-sdk/provider-utils': 5.0.7([email protected])
'@vercel/oidc': 3.2.0
zod: 4.4.3
dependencies:
'@ai-sdk/provider': 4.0.3
'@ai-sdk/provider-utils': 5.0.7([email protected])
@@ -20839,9 +20839,9 @@ snapshots:
clean-stack: 2.2.0
indent-string: 4.0.0
dependencies:
- '@ai-sdk/gateway': 4.0.15([email protected])
+ '@ai-sdk/gateway': 4.0.16([email protected])
'@ai-sdk/provider': 4.0.3
'@ai-sdk/provider-utils': 5.0.7([email protected])
zod: 4.4.3