Skip to content

Open-source status page, incident response and uptime monitoring

deps: update ai (#2753)

Thibault Le Ouay636ef96cb974
diff --git a/packages/ui/src/lib/data-table-filters/hooks/use-ai-filters.ts b/packages/ui/src/lib/data-table-filters/hooks/use-ai-filters.ts
index d55aeaaec..13baf0f2f 100644
--- a/packages/ui/src/lib/data-table-filters/hooks/use-ai-filters.ts
+++ b/packages/ui/src/lib/data-table-filters/hooks/use-ai-filters.ts
@@ -1,4 +1,4 @@
-import { experimental_useObject as useObject } from "@ai-sdk/react";
+import { useObject } from "@ai-sdk/react";
import {
diffPartialState,
generateAIOutputSchema,
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 60adc6fe8..f0c19df86 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -108,14 +108,14 @@ settings:
catalogs:
default:
'@ai-sdk/anthropic':
- specifier: 1.2.12
- version: 1.2.12
+ specifier: 4.0.59
+ version: 4.0.59
'@ai-sdk/openai-compatible':
- specifier: 2.0.76
- version: 2.0.76
+ specifier: 3.0.53
+ version: 3.0.53
'@ai-sdk/react':
- specifier: 3.0.290
- version: 3.0.290
+ specifier: 4.0.112
+ version: 4.0.112
'@auth/core':
specifier: 0.41.3
version: 0.41.3
@@ -423,8 +423,8 @@ catalogs:
specifier: 10.13.0
version: 10.13.0
ai:
- specifier: 6.0.287
- version: 6.0.287
+ specifier: 7.0.109
+ version: 7.0.109
bcryptjs:
specifier: 3.0.3
version: 3.0.3
@@ -687,7 +687,7 @@ importers:
dependencies:
'@ai-sdk/react':
specifier: 'catalog:'
'@auth/core':
specifier: 'catalog:'
version: 0.41.3
@@ -888,7 +888,7 @@ importers:
version: 2.5.1
ai:
specifier: 'catalog:'
- version: 6.0.287([email protected])
+ version: 7.0.109([email protected])
class-variance-authority:
specifier: 'catalog:'
version: 0.7.1
@@ -1037,7 +1037,7 @@ importers:
dependencies:
'@ai-sdk/anthropic':
specifier: 'catalog:'
- version: 1.2.12([email protected])
+ version: 4.0.59([email protected])
'@bufbuild/protobuf':
specifier: 'catalog:'
version: 2.15.0
@@ -1205,7 +1205,7 @@ importers:
version: 2.11.3
ai:
specifier: 'catalog:'
- version: 6.0.287([email protected])
+ version: 7.0.109([email protected])
hono:
specifier: 'catalog:'
version: 4.13.8
@@ -1932,10 +1932,10 @@ importers:
dependencies:
'@ai-sdk/openai-compatible':
specifier: 'catalog:'
- version: 2.0.76([email protected])
+ version: 3.0.53([email protected])
ai:
specifier: 'catalog:'
- version: 6.0.287([email protected])
+ version: 7.0.109([email protected])
devDependencies:
'@openstatus/db':
specifier: workspace:*
@@ -3092,7 +3092,7 @@ importers:
dependencies:
'@ai-sdk/react':
specifier: 'catalog:'
'@date-fns/utc':
specifier: 'catalog:'
version: 2.1.1
@@ -3197,7 +3197,7 @@ importers:
ai:
specifier: 'catalog:'
- version: 6.0.287([email protected])
+ version: 7.0.109([email protected])
class-variance-authority:
specifier: 'catalog:'
version: 0.7.1
@@ -3327,47 +3327,43 @@ importers:
packages:
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-YSzjlko7JvuiyQFmI9RN1tNZdEiZxc+6xld/0tq/VkJaHpEzGAb1yiNxxvmYVcjvfu/PcvCxAAYXmTYQQ63IHQ==}
- engines: {node: '>=18'}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-vxph5HA1bqaShn0VRuhBT7/+I2THw36AYN4W/ylOjyWSj5czQ/Tv3FoO3AIgPtbM4/yqv8fGpOgGSKOoBWv/Qg==}
+ engines: {node: '>=22'}
peerDependencies:
- zod: ^3.0.0
+ zod: ^3.25.76 || ^4.1.8
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-F6gB8qMi/Ls/Iyp2kN1q54WdpwjQaT1VUOUs8RaTIL6ysNOefPxEfMJm0Vv7Z93iNL+TBSL4DhScaZCXtd7wDA==}
- engines: {node: '>=18'}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-hpEdOAqrp3FOShSytk6n8BZVZ/xrCV7L9hqYA6Q55h7sQknvh99QfC0uQAIbQWjh+66tmo1Fo6ndQla8uCJGyA==}
+ engines: {node: '>=22'}
peerDependencies:
zod: ^3.25.76 || ^4.1.8
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-9WNAfAx38KpZUbkGn2t99gH/lK+JdICkUnjWd8rkU14MolvL1Qz8d0fjl7DvRnP5qtu3WtFni5QYmmKzIDwsDA==}
- engines: {node: '>=18'}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-f0IWtAJzCRrnz/YJB14yz5yKso5yGODJfGSciQZKVKm+5wv8Ye9Dmcqxi6QZ80Q2FBJIdqrBdpDccl60BZN/DQ==}
+ engines: {node: '>=22'}
peerDependencies:
zod: ^3.25.76 || ^4.1.8
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-fqhG+4sCVv8x7nFzYnFo19ryhAa3w096Kmc3hWxMQfW/TubPOmt3A6tYZhl4mUfQWWQMsuSkLrtjlWuXBVSGQA==}
- engines: {node: '>=18'}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-uOeghHYcF+CHP/dOCAtdfKesuKLKqDFtkq79bJFNSx4YOqpiP734TdJAZDA8KIWH7mdGNQ0a4N9238HG4FN2Rg==}
+ engines: {node: '>=22'}
peerDependencies:
- zod: ^3.23.8
+ zod: ^3.25.76 || ^4.1.8
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-cUimyIz1jjwYoF9n6HO7sU+UBW7Nu3T4lW7562yRvEhM9/8JqlW4cecxSpkiafjRzAphZG2NfJ3/Ch5cHoCIhg==}
- engines: {node: '>=18.17'}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-gLuaCups8OCIRz3eO6WWz5op7VLYNNtFzyH0sWUr0FE9v7cTxR0qxDpQdrKnGcql+9WWttobjnZsJVsuEbsPQQ==}
+ engines: {node: '>=22'}
peerDependencies:
zod: ^3.25.76 || ^4.1.8
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-qZMxYJ0qqX/RfnuIaab+zp8UAeJn/ygXXAffR5I4N0n1IrvA6qBsjc8hXLmBiMV2zoXlifkacF7sEFnYnjBcqg==}
- engines: {node: '>=18'}
-
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-9Av6kg0t/IN/dcYAAmEJ4B9OPhcEJqwSR+GfHEA8olRkindXpUHadc3p3cyvgFUQFTVm1G5thtsmgZ9yVb2w3A==}
- engines: {node: '>=18'}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-VYMBxIQdcHqbIf1j+YZlI9Ati6LZ4wJe0GGd4z4a5H/KxTggjeOiyaVYTnfF7LHZK5jMQ+rofmzz4QPqf++NUw==}
+ engines: {node: '>=22'}
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-/FaB6GKN8RKzcOh3i3mVCSXFDAN5Vt6iq0VaMKvuwQ7poBwMhYJZAql7TCXKwS30BAdd2/uTERYx1fQ8iGo7dg==}
- engines: {node: '>=18'}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-x+IFOOSnc3Pp9VRmdBghTYLEhlX3SwKfYgwIiAGHNnk6dnFgCkCHdZ61gbv4ufOv8jl9WKUqju8KYgmHQ39FAA==}
+ engines: {node: '>=22'}
peerDependencies:
react: ^18 || ~19.0.1 || ~19.1.2 || ^19.2.1
@@ -8234,6 +8230,9 @@ packages:
'@webassemblyjs/[email protected]':
resolution: {integrity: sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==}
+ '@workflow/[email protected]':
+ resolution: {integrity: sha512-pav4F2BoirECWR7Nf1TKt+2eETcBj7jj4cBefQ8VXQCA6NPkaKeLfj/zMgi+3zYV5ZIBT4GuUiphsj0/b9hPQQ==}
+
'@workos-inc/[email protected]':
resolution: {integrity: sha512-xPtcziTjN1irPiZ4niTaulYvRMs6D+Fz5E54GGHVOxNi0PV2/Ws1g/cx3q9oMvMhnINkva5iZ2T5aS6yLzdCWA==}
engines: {node: '>=22.11.0'}
@@ -8273,9 +8272,9 @@ packages:
resolution: {integrity: sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==}
engines: {node: '>= 14'}
- resolution: {integrity: sha512-3cKALOZRZp4L/Kw1GFzbRJ2eqXPtf1HxFensYakwZCSQID6B/NKqw63nk3sTikpXKOZaG06xwAD6xVicsrpdkA==}
- engines: {node: '>=18'}
+ resolution: {integrity: sha512-hTnm8K4GIT0R6gHrnDJHr1KRnGVAtFa26mLtjqn/TGy+ufD5Y5XXerTEabLXVgmb9iunWxSFRCPOZUZ/VeXYLQ==}
+ engines: {node: '>=22'}
peerDependencies:
zod: ^3.25.76 || ^4.1.8
@@ -11242,9 +11241,6 @@ packages:
resolution: {integrity: sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==}
engines: {node: '>=4'}
- resolution: {integrity: sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==}
-
resolution: {integrity: sha512-5TF+l7p4+OsnP8BCCvSyZiSPc4x4//p5uPwK8TCnVPJYRmU2aYKMpOXvw8zM5a5JvuuCGN1jmsMwuU2W02ukfA==}
@@ -11734,10 +11730,6 @@ packages:
resolution: {integrity: sha512-raqeBD6NQK4SkWhQzeYKd1KmIG6dllBOTt55Rmkt4HtI9mwdWtJljnrXjAFUBLTSN67HWrOIZ3EPF4kjUw80Bg==}
engines: {node: '>=14.0'}
- resolution: {integrity: sha512-zWpdTVD54H48CIybL0rWQ3ukpb9d23wM7eH5RtfdmeP70cWHNjtfo7P4vZX+5CoDcO53J4Pu5uXp7lNfjc6DRA==}
- engines: {node: '>=18.17'}
-
resolution: {integrity: sha512-RYONW2MeafgYlkVOKYKkA/Ag7BmXqgIWCa8t1m0JcxrQg9pI9lEqRhAOruOBCbAohOa/gkCF+iPi9hrgvTzu6Q==}
engines: {node: '>=20.18.1'}
@@ -12062,52 +12054,52 @@ packages:
snapshots:
dependencies:
- '@ai-sdk/provider': 1.1.3
- '@ai-sdk/provider-utils': 2.2.8([email protected])
+ '@ai-sdk/provider': 4.0.17
+ '@ai-sdk/provider-utils': 5.0.45([email protected])
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 3.0.16
- '@ai-sdk/provider-utils': 4.0.52([email protected])
+ '@ai-sdk/provider': 4.0.17
+ '@ai-sdk/provider-utils': 5.0.45([email protected])
'@vercel/oidc': 3.2.0
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 3.0.16
- '@ai-sdk/provider-utils': 4.0.52([email protected])
+ '@ai-sdk/provider': 4.0.17
+ '@ai-sdk/provider-utils': 5.0.45([email protected])
+ cross-spawn: 7.0.6
+ pkce-challenge: 5.0.1
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 1.1.3
- nanoid: 3.3.19
- secure-json-parse: 2.7.0
+ '@ai-sdk/provider': 4.0.17
+ '@ai-sdk/provider-utils': 5.0.45([email protected])
zod: 4.6.5
dependencies:
- '@ai-sdk/provider': 3.0.16
+ '@ai-sdk/provider': 4.0.17
'@standard-schema/spec': 1.1.0
+ '@workflow/serde': 4.1.0
eventsource-parser: 3.1.1
- undici: 6.28.1
+ undici: 7.29.1
zod: 4.6.5
- '@ai-sdk/[email protected]':
- dependencies:
- json-schema: 0.4.0
-
- '@ai-sdk/[email protected]':
+ '@ai-sdk/[email protected]':
dependencies:
json-schema: 0.4.0
dependencies:
- '@ai-sdk/provider-utils': 4.0.52([email protected])
- ai: 6.0.287([email protected])
+ '@ai-sdk/mcp': 2.0.55([email protected])
+ '@ai-sdk/provider': 4.0.17
+ '@ai-sdk/provider-utils': 5.0.45([email protected])
+ ai: 7.0.109([email protected])
react: 19.3.0
swr: 2.5.1([email protected])
throttleit: 2.1.0
@@ -16442,6 +16434,8 @@ snapshots:
'@webassemblyjs/ast': 1.14.1
'@xtuc/long': 4.2.2
+ '@workflow/[email protected]': {}
+
'@workos-inc/[email protected]': {}
'@xstate/[email protected]': {}
@@ -16474,12 +16468,11 @@ snapshots:
dependencies:
- '@ai-sdk/gateway': 3.0.197([email protected])
- '@ai-sdk/provider': 3.0.16
- '@ai-sdk/provider-utils': 4.0.52([email protected])
- '@opentelemetry/api': 1.9.1
+ '@ai-sdk/gateway': 4.0.88([email protected])
+ '@ai-sdk/provider': 4.0.17
+ '@ai-sdk/provider-utils': 5.0.45([email protected])
zod: 4.6.5
@@ -19985,8 +19978,6 @@ snapshots:
extend-shallow: 2.0.1
kind-of: 6.0.3
-
dependencies:
parseley: 0.12.1
@@ -20572,8 +20563,6 @@ snapshots:
dependencies:
'@fastify/busboy': 2.1.1
-
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 13e21c8f9..433411f74 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -36,9 +36,9 @@ autoInstallPeers: true
# it disables corepack and falls back to pnpm 9 — which ignores the `overrides`
# above and fails the frozen install.
catalog:
- "@ai-sdk/anthropic": 1.2.12
- "@ai-sdk/openai-compatible": 2.0.76
- "@ai-sdk/react": 3.0.290
+ "@ai-sdk/anthropic": 4.0.59
+ "@ai-sdk/openai-compatible": 3.0.53
+ "@ai-sdk/react": 4.0.112
"@auth/core": 0.41.3
"@auth/drizzle-adapter": 1.11.3
"@aws-sdk/client-s3": 3.1137.0
@@ -141,7 +141,7 @@ catalog:
"@upstash/redis": 1.39.0
"@vercel/blob": 0.23.4
"@workos-inc/node": 10.13.0
- ai: 6.0.287
+ ai: 7.0.109
bcryptjs: 3.0.3
class-variance-authority: 0.7.1
clsx: 2.1.1