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]9ee944a278e7
diff --git a/apps/server/package.json b/apps/server/package.jsonindex c42802b6fb..04f6088766 100644--- a/apps/server/package.json+++ b/apps/server/package.json@@ -29,14 +29,14 @@},"dependencies": {"@agentclientprotocol/codex-acp": "2.1.1",- "@ai-sdk/anthropic": "4.0.76",- "@ai-sdk/deepseek": "3.0.62",- "@ai-sdk/google": "4.0.92",- "@ai-sdk/openai": "4.0.89",+ "@ai-sdk/anthropic": "4.0.78",+ "@ai-sdk/deepseek": "3.0.63",+ "@ai-sdk/google": "4.0.93",+ "@ai-sdk/openai": "4.0.91","@anthropic-ai/claude-agent-sdk": "^0.3.207","@hyzyla/pdfium": "2.1.13","@modelcontextprotocol/sdk": "^1.12.1",- "ai": "7.0.133",+ "ai": "7.0.136","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 bf366f0238..59bfadb902 100644--- a/packages/trilium-core/package.json+++ b/packages/trilium-core/package.json@@ -8,16 +8,16 @@"update-model-prices": "tsx ./scripts/update-model-prices.ts"},"dependencies": {- "@ai-sdk/anthropic": "4.0.76",- "@ai-sdk/deepseek": "3.0.62",- "@ai-sdk/google": "4.0.92",- "@ai-sdk/openai": "4.0.89",+ "@ai-sdk/anthropic": "4.0.78",+ "@ai-sdk/deepseek": "3.0.63",+ "@ai-sdk/google": "4.0.93",+ "@ai-sdk/openai": "4.0.91","@braintree/sanitize-url": "7.1.2","@triliumnext/commons": "workspace:*","@triliumnext/highlightjs": "workspace:*","@triliumnext/share-theme": "workspace:*","@triliumnext/turndown-plugin-gfm": "workspace:*",- "ai": "7.0.133",+ "ai": "7.0.136","async-mutex": "0.5.0","chardet": "2.2.0","color": "5.0.3",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex cb94dba790..96372639ac 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -16,7 +16,7 @@ overrides:'@lezer/common': 1.5.3'@lezer/highlight': 1.2.5'@lezer/lr': 1.4.11- '@ai-sdk/provider-utils': 5.0.57+ '@ai-sdk/provider-utils': 5.0.58'@agentclientprotocol/codex-acp>@openai/codex': '-'zod: 4.6.5mermaid: 12.1.0@@ -639,17 +639,17 @@ importers:specifier: 2.1.1version: 2.1.1'@ai-sdk/anthropic':- specifier: 4.0.76- version: 4.0.76([email protected])+ specifier: 4.0.78+ version: 4.0.78([email protected])'@ai-sdk/deepseek':- specifier: 3.0.62- version: 3.0.62([email protected])+ specifier: 3.0.63+ version: 3.0.63([email protected])'@ai-sdk/google':- specifier: 4.0.92- version: 4.0.92([email protected])+ specifier: 4.0.93+ version: 4.0.93([email protected])'@ai-sdk/openai':- specifier: 4.0.89- version: 4.0.89([email protected])+ specifier: 4.0.91+ version: 4.0.91([email protected])'@anthropic-ai/claude-agent-sdk':specifier: ^0.3.207version: 0.3.293(@anthropic-ai/[email protected]([email protected]))(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])@@ -660,8 +660,8 @@ importers:specifier: ^1.12.1version: 1.32.1([email protected])([email protected])ai:- specifier: 7.0.133- version: 7.0.133([email protected])+ specifier: 7.0.136+ version: 7.0.136([email protected])better-sqlite3:specifier: 13.0.3version: 13.0.3@@ -1425,17 +1425,17 @@ importers:packages/trilium-core:dependencies:'@ai-sdk/anthropic':- specifier: 4.0.76- version: 4.0.76([email protected])+ specifier: 4.0.78+ version: 4.0.78([email protected])'@ai-sdk/deepseek':- specifier: 3.0.62- version: 3.0.62([email protected])+ specifier: 3.0.63+ version: 3.0.63([email protected])'@ai-sdk/google':- specifier: 4.0.92- version: 4.0.92([email protected])+ specifier: 4.0.93+ version: 4.0.93([email protected])'@ai-sdk/openai':- specifier: 4.0.89- version: 4.0.89([email protected])+ specifier: 4.0.91+ version: 4.0.91([email protected])'@braintree/sanitize-url':specifier: 7.1.2version: 7.1.2@@ -1452,8 +1452,8 @@ importers:specifier: workspace:*version: link:../turndown-plugin-gfmai:- specifier: 7.0.133- version: 7.0.133([email protected])+ specifier: 7.0.136+ version: 7.0.136([email protected])async-mutex:specifier: 0.5.0version: 0.5.0@@ -1587,44 +1587,44 @@ packages:peerDependencies:zod: 4.6.5- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-3sKHzUTs53rt396ulT4ghSEHVH4krWTHKVqBlA5Vr271l4jeFwI5z1P1WRFrrjwb0OWDADJv2MVSy1pF5/z5Vg==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-lVMxa9tLM5WoB72bqxjzWEWQlCwtBTo1L3yIKxAefowWATd+1YKohrINey6wTn8gtGEqyYm79z4DUGJBYauUFw==}engines: {node: '>=22'}peerDependencies:zod: 4.6.5- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-/zi/hw0hRSXvsfIhzGMrT9TRZrf/INDz78lFzoGHETYFsyqKarpCfXZp8tvBllEzVDMN7lUa7EfiLrPFJiFqmw==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-oSIwe9tIpRXkANMsdNcW7JnJRLp+dakWiudl8ZImffhw3PD91i5zpN8x3V6jkXhknvEhRxyd6IIiCSCevVZHyw==}engines: {node: '>=22'}peerDependencies:zod: 4.6.5- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-UgtnyyuIpMSzhha89MAK6c2pTeQW8s9jLSmDeYI92NzqDsoyEYFZ/lYAXTXLUQxA25j5iTWPEnzGVl5adIy+8w==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-5IwnOR6v7KC+D9eddUqsCobXl/FbLUVb2LaQc/uyuQdpP3/n9s0YLc9zl4/W3IS/R2pjHrqUfCzEAeOu7bFLoQ==}engines: {node: '>=22'}peerDependencies:zod: 4.6.5- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-403P/VR0720o51op1lvPAUjsX46eVFPxk/XHL6IS5njfrkmmlzwCEpqj1wPBAT18cJwSE24kHR9hQxBiSTT6pA==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-hubOUxbG2W7oD3acdCxxnrQ84NlnLqfzcHe9uWMmwkglHxq/rwsbjloPhvebeQlcQ2G0gaX+akDF1Ddm/fNAnQ==}engines: {node: '>=22'}peerDependencies:zod: 4.6.5- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-Lmg/77zyVaSHTiqCis24JS79AC6zb5eqvZs1uAEAWckMlyz9E1GgMxr1J5l1OigDdAOg0brdV2S9UsDfZlaxvQ==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-Nk382R6us0GNxI1cGJUXMryz1XHpyrmC3K/Rmqdx9tIsqAlc7UtuO/hC9dd31F41w8uzoS362HJSDXgAI7zKbA==}engines: {node: '>=22'}peerDependencies:zod: 4.6.5- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-giQ9mNwVzYUbahU2DG1FWEjXkDU8D8Hitz7Rk4AlRGtqh8Ss48msQ9+wEAXquWs/GYOETzxMMFsgcHK0i7TbUQ==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-iXSwKR/7LpHzAlyrUl+bTinwzmZ3Nmup1viwPisM5Gn5cogRdIG4rV9w1ZDuKFcrXyu/AeVs42E1CX/0aNwrfQ==}engines: {node: '>=22'}peerDependencies:zod: 4.6.5- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-vG0l7MUavfhn6c5+Z0y1/E6lKUrzecsLtFkuIknnHjAGAIiuwFDucafzebJuFVTZcLyhf8qhYYU2zeKP55Mymw==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-BZ443uBEq6HuMA+Z4b7Hpm65GpZSo7pWqnYqpf/7tAO3C48JbtvAhOE2JnODFj+jodsZzfRHkAyQb64xuD2tZQ==}engines: {node: '>=22'}'@aklinker1/[email protected]':@@ -5665,8 +5665,8 @@ packages:resolution: {integrity: sha512-TQf59BsZnytt8GdJKLPfUZ54g/iaUL2OWDSFCCvMOhsHduDQxO8xC4PNeyIkVcA5KwL2phPSv0douC0fgWzmnA==}engines: {node: '>= 20'}- resolution: {integrity: sha512-OjyVMdsDp4ORPSrRB9hiYGic4bzeiOtaOzBPxOM7jiavz6tSXuMrqLwd1eILGhN669VD0G/+jxaiweRqfVulYg==}+ resolution: {integrity: sha512-quFXFKEw7qUZL9v2ciJ9eruQYq9KUo3F+mDhwdL/pi7ZPu0bj7UX6yv55oAUiMjbGXd8MZRzIcu0oPc4y9llQw==}engines: {node: '>=22'}peerDependencies:zod: 4.6.5@@ -11921,47 +11921,47 @@ snapshots:dependencies:zod: 4.6.5- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:- '@ai-sdk/provider': 4.0.25- '@ai-sdk/provider-utils': 5.0.57([email protected])+ '@ai-sdk/provider': 4.0.26+ '@ai-sdk/provider-utils': 5.0.58([email protected])zod: 4.6.5- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:- '@ai-sdk/provider': 4.0.25- '@ai-sdk/provider-utils': 5.0.57([email protected])+ '@ai-sdk/provider': 4.0.26+ '@ai-sdk/provider-utils': 5.0.58([email protected])zod: 4.6.5- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:- '@ai-sdk/provider': 4.0.25- '@ai-sdk/provider-utils': 5.0.57([email protected])+ '@ai-sdk/provider': 4.0.26+ '@ai-sdk/provider-utils': 5.0.58([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.25- '@ai-sdk/provider-utils': 5.0.57([email protected])+ '@ai-sdk/provider': 4.0.26+ '@ai-sdk/provider-utils': 5.0.58([email protected])zod: 4.6.5- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:- '@ai-sdk/provider': 4.0.25- '@ai-sdk/provider-utils': 5.0.57([email protected])+ '@ai-sdk/provider': 4.0.26+ '@ai-sdk/provider-utils': 5.0.58([email protected])zod: 4.6.5- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:- '@ai-sdk/provider': 4.0.25+ '@ai-sdk/provider': 4.0.26'@standard-schema/spec': 1.1.0'@workflow/serde': 4.1.0eventsource-parser: 3.1.1undici: 7.29.1zod: 4.6.5- '@ai-sdk/[email protected]':+ '@ai-sdk/[email protected]':dependencies:json-schema: 0.4.0@@ -17296,11 +17296,11 @@ snapshots:dependencies:- '@ai-sdk/gateway': 4.0.108([email protected])- '@ai-sdk/provider': 4.0.25- '@ai-sdk/provider-utils': 5.0.57([email protected])+ '@ai-sdk/gateway': 4.0.110([email protected])+ '@ai-sdk/provider': 4.0.26+ '@ai-sdk/provider-utils': 5.0.58([email protected])zod: 4.6.5diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex 29f85bcdbc..d8eb147c55 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -38,7 +38,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.57"+ "@ai-sdk/provider-utils": "5.0.58"# The Codex provider runs the adapter against the user's own `codex` (CODEX_PATH), so the# 300-400 MB native Codex build the adapter depends on is never used."@agentclientprotocol/codex-acp>@openai/codex": "-"