Murilo Pires
5bc1a5062a
Merge branch 'RooVetGit:main' into feature/auto-approve-switch-modes
2025-01-28 01:22:01 -03: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
Murilo Pires
1ba632fe89
Update webview-ui/src/components/chat/TaskHeader.tsx
...
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com >
2025-01-28 00:39:40 -03:00
MFPires
e668169ed9
feat: Add conversation context token counter
...
- Add contextTokens to ApiMetrics interface
- Calculate context size using last API request's tokens
- Display context token count in TaskHeader below total tokens
- Use exact token counts instead of character estimation
This helps users track the total size of their conversation context,
which is useful for managing context window limits.
2025-01-27 23:02:25 -03:00
Prathmesh Vhatkar
2d65b8aabe
fix:Using optionStyle everywhere correctly
2025-01-26 19:10:16 +05:30
Prathmesh Vhatkar
63787d1f7b
fix:Added correct styling for the select options
2025-01-26 18:00:10 +05:30
Matt Rubens
60749237ff
Merge remote-tracking branch 'origin/main' into r1-display-reason
2025-01-26 00:16:55 -05:00
Matt Rubens
d052bebed6
Fix bug where always allow wasn't showing up for MCP tools
2025-01-25 23:47:46 -05:00
Matt Rubens
66909b5c36
Hardcode version in announcement
2025-01-25 21:41:03 -05:00
Piotr Rogowski
c6607065b9
Add support for displaying reasoning for openrouter models
2025-01-26 02:11:56 +01:00
Matt Rubens
d1754cace0
Add a tool to switch modes
2025-01-24 03:05:03 -05: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
Tom X Nguyen
ece63103c7
style: align chatrow through padding and keep flex-start for the trash
2025-01-22 23:02:32 +07:00
Tom X Nguyen
8d0acfa987
style: Align text and button in user input box
2025-01-22 15:47:37 +07:00
Matt Rubens
323af09269
Fix announcement
2025-01-21 09:59:50 -05:00
Matt Rubens
b8e0aa0cde
Custom modes
2025-01-21 09:39:54 -05:00
Matt Rubens
37c2bae0eb
Remove mode chooser from settings
2025-01-20 11:41:38 -05: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
Saoud Rizwan
4b4905ec9e
Add auto-approve UI and notification integration
2025-01-15 21:02:14 -05:00
Matt Rubens
84a0063b99
Fix ChatTextArea layout
2025-01-15 00:43:26 -05:00
Matt Rubens
4493b55276
Merge pull request #351 from RooVetGit/custom_prompts
...
Custom prompts
2025-01-14 15:26:54 -05:00
Matt Rubens
5140b67d74
Add a button to copy markdown out of the chat
2025-01-14 01:13:02 -05:00
Matt Rubens
75e308b033
Add a screen for custom prompts
2025-01-13 22:45:14 -05:00
Matt Rubens
4c292abf7a
Fix margins
2025-01-13 13:06:24 -05:00
Matt Rubens
b53d63abda
A couple more tiny tweaks to buttons
2025-01-12 14:59:11 -05:00
Matt Rubens
5698d10113
Small fixes
2025-01-12 14:05:35 -05:00
Matt Rubens
344c796f2e
Chat modes
2025-01-12 13:11:52 -05:00
Matt Rubens
97a93ba731
Improve the UX for API request retries
2025-01-10 20:11:16 -05:00
Matt Rubens
fd075505e6
Disable the API config dropdown in sync with the chat textarea
2025-01-08 00:32:46 -05:00
Matt Rubens
525b7424fe
Cleanup the welcome screen to be less Claude focused
2025-01-07 22:31:08 -05:00
Matt Rubens
2cffbc860b
Tweak thumbnail display
2025-01-07 20:30:23 -05:00
Matt Rubens
c3fa10b367
UI cleanup
2025-01-07 20:09:56 -05:00
Matt Rubens
7e9ea7ac28
Add a Git section to the context mentions
2025-01-06 12:17:26 -05:00
Matt Rubens
90ed3a4582
Add a button to delete user messages
2024-12-30 17:54:37 -08:00
Matt Rubens
ff062c6e2e
Allow selection of multiple browser viewport sizes and adjusting screenshot quality
2024-12-29 16:26:18 -08:00
Matt Rubens
d1e305f30c
Remove eslint-disable, forbid it in .clinerules
2024-12-28 21:58:16 -08:00
Matt Rubens
f33281c18d
Remove duplicate useEffect hooks
2024-12-28 21:46:08 -08:00
Matt Rubens
111abdbb2c
Enhance prompt button for openrouter
2024-12-28 15:44:14 -08:00
Matt Rubens
c56218b68d
Improved logic for auto-approving chained commands
2024-12-26 22:45:09 -08:00
Matt Rubens
91399c9f61
Fix bug with auto-approving commands
2024-12-26 21:25:14 -08:00
Matt Rubens
03707d5dcc
Add configurable delay after auto-writes to allow diagnostics to catch up
2024-12-26 09:59:01 -08:00
Matt Rubens
6a6084b7ca
Toggle to switch browser size to 1280x800
2024-12-18 00:33:46 -05: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
ColemanRoo
1a9e01daf4
remove celebration sound on resume completed task
2024-12-17 11:11:40 -06:00
Justin Quan
267fb441d9
fix all lint warnings
2024-12-16 15:12:49 -08:00
Justin Quan
6db30b5e90
fix lint error
2024-12-16 15:00:41 -08:00
Justin Quan
ac2babfd82
remove double ping for mcp approval
2024-12-16 14:07:07 -08:00