Skip to content

Build your personal knowledge base with Trilium Notes

fix(deps): update ai sdk

renovate[bot]9d792d0bff86
diff --git a/apps/server/package.json b/apps/server/package.json
index fffbf33312..04b752565e 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": "3.0.86",
- "@ai-sdk/google": "3.0.83",
- "@ai-sdk/openai": "3.0.74",
+ "@ai-sdk/anthropic": "4.0.0",
+ "@ai-sdk/google": "4.0.0",
+ "@ai-sdk/openai": "4.0.0",
"@modelcontextprotocol/sdk": "^1.12.1",
- "ai": "6.0.209",
+ "ai": "7.0.2",
"better-sqlite3": "12.11.1",
"html-to-text": "10.0.0",
"i18next": "26.3.2",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 70cec0e26f..19efb88af7 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -597,20 +597,20 @@ importers:
apps/server:
dependencies:
'@ai-sdk/anthropic':
- specifier: 3.0.86
- version: 3.0.86([email protected])
+ specifier: 4.0.0
+ version: 4.0.0([email protected])
'@ai-sdk/google':
- specifier: 3.0.83
- version: 3.0.83([email protected])
+ specifier: 4.0.0
+ version: 4.0.0([email protected])
'@ai-sdk/openai':
- specifier: 3.0.74
- version: 3.0.74([email protected])
+ specifier: 4.0.0
+ version: 4.0.0([email protected])
'@modelcontextprotocol/sdk':
specifier: ^1.12.1
version: 1.29.0([email protected])
ai:
- specifier: 6.0.209
- version: 6.0.209([email protected])
+ specifier: 7.0.2
+ version: 7.0.2([email protected])
better-sqlite3:
specifier: 12.11.1
version: 12.11.1
@@ -1720,39 +1720,39 @@ packages:
resolution: {integrity: sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg==}
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-IVUaTOz46dNniRaALEvphV5WOqPfKTJRZlJhJabz3kaXk1QiwdnzWQhKMKLiprD+872E9YHqmmyFNFFH1MfnBQ==}
- engines: {node: '>=18'}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-N0lT1g6/5DEIZvalpkpwYRCdu7n5qb8qPN3PcTem6k4VkPBLC2+T2LAAyx1GS0eNOxavVa0CP7n2kCiye0yyfw==}
+ engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-PfUkQp01EihEyNM6e+nexXmVANiY5KcHMui/MmaHsC4KVVQYh/MwPeOsD3bTPu63e581BKO+AwaPPNmD4x943A==}
- engines: {node: '>=18'}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-Jz1BiiTSvhDsCBJrkFRSqLHDRMVjFtYk9GdbSi3UOqY+/epza+oIESMDzfN4m+YHT/1IYmNEmxaMfjXOvxKDjQ==}
+ engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-Pz7aCX0dy+5x+r4K/37HbLZNaPtPL4q2NduzJW64VffLv5sI9Nb478wAd7PlH2r2asiypJsz/Jerf9draTciUA==}
- engines: {node: '>=18'}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-UXGGmsYmeJ8VEfFenETFd2SN5tGSU+g2yrLrCuL8uqUkDFpNqV9a9MSKdshh6EXQs8e+2PUELJwqe7qQO3UnSw==}
+ engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-LPDBWd2WCv0GQs29K2pHcNrGx24hm4D8QEP386HwUAUPr1URho6bNVXHNmIv0FxaW+xDkLpNMTen+mFCUBp2LA==}
- engines: {node: '>=18'}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-XcI/bJEG+Ymx8ZwQMY9GE9waHdEcSzT6wn2o+YW80hOQPf8IAGQvdNWKaD0mxLi6AmOM0L01y/p626w7rImblQ==}
+ engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-VO7I+vPffqI5sMnPoUq5DCSqKIgQIk/naJWRdQVpz2ma2zoprC/lqiJiUEl2s6DfvTD76TbhD3q39ROjlA6rGw==}
- engines: {node: '>=18'}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-zj66M02jc6ASYwIgWZowsooDUwaVngeNZQ3H10GwcPMZ+KR6gHMhcUuKl6tkai+JPXTKDyHY1pnszuxRtw2D4A==}
+ engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-Q3BZ27qfpYqnCYGvE3vt+Qi6LGOF9R5Nmzn+9JoM1lCRsD9mYaIhfJLkSunN48nfGXJ6n+XNV0J/XVpqGQl7Dw==}
- engines: {node: '>=18'}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-fr9Gs89prDWiuox/T+kCA+i2cJkHpxU5S+tr4megjTzRC27ZsvFhwjU/+XrqqMbvBUlfmXxTOYWy8ng45dsjIg==}
+ engines: {node: '>=22'}
'@aklinker1/[email protected]':
resolution: {integrity: sha512-X24LvEGw6UFmy0lpGJDmXsMyBD58XmX1bbwsaMLhNoM+UMQfQ3b2RtC+nz4b/NoRK5r6QJSKJHBNVeUdwqybaQ==}
@@ -6605,6 +6605,9 @@ packages:
react:
optional: true
+ '@workflow/[email protected]':
+ resolution: {integrity: sha512-pav4F2BoirECWR7Nf1TKt+2eETcBj7jj4cBefQ8VXQCA6NPkaKeLfj/zMgi+3zYV5ZIBT4GuUiphsj0/b9hPQQ==}
+
'@wxt-dev/[email protected]':
resolution: {integrity: sha512-Dw2NKK51CCFurE95NptiEheuxVtkeX4vTQwEbhCkFVP9LzXNxOZTX9C9NAsGe6OfahelXlS51TW74hTSzsMILw==}
peerDependencies:
@@ -6718,9 +6721,9 @@ packages:
resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==}
engines: {node: '>=8'}
- resolution: {integrity: sha512-NE7uErmxOe+i77BPT1+AhW4wr7xzilbQLsKVmvGEyil5AjaF6C/m92hlPI4Xwtnv5n77D/29bizwcR27/S/gSQ==}
- engines: {node: '>=18'}
+ resolution: {integrity: sha512-VMU08jHIDJnnKDrbC9AFa5ZsPpOTfAPRLvTRHtJk4FGAoeldmJROMxvZ2ak5lCjEJ2GP2OLPQbMRyEK8w0+S4A==}
+ engines: {node: '>=22'}
peerDependencies:
zod: '>=4.0.0'
@@ -13709,39 +13712,40 @@ snapshots:
'@adobe/[email protected]': {}
dependencies:
- '@ai-sdk/provider': 3.0.10
- '@ai-sdk/provider-utils': 4.0.30([email protected])
+ '@ai-sdk/provider': 4.0.0
+ '@ai-sdk/provider-utils': 5.0.0([email protected])
zod: 4.4.3
dependencies:
- '@ai-sdk/provider': 3.0.10
- '@ai-sdk/provider-utils': 4.0.30([email protected])
+ '@ai-sdk/provider': 4.0.0
+ '@ai-sdk/provider-utils': 5.0.0([email protected])
'@vercel/oidc': 3.2.0
zod: 4.4.3
dependencies:
- '@ai-sdk/provider': 3.0.10
- '@ai-sdk/provider-utils': 4.0.30([email protected])
+ '@ai-sdk/provider': 4.0.0
+ '@ai-sdk/provider-utils': 5.0.0([email protected])
zod: 4.4.3
dependencies:
- '@ai-sdk/provider': 3.0.10
- '@ai-sdk/provider-utils': 4.0.30([email protected])
+ '@ai-sdk/provider': 4.0.0
+ '@ai-sdk/provider-utils': 5.0.0([email protected])
zod: 4.4.3
dependencies:
- '@ai-sdk/provider': 3.0.10
+ '@ai-sdk/provider': 4.0.0
'@standard-schema/spec': 1.1.0
+ '@workflow/serde': 4.1.0
eventsource-parser: 3.0.8
zod: 4.4.3
- '@ai-sdk/[email protected]':
+ '@ai-sdk/[email protected]':
dependencies:
json-schema: 0.4.0
@@ -17412,7 +17416,8 @@ snapshots:
dependencies:
'@octokit/openapi-types': 27.0.0
- '@opentelemetry/[email protected]': {}
+ '@opentelemetry/[email protected]':
+ optional: true
'@oxc-project/[email protected]': {}
@@ -20548,6 +20553,8 @@ snapshots:
optionalDependencies:
react: 19.2.7
+ '@workflow/[email protected]': {}
+
dependencies:
defu: 6.1.7
@@ -20646,12 +20653,11 @@ snapshots:
clean-stack: 2.2.0
indent-string: 4.0.0
dependencies:
- '@ai-sdk/gateway': 3.0.134([email protected])
- '@ai-sdk/provider': 3.0.10
- '@ai-sdk/provider-utils': 4.0.30([email protected])
- '@opentelemetry/api': 1.9.1
+ '@ai-sdk/gateway': 4.0.2([email protected])
+ '@ai-sdk/provider': 4.0.0
+ '@ai-sdk/provider-utils': 5.0.0([email protected])
zod: 4.4.3