Commit graph

197 commits

Author SHA1 Message Date
Matt Rubens
c70595b9f0
Merge pull request #1507 from hannesrudolph/optional-mode-creation
feat: Add toggle for custom mode creation
2025-03-09 18:54:49 -04:00
Roo Code
2a08c7c3db feat: Add toggle for custom mode creation
This commit adds a new setting to allow users to disable custom mode creation,
which can help reduce token usage in Roo's prompts.

Key changes:

Add enableCustomModeCreation setting to global state
Conditionally include custom modes documentation in prompt only when enabled
Add UI toggle in PromptsView with explanatory text
Default the setting to enabled (true) for backward compatibility
Update necessary interfaces and message handlers for the new setting
The setting is placed in PromptsView rather than SettingsView since it directly
relates to the modes functionality managed in that component.
2025-03-08 22:05:27 -07:00
Matt Rubens
e10757d6fa Iterate on subtasks UX 2025-03-08 23:46:28 -05:00
ShayBC
1456db9502 added approve finish task button and auto approve button for subtasks 2025-03-08 06:01:49 +02:00
Matt Rubens
f9d162e157 Add setting for whether to include ignored files in lists 2025-03-07 11:28:28 -05:00
Matt Rubens
50f76584bc Add telemetry and privacy policy 2025-03-07 03:03:44 -05:00
cte
7eee3e0878 Smart truncation for terminal output 2025-03-05 19:36:52 -08:00
cte
e1ccb70269 Checkpoint storage setting + settings view redesign 2025-03-04 15:18:29 -08:00
Matt Rubens
6b0347e0bd Add a checkbox to enable/disable the browser tool 2025-03-03 00:34:20 -05:00
cte
e201ee8fdc Selectively deep merge rather than deep merging everything 2025-03-02 16:37:44 -08:00
Chris Estreich
2bd310bc92
Update webview-ui/src/context/ExtensionStateContext.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-03-02 15:20:34 -08:00
cte
b0f1eb6d62 ExtensionStateContext does not correctly merge state 2025-03-02 15:17:15 -08:00
Matt Rubens
10c6f8fb67 Graduate checkpoints out of beta 2025-02-27 01:35:50 -05:00
Chris Estreich
3860abf855
Merge pull request #1122 from System233/patch-model-picker
fix: ModelID cannot be saved and refactor ModelPicker
2025-02-25 19:18:36 -08:00
System233
48975003af Remove ModelInfo related exports from ExtensionStateContext 2025-02-26 06:59:32 +08:00
Matt Rubens
77a6e2be6d File drag and drop 2025-02-25 15:49:38 -05:00
System233
2036e84d9d Fix settings panel reset during state update 2025-02-20 10:28:23 +08:00
System233
2943d655cf Fix input box revert issue and configuration loss during profile switch #955 2025-02-18 01:02:51 +08:00
Matt Rubens
0855159f70 Setting for the max number of open tabs to include in context 2025-02-13 22:23:20 -05:00
sam hoang
e9d9e03b72 fix: improve model picker refresh handling and API config updates
- Add proper change detection for refreshValues using deep comparison
- Increase debounce timing from 50ms to 100ms for better performance
- Add proper error handling for missing Requesty API key
- Fix apiConfiguration update to properly merge with existing state
- Remove debug console logs
2025-02-11 01:48:55 +07:00
sam hoang
91fe764cb8 feat: add Requesty API provider support
- Add RequestyHandler implementation for API integration
- Add RequestyModelPicker component for model selection
- Update shared types and messages for Requesty support
- Update API options to include Requesty provider
2025-02-10 20:13:43 +07:00
Vignesh Subbiah
5995923daf
Merge branch 'main' into pm/unbound-fetch-models 2025-02-08 22:11:22 +05:30
cte
59ddaa9f00 Current checkpoint indicator 2025-02-08 01:07:31 -08:00
cte
121f3ab7fa Checkpoint service integration 2025-02-07 22:27:27 -08:00
Pugazhendhi
32f91b6291 Merged with main branch 2025-02-06 12:44:22 +05:30
Matt Rubens
3d2ba7b361 Code cleanup 2025-02-03 23:48:22 -05:00
Pugazhendhi
ea3d384e48 Fetches all models from gateway during init 2025-02-03 12:18:15 +05:30
sam hoang
9406a273da fix(api-config) error when creation of api config 2025-02-03 12:57:59 +07:00
Matt Rubens
1e5a257e52 Removed active selection for now 2025-02-01 11:57:36 -05:00
loup
064dc4e52f feat: opened tabs and selection in the @ menu 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
3ed8540eba refactor(experiments): improve type safety for experiment configuration
Change ExperimentId type to be value-based rather than key-based
Make experiment record types more strict with proper typing
Pass full experiment config object instead of single boolean flag
Update type definitions and usages across codebase
2025-01-28 21:06:35 +07:00
sam hoang
bb84d79af1 chore: remove unused 2025-01-28 21:06:34 +07:00
sam hoang
ad552ea026 feat: implement experimental features system
- Add experiments.ts to manage experimental features
- Refactor experimental diff strategy into experiments system
- Add UI components for managing experimental features
- Add tests for experimental tools
- Update system prompts to handle experiments
2025-01-28 21:06:33 +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
b8e0aa0cde Custom modes 2025-01-21 09:39:54 -05:00
sam hoang
01c858c0b9 chore: remove verbose log 2025-01-20 23:10:45 +07:00
sam hoang
eff72eea3f fix: config-manager 2025-01-20 23:07:40 +07:00
sam hoang
7646a2e33d fix: config-manager 2025-01-20 15:59:46 +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
808fa5f8e0 Merge remote-tracking branch 'origin/main' into new_unified 2025-01-16 21:53:36 -05:00
Matt Rubens
6254e74216 More fixes to checkbox state 2025-01-16 10:42:40 -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
Daniel
df01edf781
Merge branch 'main' into new_unified 2025-01-15 11:53:27 -05:00
Daniel Riccio
f6e85fa133 feat: introduce experimental diff strategy toggle and enhance diff handling
- Added support for an experimental diff strategy in the Cline class, allowing users to opt for a new unified diff approach.
- Updated the getDiffStrategy function to accommodate the experimental strategy, adjusting the fuzzy match threshold accordingly.
- Integrated experimentalDiffStrategy into the global state management, enabling persistence across sessions.
- Enhanced the ClineProvider and related components to handle the new experimental strategy, including UI updates for user settings.
- Improved task history management to include the experimentalDiffStrategy setting, ensuring consistency in task execution.
- Updated relevant interfaces and types to reflect the new experimentalDiffStrategy property.
2025-01-14 17:57:09 -05:00
Matt Rubens
092a121a37 Refactor to support more sections in the future 2025-01-14 09:34:10 -05:00