From 853c208c9f9a840a1f4945ac22eda2e51f9e8969 Mon Sep 17 00:00:00 2001 From: Javi Velasco Date: Wed, 1 Oct 2025 00:27:53 +0200 Subject: [PATCH 1/2] Update dependencies --- apps/vibe-coding-platform/package.json | 12 +- apps/vibe-coding-platform/pnpm-lock.yaml | 188 +++++++++++------------ 2 files changed, 100 insertions(+), 100 deletions(-) diff --git a/apps/vibe-coding-platform/package.json b/apps/vibe-coding-platform/package.json index a60c306991..a6c9423656 100644 --- a/apps/vibe-coding-platform/package.json +++ b/apps/vibe-coding-platform/package.json @@ -10,11 +10,11 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@ai-sdk/gateway": "1.0.21", - "@ai-sdk/openai": "2.0.28", + "@ai-sdk/gateway": "1.0.32", + "@ai-sdk/openai": "2.0.42", "@ai-sdk/provider": "^2.0.0", - "@ai-sdk/react": "2.0.40", - "@ai-sdk/vercel": "1.0.15", + "@ai-sdk/react": "2.0.59", + "@ai-sdk/vercel": "1.0.20", "@radix-ui/react-checkbox": "1.3.3", "@radix-ui/react-dialog": "1.1.14", "@radix-ui/react-label": "2.1.7", @@ -23,7 +23,7 @@ "@radix-ui/react-select": "2.2.5", "@radix-ui/react-slot": "1.2.3", "@vercel/sandbox": "0.0.17", - "ai": "5.0.40", + "ai": "5.0.59", "arctic": "3.7.0", "botid": "1.4.5", "class-variance-authority": "0.7.1", @@ -32,7 +32,7 @@ "jose": "6.0.12", "lucide-react": "0.528.0", "ms": "2.1.3", - "next": "15.4.5", + "next": "15.5.4", "next-themes": "^0.4.6", "nuqs": "2.4.3", "react": "19.1.0", diff --git a/apps/vibe-coding-platform/pnpm-lock.yaml b/apps/vibe-coding-platform/pnpm-lock.yaml index 2b86180e8b..1164383737 100644 --- a/apps/vibe-coding-platform/pnpm-lock.yaml +++ b/apps/vibe-coding-platform/pnpm-lock.yaml @@ -9,20 +9,20 @@ importers: .: dependencies: '@ai-sdk/gateway': - specifier: 1.0.21 - version: 1.0.21(zod@3.25.76) + specifier: 1.0.32 + version: 1.0.32(zod@3.25.76) '@ai-sdk/openai': - specifier: 2.0.28 - version: 2.0.28(zod@3.25.76) + specifier: 2.0.42 + version: 2.0.42(zod@3.25.76) '@ai-sdk/provider': specifier: ^2.0.0 version: 2.0.0 '@ai-sdk/react': - specifier: 2.0.40 - version: 2.0.40(react@19.1.0)(zod@3.25.76) + specifier: 2.0.59 + version: 2.0.59(react@19.1.0)(zod@3.25.76) '@ai-sdk/vercel': - specifier: 1.0.15 - version: 1.0.15(zod@3.25.76) + specifier: 1.0.20 + version: 1.0.20(zod@3.25.76) '@radix-ui/react-checkbox': specifier: 1.3.3 version: 1.3.3(@types/react-dom@19.1.7(@types/react@19.1.9))(@types/react@19.1.9)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) @@ -48,14 +48,14 @@ importers: specifier: 0.0.17 version: 0.0.17 ai: - specifier: 5.0.40 - version: 5.0.40(zod@3.25.76) + specifier: 5.0.59 + version: 5.0.59(zod@3.25.76) arctic: specifier: 3.7.0 version: 3.7.0 botid: specifier: 1.4.5 - version: 1.4.5(next@15.4.5(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react@19.1.0) + version: 1.4.5(next@15.5.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react@19.1.0) class-variance-authority: specifier: 0.7.1 version: 0.7.1 @@ -75,14 +75,14 @@ importers: specifier: 2.1.3 version: 2.1.3 next: - specifier: 15.4.5 - version: 15.4.5(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + specifier: 15.5.4 + version: 15.5.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) next-themes: specifier: ^0.4.6 version: 0.4.6(react-dom@19.1.0(react@19.1.0))(react@19.1.0) nuqs: specifier: 2.4.3 - version: 2.4.3(next@15.4.5(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react@19.1.0) + version: 2.4.3(next@15.5.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react@19.1.0) react: specifier: 19.1.0 version: 19.1.0 @@ -162,49 +162,49 @@ importers: packages: - '@ai-sdk/gateway@1.0.21': - resolution: {integrity: sha512-yQPrMb1v0P8GwmmpcCT2DGPfgJVRkJ9QaRRJGO0+Em+wI+Xv3lvHHIc3ImVR3jjVfJPih/cNWWALUgRERfQaxQ==} + '@ai-sdk/gateway@1.0.32': + resolution: {integrity: sha512-TQRIM63EI/ccJBc7RxeB8nq/CnGNnyl7eu5stWdLwL41stkV5skVeZJe0QRvFbaOrwCkgUVE0yrUqJi4tgDC1A==} engines: {node: '>=18'} peerDependencies: - zod: ^3.25.76 || ^4 + zod: ^3.25.76 || ^4.1.8 - '@ai-sdk/openai-compatible@1.0.15': - resolution: {integrity: sha512-i4TzohCxuFzBSdRNPa9eNFW6AYDZ5itbxz+rJa2kpNTMYqHgqKPGzet3X6eLIUVntA10icrqhWT+hUhxXZIS9Q==} + '@ai-sdk/openai-compatible@1.0.19': + resolution: {integrity: sha512-hnsqPCCSNKgpZRNDOAIXZs7OcUDM4ut5ggWxj2sjB4tNL/aBn/xrM7pJkqu+WuPowyrE60wPVSlw0LvtXAlMXQ==} engines: {node: '>=18'} peerDependencies: - zod: ^3.25.76 || ^4 + zod: ^3.25.76 || ^4.1.8 - '@ai-sdk/openai@2.0.28': - resolution: {integrity: sha512-Z2mG7PjUKbpT8fMexE6yrorxXVzGHSl3jKF293w2i6s9Dc6X81Gf6Z0OGNnkrftLtW4PXr7RZ/9xoyusBZW4uA==} + '@ai-sdk/openai@2.0.42': + resolution: {integrity: sha512-9mM6QS8k0ooH9qMC27nlrYLQmNDnO6Rk0JTmFo/yUxpABEWOcvQhMWNHbp9lFL6Ty5vkdINrujhsAQfWuEleOg==} engines: {node: '>=18'} peerDependencies: - zod: ^3.25.76 || ^4 + zod: ^3.25.76 || ^4.1.8 - '@ai-sdk/provider-utils@3.0.8': - resolution: {integrity: sha512-cDj1iigu7MW2tgAQeBzOiLhjHOUM9vENsgh4oAVitek0d//WdgfPCsKO3euP7m7LyO/j9a1vr/So+BGNdpFXYw==} + '@ai-sdk/provider-utils@3.0.10': + resolution: {integrity: sha512-T1gZ76gEIwffep6MWI0QNy9jgoybUHE7TRaHB5k54K8mF91ciGFlbtCGxDYhMH3nCRergKwYFIDeFF0hJSIQHQ==} engines: {node: '>=18'} peerDependencies: - zod: ^3.25.76 || ^4 + zod: ^3.25.76 || ^4.1.8 '@ai-sdk/provider@2.0.0': resolution: {integrity: sha512-6o7Y2SeO9vFKB8lArHXehNuusnpddKPk7xqL7T2/b+OvXMRIXUO1rR4wcv1hAFUAT9avGZshty3Wlua/XA7TvA==} engines: {node: '>=18'} - '@ai-sdk/react@2.0.40': - resolution: {integrity: sha512-NG27F+NOWOzBIWfRNFy12WqkQhHRhaFCGqplc3nf+okV77N2ZiCZjV4AsjVbYsi2Vr7/EdfPnkqqaEAO6HOQrA==} + '@ai-sdk/react@2.0.59': + resolution: {integrity: sha512-whuMGkiRugJIQNJEIpt3gv53EsvQ6ub7Qh19ujbUcvXZKwoCCZlEGmUqEJqvPVRm95d4uYXFxEk0wqpxOpsm6g==} engines: {node: '>=18'} peerDependencies: react: ^18 || ^19 || ^19.0.0-rc - zod: ^3.25.76 || ^4 + zod: ^3.25.76 || ^4.1.8 peerDependenciesMeta: zod: optional: true - '@ai-sdk/vercel@1.0.15': - resolution: {integrity: sha512-vXbCrAIniKgYSf2g8RW+1q66SwUxTm81euGtIf62oM+n09hQfJ/cU58zs/RR3bc9nTraPoqbUBf1sFRATZhH/A==} + '@ai-sdk/vercel@1.0.20': + resolution: {integrity: sha512-gbh4nqYph0ahmrLKwI9Rx2Q93R6J/HIKxdYg80ypAu2YOEF47LpLgV0FHAIpLKRZhE8HrCzUVlHUjVvFjnqqkw==} engines: {node: '>=18'} peerDependencies: - zod: ^3.25.76 || ^4 + zod: ^3.25.76 || ^4.1.8 '@alloc/quick-lru@5.2.0': resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==} @@ -378,53 +378,53 @@ packages: '@jridgewell/trace-mapping@0.3.29': resolution: {integrity: sha512-uw6guiW/gcAGPDhLmd77/6lW8QLeiV5RUTsAX46Db6oLhGaVj4lhnPwb184s1bkc8kdVg/+h988dro8GRDpmYQ==} - '@next/env@15.4.5': - resolution: {integrity: sha512-ruM+q2SCOVCepUiERoxOmZY9ZVoecR3gcXNwCYZRvQQWRjhOiPJGmQ2fAiLR6YKWXcSAh7G79KEFxN3rwhs4LQ==} + '@next/env@15.5.4': + resolution: {integrity: sha512-27SQhYp5QryzIT5uO8hq99C69eLQ7qkzkDPsk3N+GuS2XgOgoYEeOav7Pf8Tn4drECOVDsDg8oj+/DVy8qQL2A==} - '@next/swc-darwin-arm64@15.4.5': - resolution: {integrity: sha512-84dAN4fkfdC7nX6udDLz9GzQlMUwEMKD7zsseXrl7FTeIItF8vpk1lhLEnsotiiDt+QFu3O1FVWnqwcRD2U3KA==} + '@next/swc-darwin-arm64@15.5.4': + resolution: {integrity: sha512-nopqz+Ov6uvorej8ndRX6HlxCYWCO3AHLfKK2TYvxoSB2scETOcfm/HSS3piPqc3A+MUgyHoqE6je4wnkjfrOA==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] - '@next/swc-darwin-x64@15.4.5': - resolution: {integrity: sha512-CL6mfGsKuFSyQjx36p2ftwMNSb8PQog8y0HO/ONLdQqDql7x3aJb/wB+LA651r4we2pp/Ck+qoRVUeZZEvSurA==} + '@next/swc-darwin-x64@15.5.4': + resolution: {integrity: sha512-QOTCFq8b09ghfjRJKfb68kU9k2K+2wsC4A67psOiMn849K9ZXgCSRQr0oVHfmKnoqCbEmQWG1f2h1T2vtJJ9mA==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] - '@next/swc-linux-arm64-gnu@15.4.5': - resolution: {integrity: sha512-1hTVd9n6jpM/thnDc5kYHD1OjjWYpUJrJxY4DlEacT7L5SEOXIifIdTye6SQNNn8JDZrcN+n8AWOmeJ8u3KlvQ==} + '@next/swc-linux-arm64-gnu@15.5.4': + resolution: {integrity: sha512-eRD5zkts6jS3VfE/J0Kt1VxdFqTnMc3QgO5lFE5GKN3KDI/uUpSyK3CjQHmfEkYR4wCOl0R0XrsjpxfWEA++XA==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@next/swc-linux-arm64-musl@15.4.5': - resolution: {integrity: sha512-4W+D/nw3RpIwGrqpFi7greZ0hjrCaioGErI7XHgkcTeWdZd146NNu1s4HnaHonLeNTguKnL2Urqvj28UJj6Gqw==} + '@next/swc-linux-arm64-musl@15.5.4': + resolution: {integrity: sha512-TOK7iTxmXFc45UrtKqWdZ1shfxuL4tnVAOuuJK4S88rX3oyVV4ZkLjtMT85wQkfBrOOvU55aLty+MV8xmcJR8A==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@next/swc-linux-x64-gnu@15.4.5': - resolution: {integrity: sha512-N6Mgdxe/Cn2K1yMHge6pclffkxzbSGOydXVKYOjYqQXZYjLCfN/CuFkaYDeDHY2VBwSHyM2fUjYBiQCIlxIKDA==} + '@next/swc-linux-x64-gnu@15.5.4': + resolution: {integrity: sha512-7HKolaj+481FSW/5lL0BcTkA4Ueam9SPYWyN/ib/WGAFZf0DGAN8frNpNZYFHtM4ZstrHZS3LY3vrwlIQfsiMA==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@next/swc-linux-x64-musl@15.4.5': - resolution: {integrity: sha512-YZ3bNDrS8v5KiqgWE0xZQgtXgCTUacgFtnEgI4ccotAASwSvcMPDLua7BWLuTfucoRv6mPidXkITJLd8IdJplQ==} + '@next/swc-linux-x64-musl@15.5.4': + resolution: {integrity: sha512-nlQQ6nfgN0nCO/KuyEUwwOdwQIGjOs4WNMjEUtpIQJPR2NUfmGpW2wkJln1d4nJ7oUzd1g4GivH5GoEPBgfsdw==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@next/swc-win32-arm64-msvc@15.4.5': - resolution: {integrity: sha512-9Wr4t9GkZmMNcTVvSloFtjzbH4vtT4a8+UHqDoVnxA5QyfWe6c5flTH1BIWPGNWSUlofc8dVJAE7j84FQgskvQ==} + '@next/swc-win32-arm64-msvc@15.5.4': + resolution: {integrity: sha512-PcR2bN7FlM32XM6eumklmyWLLbu2vs+D7nJX8OAIoWy69Kef8mfiN4e8TUv2KohprwifdpFKPzIP1njuCjD0YA==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] - '@next/swc-win32-x64-msvc@15.4.5': - resolution: {integrity: sha512-voWk7XtGvlsP+w8VBz7lqp8Y+dYw/MTI4KeS0gTVtfdhdJ5QwhXLmNrndFOin/MDoCvUaLWMkYKATaCoUkt2/A==} + '@next/swc-win32-x64-msvc@15.5.4': + resolution: {integrity: sha512-1ur2tSHZj8Px/KMAthmuI9FMp/YFusMMGoRNJaRZMOlSkgvLjzosSdQI0cJAKogdHl3qXUQKL9MGaYvKwA7DXg==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -1013,11 +1013,11 @@ packages: engines: {node: '>=0.4.0'} hasBin: true - ai@5.0.40: - resolution: {integrity: sha512-AEKVjVQjnzomEz39f1axnCLtmNRU/BrP12Ou6ztinGhv5u1VxrrRk5qbXugVI0ijeaVwxKQ/SWs0dicUC0qLEA==} + ai@5.0.59: + resolution: {integrity: sha512-SuAFxKXt2Ha9FiXB3gaOITkOg9ek/3QNVatGVExvTT4gNXc+hJpuNe1dmuwf6Z5Op4fzc8wdbsrYP27ZCXBzlw==} engines: {node: '>=18'} peerDependencies: - zod: ^3.25.76 || ^4 + zod: ^3.25.76 || ^4.1.8 ajv-formats@2.1.1: resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==} @@ -1644,8 +1644,8 @@ packages: react: ^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc react-dom: ^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc - next@15.4.5: - resolution: {integrity: sha512-nJ4v+IO9CPmbmcvsPebIoX3Q+S7f6Fu08/dEWu0Ttfa+wVwQRh9epcmsyCPjmL2b8MxC+CkBR97jgDhUUztI3g==} + next@15.5.4: + resolution: {integrity: sha512-xH4Yjhb82sFYQfY3vbkJfgSDgXvBB6a8xPs9i35k6oZJRoQRihZH+4s9Yo2qsWpzBmZ3lPXaJ2KPXLfkvW4LnA==} engines: {node: ^18.18.0 || ^19.8.0 || >= 20.0.0} hasBin: true peerDependencies: @@ -2103,25 +2103,25 @@ packages: snapshots: - '@ai-sdk/gateway@1.0.21(zod@3.25.76)': + '@ai-sdk/gateway@1.0.32(zod@3.25.76)': dependencies: '@ai-sdk/provider': 2.0.0 - '@ai-sdk/provider-utils': 3.0.8(zod@3.25.76) + '@ai-sdk/provider-utils': 3.0.10(zod@3.25.76) zod: 3.25.76 - '@ai-sdk/openai-compatible@1.0.15(zod@3.25.76)': + '@ai-sdk/openai-compatible@1.0.19(zod@3.25.76)': dependencies: '@ai-sdk/provider': 2.0.0 - '@ai-sdk/provider-utils': 3.0.8(zod@3.25.76) + '@ai-sdk/provider-utils': 3.0.10(zod@3.25.76) zod: 3.25.76 - '@ai-sdk/openai@2.0.28(zod@3.25.76)': + '@ai-sdk/openai@2.0.42(zod@3.25.76)': dependencies: '@ai-sdk/provider': 2.0.0 - '@ai-sdk/provider-utils': 3.0.8(zod@3.25.76) + '@ai-sdk/provider-utils': 3.0.10(zod@3.25.76) zod: 3.25.76 - '@ai-sdk/provider-utils@3.0.8(zod@3.25.76)': + '@ai-sdk/provider-utils@3.0.10(zod@3.25.76)': dependencies: '@ai-sdk/provider': 2.0.0 '@standard-schema/spec': 1.0.0 @@ -2132,21 +2132,21 @@ snapshots: dependencies: json-schema: 0.4.0 - '@ai-sdk/react@2.0.40(react@19.1.0)(zod@3.25.76)': + '@ai-sdk/react@2.0.59(react@19.1.0)(zod@3.25.76)': dependencies: - '@ai-sdk/provider-utils': 3.0.8(zod@3.25.76) - ai: 5.0.40(zod@3.25.76) + '@ai-sdk/provider-utils': 3.0.10(zod@3.25.76) + ai: 5.0.59(zod@3.25.76) react: 19.1.0 swr: 2.3.4(react@19.1.0) throttleit: 2.1.0 optionalDependencies: zod: 3.25.76 - '@ai-sdk/vercel@1.0.15(zod@3.25.76)': + '@ai-sdk/vercel@1.0.20(zod@3.25.76)': dependencies: - '@ai-sdk/openai-compatible': 1.0.15(zod@3.25.76) + '@ai-sdk/openai-compatible': 1.0.19(zod@3.25.76) '@ai-sdk/provider': 2.0.0 - '@ai-sdk/provider-utils': 3.0.8(zod@3.25.76) + '@ai-sdk/provider-utils': 3.0.10(zod@3.25.76) zod: 3.25.76 '@alloc/quick-lru@5.2.0': {} @@ -2289,30 +2289,30 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.4 - '@next/env@15.4.5': {} + '@next/env@15.5.4': {} - '@next/swc-darwin-arm64@15.4.5': + '@next/swc-darwin-arm64@15.5.4': optional: true - '@next/swc-darwin-x64@15.4.5': + '@next/swc-darwin-x64@15.5.4': optional: true - '@next/swc-linux-arm64-gnu@15.4.5': + '@next/swc-linux-arm64-gnu@15.5.4': optional: true - '@next/swc-linux-arm64-musl@15.4.5': + '@next/swc-linux-arm64-musl@15.5.4': optional: true - '@next/swc-linux-x64-gnu@15.4.5': + '@next/swc-linux-x64-gnu@15.5.4': optional: true - '@next/swc-linux-x64-musl@15.4.5': + '@next/swc-linux-x64-musl@15.5.4': optional: true - '@next/swc-win32-arm64-msvc@15.4.5': + '@next/swc-win32-arm64-msvc@15.5.4': optional: true - '@next/swc-win32-x64-msvc@15.4.5': + '@next/swc-win32-x64-msvc@15.5.4': optional: true '@opentelemetry/api@1.9.0': {} @@ -2896,11 +2896,11 @@ snapshots: acorn@8.15.0: {} - ai@5.0.40(zod@3.25.76): + ai@5.0.59(zod@3.25.76): dependencies: - '@ai-sdk/gateway': 1.0.21(zod@3.25.76) + '@ai-sdk/gateway': 1.0.32(zod@3.25.76) '@ai-sdk/provider': 2.0.0 - '@ai-sdk/provider-utils': 3.0.8(zod@3.25.76) + '@ai-sdk/provider-utils': 3.0.10(zod@3.25.76) '@opentelemetry/api': 1.9.0 zod: 3.25.76 @@ -2956,9 +2956,9 @@ snapshots: big.js@5.2.2: {} - botid@1.4.5(next@15.4.5(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react@19.1.0): + botid@1.4.5(next@15.5.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react@19.1.0): optionalDependencies: - next: 15.4.5(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + next: 15.5.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) react: 19.1.0 browserslist@4.25.1: @@ -3693,9 +3693,9 @@ snapshots: react: 19.1.0 react-dom: 19.1.0(react@19.1.0) - next@15.4.5(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0): + next@15.5.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0): dependencies: - '@next/env': 15.4.5 + '@next/env': 15.5.4 '@swc/helpers': 0.5.15 caniuse-lite: 1.0.30001731 postcss: 8.4.31 @@ -3703,14 +3703,14 @@ snapshots: react-dom: 19.1.0(react@19.1.0) styled-jsx: 5.1.6(react@19.1.0) optionalDependencies: - '@next/swc-darwin-arm64': 15.4.5 - '@next/swc-darwin-x64': 15.4.5 - '@next/swc-linux-arm64-gnu': 15.4.5 - '@next/swc-linux-arm64-musl': 15.4.5 - '@next/swc-linux-x64-gnu': 15.4.5 - '@next/swc-linux-x64-musl': 15.4.5 - '@next/swc-win32-arm64-msvc': 15.4.5 - '@next/swc-win32-x64-msvc': 15.4.5 + '@next/swc-darwin-arm64': 15.5.4 + '@next/swc-darwin-x64': 15.5.4 + '@next/swc-linux-arm64-gnu': 15.5.4 + '@next/swc-linux-arm64-musl': 15.5.4 + '@next/swc-linux-x64-gnu': 15.5.4 + '@next/swc-linux-x64-musl': 15.5.4 + '@next/swc-win32-arm64-msvc': 15.5.4 + '@next/swc-win32-x64-msvc': 15.5.4 '@opentelemetry/api': 1.9.0 sharp: 0.34.3 transitivePeerDependencies: @@ -3719,12 +3719,12 @@ snapshots: node-releases@2.0.19: {} - nuqs@2.4.3(next@15.4.5(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react@19.1.0): + nuqs@2.4.3(next@15.5.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react@19.1.0): dependencies: mitt: 3.0.1 react: 19.1.0 optionalDependencies: - next: 15.4.5(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + next: 15.5.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) parse-entities@2.0.0: dependencies: From f1c0e27d0be6a600fff2a557b5fd6bc5cbcc344c Mon Sep 17 00:00:00 2001 From: Javi Velasco Date: Wed, 1 Oct 2025 00:31:55 +0200 Subject: [PATCH 2/2] Add Claude Sonnet 4.5 to Vibe Coding Platform --- apps/vibe-coding-platform/ai/constants.ts | 4 +++- apps/vibe-coding-platform/ai/gateway.ts | 9 +++++---- .../ai/tools/generate-files/get-contents.ts | 1 + 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/apps/vibe-coding-platform/ai/constants.ts b/apps/vibe-coding-platform/ai/constants.ts index 0a980ea603..7ece65e9bd 100644 --- a/apps/vibe-coding-platform/ai/constants.ts +++ b/apps/vibe-coding-platform/ai/constants.ts @@ -3,17 +3,19 @@ import { type GatewayModelId } from '@ai-sdk/gateway' export enum Models { AmazonNovaPro = 'amazon/nova-pro', AnthropicClaude4Sonnet = 'anthropic/claude-4-sonnet', + AnthropicClaude45Sonnet = 'anthropic/claude-sonnet-4.5', GoogleGeminiFlash = 'google/gemini-2.5-flash', MoonshotKimiK2 = 'moonshotai/kimi-k2', OpenAIGPT5 = 'gpt-5', XaiGrok3Fast = 'xai/grok-3-fast', } -export const DEFAULT_MODEL = Models.OpenAIGPT5 +export const DEFAULT_MODEL = Models.AnthropicClaude45Sonnet export const SUPPORTED_MODELS: GatewayModelId[] = [ Models.AmazonNovaPro, Models.AnthropicClaude4Sonnet, + Models.AnthropicClaude45Sonnet, Models.GoogleGeminiFlash, Models.MoonshotKimiK2, Models.OpenAIGPT5, diff --git a/apps/vibe-coding-platform/ai/gateway.ts b/apps/vibe-coding-platform/ai/gateway.ts index 81de074169..c9ed0dd07b 100644 --- a/apps/vibe-coding-platform/ai/gateway.ts +++ b/apps/vibe-coding-platform/ai/gateway.ts @@ -7,9 +7,7 @@ import type { LanguageModelV2 } from '@ai-sdk/provider' export async function getAvailableModels() { const gateway = gatewayInstance() const response = await gateway.getAvailableModels() - return response.models - .map((model) => ({ id: model.id, name: model.name })) - .concat([{ id: Models.OpenAIGPT5, name: 'GPT-5' }]) + return response.models.map((model) => ({ id: model.id, name: model.name })) } export interface ModelOptions { @@ -37,7 +35,10 @@ export function getModelOptions( } } - if (modelId === Models.AnthropicClaude4Sonnet) { + if ( + modelId === Models.AnthropicClaude4Sonnet || + modelId === Models.AnthropicClaude45Sonnet + ) { return { model: gateway(modelId), headers: { 'anthropic-beta': 'fine-grained-tool-streaming-2025-05-14' }, diff --git a/apps/vibe-coding-platform/ai/tools/generate-files/get-contents.ts b/apps/vibe-coding-platform/ai/tools/generate-files/get-contents.ts index 77244e8204..6d2a774813 100644 --- a/apps/vibe-coding-platform/ai/tools/generate-files/get-contents.ts +++ b/apps/vibe-coding-platform/ai/tools/generate-files/get-contents.ts @@ -37,6 +37,7 @@ export async function* getContents( const deferred = new Deferred() const result = streamObject({ ...getModelOptions(params.modelId, { reasoningEffort: 'minimal' }), + maxOutputTokens: 64000, system: 'You are a file content generator. You must generate files based on the conversation history and the provided paths. NEVER generate lock files (pnpm-lock.yaml, package-lock.json, yarn.lock) - these are automatically created by package managers.', messages: [