- Move workflow generation logic from LLMGenerator to WorkflowGenerator
- Extract to api/core/workflow/generator/ with modular architecture
- Implement Planner-Builder pattern for better separation of concerns
- Add validation engine with rule-based error classification
- Add node and edge repair utilities for auto-fixing common issues
- Add deterministic Mermaid generator for consistent output
- Reorganize configuration and prompts
- Move vibe_config/ to generator/config/
- Move vibe_prompts.py to generator/prompts/ (split into multiple files)
- Add builder_prompts.py and planner_prompts.py for new architecture
- Enhance frontend workflow handling
- Use standard node initialization for proper node setup
- Improve variable reference replacement with better error handling
- Add model fallback logic for better compatibility
- Handle end node outputs format (value_selector vs legacy format)
- Ensure parameter-extractor nodes have required 'required' field
- Add comprehensive test coverage
- Unit tests for mermaid generator, node repair, edge repair
- Tests for validation engine and rule system
- Tests for planner prompts formatting
- Frontend tests for variable reference replacement
- Add max_fix_iterations parameter for validate-fix loop configuration
# Conflicts:
# web/app/components/workflow/hooks/use-workflow-vibe.tsx
- Updated `useVibeFlowData` to prevent adding empty graphs and ensure the current version is correctly derived from available versions.
- Improved error handling in `applyFlowchartToWorkflow` to notify users when the current flow graph is invalid.
- Added checks to only add valid workflow graphs to the versions list, enhancing data integrity.
- Introduced a new `constants.ts` file to centralize action keys and i18n mappings for slash commands and scope actions.
- Updated `command-selector` and various action files to utilize the new constants for improved maintainability and readability.
- Removed hardcoded strings in favor of the new mappings, ensuring consistency across the application.
- Added `bananaCommand` to handle vibe-related actions, including search and command registration.
- Updated `command-selector` to utilize new internationalization maps for slash commands and scope actions.
- Removed deprecated banana action from the actions index and adjusted related filtering logic.
- Added unit tests for the banana command to ensure correct behavior in various scenarios.
- Deleted obsolete banana action tests and files.