From b66097b5f31d505f77e31f37694679635032102a Mon Sep 17 00:00:00 2001 From: Stephen Zhou Date: Thu, 12 Mar 2026 17:56:22 +0800 Subject: [PATCH 1/4] chore: use tsconfigPaths for vinext (#33363) --- web/app/layout.tsx | 2 +- web/package.json | 2 +- web/pnpm-lock.yaml | 13 ++++++------- web/vite.config.ts | 6 ++---- 4 files changed, 10 insertions(+), 13 deletions(-) diff --git a/web/app/layout.tsx b/web/app/layout.tsx index addd5c2d5a..2d814162d1 100644 --- a/web/app/layout.tsx +++ b/web/app/layout.tsx @@ -1,6 +1,6 @@ import type { Viewport } from 'next' import { Agentation } from 'agentation' -import { Provider as JotaiProvider } from 'jotai' +import { Provider as JotaiProvider } from 'jotai/react' import { ThemeProvider } from 'next-themes' import { Instrument_Serif } from 'next/font/google' import { NuqsAdapter } from 'nuqs/adapters/next/app' diff --git a/web/package.json b/web/package.json index c82e05a6bc..117f63b608 100644 --- a/web/package.json +++ b/web/package.json @@ -237,7 +237,7 @@ "tsx": "4.21.0", "typescript": "5.9.3", "uglify-js": "3.19.3", - "vinext": "https://pkg.pr.new/hyoban/vinext/vinext@fe9a72c", + "vinext": "0.0.29", "vite": "8.0.0-beta.18", "vite-plugin-inspect": "11.3.3", "vite-tsconfig-paths": "6.1.1", diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml index 802396547e..e04c52923c 100644 --- a/web/pnpm-lock.yaml +++ b/web/pnpm-lock.yaml @@ -589,8 +589,8 @@ importers: specifier: 3.19.3 version: 3.19.3 vinext: - specifier: https://pkg.pr.new/hyoban/vinext/vinext@fe9a72c - version: https://pkg.pr.new/hyoban/vinext/vinext@fe9a72c(@mdx-js/rollup@3.1.1(rollup@4.59.0))(@vitejs/plugin-rsc@0.5.21(react-dom@19.2.4(react@19.2.4))(react-server-dom-webpack@19.2.4(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(webpack@5.105.4(esbuild@0.27.2)(uglify-js@3.19.3)))(react@19.2.4)(vite@8.0.0-beta.18(@types/node@25.4.0)(esbuild@0.27.2)(jiti@1.21.7)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)))(next@16.1.6(@babel/core@7.29.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(sass@1.97.3))(react-dom@19.2.4(react@19.2.4))(react-server-dom-webpack@19.2.4(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(webpack@5.105.4(esbuild@0.27.2)(uglify-js@3.19.3)))(react@19.2.4)(typescript@5.9.3)(vite@8.0.0-beta.18(@types/node@25.4.0)(esbuild@0.27.2)(jiti@1.21.7)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)) + specifier: 0.0.29 + version: 0.0.29(@mdx-js/rollup@3.1.1(rollup@4.59.0))(@vitejs/plugin-rsc@0.5.21(react-dom@19.2.4(react@19.2.4))(react-server-dom-webpack@19.2.4(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(webpack@5.105.4(esbuild@0.27.2)(uglify-js@3.19.3)))(react@19.2.4)(vite@8.0.0-beta.18(@types/node@25.4.0)(esbuild@0.27.2)(jiti@1.21.7)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)))(next@16.1.6(@babel/core@7.29.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(sass@1.97.3))(react-dom@19.2.4(react@19.2.4))(react-server-dom-webpack@19.2.4(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(webpack@5.105.4(esbuild@0.27.2)(uglify-js@3.19.3)))(react@19.2.4)(typescript@5.9.3)(vite@8.0.0-beta.18(@types/node@25.4.0)(esbuild@0.27.2)(jiti@1.21.7)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)) vite: specifier: 8.0.0-beta.18 version: 8.0.0-beta.18(@types/node@25.4.0)(esbuild@0.27.2)(jiti@1.21.7)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2) @@ -7286,9 +7286,8 @@ packages: vfile@6.0.3: resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==} - vinext@https://pkg.pr.new/hyoban/vinext/vinext@fe9a72c: - resolution: {integrity: sha512-Nh4JoTECpSqnXMeFh7QG/zzWwPxQ2dP10e5pZ8nqJ10rQr9Z5MQdsGKYqmH9IE6/aEW/9CVS1O9cquLpM3zFQw==, tarball: https://pkg.pr.new/hyoban/vinext/vinext@fe9a72c} - version: 0.0.5 + vinext@0.0.29: + resolution: {integrity: sha512-T7kzhgX2TbM+unIHaehiz5H7D2i0TLWhUUqvdnu5PgiBzCSMiH8G2rzE7dA8Tc1oEhywuzYP+pt5bfXkk9lk+w==} engines: {node: '>=22'} hasBin: true peerDependencies: @@ -7297,7 +7296,7 @@ packages: react: '>=19.2.0' react-dom: '>=19.2.0' react-server-dom-webpack: ^19.2.4 - vite: ^7.0.0 + vite: ^7.0.0 || ^8.0.0-beta.0 peerDependenciesMeta: '@mdx-js/rollup': optional: true @@ -15327,7 +15326,7 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.3 - vinext@https://pkg.pr.new/hyoban/vinext/vinext@fe9a72c(@mdx-js/rollup@3.1.1(rollup@4.59.0))(@vitejs/plugin-rsc@0.5.21(react-dom@19.2.4(react@19.2.4))(react-server-dom-webpack@19.2.4(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(webpack@5.105.4(esbuild@0.27.2)(uglify-js@3.19.3)))(react@19.2.4)(vite@8.0.0-beta.18(@types/node@25.4.0)(esbuild@0.27.2)(jiti@1.21.7)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)))(next@16.1.6(@babel/core@7.29.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(sass@1.97.3))(react-dom@19.2.4(react@19.2.4))(react-server-dom-webpack@19.2.4(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(webpack@5.105.4(esbuild@0.27.2)(uglify-js@3.19.3)))(react@19.2.4)(typescript@5.9.3)(vite@8.0.0-beta.18(@types/node@25.4.0)(esbuild@0.27.2)(jiti@1.21.7)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)): + vinext@0.0.29(@mdx-js/rollup@3.1.1(rollup@4.59.0))(@vitejs/plugin-rsc@0.5.21(react-dom@19.2.4(react@19.2.4))(react-server-dom-webpack@19.2.4(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(webpack@5.105.4(esbuild@0.27.2)(uglify-js@3.19.3)))(react@19.2.4)(vite@8.0.0-beta.18(@types/node@25.4.0)(esbuild@0.27.2)(jiti@1.21.7)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)))(next@16.1.6(@babel/core@7.29.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(sass@1.97.3))(react-dom@19.2.4(react@19.2.4))(react-server-dom-webpack@19.2.4(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(webpack@5.105.4(esbuild@0.27.2)(uglify-js@3.19.3)))(react@19.2.4)(typescript@5.9.3)(vite@8.0.0-beta.18(@types/node@25.4.0)(esbuild@0.27.2)(jiti@1.21.7)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)): dependencies: '@unpic/react': 1.0.2(next@16.1.6(@babel/core@7.29.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(sass@1.97.3))(react-dom@19.2.4(react@19.2.4))(react@19.2.4) '@vercel/og': 0.8.6 diff --git a/web/vite.config.ts b/web/vite.config.ts index cd6491f5ef..a5ebd9d212 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -20,6 +20,7 @@ export default defineConfig(({ mode }) => { return { plugins: isTest ? [ + // TODO: remove tsconfigPaths from test config after vitest supports it natively tsconfigPaths(), react(), { @@ -34,7 +35,6 @@ export default defineConfig(({ mode }) => { ] : isStorybook ? [ - tsconfigPaths(), react(), ] : [ @@ -54,9 +54,7 @@ export default defineConfig(({ mode }) => { // }), ], resolve: { - alias: { - '~@': projectRoot, - }, + tsconfigPaths: true, }, // vinext related config From 0dcfac5b84bca253778d4d4b6928db55795247d1 Mon Sep 17 00:00:00 2001 From: NFish Date: Thu, 12 Mar 2026 17:57:08 +0800 Subject: [PATCH 2/4] fix: The HTTP Request node panel supports line break and overflow handling for variable values (#33359) Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> --- web/app/components/base/prompt-editor/index.tsx | 8 ++++++-- .../nodes/_base/components/input-support-select-var.tsx | 6 +++--- .../components/key-value/key-value-edit/input-item.tsx | 7 +++---- web/eslint-suppressions.json | 3 --- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/web/app/components/base/prompt-editor/index.tsx b/web/app/components/base/prompt-editor/index.tsx index 6f1d40f6eb..deead5086c 100644 --- a/web/app/components/base/prompt-editor/index.tsx +++ b/web/app/components/base/prompt-editor/index.tsx @@ -1,5 +1,6 @@ 'use client' +import type { InitialConfigType } from '@lexical/react/LexicalComposer' import type { EditorState, LexicalCommand, @@ -153,7 +154,10 @@ const PromptEditor: FC = ({ shortcutPopups = [], }) => { const { eventEmitter } = useEventEmitterContextContext() - const initialConfig = { + const initialConfig: InitialConfigType = { + theme: { + paragraph: 'group-[.clamp]:line-clamp-5 group-focus/editable:!line-clamp-none', + }, namespace: 'prompt-editor', nodes: [ CodeNode, @@ -214,7 +218,7 @@ const PromptEditor: FC = ({ contentEditable={( = ({ const setShowInputFieldPanel = useStore(s => s.setShowInputFieldPanel) return ( -
+
<> = ({ {/* to patch Editor not support dynamic change editable status */} {readOnly &&
} {isFocus && ( -
+
diff --git a/web/app/components/workflow/nodes/http/components/key-value/key-value-edit/input-item.tsx b/web/app/components/workflow/nodes/http/components/key-value/key-value-edit/input-item.tsx index 7f1e2df2a0..a6914f0eb7 100644 --- a/web/app/components/workflow/nodes/http/components/key-value/key-value-edit/input-item.tsx +++ b/web/app/components/workflow/nodes/http/components/key-value/key-value-edit/input-item.tsx @@ -59,12 +59,12 @@ const InputItem: FC = ({ }, [onRemove]) return ( -
+
{(!readOnly) ? ( = ({ onFocusChange={setIsFocus} placeholder={t('nodes.http.insertVarPlaceholder', { ns: 'workflow' })!} placeholderClassName="!leading-[21px]" - promptMinHeightClassName="h-full" insertVarTipToLeft={insertVarTipToLeft} /> ) @@ -85,7 +84,7 @@ const InputItem: FC = ({ {hasValue && ( Date: Thu, 12 Mar 2026 18:09:46 +0800 Subject: [PATCH 3/4] =?UTF-8?q?fix:=20test=5Fget=5Fcredentials=5Fand=5Fcon?= =?UTF-8?q?fig=5Fselects=5Fplugin=5Fid=5Fand=5Fkey=5Fapi=5Fke=E2=80=A6=20(?= =?UTF-8?q?#33361)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/tests/unit_tests/services/test_website_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/tests/unit_tests/services/test_website_service.py b/api/tests/unit_tests/services/test_website_service.py index 38d94f4736..e2775ce90c 100644 --- a/api/tests/unit_tests/services/test_website_service.py +++ b/api/tests/unit_tests/services/test_website_service.py @@ -125,7 +125,7 @@ def test_get_credentials_and_config_selects_plugin_id_and_key_firecrawl(monkeypa @pytest.mark.parametrize( ("provider", "plugin_id"), [ - ("watercrawl", "langgenius/watercrawl_datasource"), + ("watercrawl", "watercrawl/watercrawl_datasource"), ("jinareader", "langgenius/jina_datasource"), ], ) From 4717168fe27d0160a0c8a3b5b8f04230bf75dc95 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Thu, 12 Mar 2026 18:18:10 +0800 Subject: [PATCH 4/4] chore(web): disable i18next support notice (#33309) --- web/i18n-config/settings.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/i18n-config/settings.ts b/web/i18n-config/settings.ts index accbc1600d..1adfb77ff9 100644 --- a/web/i18n-config/settings.ts +++ b/web/i18n-config/settings.ts @@ -6,6 +6,7 @@ export function getInitOptions(): InitOptions { // We do not have en for fallback load: 'currentOnly', fallbackLng: 'en-US', + showSupportNotice: false, partialBundledLanguages: true, keySeparator: false, ns: namespaces,