Commit Graph

14 Commits

Author SHA1 Message Date
mlogclub 87760d5e89 feat: enhance variable handling and UI components with business labels and descriptions 2026-06-29 18:37:31 +08:00
mlogclub 77dda5fd9c feat: refine node deletion logic to protect only start nodes 2026-06-28 21:24:54 +08:00
mlogclub 33c6647375 feat: add delete functionality for condition branches in node forms and improve edge filtering in workflow normalization 2026-06-28 10:07:00 +08:00
mlogclub 2bde314820 feat: enhance flowgram editor with condition node handling, port normalization, and UI improvements 2026-06-28 00:08:55 +08:00
mlogclub 689acc997c xyflow change to flowgraam 2026-06-27 21:27:57 +08:00
mlogclub 2143bfa06b feat: add validation for default condition branch position and enhance branch connection handling 2026-06-27 17:00:41 +08:00
mlogclub f85fb6d406 feat: enhance condition handling with enum value options and metadata in workflow components 2026-06-27 12:50:29 +08:00
mlogclub 21fd119b27 feat: add conversation understanding and reply policy nodes to workflow executor
- Implemented conversation understanding and reply policy execution in the workflow executor.
- Added new node types: NodeTypeConversationUnderstanding and NodeTypeReplyPolicy.
- Enhanced input and output schemas for the new nodes.
- Updated workflow registry to include new node specifications.
- Created tests for the new workflow routes and behaviors.
- Modified existing workflows to integrate the new conversation understanding and reply policy logic.
2026-06-25 22:38:34 +08:00
mlogclub b806a2208b feat: enhance condition node functionality with branches and validation
- Introduced WorkflowConditionBranch and WorkflowNodeConfig types to manage condition branches in nodes.
- Updated NodeConfigPanel and ConditionNodePanel components to support adding, editing, and deleting branches.
- Implemented validation for condition nodes to ensure at least one branch exists and that default branches are correctly configured.
- Modified workflow-utils to handle condition branches and updated toApiDefinition and fromApiDefinition functions to maintain branch integrity during serialization.
- Removed edge condition handling from WorkflowEditor and related components, simplifying edge management.
- Added tests to ensure condition branches are preserved in API definitions.
2026-06-25 21:08:59 +08:00
mlogclub 188c6b6f6b Implement workflow history management and helper line calculations for improved node alignment and undo/redo functionality 2026-06-23 20:52:09 +08:00
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