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]ad0e3869135e
diff --git a/apps/server/package.json b/apps/server/package.jsonindex e6c710b0bf..935cd54171 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 --network=host -v ./docker/nginx.conf:/etc/nginx/conf.d/default.conf:ro nginx:latest"},"dependencies": {- "@ai-sdk/anthropic": "4.0.36",- "@ai-sdk/google": "4.0.39",- "@ai-sdk/openai": "4.0.36",+ "@ai-sdk/anthropic": "4.0.37",+ "@ai-sdk/google": "4.0.41",+ "@ai-sdk/openai": "4.0.37","@anthropic-ai/claude-agent-sdk": "^0.3.207","@modelcontextprotocol/sdk": "^1.12.1",- "ai": "7.0.58",+ "ai": "7.0.59","better-sqlite3": "13.0.3","html-to-text": "10.0.0","i18next": "26.3.6",diff --git a/packages/trilium-core/package.json b/packages/trilium-core/package.jsonindex 215e2967e5..f5f830c9ec 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.36",- "@ai-sdk/google": "4.0.39",- "@ai-sdk/openai": "4.0.36",+ "@ai-sdk/anthropic": "4.0.37",+ "@ai-sdk/google": "4.0.41",+ "@ai-sdk/openai": "4.0.37","@braintree/sanitize-url": "7.1.2","@triliumnext/commons": "workspace:*","@triliumnext/turndown-plugin-gfm": "workspace:*",- "ai": "7.0.58",+ "ai": "7.0.59","async-mutex": "0.5.0","chardet": "2.2.0","color": "5.0.3",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 105ea18b1e..2f3da8ca0a 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.25+ '@ai-sdk/provider-utils': 5.0.26mermaid: 11.16.1preact: 10.29.8roughjs: 4.6.6@@ -589,14 +589,14 @@ importers:apps/server:dependencies:'@ai-sdk/anthropic':- specifier: 4.0.36- version: 4.0.36([email protected])+ specifier: 4.0.37+ version: 4.0.37([email protected])'@ai-sdk/google':- specifier: 4.0.39- version: 4.0.39([email protected])+ specifier: 4.0.41+ version: 4.0.41([email protected])'@ai-sdk/openai':- specifier: 4.0.36- version: 4.0.36([email protected])+ specifier: 4.0.37+ version: 4.0.37([email protected])'@anthropic-ai/claude-agent-sdk':specifier: ^0.3.207version: 0.3.226(@anthropic-ai/[email protected]([email protected]))(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])@@ -604,8 +604,8 @@ importers:specifier: ^1.12.1version: 1.30.0([email protected])([email protected])ai:- specifier: 7.0.58- version: 7.0.58([email protected])+ specifier: 7.0.59+ version: 7.0.59([email protected])better-sqlite3:specifier: 13.0.3version: 13.0.3@@ -1378,14 +1378,14 @@ importers:packages/trilium-core:dependencies:'@ai-sdk/anthropic':- specifier: 4.0.36- version: 4.0.36([email protected])+ specifier: 4.0.37+ version: 4.0.37([email protected])'@ai-sdk/google':- specifier: 4.0.39- version: 4.0.39([email protected])+ specifier: 4.0.41+ version: 4.0.41([email protected])'@ai-sdk/openai':- specifier: 4.0.36- version: 4.0.36([email protected])+ specifier: 4.0.37+ version: 4.0.37([email protected])'@braintree/sanitize-url':specifier: 7.1.2version: 7.1.2@@ -1396,8 +1396,8 @@ importers:specifier: workspace:*version: link:../turndown-plugin-gfmai:- specifier: 7.0.58- version: 7.0.58([email protected])+ specifier: 7.0.59+ version: 7.0.59([email protected])async-mutex:specifier: 0.5.0version: 0.5.0@@ -1513,32 +1513,32 @@ packages:'@adobe/[email protected]':resolution: {integrity: sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg==}- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-Wg5jfray0X4+qkrr73GZ7U7K2JNGx+S+rNY9LorVlXhkhTqnvtNLYWRA1WxSxlCDCw3yjRCJdL9kyc+b7naAog==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-3JVFoPkuVyW/TkUrsNpugQDwJa5RUnExK/J3LKhKece+qFv7MRR33URvmLbND/5yg2qXZ9rf+Wf97adGMltn0g==}engines: {node: '>=22'}peerDependencies:zod: '>=4.0.0'- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-LIAO6kAG8fpXQb9L0iwPk1FIbXftvqnyC56v5NEAzeWTeL8fUsy/Hx86VPBTWEDFdwbVprjWifJOAqS6AOj3mA==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-BuWWlA8atWEnEJzN4eamCpGZWkoK9V3TCyNaMwgRIazhqkgWkA1Wp36si3j2JeVYzlvlEAOWrJ92dr92j/Vkqg==}engines: {node: '>=22'}peerDependencies:zod: '>=4.0.0'- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-+mRx7UBZn9PkJ4J6YXowaRZKMZYa290cknVqqOw/roZaDg186IUOLn9JHNQkvgaj91/MLW1AZNESy1ZD2yXDCg==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-1Kl5R61DyB5MaMZvAVBoTO0ZWsxOjRzAfMuYeo5sIg9++i9mJpkpcvxLDcpw9coLzVWIPstYaTktWI+F7ehQ1g==}engines: {node: '>=22'}peerDependencies:zod: '>=4.0.0'- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-wHJNArBdjJPXb8GXcA+FslbRt+7qIE1KoHSAVi+CeBFidinVrTVBZKFMJz3mNZMj8YILBMl/VIvTD/oGFjX6/g==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-rQIdkvqHaqyu94zMJKkhucRwsyTpYUmI+vrH/Dm1Erc6ypURikOV+9e51Pni6RL8IxFlu2bv6y8hA1ghzCy7Gw==}engines: {node: '>=22'}peerDependencies:zod: '>=4.0.0'- '@ai-sdk/[email protected]':- resolution: {integrity: sha512-xscPPHCSjCHWrdhai25sbHCJeKNLW/3D1uSpUZa4cEtTKXA8OnPQ3+Rfu1SmM5Ea/Mf8Dfn3cllw9zeMzo/zFA==}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-0mqhqx+Dcv+msI84+zkbLXmnCHb/mpkYJ9DU3HBvB1px+UjFQss4lLZqRCSzJ0w3NxwQk4Ishk7cP0r8wEQD5w==}engines: {node: '>=22'}peerDependencies:zod: '>=4.0.0'@@ -6072,8 +6072,8 @@ packages:resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==}engines: {node: '>=8'}- resolution: {integrity: sha512-GfgO90CQQ0yYuoxJAUOeQ6tviyYw1BUIDygSZ1q3Ce6kSc93tYmB5eltKY/NxC0YOouAax7JvDqVnYxvIAr04Q==}+ resolution: {integrity: sha512-p10cqg8KvLIZi7Gk+XsQjoYoLENoDdEYvehP0rSo6Wg15nbCmP+nwIy1rOIX+WGIDWGdI+jmhjVx5fXShBVC3w==}engines: {node: '>=22'}peerDependencies:zod: '>=4.0.0'@@ -12578,32 +12578,32 @@ snapshots:'@adobe/[email protected]': {}- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:'@ai-sdk/provider': 4.0.7- '@ai-sdk/provider-utils': 5.0.25([email protected])+ '@ai-sdk/provider-utils': 5.0.26([email protected])zod: 4.4.3- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:'@ai-sdk/provider': 4.0.7- '@ai-sdk/provider-utils': 5.0.25([email protected])+ '@ai-sdk/provider-utils': 5.0.26([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.7- '@ai-sdk/provider-utils': 5.0.25([email protected])+ '@ai-sdk/provider-utils': 5.0.26([email protected])zod: 4.4.3- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:'@ai-sdk/provider': 4.0.7- '@ai-sdk/provider-utils': 5.0.25([email protected])+ '@ai-sdk/provider-utils': 5.0.26([email protected])zod: 4.4.3- '@ai-sdk/[email protected]([email protected])':+ '@ai-sdk/[email protected]([email protected])':dependencies:'@ai-sdk/provider': 4.0.7'@standard-schema/spec': 1.1.0@@ -18865,11 +18865,11 @@ snapshots:clean-stack: 2.2.0indent-string: 4.0.0dependencies:- '@ai-sdk/gateway': 4.0.46([email protected])+ '@ai-sdk/gateway': 4.0.47([email protected])'@ai-sdk/provider': 4.0.7- '@ai-sdk/provider-utils': 5.0.25([email protected])+ '@ai-sdk/provider-utils': 5.0.26([email protected])zod: 4.4.3diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex 47de1323d1..41098caa60 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.25"+ "@ai-sdk/provider-utils": "5.0.26""mermaid": "11.16.1""preact": "10.29.8""roughjs": "4.6.6"