Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
chore: update vinext, add workaround (#32878)
Stephen Zhoud6ab36ff1ea2
diff --git a/web/app/components/devtools/react-scan/loader.tsx b/web/app/components/devtools/react-scan/loader.tsxindex ee702216f7c..a5956d78259 100644--- a/web/app/components/devtools/react-scan/loader.tsx+++ b/web/app/components/devtools/react-scan/loader.tsx@@ -1,21 +1,15 @@-'use client'--import { lazy, Suspense } from 'react'+import Script from 'next/script'import { IS_DEV } from '@/config'-const ReactScan = lazy(() =>- import('./scan').then(module => ({- default: module.ReactScan,- })),-)--export const ReactScanLoader = () => {+export function ReactScanLoader() {if (!IS_DEV)return nullreturn (- <Suspense fallback={null}>- <ReactScan />- </Suspense>+ <Script+ src="//unpkg.com/react-scan/dist/auto.global.js"+ crossOrigin="anonymous"+ strategy="beforeInteractive"+ />)}diff --git a/web/app/components/devtools/react-scan/scan.tsx b/web/app/components/devtools/react-scan/scan.tsxdeleted file mode 100644index f1d9f3de201..00000000000--- a/web/app/components/devtools/react-scan/scan.tsx+++ /dev/null@@ -1,22 +0,0 @@-'use client'--import { useEffect } from 'react'-import { scan } from 'react-scan'-import { IS_DEV } from '@/config'--export function ReactScan() {- useEffect(() => {- if (IS_DEV) {- scan({- enabled: true,- // HACK: react-scan's getIsProduction() incorrectly detects Next.js dev as production- // because Next.js devtools overlay uses production React build- // Issue: https://github.com/aidenybai/react-scan/issues/402- // TODO: remove this option after upstream fix- dangerouslyForceRunInProduction: true,- })- }- }, [])-- return null-}diff --git a/web/app/components/plugins/marketplace/hydration-server.tsx b/web/app/components/plugins/marketplace/hydration-server.tsxindex bf01f4d4edc..287bcbe8c08 100644--- a/web/app/components/plugins/marketplace/hydration-server.tsx+++ b/web/app/components/plugins/marketplace/hydration-server.tsx@@ -37,6 +37,10 @@ export async function HydrateQueryClient({children: React.ReactNode}) {const dehydratedState = await getDehydratedState(searchParams)+ // TODO: vinext do not handle hydration boundary well for now.+ if (!dehydratedState) {+ return <>{children}</>+ }return (<HydrationBoundary state={dehydratedState}>{children}diff --git a/web/app/layout.tsx b/web/app/layout.tsxindex 64f0e5ac3b9..fd81e09cb6e 100644--- a/web/app/layout.tsx+++ b/web/app/layout.tsx@@ -55,6 +55,8 @@ const LocaleLayout = async ({<link rel="icon" type="image/png" sizes="16x16" href="/icon-192x192.png" /><meta name="msapplication-TileColor" content="#1C64F2" /><meta name="msapplication-config" content="/browserconfig.xml" />++ <ReactScanLoader /></head><bodyclassName="h-full select-auto"@@ -62,7 +64,6 @@ const LocaleLayout = async ({><div className="isolate h-full"><PWAProvider>- <ReactScanLoader /><JotaiProvider><ThemeProviderattribute="data-theme"diff --git a/web/app/sw.ts b/web/app/sw.tsindex f4011ee2248..e01ad21004f 100644--- a/web/app/sw.ts+++ b/web/app/sw.ts@@ -1,4 +1,3 @@-/// <reference no-default-lib="true" />/// <reference lib="esnext" />/// <reference lib="webworker" />diff --git a/web/package.json b/web/package.jsonindex f0d4fdd1fc3..833e7f9af6b 100644--- a/web/package.json+++ b/web/package.json@@ -237,7 +237,7 @@"nock": "14.0.10","postcss": "8.5.6","postcss-js": "5.0.3",- "react-scan": "0.4.3",+ "react-scan": "0.5.3","react-server-dom-webpack": "19.2.4","sass": "1.93.2","serwist": "9.5.4",@@ -246,7 +246,7 @@"tsx": "4.21.0","typescript": "5.9.3","uglify-js": "3.19.3",- "vinext": "https://pkg.pr.new/hyoban/vinext@e283197",+ "vinext": "https://pkg.pr.new/hyoban/vinext@cfae669","vite": "7.3.1","vite-tsconfig-paths": "6.1.1","vitest": "4.0.18",diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yamlindex a754e0aa7ad..b51d4ddd4d7 100644--- a/web/pnpm-lock.yaml+++ b/web/pnpm-lock.yaml@@ -578,8 +578,8 @@ importers:specifier: 5.0.3version: 5.0.3([email protected])react-scan:- specifier: 0.4.3- version: 0.4.3(@types/[email protected])([email protected](@babel/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])+ specifier: 0.5.3+ version: 0.5.3(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])react-server-dom-webpack:specifier: 19.2.4version: 19.2.4([email protected]([email protected]))([email protected])([email protected]([email protected])([email protected]))@@ -605,8 +605,8 @@ importers:specifier: 3.19.3version: 3.19.3vinext:- specifier: https://pkg.pr.new/hyoban/vinext@e283197- version: https://pkg.pr.new/hyoban/vinext@e283197([email protected](@babel/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected])([email protected]))+ specifier: https://pkg.pr.new/hyoban/vinext@cfae669+ version: https://pkg.pr.new/hyoban/vinext@cfae669([email protected](@babel/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected])([email protected]))vite:specifier: 7.3.1version: 7.3.1(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])@@ -2160,12 +2160,6 @@ packages:resolution: {integrity: sha512-tmmZ3lQxAe/k/+rNnXQRawJ4NjxO2hqiOLTHvWchtGZULp4RyFeh6aU4XdOYBFe2KE1oShQTv4AblOs2iOrNnQ==}engines: {node: '>= 10.0.0'}- '@pivanov/[email protected]':- resolution: {integrity: sha512-q9CN0bFWxWgMY5hVVYyBgez1jGiLBa6I+LkG37ycylPhFvEGOOeaADGtUSu46CaZasPnlY8fCdVJZmrgKb1EPA==}- peerDependencies:- react: '>=18'- react-dom: '>=18'-'@pkgjs/[email protected]':resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}engines: {node: '>=14'}@@ -3888,8 +3882,8 @@ packages:resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==}engines: {node: '>=8'}- resolution: {integrity: sha512-vmptmU/20UdIWHHhq7qCSHhHzK7Ro3YJ1utU0fBG7ujUc58LEfTtilKxcF0IOgSjT5XLcm7CBzDjbv4lcKApGQ==}+ resolution: {integrity: sha512-8CFmJAHD3gmTLDOCDHuWhjm1nxHSFZdlGoWtak9r53Uxn36ynOjxBLyxXHh/7h/XiKLyPvfdXa0gXWcD9o9lLQ==}peerDependencies:react: '>=17.0.1'@@ -4133,6 +4127,10 @@ packages:resolution: {integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==}engines: {node: '>=18'}+ resolution: {integrity: sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==}+ engines: {node: '>=20'}+resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}@@ -5122,11 +5120,6 @@ packages:resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==}- resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==}- engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}- os: [darwin]-resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}@@ -5649,8 +5642,8 @@ packages:resolution: {integrity: sha512-Ls993zuzfayK269Svk9hzpeGUKob/sIgZzyHYdjQoAdQetRKpOLj+k/QQQ/6Qi0Yz65mlROrfd+Ev+1+7dz9Kw==}- resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==}+ resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==}engines: {node: '>=6'}@@ -6089,10 +6082,6 @@ packages:resolution: {integrity: sha512-i/+ZKXMDf6aqYtBhuOcej71YSlbjT3wCO/4H1j8rPvxDJEifdwgg5MaFyu6iYAT8GBZJg2z0dkgK4YMzvURALQ==}- resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==}- engines: {node: '>=4'}-resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}@@ -6381,16 +6370,6 @@ packages:resolution: {integrity: sha512-SIqCzDRg0s9npO5XQ3tNZioRY1uK06lA41ynBC1YmFTmnY6FjUjVt6s4LoADmwoig1qqD0oK8h1p/8mlMx8Oig==}- resolution: {integrity: sha512-aaoB1RWrdNi3//rOeKuMiS65UCcgOVljU46At6eFcOFPFHWtd2weHRRow6z/n+Lec0Lvu0k9ZPKJSjPugikirw==}- engines: {node: '>=18'}- hasBin: true-- resolution: {integrity: sha512-2SVA0sbPktiIY/MCOPX8e86ehA/e+tDNq+e5Y8qjKYti2Z/JG7xnronT/TXTIkKbYGWlCbuucZ6dziEgkoEjQQ==}- engines: {node: '>=18'}- hasBin: true-resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==}engines: {node: '>=4'}@@ -6498,6 +6477,10 @@ packages:resolution: {integrity: sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==}engines: {node: '>=6'}+ resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==}+ engines: {node: '>= 6'}+resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==}@@ -6669,25 +6652,12 @@ packages:react: '>=16.3.0'react-dom: '>=16.3.0'- resolution: {integrity: sha512-jhAQuQ1nja6HUYrSpbmNFHqZPsRCXk8Yqu0lHoRIw9eb8N96uTfXCpVyQhTTnJ/nWqnwuvxbpKVG/oWZT8+iTQ==}+ resolution: {integrity: sha512-qde9PupmUf0L3MU1H6bjmoukZNbCXdMyTEwP4Gh8RQ4rZPd2GGNBgEKWszwLm96E8k+sGtMpc0B9P0KyFDP6Bw==}hasBin: truepeerDependencies:- '@remix-run/react': '>=1.0.0'- next: '>=13.0.0'react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0- react-router: ^5.0.0 || ^6.0.0 || ^7.0.0- react-router-dom: ^5.0.0 || ^6.0.0 || ^7.0.0- peerDependenciesMeta:- '@remix-run/react':- optional: true- next:- optional: true- react-router:- optional: true- react-router-dom:- optional: trueresolution: {integrity: sha512-zEhkWv6RhXDctC2N7yEUHg3751nvFg81ydHj8LTTZuukF/IF1gcOKqqAL6Ds+kS5HtDVACYPik0IvzkgYXPhlQ==}@@ -7564,8 +7534,8 @@ packages:resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==}- vinext@https://pkg.pr.new/hyoban/vinext@e283197:- resolution: {tarball: https://pkg.pr.new/hyoban/vinext@e283197}+ vinext@https://pkg.pr.new/hyoban/vinext@cfae669:+ resolution: {integrity: sha512-4SRm/Dkou0Ib0UYexP8xg0G83jIM17XPUC32uXwLHt5lO47AisblMpDZXTh84fhN058FEHtPaAGtoFThaoZLIw==, tarball: https://pkg.pr.new/hyoban/vinext@cfae669}version: 0.0.5engines: {node: '>=22'}hasBin: true@@ -7574,6 +7544,12 @@ packages:react-dom: '>=19.2.0'vite: ^7.0.0+ resolution: {integrity: sha512-eWQuvQKCcx0QYB5e5xfxBNjQKyrjEWZIR9UOkOV6JAgxVhtbZvCOF+FNC2ZijBJ3U3Px04ZMMyyMyFBVWIJ5+g==}++ resolution: {integrity: sha512-TM0sz70wfzTIo9YCxVFwS8OA9lNREsh+0vMHGSkWDTZ7bgd1Yjs5RV8EgB634l/91IsXJReg0xtmuQqP0mf+rg==}+resolution: {integrity: sha512-ZJXCrhi9mW4jEJTKhJ5sUtpBe84mylU40me2aMuLSgIJo4gE/Rc559hZvMYLFTWta1gX7Rm8Co5EEHakPct+wA==}peerDependencies:@@ -9675,11 +9651,6 @@ snapshots:'@parcel/watcher-win32-x64': 2.5.6optional: true- dependencies:- react: 19.2.4- react-dom: 19.2.4([email protected])-'@pkgjs/[email protected]':optional: true@@ -11547,7 +11518,7 @@ snapshots:dependencies:'@types/react-reconciler': 0.28.9(@types/[email protected])react: 19.2.4@@ -11800,6 +11771,8 @@ snapshots:+ [email protected]: {}+@@ -12998,9 +12971,6 @@ snapshots:optional: true- optional: true-optional: true@@ -13548,7 +13518,7 @@ snapshots:- [email protected]: {}+ [email protected]: {}dependencies:@@ -14301,8 +14271,6 @@ snapshots:dependencies:color-name: 1.1.4- [email protected]: {}-@@ -14591,14 +14559,6 @@ snapshots:exsolve: 1.0.8pathe: 2.0.3- [email protected]: {}-- dependencies:- playwright-core: 1.58.0- optionalDependencies:- fsevents: 2.3.2-@@ -14708,6 +14668,11 @@ snapshots:+ dependencies:+ kleur: 3.0.3+ sisteransi: 1.0.5+dependencies:loose-envify: 1.4.0@@ -14894,29 +14859,24 @@ snapshots:tslib: 2.6.2- [email protected](@types/[email protected])([email protected](@babel/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected]):+ [email protected](@types/[email protected])([email protected]([email protected]))([email protected])([email protected]):dependencies:- '@babel/core': 7.28.6- '@babel/generator': 7.28.6- '@babel/types': 7.28.6- '@clack/core': 0.3.5- '@clack/prompts': 0.8.2+ '@babel/core': 7.29.0+ '@babel/generator': 7.29.1+ '@babel/types': 7.29.0'@preact/signals': 1.3.2([email protected])'@rollup/pluginutils': 5.3.0([email protected])'@types/node': 20.19.30- bippy: 0.3.34(@types/[email protected])([email protected])+ bippy: 0.5.30(@types/[email protected])([email protected])+ commander: 14.0.3esbuild: 0.27.2estree-walker: 3.0.3- kleur: 4.1.5- mri: 1.2.0- playwright: 1.58.0+ picocolors: 1.1.1preact: 10.28.2+ prompts: 2.4.2react: 19.2.4react-dom: 19.2.4([email protected])- tsx: 4.21.0optionalDependencies:- next: 16.1.5(@babel/[email protected])([email protected]([email protected]))([email protected])([email protected])unplugin: 2.1.0transitivePeerDependencies:- '@types/react'@@ -15858,7 +15818,7 @@ snapshots:dependencies:- acorn: 8.15.0+ acorn: 8.16.0webpack-virtual-modules: 0.6.2optional: true@@ -15949,7 +15909,7 @@ snapshots:'@types/unist': 3.0.3vfile-message: 4.0.3- vinext@https://pkg.pr.new/hyoban/vinext@e283197([email protected](@babel/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected])([email protected])):+ vinext@https://pkg.pr.new/hyoban/vinext@cfae669([email protected](@babel/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected])([email protected])):dependencies:'@unpic/react': 1.0.2([email protected](@babel/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])'@vercel/og': 0.8.6@@ -15960,6 +15920,7 @@ snapshots:react-server-dom-webpack: 19.2.4([email protected]([email protected]))([email protected])([email protected]([email protected])([email protected]))rsc-html-stream: 0.0.7vite: 7.3.1(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ vite-plugin-commonjs: 0.10.4vite-tsconfig-paths: 6.1.1([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))transitivePeerDependencies:- next@@ -15967,6 +15928,19 @@ snapshots:- typescript- webpack+ dependencies:+ acorn: 8.16.0+ magic-string: 0.30.21+ vite-plugin-dynamic-import: 1.6.0++ dependencies:+ acorn: 8.16.0+ es-module-lexer: 1.7.0+ fast-glob: 3.3.3+ magic-string: 0.30.21+[email protected]([email protected](@babel/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected](@testing-library/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])):dependencies:'@next/env': 16.0.0