Add cron-parser integration and enhance workflow scheduling validation

- Introduced cron-parser for improved cron expression handling in the WorkflowScheduler.
- Added validation for cron expressions during schedule creation and updates, ensuring correct format and providing user feedback on errors.
- Implemented utility methods for generating supported cron examples and validating cron expressions, enhancing usability and clarity in scheduling workflows.
- Updated llmProcessor to support variable substitution in prompts, improving flexibility in input handling.
This commit is contained in:
Nikhil-Doye
2025-10-20 14:43:23 -04:00
parent fe93de79ae
commit 53fbbe22c7
6 changed files with 183 additions and 19 deletions
+1
View File
@@ -15,6 +15,7 @@
"autoprefixer": "^10.4.14",
"class-variance-authority": "^0.7.1",
"clsx": "^1.2.1",
"cron-parser": "^5.4.0",
"lucide-react": "^0.263.1",
"openai": "^6.3.0",
"postcss": "^8.4.24",