Commit graph

1509 commits

Author SHA1 Message Date
Ramnique Singh
3645f92774
Merge pull request #282 from rowboatlabs/cli-copilot
First version copilot:
2025-11-05 13:10:00 +05:30
tusharmagar
0eda81b33c Enhance Rowboat Copilot functionality:
- 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.
2025-11-05 13:09:25 +05:30
tusharmagar
4310b1d45d First version copilot:
- basic llm call that can perform CRUD actions over dummy workflow json files
2025-11-05 13:09:25 +05:30
Arjun
055dda35b9 arjun: command executor function 2025-11-04 15:31:22 +05:30
Ramnique Singh
6014437479 first commit 2025-11-04 15:31:12 +05:30
Ramnique Singh
476654af80
Feature/copilot trigger creation (#274)
* 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>
2025-10-16 14:33:56 +08:00
arkml
103a4045bf
Merge pull request #279 from rowboatlabs/arkml-patch-1 2025-10-01 12:05:49 +05:30
arkml
576ec1edd9
Update README.md 2025-10-01 12:03:01 +05:30
arkml
5810bcbe49
Merge pull request #278 from rowboatlabs/arkml-patch-1 2025-10-01 11:55:09 +05:30
arkml
b36c33962b
Update README.md 2025-10-01 11:52:00 +05:30
Ramnique Singh
96fd8b10ca
Merge pull request #277 from rowboatlabs/dev
Dev changes
2025-10-01 07:42:50 +05:30
Ramnique Singh
b16653de2f
Merge pull request #276 from rowboatlabs/fix/composio-tool-search-api-change
fix: handle Composio API breaking change from results to main_tools
2025-10-01 07:28:41 +05:30
tusharmagar
910ece1429 fix: handle Composio API breaking change from results to main_tools
- 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
2025-10-01 06:08:13 +08:00
arkml
b9e6b146a1
Merge pull request #275 from rowboatlabs/arkml-patch-1 2025-09-26 23:20:53 +05:30
arkml
cb625a3a5a
Update README.md 2025-09-26 23:15:20 +05:30
arkml
e988dfa87f
Merge pull request #272 from rowboatlabs/dev
Dev
2025-09-20 10:07:14 +05:30
arkml
b5490999b0 fix composio zod error 2025-09-20 09:59:38 +05:30
arkml
7f7dfc91b3 Revert "Image upload (#270)"
This reverts commit 8b38660a68.
2025-09-19 21:36:23 +05:30
arkml
8b38660a68
Image upload (#270)
* 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
2025-09-19 21:00:25 +05:30
arkml
109997ca2e
Merge pull request #269 from rowboatlabs/dev
Hide community cards behind feature flag
2025-09-17 20:47:31 +05:30
akhisud3195
496dd03016 Hide community cards behind feature flag 2025-09-17 13:48:07 +04:00
arkml
b2c809b1bb
Merge pull request #268 from rowboatlabs/dev
Fix copy URL bug
2025-09-17 00:35:42 +05:30
akhisud3195
6935196905 Fix copy URL bug 2025-09-16 22:40:00 +04:00
arkml
64a2675093
Merge pull request #267 from rowboatlabs/dev
Dev
2025-09-16 20:36:45 +05:30
arkml
7c261c6886
make copilot aware of the internal image generation tool (#266) 2025-09-16 20:01:34 +05:30
tusharmagar
c2f3d87074 removed generate image tool from customer support prebuilt template 2025-09-16 19:06:01 +05:30
akhisud3195
54b39edaea Revert auth related changes to start.sh 2025-09-16 16:55:29 +04:00
arkml
596050e3e7
Merge pull request #265 from rowboatlabs/dev
Dev
2025-09-16 18:18:05 +05:30
tusharmagar
adb2f30ecc -fixed index.ts issue 2025-09-16 17:50:58 +05:30
akhisud3195
91501d7913 Remove test from prebuilt index 2025-09-16 15:58:59 +04:00
akhisud3195
2a1143c833 Read prebuilt templates from code directly 2025-09-16 15:53:37 +04:00
Ramnique Singh
726559de76
Merge pull request #264 from rowboatlabs/fix_image_fr
moved generate_image from being attached to the workflow
2025-09-16 17:15:22 +05:30
arkml
c43beace9c added image icon 2025-09-16 17:09:33 +05:30
arkml
d8c99ab4c3 fixed font and transparency 2025-09-16 17:07:16 +05:30
arkml
79fc18241d added flag for google api key 2025-09-16 17:02:25 +05:30
arkml
48c32d37dc moved generate_image from being attached to the workflow 2025-09-16 16:22:06 +05:30
akhisud3195
0c90b73fac Remove test files from index of prebuilt templates - part 2 2025-09-16 14:38:26 +04:00
akhisud3195
6d9d13cbb5 Remove test files from index of prebuilt templates 2025-09-16 14:37:04 +04:00
akhisud3195
af3adc797f Fix library templates db syncing and pagination issues 2025-09-16 14:32:11 +04:00
Tushar
893ad87268
Fix/prebuilt cards updates (#263)
* updates to the twitter prebuilt cards

* update the default fallback model from gpt-4o to gpt-4.1
2025-09-16 15:29:48 +05:30
akhisud3195
1a763dcbd9 Fix pagination issues 2025-09-16 13:52:12 +04:00
akhisud3195
bdf20ea678 Sync pre-built templates 1-1 with DB 2025-09-16 13:36:24 +04:00
arkml
70cbd8beea make generate_image conditionally show up 2025-09-16 14:59:00 +05:30
akhisud3195
cdfa7daf98 Revert auth0 and middleware changes and handle missing auth0 env vars in assistant templates actions 2025-09-16 12:53:31 +04:00
Tushar
d358ad45b7
Fix/prebuilt cards model config (#262)
* 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.
2025-09-16 12:30:27 +04:00
akhisud3195
f37ebd1214 Fix next js compilation issue when auth0 configs are not found in env 2025-09-16 11:42:48 +04:00
Tushar
cbcc1aa8a6
Fix prebuilt cards model configuration (#261)
- 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
2025-09-16 12:19:59 +05:30
akhisud3195
1072c8836c Enable redaction for community-published workflows 2025-09-16 00:45:11 +04:00
akhisud3195
8a86b892d0 Update templates and publishing to use server-side auth + fix likes-related glitches 2025-09-16 00:35:02 +04:00
arkml
041ab25b7b
remove url from share and add auth (#260) 2025-09-15 23:44:01 +05:30