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
fix(deps): update ai sdk
renovate[bot]6b0f63016b42
diff --git a/apps/server/package.json b/apps/server/package.jsonindex fbe6b6f2e3..bb20b5bd8b 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.29",- "@ai-sdk/google": "4.0.32",- "@ai-sdk/openai": "4.0.28",+ "@ai-sdk/anthropic": "4.0.30",+ "@ai-sdk/google": "4.0.34",+ "@ai-sdk/openai": "4.0.30","@anthropic-ai/claude-agent-sdk": "^0.3.207","@modelcontextprotocol/sdk": "^1.12.1",- "ai": "7.0.50",+ "ai": "7.0.52","better-sqlite3": "13.0.2","html-to-text": "10.0.0","i18next": "26.3.6",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex b087f8fa73..de7a6b7f29 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.19+ '@ai-sdk/provider-utils': 5.0.21mermaid: 11.16.0preact: 10.29.8roughjs: 4.6.6@@ -586,14 +586,14 @@ importers:apps/server:dependencies:'@ai-sdk/anthropic':- specifier: 4.0.29- version: 4.0.29([email protected])+ specifier: 4.0.30+ version: 4.0.30([email protected])'@ai-sdk/google':- specifier: 4.0.32- version: 4.0.32([email protected])+ specifier: 4.0.34+ version: 4.0.34([email protected])'@ai-sdk/openai':- specifier: 4.0.28- version: 4.0.28([email protected])+ specifier: 4.0.30+ version: 4.0.30([email protected])'@anthropic-ai/claude-agent-sdk':specifier: ^0.3.207version: 0.3.221(@anthropic-ai/[email protected]([email protected]))(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])@@ -601,8 +601,8 @@ importers:specifier: ^1.12.1version: 1.30.0([email protected])([email protected])ai:- specifier: 7.0.50- version: 7.0.50([email protected])+ specifier: 7.0.52+ version: 7.0.52([email protected])better-sqlite3:specifier: 13.0.2version: 13.0.2@@ -1495,32 +1495,32 @@ packages:'@adobe/[email protected]':resolution: {integrity: sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg==}- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-e5McXB9sqfGBCCPVjoxKVGuWT8LIwRI4k6a8MbZWq6J+W1hmAsWv6oK0sD8z9GIcGJ66aEJSuzMuLyg+FtL4Ew==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-H6J83sPBQK+SkLST7H2KDTAI6pwexoiitdRl6VIo4A7IEIAD63vIKl7K9k7nIhqDhPLH7I4PsAh3pfB8MLSUVg==}engines: {node: '>=22'}peerDependencies:zod: '>=4.0.0'- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-EcglUHLJkJjMTdw0xS/wwl4nPWHGQtSYwHbq0f/yRXg3n5nmq3/w1blbghO5QALePafCOlGXcTEuq2ssys8yDQ==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-DPkDmmA336kqmIp62on550/6Q6JHvldsnvN1SmkwU8QGrVt1PzFxqyKUn0C5EGGmSBpvF1ohZNtvWNl8gEVugA==}engines: {node: '>=22'}peerDependencies:zod: '>=4.0.0'- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-l0k5Aofh2tak8IDv5tDpJrdt/Q5SbxxiEmJ1uwtJgRHuxZfRfQF2CBL5YF70XY16hUXfpsUk73d18xPyW3F1Mw==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-kREgkTjLfB9VfTuPNMnfrcvYbiHfTkMHt6+11kVqe3j2BXFTSsL7nwG3t4L97UOD4EiYVvYuS2KlIDlW3LzTnA==}engines: {node: '>=22'}peerDependencies:zod: '>=4.0.0'- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-Ipus6FYIYsisKyCLWSLjLrJBCfzsxJGJpfSk1jHmC3KSyhOvZh0j1A6TExF+c6mSsqOVeAh2lzJjMgNhRMI5Jw==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-QyM0ucRiKUIQpgTyNaG2azXB0EiJStcfG2bwtDlPH1iBpL9yjUhdcohCTHyC2VesgqVD2dwt9o1O1XJyOt3FtA==}engines: {node: '>=22'}peerDependencies:zod: '>=4.0.0'- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-7GJ9TkXXr3RLUK5tvOjqejH/eozVkiV7i0B/AcOrcVjE2l2iJNKNe022ZAr8uUHUesWRyBj0ZkUe9wIk4OqgSw==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-Q4z27c5vqKuXZN65QuF7FVm+uvm3qxEioiQ+8c3s5xXlhbE1Y/SLGBB4BuF+UWia4KaDu2HmNpdR1RGW02/eGg==}engines: {node: '>=22'}peerDependencies:zod: '>=4.0.0'@@ -6007,8 +6007,8 @@ packages:resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==}engines: {node: '>=8'}- resolution: {integrity: sha512-bmS5SbUtd4xwtvpdPlhRZgV3a0ASZpTxsBitTEqZ23pTLctzv6Y0ZMcFV5b7S9YboHfYWN4JdTGoEpcqax06OA==}+ resolution: {integrity: sha512-sEgRnYA+ddJ1rJSz1uKBjkGbOXhXdon1nvno49fVk3tabnlf8v5SaceLBpPDMtmDuLKQFztc/YbRsoCQoPzKZw==}engines: {node: '>=22'}peerDependencies:zod: '>=4.0.0'@@ -12513,32 +12513,32 @@ snapshots:'@adobe/[email protected]': {}- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:'@ai-sdk/provider': 4.0.5- '@ai-sdk/provider-utils': 5.0.19([email protected])+ '@ai-sdk/provider-utils': 5.0.21([email protected])zod: 4.4.3- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:'@ai-sdk/provider': 4.0.5- '@ai-sdk/provider-utils': 5.0.19([email protected])+ '@ai-sdk/provider-utils': 5.0.21([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.5- '@ai-sdk/provider-utils': 5.0.19([email protected])+ '@ai-sdk/provider-utils': 5.0.21([email protected])zod: 4.4.3- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:'@ai-sdk/provider': 4.0.5- '@ai-sdk/provider-utils': 5.0.19([email protected])+ '@ai-sdk/provider-utils': 5.0.21([email protected])zod: 4.4.3- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:'@ai-sdk/provider': 4.0.5'@standard-schema/spec': 1.1.0@@ -18755,11 +18755,11 @@ snapshots:clean-stack: 2.2.0indent-string: 4.0.0dependencies:- '@ai-sdk/gateway': 4.0.39([email protected])+ '@ai-sdk/gateway': 4.0.41([email protected])'@ai-sdk/provider': 4.0.5- '@ai-sdk/provider-utils': 5.0.19([email protected])+ '@ai-sdk/provider-utils': 5.0.21([email protected])zod: 4.4.3diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex 3678ef4432..457525c707 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.19"+ "@ai-sdk/provider-utils": "5.0.21""mermaid": "11.16.0""preact": "10.29.8""roughjs": "4.6.6"