diff --git a/next-env.d.ts b/next-env.d.ts index 9edff1c..c4b7818 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,6 +1,6 @@ /// /// -import "./.next/types/routes.d.ts"; +import "./.next/dev/types/routes.d.ts"; // NOTE: This file should not be edited // see https://nextjs.org/docs/app/api-reference/config/typescript for more information. diff --git a/package.json b/package.json index c8140ce..b04b9ad 100644 --- a/package.json +++ b/package.json @@ -18,10 +18,10 @@ "test": "export PLAYWRIGHT=True && pnpm exec playwright test" }, "dependencies": { - "@ai-sdk/gateway": "^1.0.15", + "@ai-sdk/gateway": "^2.0.18", "@ai-sdk/provider": "2.0.0", - "@ai-sdk/react": "2.0.26", - "@ai-sdk/xai": "2.0.13", + "@ai-sdk/react": "2.0.109", + "@ai-sdk/xai": "2.0.39", "@codemirror/lang-javascript": "^6.2.2", "@codemirror/lang-python": "^6.1.6", "@codemirror/state": "^6.5.0", @@ -38,7 +38,7 @@ "@vercel/blob": "^0.24.1", "@vercel/functions": "^2.0.0", "@vercel/otel": "^1.12.0", - "ai": "5.0.26", + "ai": "5.0.108", "bcrypt-ts": "^5.0.2", "class-variance-authority": "^0.7.1", "classnames": "^2.5.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1870bd3..d624ba5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,17 +9,17 @@ importers: .: dependencies: '@ai-sdk/gateway': - specifier: ^1.0.15 - version: 1.0.41(zod@3.25.76) + specifier: ^2.0.18 + version: 2.0.18(zod@3.25.76) '@ai-sdk/provider': specifier: 2.0.0 version: 2.0.0 '@ai-sdk/react': - specifier: 2.0.26 - version: 2.0.26(react@19.0.1)(zod@3.25.76) + specifier: 2.0.109 + version: 2.0.109(react@19.0.1)(zod@3.25.76) '@ai-sdk/xai': - specifier: 2.0.13 - version: 2.0.13(zod@3.25.76) + specifier: 2.0.39 + version: 2.0.39(zod@3.25.76) '@codemirror/lang-javascript': specifier: ^6.2.2 version: 6.2.3 @@ -69,8 +69,8 @@ importers: specifier: ^1.12.0 version: 1.14.0(@opentelemetry/api-logs@0.200.0)(@opentelemetry/api@1.9.0)(@opentelemetry/instrumentation@0.57.2(@opentelemetry/api@1.9.0))(@opentelemetry/resources@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-logs@0.57.2(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-metrics@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@1.30.1(@opentelemetry/api@1.9.0)) ai: - specifier: 5.0.26 - version: 5.0.26(zod@3.25.76) + specifier: 5.0.108 + version: 5.0.108(zod@3.25.76) bcrypt-ts: specifier: ^5.0.2 version: 5.0.3 @@ -273,55 +273,43 @@ importers: packages: - '@ai-sdk/gateway@1.0.15': - resolution: {integrity: sha512-xySXoQ29+KbGuGfmDnABx+O6vc7Gj7qugmj1kGpn0rW0rQNn6UKUuvscKMzWyv1Uv05GyC1vqHq8ZhEOLfXscQ==} - engines: {node: '>=18'} - peerDependencies: - zod: ^3.25.76 || ^4 - - '@ai-sdk/gateway@1.0.41': - resolution: {integrity: sha512-9X67ATsz3tv6EZZXEBuMlF/wfAXXSvRE6kearB4wqR7qCDFS028wgsgJhxz5DArS53S2i0Mv12hjMlpiJmF/Vg==} + '@ai-sdk/gateway@2.0.18': + resolution: {integrity: sha512-sDQcW+6ck2m0pTIHW6BPHD7S125WD3qNkx/B8sEzJp/hurocmJ5Cni0ybExg6sQMGo+fr/GWOwpHF1cmCdg5rQ==} engines: {node: '>=18'} peerDependencies: zod: ^3.25.76 || ^4.1.8 - '@ai-sdk/openai-compatible@1.0.13': - resolution: {integrity: sha512-g46fLVWKcVg1XOFzDLoJ0XuhtY5XxxBwMQ0FT/aHwCtg6WUvk3Elrd+MKmgfvhZAdIR7CpUTvgJAAipu4RW75w==} - engines: {node: '>=18'} - peerDependencies: - zod: ^3.25.76 || ^4 - - '@ai-sdk/provider-utils@3.0.12': - resolution: {integrity: sha512-ZtbdvYxdMoria+2SlNarEk6Hlgyf+zzcznlD55EAl+7VZvJaSg2sqPvwArY7L6TfDEDJsnCq0fdhBSkYo0Xqdg==} + '@ai-sdk/openai-compatible@1.0.28': + resolution: {integrity: sha512-yKubDxLYtXyGUzkr9lNStf/lE/I+Okc8tmotvyABhsQHHieLKk6oV5fJeRJxhr67Ejhg+FRnwUOxAmjRoFM4dA==} engines: {node: '>=18'} peerDependencies: zod: ^3.25.76 || ^4.1.8 - '@ai-sdk/provider-utils@3.0.7': - resolution: {integrity: sha512-o3BS5/t8KnBL3ubP8k3w77AByOypLm+pkIL/DCw0qKkhDbvhCy+L3hRTGPikpdb8WHcylAeKsjgwOxhj4cqTUA==} + '@ai-sdk/provider-utils@3.0.18': + resolution: {integrity: sha512-ypv1xXMsgGcNKUP+hglKqtdDuMg68nWHucPPAhIENrbFAI+xCHiqPVN8Zllxyv1TNZwGWUghPxJXU+Mqps0YRQ==} 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.26': - resolution: {integrity: sha512-l1lUnEmB26j/LtBkxVNpPxVTnwyPee0b7xTxiuyyF68D8QyAsoz5DJYK7I2LRhwdgqII7Grw7/WJs6tBiF8SPw==} + '@ai-sdk/react@2.0.109': + resolution: {integrity: sha512-5qM8KuN7bv7E+g6BXkSAYLFjwIfMSTKOA1prjg1zEShJXJyLSc+Yqkd3EfGibm75b7nJAqJNShurDmR/IlQqFQ==} 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/xai@2.0.13': - resolution: {integrity: sha512-nWOmAInQg8uGIJ08XBxKQ9vmFpgS+bulCKtNMatW5Q62sza+f/1vuVo7fBPbxGm5SWUOno6hjAKi3ipVpLcwRQ==} + '@ai-sdk/xai@2.0.39': + resolution: {integrity: sha512-EtRRHpPb3J6qY8y9C9p1g3FdF8dl6SocmfyS418g+PesK9/bIAbJYWQStdWpJXF/d9VfzeoOp1IhcBgKotAn+A==} 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==} @@ -2460,8 +2448,8 @@ packages: resolution: {integrity: sha512-59PBFx3T+k5hLTEWa3ggiMpGRz1OVvl9eN8SUai+A43IsqiOuAe7qPBf+cray/Fj6mkgnxm/D7IAtjc8zSHi7g==} engines: {node: '>= 18'} - '@vercel/oidc@3.0.2': - resolution: {integrity: sha512-JekxQ0RApo4gS4un/iMGsIL1/k4KUBe3HmnGcDvzHuFBdQdudEJgTqcsJC7y6Ul4Yw5CeykgvQbX2XeEJd0+DA==} + '@vercel/oidc@3.0.5': + resolution: {integrity: sha512-fnYhv671l+eTTp48gB4zEsTW/YtRgRPnkI2nT7x6qw5rkI1Lq2hTmQIpHPgyThI0znLK+vX2n9XxKdXZ7BUbbw==} engines: {node: '>= 20'} '@vercel/otel@1.14.0': @@ -2519,11 +2507,11 @@ packages: engines: {node: '>=0.4.0'} hasBin: true - ai@5.0.26: - resolution: {integrity: sha512-bGNtG+nYQ2U+5mzuLbxIg9WxGQJ2u5jv2gYgP8C+CJ1YI4qqIjvjOgGEZWzvNet8jiOGIlqstsht9aQefKzmBw==} + ai@5.0.108: + resolution: {integrity: sha512-Jex3Lb7V41NNpuqJHKgrwoU6BCLHdI1Pg4qb4GJH4jRIDRXUBySJErHjyN4oTCwbiYCeb/8II9EnqSRPq9EifA==} engines: {node: '>=18'} peerDependencies: - zod: ^3.25.76 || ^4 + zod: ^3.25.76 || ^4.1.8 argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} @@ -4419,33 +4407,20 @@ packages: snapshots: - '@ai-sdk/gateway@1.0.15(zod@3.25.76)': + '@ai-sdk/gateway@2.0.18(zod@3.25.76)': dependencies: '@ai-sdk/provider': 2.0.0 - '@ai-sdk/provider-utils': 3.0.7(zod@3.25.76) + '@ai-sdk/provider-utils': 3.0.18(zod@3.25.76) + '@vercel/oidc': 3.0.5 zod: 3.25.76 - '@ai-sdk/gateway@1.0.41(zod@3.25.76)': + '@ai-sdk/openai-compatible@1.0.28(zod@3.25.76)': dependencies: '@ai-sdk/provider': 2.0.0 - '@ai-sdk/provider-utils': 3.0.12(zod@3.25.76) - '@vercel/oidc': 3.0.2 + '@ai-sdk/provider-utils': 3.0.18(zod@3.25.76) zod: 3.25.76 - '@ai-sdk/openai-compatible@1.0.13(zod@3.25.76)': - dependencies: - '@ai-sdk/provider': 2.0.0 - '@ai-sdk/provider-utils': 3.0.7(zod@3.25.76) - zod: 3.25.76 - - '@ai-sdk/provider-utils@3.0.12(zod@3.25.76)': - dependencies: - '@ai-sdk/provider': 2.0.0 - '@standard-schema/spec': 1.0.0 - eventsource-parser: 3.0.6 - zod: 3.25.76 - - '@ai-sdk/provider-utils@3.0.7(zod@3.25.76)': + '@ai-sdk/provider-utils@3.0.18(zod@3.25.76)': dependencies: '@ai-sdk/provider': 2.0.0 '@standard-schema/spec': 1.0.0 @@ -4456,21 +4431,21 @@ snapshots: dependencies: json-schema: 0.4.0 - '@ai-sdk/react@2.0.26(react@19.0.1)(zod@3.25.76)': + '@ai-sdk/react@2.0.109(react@19.0.1)(zod@3.25.76)': dependencies: - '@ai-sdk/provider-utils': 3.0.7(zod@3.25.76) - ai: 5.0.26(zod@3.25.76) + '@ai-sdk/provider-utils': 3.0.18(zod@3.25.76) + ai: 5.0.108(zod@3.25.76) react: 19.0.1 swr: 2.3.3(react@19.0.1) throttleit: 2.1.0 optionalDependencies: zod: 3.25.76 - '@ai-sdk/xai@2.0.13(zod@3.25.76)': + '@ai-sdk/xai@2.0.39(zod@3.25.76)': dependencies: - '@ai-sdk/openai-compatible': 1.0.13(zod@3.25.76) + '@ai-sdk/openai-compatible': 1.0.28(zod@3.25.76) '@ai-sdk/provider': 2.0.0 - '@ai-sdk/provider-utils': 3.0.7(zod@3.25.76) + '@ai-sdk/provider-utils': 3.0.18(zod@3.25.76) zod: 3.25.76 '@alloc/quick-lru@5.2.0': {} @@ -6369,7 +6344,7 @@ snapshots: '@types/ms': 2.1.0 ms: 2.1.3 - '@vercel/oidc@3.0.2': {} + '@vercel/oidc@3.0.5': {} '@vercel/otel@1.14.0(@opentelemetry/api-logs@0.200.0)(@opentelemetry/api@1.9.0)(@opentelemetry/instrumentation@0.57.2(@opentelemetry/api@1.9.0))(@opentelemetry/resources@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-logs@0.57.2(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-metrics@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@1.30.1(@opentelemetry/api@1.9.0))': dependencies: @@ -6438,11 +6413,11 @@ snapshots: acorn@8.15.0: {} - ai@5.0.26(zod@3.25.76): + ai@5.0.108(zod@3.25.76): dependencies: - '@ai-sdk/gateway': 1.0.15(zod@3.25.76) + '@ai-sdk/gateway': 2.0.18(zod@3.25.76) '@ai-sdk/provider': 2.0.0 - '@ai-sdk/provider-utils': 3.0.7(zod@3.25.76) + '@ai-sdk/provider-utils': 3.0.18(zod@3.25.76) '@opentelemetry/api': 1.9.0 zod: 3.25.76