Commit graph

24 commits

Author SHA1 Message Date
Roo Code
4948e52779 Jest fixes for webview-ui 2025-02-05 00:51:59 -08:00
Matt Rubens
70ad037016 Fix tests 2025-02-01 12:21:13 -05:00
Matt Rubens
90ba9e18e1 Remove annoying test 2025-02-01 11:16:38 -05:00
sam hoang
f906755d90 feat: add setting to enable/disable MCP server creation
- Add enableMcpServerCreation setting to control whether MCP server creation is allowed
- Add UI toggle in settings view for this feature
- Update system prompt to conditionally include MCP server creation documentation
- Add tests for new functionality
2025-02-01 09:34:53 +07:00
Matt Rubens
9aeb498f99 Add optional rate limiting between API calls 2025-01-31 16:44:32 -05:00
sam hoang
12dd54671a refactor: migrate from CRA to Vite and improve testing
Replace Create React App with Vite build system
Add ESLint configuration and improve TypeScript types
Create VSCode UI component mocks for better testing
Update test files with proper async handling
Add Tailwind CSS integration
Fix accessibility by adding ARIA roles
2025-01-29 21:15:28 +07:00
MFPires
b3be00c050 feat: Add auto-approval for mode switching
Implements automatic approval for mode switching operations when enabled, following
existing auto-approval patterns in the codebase.

Implementation:
- Added `alwaysAllowModeSwitch` to state management
- Updated `isAutoApproved` function in ChatView to handle mode switch requests
- Added mode switch option to AutoApproveMenu with appropriate handler
- Integrated with existing auto-approval flow

Tests:
- Added three test cases in ChatView.auto-approve.test.tsx:
  1. Verifies mode switch auto-approval when enabled
  2. Verifies no auto-approval when mode switch setting is disabled
  3. Verifies no auto-approval when global auto-approval is disabled

The implementation follows existing patterns for other auto-approve features
(read, write, browser, etc.) to maintain consistency in the codebase.
2025-01-28 01:20:19 -03:00
sam hoang
f86e96d157 refactor: separate mode and support prompts
- Rename customPrompts to customModePrompts for mode-specific prompts
- Add new customSupportPrompts type for support action prompts
- Update types to be more specific (CustomModePrompts and CustomSupportPrompts)
- Fix all related tests and component implementations
2025-01-24 01:46:33 +07:00
Matt Rubens
60a0a824b9 Prettier backfill 2025-01-17 14:11:28 -05:00
Matt Rubens
72fe12d096 Refactor modes 2025-01-17 10:03:23 -05:00
Matt Rubens
ee344facda Fixes to the auto approve menu 2025-01-16 03:42:38 -05:00
Matt Rubens
b65c8d0ec6 Customize for Roo 2025-01-15 23:48:53 -05:00
Matt Rubens
75e308b033 Add a screen for custom prompts 2025-01-13 22:45:14 -05:00
Matt Rubens
344c796f2e Chat modes 2025-01-12 13:11:52 -05:00
Matt Rubens
d1e305f30c Remove eslint-disable, forbid it in .clinerules 2024-12-28 21:58:16 -08:00
Matt Rubens
111abdbb2c Enhance prompt button for openrouter 2024-12-28 15:44:14 -08:00
Matt Rubens
91399c9f61 Fix bug with auto-approving commands 2024-12-26 21:25:14 -08:00
John Stearns
1e83d1a835
Improved regex for auto-execution of chained commands (#158)
* Improved regex for auto-execution of chained commands
2024-12-17 15:15:28 -08:00
Justin Quan
efdc3a8639 ChatView tests 2024-12-16 00:26:00 -08:00
Matt Rubens
6b8f9f7a45
Expose a list of allowed auto-execute commands (#31) 2024-12-01 15:34:36 -05:00
Matt Rubens
6fed90805a
Add a few more read-only operations (#25) 2024-11-29 12:35:33 -05:00
Matt Rubens
d632e621be
Simplify auto-approving code and make it work better with browser actions (#21) 2024-11-28 13:44:02 -05:00
John Stearns
aecbde845e Improving test coverage 2024-11-05 16:55:57 -08:00
John Stearns
f73ffd9ea7 Adding a terminate task button to quit and restart 2024-11-05 14:40:03 -08:00