- Updated `next.config.ts` to scope Turbopack to the app's directory.
- Modified `package.json` and `package-lock.json` to include new dependencies for Tiptap and markdown processing.
- Removed deprecated chat API and added new agent and config routes for file management.
- Introduced `JsonEditor` and `MarkdownViewer` components for improved content editing and display.
- Enhanced `TiptapMarkdownEditor` with additional toolbar options and markdown parsing capabilities.
- Updated layout and page components to integrate new editors and improve user experience.
- Implemented agent selection dropdown in the input area.
- Enhanced artifact management with loading, saving, and error handling.
- Added new API routes for fetching agent summaries and run details.
- Updated sidebar to display agents, configurations, and runs dynamically.
- Introduced theme selection options in the user navigation menu.
* fix: add SAML to Composio auth scheme enum
- Add 'SAML' to ZAuthScheme enum in types.ts to support SAML authentication
- Add SAML case to getAuthMethodName in ToolkitAuthModal for proper display
- Fixes ZodError when Composio API returns toolkits with SAML auth schemes
- Resolves 500 error when fetching Composio toolkits
* refactor: update composio tool search response handling in copilot
* add workspace access guidelines to instructions
* updated example
* removed incorrect example
* add --example to add the examples from rowboat
* changed --example to --sync-example
* rename sync-examples option to sync-example in CLI
* fix: sync-example implementation
* refactor example import
* fix yargs
* fix: - remove changes to package-lock
- remove output messages from app.js and moved them into importExample
* fix: restore package-lock.json to match main (remove diff)
* fix: naming of the commands
* update: made import-example into import and it can import example workflows or user made workflows
* update: added export capability
* delete: remove misplaced podcast.json file
* removed incomplete gemini3-test example json
* remove: eliminate gemini3-test example from exports
* Fix: better prompting around MCP config
Add: copilot tool to add MCP servers
* clean up prompt
---------
Co-authored-by: Ramnique Singh <30795890+ramnique@users.noreply.github.com>
- Expanded the system prompt to support a wider range of actions, including general chat and agent management.
- Implemented conversational memory, allowing the assistant to maintain context and respond in natural language.
- Updated the interpret function to accept conversation history, improving command parsing.
- Enhanced the rendering of assistant responses to include command outcomes and maintain conversational flow.
- Updated documentation to reflect new features, including conversational context and debug mode for inspecting raw commands.
* 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 b3d041677c97075e3b70b6d9baec2243042bcd10.
* 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>
- Composio SDK upgrade (0.1.40 -> 0.1.48) changed COMPOSIO_SEARCH_TOOLS response format
- API now returns main_tools instead of results field
- Updated schema to support both formats for backward compatibility
- Fixes tool search functionality that was broken since August 27th upgrade
Resolves: Tool search returning 'No tools found' despite valid tools being available
* added upload button
* image shows up when attached
* added automatic parsing of the image
* make generate image accept an input image
* move image description to debug message
* disable message sending if the image processing hasnt completed yet
* move to x icon for dismiss
* image description processing is stopped on image dismiss
* minor changes
* Fix prebuilt cards model configuration
- Set all prebuilt card models to blank ("model": "")
- Add model fallback in createProjectFromWorkflowJson to use PROVIDER_DEFAULT_MODEL
- Enables different models for OSS vs managed deployments via environment variable
* Refactor assistant template handling and seeding logic
- Replace upfront seeding of all templates with lazy seeding on demand.
- Introduce a new function to fetch specific templates by ID, applying transformations for prebuilt templates.
- Update the ensureLibraryTemplatesSeeded function to skip updating existing templates and log seeding actions.
- Modify project creation to directly use workflow JSON without parsing for default model application.
- Update prebuilt card model configurations to ensure proper defaults are applied.
- Set all prebuilt card models to blank ("model": "")
- Add model fallback in createProjectFromWorkflowJson to use PROVIDER_DEFAULT_MODEL
- Enables different models for OSS vs managed deployments via environment variable
* 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
* feat: add Eisenhower Email Organiser prebuilt card
- Added new eisenhower-email-organiser.json prebuilt workflow template
- Updated index.ts to include the new template in exports
- Template helps users organize emails using the Eisenhower Matrix (urgent/important quadrants)
* fix: update to American spelling - organizer instead of organiser
- Updated import statement to use 'eisenhower-email-organizer.json'
- Updated export key to 'Eisenhower Email Organizer'
- Maintains consistency with American English throughout the codebase
* change name of Tweet Assistant
* fix: remove duplicate file and fix American spelling in description
- Removed duplicate eisenhower-email-organiser.json (British spelling)
- Fixed description in eisenhower-email-organizer.json: 'Organises' → 'Organizes'
- Now only one file exists with consistent American spelling throughout
* fix: update Support category header in prebuilt cards UI
- Changed 'Customer Support' to 'Support' in build-assistant-section.tsx
- Now matches the category field in customer-support.json
- Ensures Support section displays properly in the prebuilt cards UI
- Added new eisenhower-email-organiser.json prebuilt workflow template
- Updated index.ts to include the new template in exports
- Template helps users organize emails using the Eisenhower Matrix (urgent/important quadrants)
- Removed 'Hi! To get started with chatting with your Assistant please create an agent first!' message feature
- Pipelines can now be set as start agents without triggering this error message
- Removed checks from emitGreetingTurn() and streamResponse() functions
- System now handles all agent types properly as start agents
* 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>
* disable click for invalid tools
* handle variables as mentions in the editor
* delete tools persist immediately
* deleting tools in live view shows the same warning and option to switch to draft
* added image tool
* show image in playground
* store images in Redis
* new images use unique urls
* moved from redis to s3 for image urls
* removed unnecessary changes
* removed the bubble around assistant messages
* added a download button on hover on image
* increased image size and removed border
* revert the bubbes for the assistant messages
* Add prebuilt cards functionality and related changes
* removed old jsons (still need to update the existing ones too)
* Refactor project templates to remove the Example Agent and update related documentation. Updated the copilot behaviour aswell.
* Merge remote-tracking branch 'origin/dev' into prebuiltcards
* Update SHOW_PREBUILT_CARDS logic to use environment variable for better configuration management
* new external trigger page is shown if no external triggers are setup yet
* make one time trigger default to new trigger
* default to new trigger in recurring triggers
* remove back button if no triggers are setup yet
* 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