diff --git a/apps/docs/package.json b/apps/docs/package.json index 010088af..4d29a773 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -21,7 +21,7 @@ "@streamdown/mermaid": "^1.0.1", "@vercel/analytics": "^1.6.1", "@vercel/speed-insights": "^1.3.1", - "ai": "^6.0.105", + "ai": "^6.0.142", "class-variance-authority": "^0.7.1", "dexie": "^4.2.1", "dexie-react-hooks": "^4.2.0", diff --git a/packages/elements/package.json b/packages/elements/package.json index 0ac0705f..0c62a9d4 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -20,7 +20,7 @@ "@streamdown/math": "^1.0.2", "@streamdown/mermaid": "^1.0.2", "@xyflow/react": "^12.10.0", - "ai": "^6.0.105", + "ai": "^6.0.142", "ansi-to-react": "^6.2.6", "class-variance-authority": "^0.7.1", "katex": "^0.16.28", diff --git a/packages/examples/package.json b/packages/examples/package.json index ee60f57d..251415c6 100644 --- a/packages/examples/package.json +++ b/packages/examples/package.json @@ -10,7 +10,7 @@ "@icons-pack/react-simple-icons": "^13.8.0", "@repo/elements": "workspace:*", "@xyflow/react": "^12.10.0", - "ai": "^6.0.105", + "ai": "^6.0.142", "lucide-react": "^0.577.0", "nanoid": "^5.1.6", "react": "19.2.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d82cfd3a..7c19d9e3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -78,8 +78,8 @@ importers: specifier: ^1.3.1 version: 1.3.1(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))(react@19.2.3) ai: - specifier: ^6.0.105 - version: 6.0.105(zod@4.3.6) + specifier: ^6.0.142 + version: 6.0.142(zod@4.3.6) class-variance-authority: specifier: ^0.7.1 version: 0.7.1 @@ -225,8 +225,8 @@ importers: specifier: ^12.10.0 version: 12.10.0(@types/react@19.2.8)(immer@10.1.3)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) ai: - specifier: ^6.0.105 - version: 6.0.105(zod@4.3.6) + specifier: ^6.0.142 + version: 6.0.142(zod@4.3.6) ansi-to-react: specifier: ^6.2.6 version: 6.2.6(react-dom@19.2.3(react@19.2.3))(react@19.2.3) @@ -328,8 +328,8 @@ importers: specifier: ^12.10.0 version: 12.10.0(@types/react@19.2.8)(immer@10.1.3)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) ai: - specifier: ^6.0.105 - version: 6.0.105(zod@4.3.6) + specifier: ^6.0.142 + version: 6.0.142(zod@4.3.6) lucide-react: specifier: ^0.577.0 version: 0.577.0(react@19.2.3) @@ -470,14 +470,14 @@ packages: peerDependencies: zod: ^3.25.76 || ^4.1.8 - '@ai-sdk/gateway@3.0.59': - resolution: {integrity: sha512-MbtheWHgEFV/8HL1Z6E3hOAsmP73zZlNFg0F0nJAD0Adnjp4J/plqNK00Y896d+dWTw+r0OXzyov9/2wCFjH0Q==} + '@ai-sdk/gateway@3.0.84': + resolution: {integrity: sha512-RnUw6UNvkaw9MEaJU9cIjA+WBP+ZR5+M/9nfbfJHcGKtTbcWXijJuYKx9nYRnm+qU+iiakb0XvQA/vvho6lTsw==} engines: {node: '>=18'} peerDependencies: zod: ^3.25.76 || ^4.1.8 - '@ai-sdk/provider-utils@4.0.16': - resolution: {integrity: sha512-kBvDqNkt5EwlzF9FujmNhhtl8FYg3e8FO8P5uneKliqfRThWemzBj+wfYr7ZCymAQhTRnwSSz1/SOqhOAwmx9g==} + '@ai-sdk/provider-utils@4.0.21': + resolution: {integrity: sha512-MtFUYI1/8mgDvRmaBDjbLJPFFrMG777AvSgyIFQtZHIMzm88R/12vYBBpnk7pfiWLFE1DSZzY4WDYzGbKAcmiw==} engines: {node: '>=18'} peerDependencies: zod: ^3.25.76 || ^4.1.8 @@ -3127,8 +3127,8 @@ packages: resolution: {integrity: sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==} engines: {node: '>= 14'} - ai@6.0.105: - resolution: {integrity: sha512-rp+exWtZS3J0DDvZIfetpKCIg7D3cCsvBPoFN3I67IDTs9aoBZDbpecoIkmNLT+U9RBkoEial3OGHRvme23HCw==} + ai@6.0.142: + resolution: {integrity: sha512-ZoxAsnTL/dFg5WdcwC8QNhKVlLtqwwT3I7p/4i8IJJP+6ZwqF1ljuwMsAsPYYvppZ+RzUxjxxFGb1cbEhNH3dg==} engines: {node: '>=18'} peerDependencies: zod: ^3.25.76 || ^4.1.8 @@ -6484,6 +6484,18 @@ packages: utf-8-validate: optional: true + ws@8.20.0: + resolution: {integrity: sha512-sAt8BhgNbzCtgGbt2OxmpuryO63ZoDk/sqaB/znQm94T4fCEsy/yV+7CdC1kJhOU9lboAEU7R3kquuycDoibVA==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + wsl-utils@0.3.1: resolution: {integrity: sha512-g/eziiSUNBSsdDJtCLB8bdYEUMj4jR7AGeUo96p/3dTafgjHhpF4RiCFPiRILwjQoDXx5MqkBr4fwWtR3Ky4Wg==} engines: {node: '>=20'} @@ -6570,14 +6582,14 @@ snapshots: '@vercel/oidc': 3.1.0 zod: 4.3.6 - '@ai-sdk/gateway@3.0.59(zod@4.3.6)': + '@ai-sdk/gateway@3.0.84(zod@4.3.6)': dependencies: '@ai-sdk/provider': 3.0.8 - '@ai-sdk/provider-utils': 4.0.16(zod@4.3.6) + '@ai-sdk/provider-utils': 4.0.21(zod@4.3.6) '@vercel/oidc': 3.1.0 zod: 4.3.6 - '@ai-sdk/provider-utils@4.0.16(zod@4.3.6)': + '@ai-sdk/provider-utils@4.0.21(zod@4.3.6)': dependencies: '@ai-sdk/provider': 3.0.8 '@standard-schema/spec': 1.1.0 @@ -9398,11 +9410,11 @@ snapshots: agent-base@7.1.4: {} - ai@6.0.105(zod@4.3.6): + ai@6.0.142(zod@4.3.6): dependencies: - '@ai-sdk/gateway': 3.0.59(zod@4.3.6) + '@ai-sdk/gateway': 3.0.84(zod@4.3.6) '@ai-sdk/provider': 3.0.8 - '@ai-sdk/provider-utils': 4.0.16(zod@4.3.6) + '@ai-sdk/provider-utils': 4.0.21(zod@4.3.6) '@opentelemetry/api': 1.9.0 zod: 4.3.6 @@ -10952,7 +10964,7 @@ snapshots: whatwg-encoding: 3.1.1 whatwg-mimetype: 4.0.0 whatwg-url: 14.2.0 - ws: 8.19.0 + ws: 8.20.0 xml-name-validator: 5.0.0 transitivePeerDependencies: - bufferutil @@ -13394,6 +13406,9 @@ snapshots: ws@8.19.0: {} + ws@8.20.0: + optional: true + wsl-utils@0.3.1: dependencies: is-wsl: 3.1.0