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]68aa2509a369
diff --git a/apps/server/package.json b/apps/server/package.jsonindex 9c11059045..9898b136ea 100644--- a/apps/server/package.json+++ b/apps/server/package.json@@ -29,15 +29,15 @@},"dependencies": {"@agentclientprotocol/codex-acp": "2.3.0",- "@ai-sdk/anthropic": "4.0.91",- "@ai-sdk/deepseek": "3.0.75",- "@ai-sdk/google": "4.0.107",- "@ai-sdk/openai": "4.0.104",+ "@ai-sdk/anthropic": "4.0.92",+ "@ai-sdk/deepseek": "3.0.76",+ "@ai-sdk/google": "4.0.108",+ "@ai-sdk/openai": "4.0.105","@anthropic-ai/claude-agent-sdk": "^0.3.207","@hyzyla/pdfium": "3.0.0","@modelcontextprotocol/sdk": "^1.12.1","@openrouter/ai-sdk-provider": "3.1.0",- "ai": "7.0.156",+ "ai": "7.0.157","better-sqlite3": "13.0.3","i18next": "26.5.11","ipaddr.js": "^2.4.0",diff --git a/packages/trilium-core/package.json b/packages/trilium-core/package.jsonindex b3e69bb7c9..03ae987947 100644--- a/packages/trilium-core/package.json+++ b/packages/trilium-core/package.json@@ -8,10 +8,10 @@"update-model-prices": "tsx ./scripts/update-model-prices.ts"},"dependencies": {- "@ai-sdk/anthropic": "4.0.91",- "@ai-sdk/deepseek": "3.0.75",- "@ai-sdk/google": "4.0.107",- "@ai-sdk/openai": "4.0.104",+ "@ai-sdk/anthropic": "4.0.92",+ "@ai-sdk/deepseek": "3.0.76",+ "@ai-sdk/google": "4.0.108",+ "@ai-sdk/openai": "4.0.105","@braintree/sanitize-url": "7.1.2","@openrouter/ai-sdk-provider": "3.1.0","@triliumnext/codemirror": "workspace:*",@@ -19,7 +19,7 @@"@triliumnext/highlightjs": "workspace:*","@triliumnext/share-theme": "workspace:*","@triliumnext/turndown-plugin-gfm": "workspace:*",- "ai": "7.0.156",+ "ai": "7.0.157","chardet": "2.2.0","color": "5.0.3","ejs": "7.0.2",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 0c245144fe..0089925ff9 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -16,7 +16,7 @@ overrides:'@lezer/common': 1.5.4'@lezer/highlight': 1.2.5'@lezer/lr': 1.4.11- '@ai-sdk/provider-utils': 5.0.70+ '@ai-sdk/provider-utils': 5.0.71'@agentclientprotocol/codex-acp>@openai/codex': '-'zod: 4.6.7mermaid: 12.2.0@@ -619,17 +619,17 @@ importers:specifier: 2.3.0version: 2.3.0'@ai-sdk/anthropic':- specifier: 4.0.91- version: 4.0.91([email protected])+ specifier: 4.0.92+ version: 4.0.92([email protected])'@ai-sdk/deepseek':- specifier: 3.0.75- version: 3.0.75([email protected])+ specifier: 3.0.76+ version: 3.0.76([email protected])'@ai-sdk/google':- specifier: 4.0.107- version: 4.0.107([email protected])+ specifier: 4.0.108+ version: 4.0.108([email protected])'@ai-sdk/openai':- specifier: 4.0.104- version: 4.0.104([email protected])+ specifier: 4.0.105+ version: 4.0.105([email protected])'@anthropic-ai/claude-agent-sdk':specifier: ^0.3.207version: 0.3.312(@anthropic-ai/[email protected]([email protected]))(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])@@ -641,10 +641,10 @@ importers:version: 1.32.2([email protected])([email protected])'@openrouter/ai-sdk-provider':specifier: 3.1.0ai:- specifier: 7.0.156- version: 7.0.156([email protected])+ specifier: 7.0.157+ version: 7.0.157([email protected])better-sqlite3:specifier: 13.0.3version: 13.0.3@@ -1387,23 +1387,23 @@ importers:packages/trilium-core:dependencies:'@ai-sdk/anthropic':- specifier: 4.0.91- version: 4.0.91([email protected])+ specifier: 4.0.92+ version: 4.0.92([email protected])'@ai-sdk/deepseek':- specifier: 3.0.75- version: 3.0.75([email protected])+ specifier: 3.0.76+ version: 3.0.76([email protected])'@ai-sdk/google':- specifier: 4.0.107- version: 4.0.107([email protected])+ specifier: 4.0.108+ version: 4.0.108([email protected])'@ai-sdk/openai':- specifier: 4.0.104- version: 4.0.104([email protected])+ specifier: 4.0.105+ version: 4.0.105([email protected])'@braintree/sanitize-url':specifier: 7.1.2version: 7.1.2'@openrouter/ai-sdk-provider':specifier: 3.1.0'@triliumnext/codemirror':specifier: workspace:*version: link:../codemirror@@ -1420,8 +1420,8 @@ importers:specifier: workspace:*version: link:../turndown-plugin-gfmai:- specifier: 7.0.156- version: 7.0.156([email protected])+ specifier: 7.0.157+ version: 7.0.157([email protected])chardet:specifier: 2.2.0version: 2.2.0@@ -1537,38 +1537,38 @@ packages:peerDependencies:zod: 4.6.7- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-X6MoxvTXyLCyq4wyCTCrou9SXRQrDB+4nNAMkgbCHs8A0FQNHIUW57DdkiFGY9ctpsg9Brmd2o3nMVOOxd5xyw==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-Zkg3jlGgI3G16rD389F0y7DUDGDTMOERoF2SEIg4K3qC4FeJNJKW1f0ix3Q5e2yraHdNKbC8MvHt9LVQv8qvEA==}engines: {node: '>=22'}peerDependencies:zod: 4.6.7- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-cWhJomtEUP4ksJf8a93pDJ7CShU481LAaVHtaa15aH2TDqjy/dmpGKJP55SLyKuzleQKDpBhy9RXEeeI0DC99w==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-v1y7y0H/pXtBgFA3UXSKySHHl0Nj76J09NrK+Avp/DVFTqTlwtKNCRaKDeuu2HORFdIBhwd2DrgVPv2aLlvPPg==}engines: {node: '>=22'}peerDependencies:zod: 4.6.7- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-8JvaQBaIfM8jo54kg+picQpY9qBzP/hG+YIXJO9KDL+9RpdoTjzp0/mH7XjfaqNMHAf85dM2/tCBDOOyBN7Bgg==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-TVcjwUeAUgp9HqzijFxy3skHhz4FKwjhO8TQi9SQMGEpc6k5INWntA3MYelgHWMUaK3ilQr7NX2ir2GBG/EIqg==}engines: {node: '>=22'}peerDependencies:zod: 4.6.7- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-BB3a85erZ8VN3aUzHawFfArKjCeqARRiC5xiNB3vc7Sw7Wshvv2LA+41VF2EJbnz5gCjZUmqdmOPFZ4Oz0MmQQ==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-ojISZHv38eREcv7fC/y2w8CwmmCthytly6PSy7MVVmW92CYkCK5I8I4O6Wr0xpyoihfsVmO0RBVO1LiJJ/Aogg==}engines: {node: '>=22'}peerDependencies:zod: 4.6.7- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-8oPwGh/zAdFrgyeGjTHlJMRm+DBwby3GkdGzN3vcNv4OwVtc1767mcM+7B2+gOxtloasZH+03gl+HPngQyQTMg==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-EMLEpsaCOri8g9tZvjV7wIWTMiV8tznorTiVTaBz5dMVZ+Ty0Pm7RaqTbooKIaMCCfQyVVhc6fP4MN7meIBEVg==}engines: {node: '>=22'}peerDependencies:zod: 4.6.7- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-nU213UNVHWDoEKIZ5Hm3uGPmfW7EBHC2GkIJJEDKh4HLQWgh/eizrW2jmY4efxWf7Tf/yTzKD0t6sd4kVUKlyQ==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-up6vmxeWnAGgRdNM2q8XvC43rl9N7GRX3/MltKmy3qlNFWLZMgO9SoriOi7obuv9lOYrksOmpj4TG9+TdIGI8w==}engines: {node: '>=22'}peerDependencies:zod: 4.6.7@@ -5586,8 +5586,8 @@ packages:resolution: {integrity: sha512-TQf59BsZnytt8GdJKLPfUZ54g/iaUL2OWDSFCCvMOhsHduDQxO8xC4PNeyIkVcA5KwL2phPSv0douC0fgWzmnA==}engines: {node: '>= 20'}- resolution: {integrity: sha512-qtXze+Go5L2K4nOhrrg75ETZN++FVB2dWipm0bGo1bCh4JtMZ7xD6zSAZNSv/94e3Ks4LUZ5IWoBOIa+KHiIng==}+ resolution: {integrity: sha512-yvEkoRtVgmJ9cxdy6UWg67haYzJT0r/khe74L0BnFtZhyQUSmiovuvzHiYWqSroMYT8pedsZrP4vB3+6nCeHYg==}engines: {node: '>=22'}peerDependencies:zod: 4.6.7@@ -11840,38 +11840,38 @@ snapshots:dependencies:zod: 4.6.7- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:'@ai-sdk/provider': 4.0.34- '@ai-sdk/provider-utils': 5.0.70([email protected])+ '@ai-sdk/provider-utils': 5.0.71([email protected])zod: 4.6.7- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:'@ai-sdk/provider': 4.0.34- '@ai-sdk/provider-utils': 5.0.70([email protected])+ '@ai-sdk/provider-utils': 5.0.71([email protected])zod: 4.6.7- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:'@ai-sdk/provider': 4.0.34- '@ai-sdk/provider-utils': 5.0.70([email protected])+ '@ai-sdk/provider-utils': 5.0.71([email protected])'@vercel/oidc': 3.2.0zod: 4.6.7- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:'@ai-sdk/provider': 4.0.34- '@ai-sdk/provider-utils': 5.0.70([email protected])+ '@ai-sdk/provider-utils': 5.0.71([email protected])zod: 4.6.7- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:'@ai-sdk/provider': 4.0.34- '@ai-sdk/provider-utils': 5.0.70([email protected])+ '@ai-sdk/provider-utils': 5.0.71([email protected])zod: 4.6.7- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:'@ai-sdk/provider': 4.0.34'@standard-schema/spec': 1.1.0@@ -14683,9 +14683,9 @@ snapshots:dependencies:'@octokit/openapi-types': 29.0.1dependencies:- ai: 7.0.156([email protected])+ ai: 7.0.157([email protected])zod: 4.6.7'@oxc-project/[email protected]': {}@@ -16913,11 +16913,11 @@ snapshots:dependencies:- '@ai-sdk/gateway': 4.0.129([email protected])+ '@ai-sdk/gateway': 4.0.130([email protected])'@ai-sdk/provider': 4.0.34- '@ai-sdk/provider-utils': 5.0.70([email protected])+ '@ai-sdk/provider-utils': 5.0.71([email protected])zod: 4.6.7diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex 731aabb762..611e5d90fa 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.70"+ "@ai-sdk/provider-utils": "5.0.71"# 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": "-"