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]5bffe73963b9
diff --git a/apps/server/package.json b/apps/server/package.jsonindex 8c59932da8..e1796279e6 100644--- a/apps/server/package.json+++ b/apps/server/package.json@@ -32,13 +32,13 @@"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.58",- "@ai-sdk/google": "4.0.76",- "@ai-sdk/openai": "4.0.71",+ "@ai-sdk/anthropic": "4.0.60",+ "@ai-sdk/google": "4.0.77",+ "@ai-sdk/openai": "4.0.72","@anthropic-ai/claude-agent-sdk": "^0.3.207","@hyzyla/pdfium": "2.1.13","@modelcontextprotocol/sdk": "^1.12.1",- "ai": "7.0.107",+ "ai": "7.0.111","better-sqlite3": "13.0.3","i18next": "26.4.2","ipaddr.js": "^2.4.0",diff --git a/packages/trilium-core/package.json b/packages/trilium-core/package.jsonindex 3664e52b92..48f5ee31ce 100644--- a/packages/trilium-core/package.json+++ b/packages/trilium-core/package.json@@ -8,14 +8,14 @@"update-model-prices": "tsx ./scripts/update-model-prices.ts"},"dependencies": {- "@ai-sdk/anthropic": "4.0.58",- "@ai-sdk/google": "4.0.76",- "@ai-sdk/openai": "4.0.71",+ "@ai-sdk/anthropic": "4.0.60",+ "@ai-sdk/google": "4.0.77",+ "@ai-sdk/openai": "4.0.72","@braintree/sanitize-url": "7.1.2","@triliumnext/commons": "workspace:*","@triliumnext/highlightjs": "workspace:*","@triliumnext/turndown-plugin-gfm": "workspace:*",- "ai": "7.0.107",+ "ai": "7.0.111","async-mutex": "0.5.0","chardet": "2.2.0","color": "5.0.3",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 55acdeebcd..c803c218a3 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -634,14 +634,14 @@ importers:apps/server:dependencies:'@ai-sdk/anthropic':- specifier: 4.0.58- version: 4.0.58([email protected])+ specifier: 4.0.60+ version: 4.0.60([email protected])'@ai-sdk/google':- specifier: 4.0.76- version: 4.0.76([email protected])+ specifier: 4.0.77+ version: 4.0.77([email protected])'@ai-sdk/openai':- specifier: 4.0.71- version: 4.0.71([email protected])+ specifier: 4.0.72+ version: 4.0.72([email protected])'@anthropic-ai/claude-agent-sdk':specifier: ^0.3.207version: 0.3.278(@anthropic-ai/[email protected]([email protected]))(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])@@ -652,8 +652,8 @@ importers:specifier: ^1.12.1version: 1.30.0([email protected])([email protected])ai:- specifier: 7.0.107- version: 7.0.107([email protected])+ specifier: 7.0.111+ version: 7.0.111([email protected])better-sqlite3:specifier: 13.0.3version: 13.0.3@@ -1411,14 +1411,14 @@ importers:packages/trilium-core:dependencies:'@ai-sdk/anthropic':- specifier: 4.0.58- version: 4.0.58([email protected])+ specifier: 4.0.60+ version: 4.0.60([email protected])'@ai-sdk/google':- specifier: 4.0.76- version: 4.0.76([email protected])+ specifier: 4.0.77+ version: 4.0.77([email protected])'@ai-sdk/openai':- specifier: 4.0.71- version: 4.0.71([email protected])+ specifier: 4.0.72+ version: 4.0.72([email protected])'@braintree/sanitize-url':specifier: 7.1.2version: 7.1.2@@ -1432,8 +1432,8 @@ importers:specifier: workspace:*version: link:../turndown-plugin-gfmai:- specifier: 7.0.107- version: 7.0.107([email protected])+ specifier: 7.0.111+ version: 7.0.111([email protected])async-mutex:specifier: 0.5.0version: 0.5.0@@ -1561,26 +1561,26 @@ packages:'@adobe/[email protected]':resolution: {integrity: sha512-6OzddxPio9UiWTCemp4N8cYLV2ZN1ncRnV1cVGtve7dhPOtRkleRyx32GQCYSwDYgaHU3USMm84tNsvKzRCa1Q==}- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-vhXKBz7jnIhBlOoj2d0joyHicWISuIxDNha65SLrAnagAkVgulLoZBRLZRazstxlO/BtXU+cDERe1opVKte2OQ==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-7Hb10pUnPRLYQxrWC5OtcYEmrOIGmAez6+meKBePxCO09Jjle5Ke+L2mTOonAVkY/7MEafpY7c55F7DJ9yGeNg==}engines: {node: '>=22'}peerDependencies:zod: 4.6.5- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-6wJmX/D5OO7tvDJbtFdXdBuRt8AkCnW+FLK+W35UHe/tHgolAa4hclXtJcMSYnlTDy/t5DNRgdesVaoMXtwzow==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-n0Q88UUASYQBGK3Ogs9pCe8h3ZXeTHFSuGOLBJAyH73MVGNKUv9w8EJX2f340WUF3eDWWOV305gO7YBpSCPblA==}engines: {node: '>=22'}peerDependencies:zod: 4.6.5- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-RHYTfsrlzM2D7VS4dxq2TWFj0tzE+ALesbTIkrFgyqBbBER8TLw/r93h9IVhR27cLcl4II1tLyiuzZq44IyoCQ==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-7s1Gy6PL/KRk12s31g+LMMY5v1D80AQT6Lm+HUGXvCXw5T5WCxzbUuxOrBegXhhLPfIXTRunkYgSIjcRys37Zw==}engines: {node: '>=22'}peerDependencies:zod: 4.6.5- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-w8FuHr1bD/bP/8SIgcaJKUyePE4ke9s7+Ew2ed/9i5mDoFXEfyVUyFX8R0wQ3YfcdMKmTs8ct/f6XJsXsnPVsQ==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-X5dowqxAXPhu72FpspKX7P5nDycvl/Nt0Qi9A5VjdotV1SrJdhH4vOeWVdBootwEC6uY2hYN0SHAuL1fd4cV8Q==}engines: {node: '>=22'}peerDependencies:zod: 4.6.5@@ -5838,8 +5838,8 @@ packages:resolution: {integrity: sha512-TQf59BsZnytt8GdJKLPfUZ54g/iaUL2OWDSFCCvMOhsHduDQxO8xC4PNeyIkVcA5KwL2phPSv0douC0fgWzmnA==}engines: {node: '>= 20'}- resolution: {integrity: sha512-PVYQ3W9kR8oYiGQxbg4aFIlhQzKskZm8UV+4E0zB2uKOzFr8ju3bXQncOOZtLsOgJY8vdpgyu3cXtomsfcdQYg==}+ resolution: {integrity: sha512-jd35WisL5FT7lFB6wIsZ38G0EaL4p1o+bUuRfkZGTXqO21U3SWyEZ+muV7N191QQfNeExgoyaeFoa8Jx6Uo+0A==}engines: {node: '>=22'}peerDependencies:zod: 4.6.5@@ -11980,26 +11980,26 @@ snapshots:'@adobe/[email protected]': {}- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:'@ai-sdk/provider': 4.0.17'@ai-sdk/provider-utils': 5.0.45([email protected])zod: 4.6.5- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:'@ai-sdk/provider': 4.0.17'@ai-sdk/provider-utils': 5.0.45([email protected])'@vercel/oidc': 3.2.0zod: 4.6.5- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:'@ai-sdk/provider': 4.0.17'@ai-sdk/provider-utils': 5.0.45([email protected])zod: 4.6.5- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:'@ai-sdk/provider': 4.0.17'@ai-sdk/provider-utils': 5.0.45([email protected])@@ -18032,9 +18032,9 @@ snapshots:dependencies:- '@ai-sdk/gateway': 4.0.87([email protected])+ '@ai-sdk/gateway': 4.0.89([email protected])'@ai-sdk/provider': 4.0.17'@ai-sdk/provider-utils': 5.0.45([email protected])zod: 4.6.5