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]0cf5ca5c5c29
diff --git a/apps/server/package.json b/apps/server/package.jsonindex 6d287e4aba..fed9cb1002 100644--- a/apps/server/package.json+++ b/apps/server/package.json@@ -33,12 +33,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.21",- "@ai-sdk/google": "4.0.24",- "@ai-sdk/openai": "4.0.20",+ "@ai-sdk/anthropic": "4.0.23",+ "@ai-sdk/google": "4.0.26",+ "@ai-sdk/openai": "4.0.22","@anthropic-ai/claude-agent-sdk": "^0.3.207","@modelcontextprotocol/sdk": "^1.12.1",- "ai": "7.0.37",+ "ai": "7.0.40","better-sqlite3": "13.0.1","html-to-text": "10.0.0","i18next": "26.3.6",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 242f6160ec..c23d5d6ba8 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -608,14 +608,14 @@ importers:apps/server:dependencies:'@ai-sdk/anthropic':- specifier: 4.0.21- version: 4.0.21([email protected])+ specifier: 4.0.23+ version: 4.0.23([email protected])'@ai-sdk/google':- specifier: 4.0.24- version: 4.0.24([email protected])+ specifier: 4.0.26+ version: 4.0.26([email protected])'@ai-sdk/openai':- specifier: 4.0.20- version: 4.0.20([email protected])+ specifier: 4.0.22+ version: 4.0.22([email protected])'@anthropic-ai/claude-agent-sdk':specifier: ^0.3.207version: 0.3.220(@anthropic-ai/[email protected]([email protected]))(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])@@ -623,8 +623,8 @@ importers:specifier: ^1.12.1version: 1.29.0([email protected])([email protected])ai:- specifier: 7.0.37- version: 7.0.37([email protected])+ specifier: 7.0.40+ version: 7.0.40([email protected])better-sqlite3:specifier: 13.0.1version: 13.0.1@@ -1777,38 +1777,38 @@ packages:'@adobe/[email protected]':resolution: {integrity: sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg==}- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-rvWzefSJiDLBswGFn0oWM7D8p8eo2tKey2anSM2IxaFd/4tLfolWAWP6Zp+82YUURZUoX6f01NI/txF6ekbC4Q==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-9sky++sOcQ3V38XWqPpiLIe4knjWREOUEv3ZOZZ9mTQepb2Ho60NUFGR/0NxQlTHEW9G0zxciEecySNE/iHdVQ==}engines: {node: '>=22'}peerDependencies:zod: '>=4.0.0'- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-ee9TsNO3mkgHDWmTmJ8Fvltr6PFh52zhrV2+FaKJY3F3iu7kWZi5tCRJCR1HVhhlpj6lHniUb28nLQdPHkA/1Q==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-nhgR5U6N0wRg+32Mnd8YrOknWQhWfn3ZAKhEOEf6u3dWzhNxTAAPIB7nnz5gRf8Us8K45yIsTrk0OtH897z7Mw==}engines: {node: '>=22'}peerDependencies:zod: '>=4.0.0'- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-W+kTGb/RRe2SEYwbKcKYM3N2EQryS2Iqjgou6wPsyP/2BwBU7Q23CF6/YWE8k7xtseDLcSY59jsR2MDpY4azRg==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-59+LvUHmcvnUGunpfZuS6igLrIRnJ3vpGBafGPGopb6gZt4VD9kZjTQcBhhvZiR3GZRNSKlUUx6qmpI3pvrSaQ==}engines: {node: '>=22'}peerDependencies:zod: '>=4.0.0'- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-/Hu+btLIO2zuYqCp//vBBAGdM/BeN4gds+NWrlv7Y9WrcTXwnEEwh6P3QZIWh2Tt1I1lswuDIpAJ4t/c/rws3Q==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-SjElnPn11HsOgkMJzM216NR3BQ3nyvkpJfAVe1C1+ZRpYNmYyLkFRMEs1JR/CUV4BSrxNb3YsPDPtBEfIQE7yQ==}engines: {node: '>=22'}peerDependencies:zod: '>=4.0.0'- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-bbhlOgHeYwrIGheLkM6fhS8hVger8uFPmcOLg+kxc9EFh7y30XYorWhthlYAgpadO3SJhFZrIcEknN7qEqEVvA==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-HW+Ys98cr2BRQzP6jTlp2bRKIqt+oAjYNLm9gqUUQkLz7QERtaPgDZOoXHz9IXSXoOtz175p4Q17qKQdEX0Hag==}engines: {node: '>=22'}peerDependencies:zod: '>=4.0.0'- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-e0CpNWJUY7OxAFAnCZkw+ri9QOHWwTs1tXP42782KFGCU07qt8NiXCrCVowyCB5dP2r5/Uls+g2oPd8kOJn9dw==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-tbHKNLirllUNF3ZlkCsXnwab2ZV1Sl4b1H/Cp9ruCce15IBmskE8Gwkk0yo9xDWY+jho2of7lVXtwSsyrq7cwQ==}engines: {node: '>=22'}'@aklinker1/[email protected]':@@ -6396,8 +6396,8 @@ packages:resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==}engines: {node: '>=8'}- resolution: {integrity: sha512-stF+SEQJgKY3Qfe3FwNzqUrehHviOp2l7LemoI8YMOa0Zk5PxKsRNgUk3cHXz0RAue9RRyCAis2fz6LSCP6EKw==}+ resolution: {integrity: sha512-Q113Nory1PNgWzo2X7x/bUnJhd95UPNEtWlv+nnM5bSuEkA9iy+VZ3WZFcOvGMZjNDQzD5sZnJgIKQjGh8lv9Q==}engines: {node: '>=22'}peerDependencies:zod: '>=4.0.0'@@ -13290,40 +13290,40 @@ snapshots:'@adobe/[email protected]': {}- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:- '@ai-sdk/provider': 4.0.3- '@ai-sdk/provider-utils': 5.0.12([email protected])+ '@ai-sdk/provider': 4.0.4+ '@ai-sdk/provider-utils': 5.0.14([email protected])zod: 4.4.3- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:- '@ai-sdk/provider': 4.0.3- '@ai-sdk/provider-utils': 5.0.12([email protected])+ '@ai-sdk/provider': 4.0.4+ '@ai-sdk/provider-utils': 5.0.14([email protected])'@vercel/oidc': 3.2.0zod: 4.4.3- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:- '@ai-sdk/provider': 4.0.3- '@ai-sdk/provider-utils': 5.0.12([email protected])+ '@ai-sdk/provider': 4.0.4+ '@ai-sdk/provider-utils': 5.0.14([email protected])zod: 4.4.3- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:- '@ai-sdk/provider': 4.0.3- '@ai-sdk/provider-utils': 5.0.12([email protected])+ '@ai-sdk/provider': 4.0.4+ '@ai-sdk/provider-utils': 5.0.14([email protected])zod: 4.4.3- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:- '@ai-sdk/provider': 4.0.3+ '@ai-sdk/provider': 4.0.4'@standard-schema/spec': 1.1.0'@workflow/serde': 4.1.0eventsource-parser: 3.0.8zod: 4.4.3- '@ai-sdk/[email protected]':+ '@ai-sdk/[email protected]':dependencies:json-schema: 0.4.0@@ -19654,11 +19654,11 @@ snapshots:clean-stack: 2.2.0indent-string: 4.0.0dependencies:- '@ai-sdk/gateway': 4.0.28([email protected])- '@ai-sdk/provider': 4.0.3- '@ai-sdk/provider-utils': 5.0.12([email protected])+ '@ai-sdk/gateway': 4.0.30([email protected])+ '@ai-sdk/provider': 4.0.4+ '@ai-sdk/provider-utils': 5.0.14([email protected])zod: 4.4.3