feat: add Command node support

- Introduced Command node type in workflow with associated UI components and translations.
- Enhanced SandboxLayer to manage sandbox attachment for Command nodes during execution.
- Updated various components and constants to integrate Command node functionality across the workflow.
This commit is contained in:
Harry
2026-01-06 19:30:38 +08:00
parent caabca3f02
commit 1c7c475c43
22 changed files with 672 additions and 0 deletions

View File

@ -1,6 +1,7 @@
import agentDefault from '@/app/components/workflow/nodes/agent/default'
import assignerDefault from '@/app/components/workflow/nodes/assigner/default'
import codeDefault from '@/app/components/workflow/nodes/code/default'
import commandDefault from '@/app/components/workflow/nodes/command/default'
import documentExtractorDefault from '@/app/components/workflow/nodes/document-extractor/default'
@ -33,6 +34,7 @@ export const WORKFLOW_COMMON_NODES = [
loopStartDefault,
loopEndDefault,
codeDefault,
commandDefault,
templateTransformDefault,
variableAggregatorDefault,
documentExtractorDefault,