Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
Update ai sdk
renovate[bot]8376c81c4469
diff --git a/apps/server/package.json b/apps/server/package.jsonindex 140df420ef..1683322116 100644--- a/apps/server/package.json+++ b/apps/server/package.json@@ -31,11 +31,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.71",- "@ai-sdk/google": "3.0.64",- "@ai-sdk/openai": "3.0.53",+ "@ai-sdk/anthropic": "3.0.77",+ "@ai-sdk/google": "3.0.73",+ "@ai-sdk/openai": "3.0.63","@modelcontextprotocol/sdk": "^1.12.1",- "ai": "6.0.168",+ "ai": "6.0.180","better-sqlite3": "12.9.0","html-to-text": "9.0.5","i18next-fs-backend": "2.6.4",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 305298ed8d..1fa1d06593 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -832,20 +832,20 @@ importers:apps/server:dependencies:'@ai-sdk/anthropic':- specifier: 3.0.71- version: 3.0.71([email protected])+ specifier: 3.0.77+ version: 3.0.77([email protected])'@ai-sdk/google':- specifier: 3.0.64- version: 3.0.64([email protected])+ specifier: 3.0.73+ version: 3.0.73([email protected])'@ai-sdk/openai':- specifier: 3.0.53- version: 3.0.53([email protected])+ specifier: 3.0.63+ version: 3.0.63([email protected])'@modelcontextprotocol/sdk':specifier: ^1.12.1version: 1.29.0([email protected])ai:- specifier: 6.0.168- version: 6.0.168([email protected])+ specifier: 6.0.180+ version: 6.0.180([email protected])better-sqlite3:specifier: 12.9.0version: 12.9.0@@ -1755,38 +1755,38 @@ packages:'@adobe/[email protected]':resolution: {integrity: sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg==}- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-bUWOzrzR0gJKJO/PLGMR4uH2dqEgqGhrsCV+sSpk4KtOEnUQlfjZI/F7BFlqSvVpFbjdgYRRLysAeEZpJ6S1lg==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-ML8C2M1YvPA1ulEx4TiyF0k1xvC2ikEiPBIC1PPQ0a5xELUGrO2lAaEzsTEoJ+eCeDd8PSBuFJjs+r+9yIwQXA==}engines: {node: '>=18'}peerDependencies:zod: ^3.25.76 || ^4.1.8- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-ZKX5n74io8VIRlhIMSLWVlvT3sXC8Z7cZ9GHuWBWZDVi96+62AIsWuLGvMfcBA1STYuSoDrp6rIziZmvrTq0TA==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-MqkZ5sd+qiq6RgIxELkoFQXg2/JwK+WCMaot7U+rtrZpWJl3fSyYvc28SC03b256o4F7OXjQtdjTqs81B2w+dA==}engines: {node: '>=18'}peerDependencies:zod: ^3.25.76 || ^4.1.8- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-CbR82EgGPNrj/6q0HtclwuCqe0/pDShyv3nWDP/A9DroujzWXnLMlUJVrgPOsg4b40zQCwwVs2XSKCxvt/4QaA==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-o2MuIeyvZrFIeIbnbA8Thrr63irdyUBh0uWBZ2lY6yFeXuE/tcwyXF74bDKS4KvTu84uFpQfpbS/LXHGKKXz+g==}engines: {node: '>=18'}peerDependencies:zod: ^3.25.76 || ^4.1.8- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-Wld+Rbc05KaUn08uBt06eEuwcgalcIFtIl32Yp+GxuZXUQwOb6YeAuq+C6da4ch6BurFoqEaLemJVwjBb7x+PQ==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-4yY/m8a57MNNVoJCsXuNblKf6BO4yuAuLKRX4tzSNffBEBSp1FlcWdPE0Z4FkqUeS0AJhYSSqp0GIiA/cIcDNA==}engines: {node: '>=18'}peerDependencies:zod: ^3.25.76 || ^4.1.8- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-z8GlDaCmRSDlqkMF2f4/RFgWxdarvIbyuk+m6WXT1LYgsnGiXRJGTD2Z1+SDl3LqtFuRtGX1aghYvQLoHL/9pg==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-ubkAJ+xODouwtmN1tYlvTPphH1hPOBfZaEQe8U7skGvFAnIRs9PPpsq57bC2+Ky/MB4yzhd6YOsxTAx9sGpazw==}engines: {node: '>=18'}peerDependencies:zod: ^3.25.76 || ^4.1.8- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-oGMAgGoQdBXbZqNG0Ze56CHjDZ1IDYOwGYxYjO5KLSlz5HiNQ9udIXsPZ61VWaHGZ5XW/jyjmr6t2xz2jGVwbQ==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-Q3BZ27qfpYqnCYGvE3vt+Qi6LGOF9R5Nmzn+9JoM1lCRsD9mYaIhfJLkSunN48nfGXJ6n+XNV0J/XVpqGQl7Dw==}engines: {node: '>=18'}'@aklinker1/[email protected]':@@ -7075,8 +7075,8 @@ packages:resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==}engines: {node: '>=8'}- resolution: {integrity: sha512-2HqCJuO+1V2aV7vfYs5LFEUfxbkGX+5oa54q/gCCTL7KLTdbxcCu5D7TdLA5kwsrs3Szgjah9q6D9tpjHM3hUQ==}+ resolution: {integrity: sha512-tOyRbwD0PEjMZKGvYQcTsv95K2zktwwNhQ49QOUAh0g8MNprO7ELIO1SgANMuPc0BFtkP6Ny6OAdjq3TtxLCbQ==}engines: {node: '>=18'}peerDependencies:zod: ^3.25.76 || ^4.1.8@@ -8986,6 +8986,10 @@ packages:resolution: {integrity: sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg==}engines: {node: '>=18.0.0'}+ resolution: {integrity: sha512-70QWGkr4snxr0OXLRWsFLeRBIRPuQOvt4s8QYjmUlmlkyTZkRqS7EDVRZtzU3TiyDbXSzaOeF0XUKy8PchzukQ==}+ engines: {node: '>=18.0.0'}+resolution: {integrity: sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==}engines: {node: '>=18.0.0'}@@ -14637,39 +14641,39 @@ snapshots:'@adobe/[email protected]': {}- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:- '@ai-sdk/provider': 3.0.8- '@ai-sdk/provider-utils': 4.0.23([email protected])+ '@ai-sdk/provider': 3.0.10+ '@ai-sdk/provider-utils': 4.0.27([email protected])zod: 4.3.6- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:- '@ai-sdk/provider': 3.0.8- '@ai-sdk/provider-utils': 4.0.23([email protected])+ '@ai-sdk/provider': 3.0.10+ '@ai-sdk/provider-utils': 4.0.27([email protected])'@vercel/oidc': 3.2.0zod: 4.3.6- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:- '@ai-sdk/provider': 3.0.8- '@ai-sdk/provider-utils': 4.0.23([email protected])+ '@ai-sdk/provider': 3.0.10+ '@ai-sdk/provider-utils': 4.0.27([email protected])zod: 4.3.6- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:- '@ai-sdk/provider': 3.0.8- '@ai-sdk/provider-utils': 4.0.23([email protected])+ '@ai-sdk/provider': 3.0.10+ '@ai-sdk/provider-utils': 4.0.27([email protected])zod: 4.3.6- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:- '@ai-sdk/provider': 3.0.8+ '@ai-sdk/provider': 3.0.10'@standard-schema/spec': 1.1.0- eventsource-parser: 3.0.6+ eventsource-parser: 3.0.8zod: 4.3.6- '@ai-sdk/[email protected]':+ '@ai-sdk/[email protected]':dependencies:json-schema: 0.4.0@@ -22091,11 +22095,11 @@ snapshots:clean-stack: 2.2.0indent-string: 4.0.0dependencies:- '@ai-sdk/gateway': 3.0.104([email protected])- '@ai-sdk/provider': 3.0.8- '@ai-sdk/provider-utils': 4.0.23([email protected])+ '@ai-sdk/gateway': 3.0.114([email protected])+ '@ai-sdk/provider': 3.0.10+ '@ai-sdk/provider-utils': 4.0.27([email protected])'@opentelemetry/api': 1.9.0zod: 4.3.6@@ -24451,6 +24455,8 @@ snapshots:+ [email protected]: {}+dependencies:eventsource-parser: 3.0.6