* feat: Add Copilot trigger creation support
- Add support for One-Time and Recurring triggers in Copilot
- Extend CopilotAssistantMessageActionPart schema with trigger config types
- Update Copilot instructions with trigger creation examples and guidelines
- Implement trigger action handling in messages.tsx component
- Add trigger icons (⏰ for one-time, 🔄 for recurring) in action cards
- Update workflow reducer to handle trigger creation via existing APIs
- Fix action parser to recognize trigger config types in comment format
- Add async trigger processing using createScheduledJobRule and createRecurringJobRule APIs
Users can now ask Copilot to create triggers with natural language requests like:
'Create a daily report trigger at 9 AM' or 'Set up a one-time reminder for next Friday'
* feat: Enhance Copilot message handling and trigger actions
- Pass projectId to Messages and AssistantMessage components for better context
- Refactor applyAction to handle one-time and recurring triggers with improved error handling
- Update handleApplyAll and handleSingleApply to support async action processing
- Remove deprecated pending trigger logic from workflow editor
This update improves the Copilot's ability to manage triggers and enhances the overall message processing flow.
* refactor: route trigger actions via copilot helper
Keep workflow reducer synchronous by removing trigger jobs from the switch and moving job rule API calls into a dedicated helper in messages.tsx. Cache dynamic imports and guard types so Copilot Apply/Apply All handle trigger creation without touching reducer state.
* feat: Add current time to the copilot context
* added conext of triggers to the copilot along with being able to edit and delete triggers
* bug fix for deleting composio triggers
* Add the edit function that allows editing triggers and lets copilot edit triggers too without losing previous jobs
feat: Add update functionality for recurring and scheduled job rules
- Implemented update actions for recurring job rules and scheduled job rules, allowing users to modify existing rules with new input and scheduling configurations.
- Enhanced the UI components to support editing of job rules, including forms for both creating and updating rules.
- Updated the repository interfaces and MongoDB implementations to handle the new update operations for job rules.
This update improves the flexibility of managing job rules within the application.
* Add trigger context to copilot
feat: Enhance trigger management in Copilot
- Added functionality to search for relevant external triggers using the new `search_relevant_triggers` tool, allowing users to discover available triggers based on toolkit slugs and optional query keywords.
- Updated the Copilot context to include detailed descriptions of various external trigger toolkits, enhancing user guidance for trigger creation.
- Improved the overall trigger handling process, ensuring that users can effectively integrate external triggers into their workflows.
This update significantly enhances the Copilot's capabilities in managing and utilizing external triggers.
* Let copilot add external triggers
feat: Enhance external trigger handling in Copilot
- Added support for flexible schemas in external triggers, allowing configuration changes without stripping any data.
- Introduced a new `onRequestTriggerSetup` callback in the Action component to facilitate trigger setup requests.
- Implemented a modal for trigger configuration, improving user experience when setting up external triggers.
- Updated the ComposioTriggerTypesPanel to auto-select trigger types based on initial configuration.
This update significantly improves the management and setup of external triggers within the Copilot interface.
* External trigger cant be edited so we delete and recreate for this
feat: Improve external trigger handling in Copilot
- Added validation for editing external triggers, ensuring users are informed that existing triggers must be deleted and recreated for changes.
- Updated documentation to clarify the limitations of external trigger modifications.
This update enhances user experience by providing clear guidance on managing external triggers within the Copilot interface.
* preventing message.tsx from ballooning up in size
feat: Refactor Copilot message handling and trigger actions
- Removed deprecated logic for loading scheduled and recurring job actions, streamlining the trigger action process.
- Integrated `useCopilotTriggerActions` hook to manage trigger setup and actions more efficiently.
- Enhanced parsing of action parts to improve handling of triggers and their configurations.
- Updated the UI to reflect changes in action handling, ensuring a smoother user experience.
This update optimizes the Copilot's ability to manage triggers and enhances the overall message processing flow.
* refactor: Simplify trigger filtering in Copilot
- Removed unnecessary filtering logic for triggers based on user queries, streamlining the search process.
- Updated response messages to clarify the context of displayed triggers, enhancing user understanding.
This update improves the efficiency of the trigger search functionality within the Copilot interface.
* Revert "refactor: Simplify trigger filtering in Copilot"
This reverts commit b3d041677c.
* simplify the filtering logic for triggers in copilot
feat: Enhance external trigger creation and search functionality in Copilot
- Introduced a critical flow for adding external triggers, emphasizing minimal user input and UI configuration.
- Updated documentation to clarify the external trigger creation process and provided examples for better guidance.
- Simplified the trigger search logic, ensuring users receive relevant results while maintaining clarity in response messages.
This update improves the user experience by streamlining external trigger management and enhancing the search capabilities within the Copilot interface.
---------
Co-authored-by: tusharmagar <tushmag@gmail.com>
* Add community sharing feature and merge with pre-built templates
* Add warning before publishing
* [Untested] Add delete flow for community cards
* Fix bug with sorting by likes count and update design of cards
* Fix community assistant parsing errors
* Remove all as a type filter
* Remove default assistant name for publishing to community
* Update DB calls to be standardized paginated
* Add multiple pane views
* Fix rendering issues
* Fix copilot apply selection pane error and remove old debug logs
* Make top bar more compact
* Fix copilot generation from starting prompt
* Fix panel resizing issues
* Fix content preservation upon hiding panes
* Added changes on top of pane_layouts branch to remove example agent from the workflow editor
* Grey out options for changing pane layout during zero agents state
* Add zero-agent state for playground and publish buttons
* Fix pane sizes and bugs
---------
Co-authored-by: tusharmagar <tushmag@gmail.com>
* added basic progress bar
* step 1 turns green when any agent instructio is changed
* step 2 is done after playground chat
* step 3 turns green on publish
* step 4 turns green on use assistant
* step 1 turns green on copilot changes too
* reduced font size of the live workflow warning
* better hover texts for steps
* change progress bar style
* better tool tips
* reverted styling of use assistant button
* chat with assistant option collapses the left pane
* remove hide left panel button
* made progress bar hover text more prominent
* add labels to progress bar
* added tour for build
* added tour for test
* added tour for publish
* added tour for use step
* added tool tip for each step to click for tour
* refined wording in product tours
* added jobs and conversations to the product tour
* Display copilot and playground as toggles
* Auto-switch live mode to draft mode when changes are made to workflow or build mode is toggled on
* Show playground / copilot alongside entity config in 3-pane
* Make tool params non-bold
* Fix panel resizing issues
* Fix logic around transitions back to draft mode from live mode
* Change test to chat in the toggle
* Fix workflow consistency issues while switching between live and draft modes
* Simplify composio trigger name to be computed directly from Slug
* Show log and friendly name in composio trigger cards
* Standardize buttons in all trigger creation flows
* Update trigger cards look
* Remove extra ring around fields in trigger config form
* Add copilot welcome message
* Update copilot welcome message
* Fix @ mentions deletion glitch
* Make UI UX fixes to tools and tool configs
* Fix font sizing and dark mode issues for tool labels
* Use heroUI input fields and consolidate editable fields into input-field
* Add auto focus to instructions and examples for agents
* Club context with status bar copilot
Club copilot cards and add apply all
Remove ability to delete context and club context with status bar copilot
* Show apply all disabled in copilot
Replace db storage with api calls to klavis for list servers and add filters to hosted tool views
Add logging and simplify oauth
Refactor klavis API calls to go via a proxy
Add projectAuthCheck() to klavis actions
Fix build error in stream-response route.ts
PARTIAL: Revamp tools modal
PARTIAL: Manage mcp servers at project level document
PARTIAL: Fetch tools from MCP servers upon toggle ON
PARTIAL: Propogate hosted MCP tools to entity_list in build view
Show tool toggle banner
Add sync explicitly to prevent long page load time for MCP server's tools
PARTIAL: Fix auth flow DB writes
PARTIAL: Add tools with isready flag for auth-related server handling
PARTIAL: Bring back sync tools CTA
Fix tool selection issues
PARTIAL: Fix sync issues with enriched and available tools and log unenriched tool names
Remove buggy log statement
Refactor common components and refactor HostedServer
PARTIAL: Add custom servers and standardize the UI
PARTIAL: Add modal and small UI improvements to custom servers page
Show clubbed MCP tools in entity_list
Add tool filters in tools section of entity_list
Revert text in add tool CTA
Make entity_list sections collapsed when one is expanded
Merge project level tools to workflow level tools when sending requests to agent service
Restore original panel-common variants
Reduce agentic workflow request by removing tools from mcp servers
Merge project level tools to workflow level tools when sending requests to copilot service
Fix padding issues in entity_list headers
Update package-lock.json
Revert package* files to devg
Revert tsconfig to dev
PARTIAL: Change tabs and switch to heroui pending switch issues
Fix switch issues with heroui
Pass projectTools via workflow/app to entity_list and do not write to DB
Fix issue with tool_config rendering and @ mentions for project tools
Include @ mentioned project tools in agent request
Update copilot usage of project tools
Read mcp server url directly from tool config in agents service
Make entity_list panels resizable
Update resize handlers across the board
Change Hosted MCP servers ---> Tools Library
Remove tools filter
Remove filter tabs in hosted tools
Move tools selected / tools available labels below card titles
Remove tools from config / settings page
Bring back old mcp servers handling in agents service for backward compatibility as fallback
Remove web_search from project template
Add icons for agents, tools and prompts in entity_list
Enable agents reordering in entity_list
Fix build errors
Make entity_list icons more transparent
Add logos for hosted tools and fix importsg
Fix server card component sizes and overflow
Add error handling in hosted servers pageg
Add node_modules to gitignore
remove root package json
add project auth checks
revert to project mcpServers being optional
refactor tool merging and conversion
revert stream route change
Move authURL klavis logic to klavis_actions
Fix tool enrichment for post-auth tools and make logging less verbose
Expand tool schema to include comprehensive json schema fields
Add enabled and ready filters to hosted tools
Add needs auth warning above auth button
Update tools icon
Add github and google client ids to docker-compose
Clean up MCP servers upon project deletion
Remove klavis ai label
Improve server loading on and off UX
Fix bug that was not enriching un-auth servers
Add tool testing capabilities
Fix un-blurred strip in tool testing modal view
Disable server card CTAs during toggling on or off transition
Add beta tag to tools
Add tool and server counts
Truncate long tool descriptions
Add separators between filters in servers view
Support multiple format types in tool testing fields
Fix menu position issue for @ mentions