Commit Graph

4 Commits

Author SHA1 Message Date
mlogclub ed9d60db0d Add workflow runtime execution and condition validation 2026-06-23 09:34:08 +08:00
mlogclub 7029ab47b7 feat: implement createWorkflowNodeFromSpec function for node creation and add tests for it 2026-06-22 18:53:46 +08:00
mlogclub d1f39ae57e feat: Enhance AI Workflow with Variable Contracts and Input Mapping
- Added ConfigSchema, InputSchema, OutputSchema, and DefaultInputs to AIWorkflowNodeSpecResponse.
- Implemented BuildAIWorkflowNodeSpecs to include variable contracts for start and send_reply nodes.
- Introduced applyAutoInputMappings to automatically map inputs based on node connections.
- Enhanced validation to check for required input mappings in workflows.
- Updated workflow editor to support variable selection for node inputs.
- Translated node names and labels to Chinese for better localization.
- Added tests for variable mapping and validation logic.
2026-06-22 18:33:39 +08:00
mlogclub 14f50e064f feat: add AI workflow editor 2026-06-22 00:26:16 +08:00