From 690558333c144fc89796e1c7cad0b1a4016e0a89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Thu, 19 Mar 2026 16:48:32 +0800 Subject: [PATCH 1/4] upgrade: `jsonpath-ng` to `1.8.0` --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 68d7c820bd6..d21b9b87cff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,7 +60,7 @@ dependencies = [ "websockets==15.0.1", "pylint==3.3.7", "cohere==5.17.0", - "jsonpath-ng==1.7.0", + "jsonpath-ng==1.8.0", ] [tool.uv] From 6a4c39f626daea9dee03697a93a1228d79e44c21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Thu, 19 Mar 2026 17:49:39 +0800 Subject: [PATCH 2/4] =?UTF-8?q?feat:=20=E4=BD=BF=E7=94=A8jsonpath-ng.ext?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/base_variable_splitting_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/application/flow/step_node/variable_splitting_node/impl/base_variable_splitting_node.py b/apps/application/flow/step_node/variable_splitting_node/impl/base_variable_splitting_node.py index c11b79a7b30..0ac7db2694a 100644 --- a/apps/application/flow/step_node/variable_splitting_node/impl/base_variable_splitting_node.py +++ b/apps/application/flow/step_node/variable_splitting_node/impl/base_variable_splitting_node.py @@ -7,7 +7,7 @@ @desc: """ import json -from jsonpath_ng import parse +from jsonpath_ng.ext import parse from application.flow.i_step_node import NodeResult from application.flow.step_node.variable_splitting_node.i_variable_splitting_node import IVariableSplittingNode From f3f80204c411b517df90e7fb928ca6b2ff83dc2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Thu, 19 Mar 2026 18:18:28 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E6=B7=BB=E5=8A=A0jsonpath-ng=E7=9A=84?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=EF=BC=8C=E4=BE=9B=E4=BD=BF=E7=94=A8=E5=8F=82?= =?UTF-8?q?=E8=80=83=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/locales/lang/en-US/workflow.ts | 2 +- ui/src/locales/lang/zh-CN/workflow.ts | 2 +- ui/src/locales/lang/zh-Hant/workflow.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/src/locales/lang/en-US/workflow.ts b/ui/src/locales/lang/en-US/workflow.ts index 939706357f9..72d2ff3e1f3 100644 --- a/ui/src/locales/lang/en-US/workflow.ts +++ b/ui/src/locales/lang/en-US/workflow.ts @@ -505,7 +505,7 @@ You are a master of problem optimization, adept at accurately inferring user int expression: { label: 'Expression', placeholder: 'Please enter expression', - tooltip: 'Please use JSON Path expressions to split variables, e.g.: $.store.book', + tooltip: 'Please use JSON Path expressions to split variables, e.g.: $.store.book . For details, see https://pypi.org/project/jsonpath-ng/1.8.0/', }, }, parameterExtractionNode: { diff --git a/ui/src/locales/lang/zh-CN/workflow.ts b/ui/src/locales/lang/zh-CN/workflow.ts index 79164f83bff..431eb3affa4 100644 --- a/ui/src/locales/lang/zh-CN/workflow.ts +++ b/ui/src/locales/lang/zh-CN/workflow.ts @@ -496,7 +496,7 @@ export default { expression: { label: '表达式', placeholder: '请输入表达式', - tooltip: '请使用JSON Path 表达式拆分变量,例如:$.store.book', + tooltip: '请使用 JSON Path 表达式拆分变量,例如:$.store.book 。详情见 https://pypi.org/project/jsonpath-ng/1.8.0/', }, }, parameterExtractionNode: { diff --git a/ui/src/locales/lang/zh-Hant/workflow.ts b/ui/src/locales/lang/zh-Hant/workflow.ts index 326b8c5e863..315f7c3654c 100644 --- a/ui/src/locales/lang/zh-Hant/workflow.ts +++ b/ui/src/locales/lang/zh-Hant/workflow.ts @@ -490,7 +490,7 @@ export default { expression: { label: '表達式', placeholder: '請輸入表達式', - tooltip: '請使用 JSON Path 表達式拆分變量,例如:$.store.book', + tooltip: '請使用 JSON Path 表達式拆分變量,例如:$.store.book 。詳情見 https://pypi.org/project/jsonpath-ng/1.8.0/', }, }, parameterExtractionNode: { From 76324bf1d9ed6801862efe7a420b9cc9610de402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Fri, 20 Mar 2026 11:56:48 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/locales/lang/en-US/workflow.ts | 2 +- ui/src/locales/lang/zh-CN/workflow.ts | 2 +- ui/src/locales/lang/zh-Hant/workflow.ts | 2 +- .../component/VariableFieldDialog.vue | 16 ++++++++++++---- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/ui/src/locales/lang/en-US/workflow.ts b/ui/src/locales/lang/en-US/workflow.ts index 72d2ff3e1f3..6f15ef3a789 100644 --- a/ui/src/locales/lang/en-US/workflow.ts +++ b/ui/src/locales/lang/en-US/workflow.ts @@ -505,7 +505,7 @@ You are a master of problem optimization, adept at accurately inferring user int expression: { label: 'Expression', placeholder: 'Please enter expression', - tooltip: 'Please use JSON Path expressions to split variables, e.g.: $.store.book . For details, see https://pypi.org/project/jsonpath-ng/1.8.0/', + tooltip: 'Please use JSON Path expressions to split variables, e.g.: $.store.book Click for details ➜ pypi.org', }, }, parameterExtractionNode: { diff --git a/ui/src/locales/lang/zh-CN/workflow.ts b/ui/src/locales/lang/zh-CN/workflow.ts index 431eb3affa4..8e3f6c3d4a7 100644 --- a/ui/src/locales/lang/zh-CN/workflow.ts +++ b/ui/src/locales/lang/zh-CN/workflow.ts @@ -496,7 +496,7 @@ export default { expression: { label: '表达式', placeholder: '请输入表达式', - tooltip: '请使用 JSON Path 表达式拆分变量,例如:$.store.book 。详情见 https://pypi.org/project/jsonpath-ng/1.8.0/', + tooltip: '请使用 JSON Path 表达式拆分变量,例如:$.store.book 点击查看详情 ➜ pypi.org', }, }, parameterExtractionNode: { diff --git a/ui/src/locales/lang/zh-Hant/workflow.ts b/ui/src/locales/lang/zh-Hant/workflow.ts index 315f7c3654c..342c4cecfa7 100644 --- a/ui/src/locales/lang/zh-Hant/workflow.ts +++ b/ui/src/locales/lang/zh-Hant/workflow.ts @@ -490,7 +490,7 @@ export default { expression: { label: '表達式', placeholder: '請輸入表達式', - tooltip: '請使用 JSON Path 表達式拆分變量,例如:$.store.book 。詳情見 https://pypi.org/project/jsonpath-ng/1.8.0/', + tooltip: '請使用 JSON Path 表達式拆分變量,例如:$.store.book 點擊查看詳情 ➜ pypi.org', }, }, parameterExtractionNode: { diff --git a/ui/src/workflow/nodes/variable-splitting/component/VariableFieldDialog.vue b/ui/src/workflow/nodes/variable-splitting/component/VariableFieldDialog.vue index 23af2555f7f..71834519fee 100644 --- a/ui/src/workflow/nodes/variable-splitting/component/VariableFieldDialog.vue +++ b/ui/src/workflow/nodes/variable-splitting/component/VariableFieldDialog.vue @@ -57,11 +57,11 @@ > + @@ -161,4 +161,12 @@ const submit = async (formEl: FormInstance | undefined) => { defineExpose({ open, close }) - +