Roo-Code/src
Chris Hasson 25cd57e157
feat(settings): Add allowedMaxRequests feature inspired by Cline (#3631)
* feat(settings): Introduce the "auto-approve request count" feature from Cline

This is the first minor UI feature I've added, so please let me know if I'm missing anything! (translations, organization, etc!)

Please see commits for details

introduce allowedMaxRequests to globalSettingsSchema
update ExtensionState and its context with allowedMaxRequests
implement UI for setting max requests in AutoApproveMenu component
prompt user when auto-approval limit is reached with i18n support
increment consecutiveAutoApprovedRequestsCount and reset upon user approval
add translations for auto-approved request limit reached prompt in multiple languages
add new UI for "auto_approval_max_req_reached" in ChatRowContent
display prompt with title, description, and button for user action

🔧 chore(gitignore): add .idea to .gitignore to exclude IDE-specific files
- remove .idea/workspace.xml to clean up repository

* 🔧 chore(gitignore): add IDE configuration files to ignore list

- add .idea directory to ignore JetBrains IDE configurations

* 🌐 i18n(chat): add translation keys for api request limit

- introduce translation keys for "title" and "unlimited" in multiple languages
- update description for api request limit in various languages

* 🌐 i18n(chat): migrate auto-approved request limit translations

- move translations from common.json to chat.json across locales
- update component to use Trans for dynamic text rendering

* Update the UI for setting max requests

* Hide the auto-approve limit warning once clicked

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-05-20 11:30:27 -04:00
..
__mocks__ Fall back to execa if VSCode terminal integration fails (#3049) 2025-04-29 21:10:41 -07:00
__tests__ test: verify dist WASM files exist (#3048) 2025-04-29 16:10:51 -07:00
activate Move presentAssistantMessage into its own module (#3345) 2025-05-08 11:59:03 -07:00
api refactor: import multiple times (#3745) 2025-05-20 09:19:44 -04:00
core feat(settings): Add allowedMaxRequests feature inspired by Cline (#3631) 2025-05-20 11:30:27 -04:00
exports feat(settings): Add allowedMaxRequests feature inspired by Cline (#3631) 2025-05-20 11:30:27 -04:00
i18n Import settings bug fix / improvements (#3657) 2025-05-15 23:21:55 -07:00
integrations refactor: import multiple times (#3745) 2025-05-20 09:19:44 -04:00
schemas feat(settings): Add allowedMaxRequests feature inspired by Cline (#3631) 2025-05-20 11:30:27 -04:00
services refactor: import multiple times (#3745) 2025-05-20 09:19:44 -04:00
shared feat(settings): Add allowedMaxRequests feature inspired by Cline (#3631) 2025-05-20 11:30:27 -04:00
utils feat: move play audio to webview to ensure cross-platform (#3659) 2025-05-20 01:15:05 -04:00
workers Count tokens worker (#3037) 2025-04-29 12:29:25 -07:00
extension.ts Move presentAssistantMessage into its own module (#3345) 2025-05-08 11:59:03 -07:00