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]9196ba5e56e7
diff --git a/apps/server/package.json b/apps/server/package.jsonindex d92ab6642b..0d4e71a885 100644--- a/apps/server/package.json+++ b/apps/server/package.json@@ -32,12 +32,12 @@"proxy-nginx-subdir": "docker run --name trilium-nginx-subdir --rm -p 8095:8095 --add-host=host.docker.internal:host-gateway -v ./docker/nginx.conf:/etc/nginx/conf.d/default.conf:ro nginx:latest"},"dependencies": {- "@ai-sdk/anthropic": "4.0.48",- "@ai-sdk/google": "4.0.62",- "@ai-sdk/openai": "4.0.56",+ "@ai-sdk/anthropic": "4.0.49",+ "@ai-sdk/google": "4.0.63",+ "@ai-sdk/openai": "4.0.57","@anthropic-ai/claude-agent-sdk": "^0.3.207","@modelcontextprotocol/sdk": "^1.12.1",- "ai": "7.0.90",+ "ai": "7.0.91","better-sqlite3": "13.0.3","html-to-text": "10.0.1","i18next": "26.4.1",diff --git a/packages/trilium-core/package.json b/packages/trilium-core/package.jsonindex 4361b13b67..8101f72211 100644--- a/packages/trilium-core/package.json+++ b/packages/trilium-core/package.json@@ -8,13 +8,13 @@"update-model-prices": "tsx ./scripts/update-model-prices.ts"},"dependencies": {- "@ai-sdk/anthropic": "4.0.48",- "@ai-sdk/google": "4.0.62",- "@ai-sdk/openai": "4.0.56",+ "@ai-sdk/anthropic": "4.0.49",+ "@ai-sdk/google": "4.0.63",+ "@ai-sdk/openai": "4.0.57","@braintree/sanitize-url": "7.1.2","@triliumnext/commons": "workspace:*","@triliumnext/turndown-plugin-gfm": "workspace:*",- "ai": "7.0.90",+ "ai": "7.0.91","async-mutex": "0.5.0","chardet": "2.2.0","color": "5.0.3",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 426ba355f5..2110a182df 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -593,14 +593,14 @@ importers:apps/server:dependencies:'@ai-sdk/anthropic':- specifier: 4.0.48- version: 4.0.48([email protected])+ specifier: 4.0.49+ version: 4.0.49([email protected])'@ai-sdk/google':- specifier: 4.0.62- version: 4.0.62([email protected])+ specifier: 4.0.63+ version: 4.0.63([email protected])'@ai-sdk/openai':- specifier: 4.0.56- version: 4.0.56([email protected])+ specifier: 4.0.57+ version: 4.0.57([email protected])'@anthropic-ai/claude-agent-sdk':specifier: ^0.3.207version: 0.3.258(@anthropic-ai/[email protected]([email protected]))(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])@@ -608,8 +608,8 @@ importers:specifier: ^1.12.1version: 1.30.0([email protected])([email protected])ai:- specifier: 7.0.90- version: 7.0.90([email protected])+ specifier: 7.0.91+ version: 7.0.91([email protected])better-sqlite3:specifier: 13.0.3version: 13.0.3@@ -1379,14 +1379,14 @@ importers:packages/trilium-core:dependencies:'@ai-sdk/anthropic':- specifier: 4.0.48- version: 4.0.48([email protected])+ specifier: 4.0.49+ version: 4.0.49([email protected])'@ai-sdk/google':- specifier: 4.0.62- version: 4.0.62([email protected])+ specifier: 4.0.63+ version: 4.0.63([email protected])'@ai-sdk/openai':- specifier: 4.0.56- version: 4.0.56([email protected])+ specifier: 4.0.57+ version: 4.0.57([email protected])'@braintree/sanitize-url':specifier: 7.1.2version: 7.1.2@@ -1397,8 +1397,8 @@ importers:specifier: workspace:*version: link:../turndown-plugin-gfmai:- specifier: 7.0.90- version: 7.0.90([email protected])+ specifier: 7.0.91+ version: 7.0.91([email protected])async-mutex:specifier: 0.5.0version: 0.5.0@@ -1514,26 +1514,26 @@ packages:'@adobe/[email protected]':resolution: {integrity: sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg==}- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-9KRW3ySRQ8pGn1ZHWgek42OqOcOTKlRrVOOiEHA9k2BiiRn7Hzd0QNYtrYjvI+TCo9K7DaE0uLoW2yyB+L8/Bw==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-fzy2sLrs3vNsliIgx65fuovsa6a7OTXd6DllKUgLuVmPyqLnvoZCv9NlKgq+krzDzSxLb9d0zTaJJpsjBVLNyA==}engines: {node: '>=22'}peerDependencies:zod: 4.5.4- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-iNNgagJ0+Ow1kdOFSyKPRk8kTh7qwhLZPLFdbXw4KMbMMF7JLzWlBSkyMSjh6U4O6D4D+76xj0HGws4JTLNeYA==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-1Gp6QtVHfegKoMcf1pjk4fpgDg1cUdK5NnrEiUsYhLWa6owDMmF7kP+qL7ZgQNDYKTOijT+5cTeHrL281kUiiQ==}engines: {node: '>=22'}peerDependencies:zod: 4.5.4- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-DB8i10h9S3ki9b/bPz51B9f9Uy8/5vLfyYsyHuRgHDraro1TM+eqo6RqErZ5RA3smZZ5uFcNzK43ks07qr7vrA==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-SlKcqnN0oKC8JWahecs3IvFnIFgbrEE4i/bmom5xsPFUjkIVvXAJAhRzjfgfROSOOeyvouKUFPWJEjn11FWf3A==}engines: {node: '>=22'}peerDependencies:zod: 4.5.4- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-q/GyXWeYUJFk76JIlgwp1yMEvEFPFT/ueKHTazbYI+tQ/8ZTTTdkL1y6bWN06zCIusbpt7laiKytFV+37JZsgA==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-akpj7mE4z3qmofk+fVlnASxFF6Fh8kuihk1AVsY09uf/sv4CxmiGDjMJrmSWffIx+JEAuZmGUq8uKxEXjw/7Xw==}engines: {node: '>=22'}peerDependencies:zod: 4.5.4@@ -5913,8 +5913,8 @@ packages:resolution: {integrity: sha512-TQf59BsZnytt8GdJKLPfUZ54g/iaUL2OWDSFCCvMOhsHduDQxO8xC4PNeyIkVcA5KwL2phPSv0douC0fgWzmnA==}engines: {node: '>= 20'}- resolution: {integrity: sha512-cvG7Od3DPlnnljkIXP1CQ8wABOfDqV1uBFWemBjGupiqcQD8O9SSg5m4FL+GiMA47NN7dxIJnaw8/uowwN+D2g==}+ resolution: {integrity: sha512-Hn0iIQY1FXow2wd+DxzdA/4ijY+6TP9CREqpN3aIs01wnBW9119yHW0Dvn53sTQzkk7+rSVXaXlDAYM5hhMJZA==}engines: {node: '>=22'}peerDependencies:zod: 4.5.4@@ -12287,26 +12287,26 @@ snapshots:'@adobe/[email protected]': {}- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:'@ai-sdk/provider': 4.0.10'@ai-sdk/provider-utils': 5.0.36([email protected])zod: 4.5.4- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:'@ai-sdk/provider': 4.0.10'@ai-sdk/provider-utils': 5.0.36([email protected])'@vercel/oidc': 3.2.0zod: 4.5.4- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:'@ai-sdk/provider': 4.0.10'@ai-sdk/provider-utils': 5.0.36([email protected])zod: 4.5.4- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:'@ai-sdk/provider': 4.0.10'@ai-sdk/provider-utils': 5.0.36([email protected])@@ -18395,9 +18395,9 @@ snapshots:dependencies:- '@ai-sdk/gateway': 4.0.72([email protected])+ '@ai-sdk/gateway': 4.0.73([email protected])'@ai-sdk/provider': 4.0.10'@ai-sdk/provider-utils': 5.0.36([email protected])zod: 4.5.4