Commit Graph

43 Commits

Author SHA1 Message Date
Nikhil-Doye 53fbbe22c7 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.
2025-10-20 14:43:23 -04:00
Nikhil-Doye fe93de79ae Enhance OpenAI service with proxy support and error handling
- Introduced a method to retrieve an optional proxy base URL for production use, improving security by allowing API calls to be routed through a backend.
- Updated error handling to provide clear messages when the API key is not configured or when the proxy is not set in production.
- Refactored the web scraping processor to handle undefined configuration values more gracefully, ensuring default behaviors are maintained.
2025-10-20 14:18:06 -04:00
Nikhil-Doye 8249469c31 Refactor ExecutionEngine to build execution plan object and enhance variable substitution
- Updated ExecutionEngine to construct a plan object for workflow execution, improving clarity and structure.
- Added a mapping for node labels to IDs within the plan, facilitating variable substitution and enhancing usability.
- Ensured backward compatibility with existing node ID references while supporting new node label functionality.
2025-10-20 14:02:20 -04:00
Nikhil-Doye 25b9fd056a Enhance variable substitution functionality in workflow builder
- Updated README to reflect new variable substitution methods using node labels alongside node IDs for improved usability.
- Modified demo workflows to utilize descriptive node labels for variable references, enhancing clarity in configurations.
- Implemented a mapping system in the ExecutionEngine to support variable substitution using node labels, ensuring backward compatibility with existing node ID references.
- Added validation for unique node labels within the workflow to prevent conflicts and improve user experience.
- Enhanced utility functions for variable validation to accommodate both node IDs and labels, ensuring robust error handling during workflow execution.
2025-10-20 14:02:12 -04:00
Nikhil-Doye 375d948ba2 Implement workflow validation and error handling in ExecutionEngine and ExecutionPanel
- Added validation checks for workflow structure, including detection of circular dependencies and validation errors before execution.
- Enhanced ExecutionPanel to display validation error messages to users, improving feedback during workflow execution.
- Updated error handling in workflow store to specifically manage validation errors, ensuring clear communication of issues to users.
- Introduced detailed logging for validation failures, aiding in debugging and user experience.
2025-10-20 13:27:28 -04:00
Nikhil-Doye 3600310f4c Refactor WorkflowEditor to streamline node and edge management
- Removed local state management for nodes and edges, syncing directly with the workflow store for improved consistency.
- Introduced new updateNodePosition and updateNodeData methods in the workflow store to handle node position and data updates.
- Simplified edge and node change handling by utilizing callbacks for direct store updates, enhancing performance and maintainability.
- Cleaned up unused code related to local state management, improving overall code clarity.
2025-10-20 13:08:10 -04:00
Nikhil-Doye e856045970 Enhance TestingPanel and ExecutionEngine with improved error handling and real-time node status updates
- Refactored TestingPanel to include detailed logging during workflow execution and enhanced error handling for better user feedback.
- Updated ExecutionEngine to support real-time node status updates through a callback mechanism, allowing for more dynamic execution monitoring.
- Introduced new node statuses ('completed' and 'failed') to provide clearer execution state representation.
- Improved BaseNode component to handle invalid data gracefully and added debug logging for better traceability.
- Enhanced workflow store to manage and log node status updates effectively, improving overall workflow execution visibility.
2025-10-20 01:02:40 -04:00
Nikhil-Doye 6352974028 Add test workflow execution script and enhance ExecutionPanel functionality
- Introduced a new test script for verifying workflow execution, allowing for easier testing of workflow configurations.
- Enhanced the ExecutionPanel to support the creation of test workflows with data input and output nodes.
- Updated node status handling and improved UI interactions for better user experience.
- Refactored components to streamline the workflow creation process and added new icons for better visual representation.
- Implemented panel state management for improved visibility and control over the execution and node library panels.
2025-10-19 16:42:16 -04:00
Nikhil-Doye e6f0a7684a Add database connection management and execution configuration components
- Introduced DatabaseConnectionManager and DatabaseNodeConfiguration components for managing database connections within workflows.
- Implemented ExecutionConfiguration component to allow users to configure execution settings, including execution mode and retry policies.
- Enhanced WorkflowToolbar to integrate database connection management and scheduling functionalities.
- Added WorkflowScheduler component for scheduling workflows with various trigger types.
- Updated the store to manage execution states and configurations, improving overall workflow execution handling.
2025-10-19 15:06:56 -04:00
Nikhil-Doye 26812ed4df Add database node configurations and connectors
- Introduced new database node types: DatabaseQueryNode, DatabaseInsertNode, DatabaseUpdateNode, and DatabaseDeleteNode, enhancing workflow capabilities.
- Added corresponding configurations in NodeConfiguration for database operations, including fields for connectors, queries, and data handling.
- Implemented base connector classes for MongoDB, MySQL, and PostgreSQL, providing a structured approach to database interactions.
- Updated the WorkflowEditor to include new database nodes and their respective icons and categories for improved user experience.
- Enhanced the overall node management system to support new database functionalities, ensuring seamless integration within the existing framework.
2025-10-19 13:39:52 -04:00
Nikhil-Doye a10d6cb643 Add Radix UI Select component and refactor NodeConfiguration
- Introduced the Radix UI Select component to enhance dropdown functionality in NodeConfiguration.
- Refactored NodeConfiguration to replace standard select elements with the new Select component, improving UI consistency and user experience.
- Updated various input elements to utilize custom Input and Textarea components for better styling and functionality.
- Added new Card and Badge components for improved layout and visual appeal in the configuration modal.
- Enhanced button interactions and styling for a more cohesive design across the application.
2025-10-19 12:55:10 -04:00
Nikhil-Doye d9ac6d2f89 Refactor TestingPanel and WorkflowToolbar to use Button component
- Replaced standard button elements with a custom Button component in TestingPanel and WorkflowToolbar for consistent styling and improved UI.
- Updated button properties and classes to align with the new Button component's design, enhancing user experience across the application.
- Adjusted layout and spacing for better visual coherence and usability.
2025-10-19 12:42:01 -04:00
Nikhil-Doye 9ead8d5142 Enhance API key management and integrate Radix UI components
- Updated ApiKeysSettings component to utilize Radix UI's Dialog for improved modal functionality and styling.
- Refactored OnboardingModal to implement Radix UI Dialog components, enhancing user experience and consistency.
- Introduced new Input and Textarea components for better form handling and styling.
- Updated WorkflowToolbar to pass the isOpen prop to ApiKeysSettings for better state management.
- Added new dependencies for Radix UI components to streamline UI development.
2025-10-19 12:33:11 -04:00
Nikhil-Doye 05f72be20e Update dependencies and enhance Tailwind CSS configuration
- Added new dependencies: @radix-ui/react-slot, class-variance-authority, tailwind-merge, and tailwindcss-animate to improve UI components and styling.
- Updated Tailwind CSS configuration to include additional content paths for better utility generation.
- Introduced custom CSS variables for theming and improved button component for consistent styling across the application.
2025-10-19 11:54:08 -04:00
Nikhil-Doye aa733a9dea Add onboarding steps for embedding and similarity search features
- Introduced new onboarding steps highlighting embedding generation and similarity search capabilities.
- Updated existing descriptions to include vector search and optimization details.
- Enhanced API key configuration instructions for improved user guidance.
- Added new features section to outline recent enhancements in the workflow.
2025-10-19 01:03:41 -04:00
Nikhil-Doye 85939b645c Update ApiKeysSettings component layout and styling
- Adjusted padding and height properties for the modal to improve visual consistency and usability.
- Enhanced the layout structure by adding flex properties to ensure better responsiveness and organization of content.
- Updated overflow handling to optimize the display of API key configurations within the modal.
2025-10-19 00:48:24 -04:00
Nikhil-Doye 011a135ee6 Remove API Keys Settings functionality from App component
- Eliminated the API Keys settings button and associated state management from the App component.
- Removed the API Keys Settings modal, streamlining the user interface and focusing on core workflow functionalities.
- This change reflects a shift away from the API Keys management feature, simplifying the overall application structure.
2025-10-19 00:44:51 -04:00
Nikhil-Doye 391f56d051 Add API Keys Settings and integrate into WorkflowToolbar
- Introduced a new ApiKeysSettings component for managing API keys, including Pinecone and DeepSeek configurations.
- Updated App component to include a button for accessing API Keys settings.
- Replaced the deprecated OpenAIConfig component with ApiKeysSettings in WorkflowToolbar.
- Enhanced user experience by providing clear feedback on API key status and validation during configuration.
- Implemented local storage management for API keys, ensuring persistence across sessions.
2025-10-19 00:42:45 -04:00
Nikhil-Doye df6a630f35 Refactor WorkflowAgent and ClassifyIntentTool for improved clarity and performance
- Removed unused AgentTask import from WorkflowAgent to streamline code.
- Simplified complexity determination logic in ClassifyIntentTool by eliminating the complexityScore variable, enhancing readability and efficiency.
2025-10-19 00:00:13 -04:00
Nikhil-Doye dfd39069b5 Remove AGENT_SYSTEM_ARCHITECTURE.md file to streamline documentation and eliminate outdated architectural details. This change reflects the transition to a more modular tool-based architecture for the multi-agent intelligence layer. 2025-10-18 23:49:24 -04:00
Nikhil-Doye 8dd1a9e042 Implement prompt optimization features across workflow components
- Integrated a new prompt optimization service to enhance AI task node prompts, improving context-awareness and domain specificity.
- Updated NodeConfiguration component to include a button for optimizing prompts, displaying results for user review and application.
- Enhanced workflow generation logic to utilize optimized prompts, ensuring better performance in AI analysis tasks.
- Refactored existing prompt generation methods to leverage the new prompt optimizer, streamlining the process for various data types and tasks.
- Added detailed context and instructions for AI tasks, improving the overall user experience and output quality.
2025-10-18 23:48:46 -04:00
Nikhil-Doye 6279d5914f Enhance PDF processing and workflow integration
- Added detailed logging for PDF processing completion and output updates in DataInputNode.
- Refactored pdfService to utilize a browser-native approach for PDF text extraction, improving performance and reliability.
- Updated workflowStore to handle pre-processed PDF data, allowing for better integration and output management.
- Enhanced variable substitution utility to provide clearer warnings about unresolved variables and available nodes.
- Improved workflow generation logic to differentiate between PDF and URL-based inputs, ensuring appropriate processing nodes are added.
2025-10-18 23:05:57 -04:00
Nikhil-Doye 8e465ed479 Enhance workflow generation and intent classification features
- Updated the CopilotPanel to include a more detailed success message with complexity indicators and node count.
- Improved the ClassifyIntentTool to provide a comprehensive breakdown of workflow requests, including complexity analysis, step breakdown, data flow, and integration points.
- Enhanced the GenerateWorkflowTool to display complexity and step breakdown in the generated workflow output.
- Added new properties to the IntentClassification interface for better data handling.
- Implemented a fallback mechanism in workflow generation to support enhanced intent classification.
2025-10-18 22:16:11 -04:00
Nikhil-Doye 6e8d85d10b Implement clearAllNodes functionality in WorkflowToolbar and workflowStore
- Added clearAllNodes method to the workflow store to reset the workflow state, clearing all nodes and edges.
- Updated WorkflowToolbar to replace the clearExecutionResults function with clearAllNodes, renaming the button to "Reset workflow (clear all nodes)" for clarity.
- Enhanced user experience by ensuring the reset action is clearly communicated through UI changes.
2025-10-18 21:53:56 -04:00
Nikhil-Doye ee87d8ad0d Add multi-agent intelligence layer architecture and tools
- Introduced a new architecture for the multi-agent intelligence layer, replacing the monolithic `CopilotService` with a modular tool-based system.
- Added core components including `AgentManager`, `WorkflowAgent`, and various tools for intent classification, entity extraction, workflow generation, validation, and suggestions.
- Implemented a comprehensive test script and demo component for interactive testing of the new agent system.
- Updated TypeScript configuration and integrated the new architecture into the existing workflow store, ensuring backward compatibility with the previous API.
- Enhanced documentation to reflect the new architecture and its components, providing a clear overview of the system's capabilities and usage.
2025-10-18 21:39:38 -04:00
Nikhil-Doye 9e57cfab96 Remove obsolete workflow and test result files
- Deleted multiple workflow JSON files and a test results JSON file to clean up the project structure and remove unused resources.
- This includes the removal of firecrawl_workflow_test.json, Workflow_2.json, Workflow_1760486472779.json, and workflow_test_results_1.json.
- The deletion helps streamline the project and focuses on maintaining only relevant workflows and test results.
2025-10-18 13:21:32 -04:00
Nikhil-Doye 79fc223b35 Enhance README.md with updated features and installation instructions
- Revised project description to include comparisons with Zapier and added details on automation capabilities.
- Expanded features section to highlight new AI-powered node types and functionalities, including variable substitution and advanced workflow management.
- Added a new AI Copilot Assistant section detailing its capabilities for workflow generation and suggestions.
- Updated installation instructions to include API key configuration and deployment options.
- Included troubleshooting tips for common issues related to API keys, web scraping, and workflow execution.
- Enhanced documentation with additional resources and a roadmap for future development.
2025-10-18 00:19:54 -04:00
Nikhil-Doye 09ec52aa5a Add Copilot Panel and integrate AI workflow generation features
- Introduced a new CopilotPanel component for enhanced user interaction, allowing users to describe workflows and receive AI-generated suggestions.
- Implemented workflow generation from natural language input using the CopilotService, enabling users to create workflows based on their descriptions.
- Added validation and suggestion features to improve the generated workflows, ensuring they meet user requirements and best practices.
- Enhanced the WorkflowEditor to include a button for opening the CopilotPanel, streamlining the workflow creation process.
- Updated the workflow store to manage AI suggestions and validation results, improving the overall user experience and functionality.
2025-10-18 00:09:18 -04:00
Nikhil-Doye 127aab67b0 Update .gitignore and remove build artifacts
- Added 'build' directory to .gitignore to prevent tracking of build outputs.
- Deleted obsolete build files including asset-manifest.json, demo-workflows.json, index.html, and associated CSS and JS files, streamlining the project structure and reducing clutter.
2025-10-17 21:18:07 -04:00
Nikhil-Doye 992bc1302a Remove setup scripts and enhance UI components
- Deleted Windows PowerShell and Bash setup scripts for the Agent Workflow Builder, streamlining the setup process.
- Improved styling and functionality in the ExecutionPanel and WorkflowEditor components, including enhanced node status indicators, progress tracking, and user interface refinements.
- Added new icons and animations for better visual feedback and user experience.
- Updated WorkflowList to include onboarding modal for first-time users, enhancing usability and guidance.
2025-10-17 21:10:47 -04:00
Nikhil-Doye 03ddb5a59e Refactor workflow creation and editing functionality
- Updated handleCreateWorkflow to accept an optional workflow name, allowing users to specify a name when creating a workflow.
- Enhanced WorkflowList component to support editing workflow names, including input fields for editing and buttons for saving or canceling changes.
- Integrated updateWorkflow method in the workflow store to manage workflow name updates, ensuring changes are persisted.
2025-10-17 17:23:19 -04:00
Nikhil-Doye 627a476d1f Remove sensitive API key logging from Firecrawl service to enhance security and prevent exposure of sensitive information during scraping operations. 2025-10-17 17:08:13 -04:00
Nikhil-Doye 3e99a78806 Add delete functionality for selected nodes in WorkflowEditor
- Implemented a new button to delete the currently selected node in the WorkflowEditor.
- Added a handler to manage the deletion process, ensuring the node is removed and the configuration view is closed after deletion.
- Enhanced user interface with a delete button that appears only when a node is selected, improving usability.
2025-10-17 16:50:43 -04:00
Nikhil-Doye efd6e6fb1d Enhance web scraping node processing with format normalization and output selection
- Introduced format sanitization to ensure only supported formats are used, deduplicating requests.
- Normalized output formats to include a safe fallback of markdown.
- Implemented a preferred order for output selection, prioritizing string outputs suitable for downstream processing.
- Added maxLength enforcement for output text to control response size.
2025-10-17 16:08:24 -04:00
Nikhil-Doye 0a0fe82d98 Enhance firecrawlService with improved error handling and URL validation
- Added URL validation to ensure the provided URL starts with http:// or https://.
- Refactored scrape options to create a minimal, whitelisted options object to prevent 400 errors.
- Improved error logging to capture detailed information on API call failures.
- Implemented a retry mechanism for 400 Bad Request errors with minimal options for better resilience.
2025-10-17 15:55:33 -04:00
Nikhil-Doye ba52bd6eeb Refactor workflow execution to support variable substitution and enhance node processing
- Updated workflowStore to implement variable substitution for node outputs, allowing dynamic input handling across different node types.
- Modified processing functions for LLM, data output, web scraping, embedding, similarity search, and structured output nodes to utilize the new variable substitution mechanism.
- Adjusted demo-workflows.json to reflect changes in node configurations, including format updates for web scraping and model changes for LLM tasks.
2025-10-17 15:02:26 -04:00
Nikhil-Doye 0788e615b5 Update web scraping node output structure in workflowStore
- Modified the output of the web scraping node to return the complete result data instead of just the content, enhancing the information available for further processing.
2025-10-17 14:27:08 -04:00
Nikhil-Doye efe18c1a8a Enhance firecrawlService with new features and batch scraping support
- Renamed FirecrawlApp to Firecrawl for consistency with the SDK.
- Expanded FirecrawlConfig interface to include additional options such as maxAge, storeInCache, and location.
- Updated FirecrawlResponse interface to accommodate new response fields including rawHtml, summary, and actions.
- Implemented batchScrapeWithFirecrawl function for handling multiple URLs in a single request.
- Improved error handling and optional parameter checks in the scraping logic.
2025-10-15 20:20:33 -04:00
Nikhil-Doye 6244995163 Add Firecrawl API integration and enhance web scraping capabilities
- Introduced Firecrawl API support in the workflow builder, allowing users to scrape web content.
- Updated NodeConfiguration component to include new fields for Firecrawl settings, such as output formats and content filtering options.
- Enhanced OpenAIConfig component to manage both OpenAI and Firecrawl API keys.
- Created firecrawlService to handle API interactions and scraping logic.
- Modified workflowStore to process web scraping nodes using Firecrawl, improving error handling and fallback responses.
- Removed obsolete test-localStorage.html file as part of project cleanup.
2025-10-15 01:22:01 -04:00
Nikhil-Doye 9c1a0d8661 Enhance WorkflowToolbar and localStorage management for workflows
- Added success feedback in WorkflowToolbar upon saving a workflow, including visual changes to the save button.
- Implemented localStorage operations for saving, loading, and clearing workflows in workflowStore.
- Updated workflow management functions to persist changes to localStorage, ensuring data consistency across sessions.
2025-10-14 22:37:29 -04:00
Nikhil-Doye d9e7f9416a Add DeepSeek API integration and update model options
- Introduced new workflow test results JSON file to capture node execution outcomes.
- Updated NodeConfiguration component to replace OpenAI model options with DeepSeek models.
- Modified OpenAIConfig component to prioritize DeepSeek API key storage and validation.
- Enhanced openaiService to initialize with DeepSeek API and handle API key checks accordingly.
- Updated error messages and UI labels to reflect the integration of DeepSeek API.
2025-10-14 20:58:41 -04:00
Nikhil-Doye dd4add28ea Update project configuration and enhance workflow execution
- Added .env to .gitignore to prevent sensitive data exposure.
- Updated package.json and package-lock.json to include OpenAI SDK version 6.3.0.
- Enhanced NodeConfiguration component to support additional model options for AI tasks.
- Modified TestingPanel to accept test input for workflow execution.
- Improved WorkflowToolbar with OpenAI configuration button and modal.
- Refactored workflow execution logic to handle test inputs and added processing functions for various node types.
2025-10-14 20:33:53 -04:00
Nikhil-Doye 863389e3e5 first commit 2025-10-14 20:08:03 -04:00