Commit graph

109 commits

Author SHA1 Message Date
Matt Rubens
f2ac56917c
Merge pull request #538 from samhvw8/feat/insert_and_search_replace_tools
New Roo Tool insert and search replace tools
2025-01-28 11:23:06 -05:00
Matt Rubens
50eb2e2c93
Merge pull request #617 from RooVetGit/mode_switch_delay
Add a delay to allow auto approved mode changes to take effect
2025-01-28 11:21:57 -05:00
Matt Rubens
bd0a613be1 Add a delay to allow auto approved mode changes to take effect 2025-01-28 11:11:28 -05:00
sam hoang
003bb5cabc fix diffview for search-and-replace tool and insert tool 2025-01-28 22:13:51 +07:00
sam hoang
411182a5d9 fix error in search and replace, update rule to utilize multiple operation 2025-01-28 21:06:38 +07: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
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
Matt Rubens
2c97b59ed1 Checkpoint on insert and search/replace tools 2025-01-28 21:05:44 +07:00
Piotr Rogowski
cb23be6346 Extend deepseek-r1 support 2025-01-27 21:27:24 +01:00
Matt Rubens
5d20477785 Throw FileRestrictionErrors sooner 2025-01-26 02:44:59 -05:00
Piotr Rogowski
c6607065b9 Add support for displaying reasoning for openrouter models 2025-01-26 02:11:56 +01:00
Matt Rubens
8c929ba16a Do a more complete mode switch from switch_mode command 2025-01-24 23:04:57 -05:00
Matt Rubens
7c41a9cbf8
Merge pull request #526 from RooVetGit/switch_mode_tool
Add a tool to switch modes
2025-01-24 12:50:57 -05:00
Matt Rubens
5f8a8887fb Validation fixes 2025-01-24 12:46:10 -05: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
Matt Rubens
b8e2dac2b9 Only allow usage of diff tool if enabled in settings 2025-01-21 18:35:14 -05:00
Matt Rubens
8bbb64d27f Fix language selector 2025-01-21 15:39:59 -05:00
Matt Rubens
b8e0aa0cde Custom modes 2025-01-21 09:39:54 -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
Daniel Riccio
3ce2e0c6bf feat: update diff strategy dynamically
- Added `updateDiffStrategy` method to dynamically adjust the diff strategy based on the current state and experimental settings.
- Updated ClineProvider to call `updateDiffStrategy` when the experimental diff strategy is modified, ensuring real-time updates in the Cline instance.
2025-01-16 17:13:25 -05:00
Daniel Riccio
6c8d7f4951 fix: update tests to handle new experimental diff option and increase the default confidence to 1 2025-01-15 12:23:51 -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
365f4acf63 Add mode-specific custom instructions 2025-01-14 14:54:30 -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
97a93ba731 Improve the UX for API request retries 2025-01-10 20:11:16 -05:00
Matt Rubens
48edfe6689 Only load context and parse @-mentions in user input 2025-01-09 10:40:38 -05:00
Matt Rubens
9e8f8be5e1 Handle image blocks when switching to a model that doesn't support them 2025-01-07 23:36:28 -05:00
Daniel Riccio
4356cffb0d Refactor applyDiff method to return a Promise and add logging for diff results 2025-01-07 18:57:40 -05:00
Matt Rubens
00ac5b48bf Better API error messages 2025-01-07 13:58:53 -05:00
Matt Rubens
0ff8fe45d4 UI tweaks 2025-01-07 10:38:51 -05:00
Matt Rubens
c9de9cda66 Revert some whitespace changes 2025-01-07 10:31:42 -05:00
RaySinner
fe22d1ff2d feat: add retry request control with delay settings
- Add requestDelaySeconds setting for configuring delay between retry attempts
- Add alwaysApproveResubmit option for automatic retry approval
- Add api_req_retry_delayed message type for delayed retries
- Update UI components to support new retry control settings
2025-01-07 10:21:51 -05:00
Matt Rubens
7e9ea7ac28 Add a Git section to the context mentions 2025-01-06 12:17:26 -05:00
Matt Rubens
d32c5f805e Cleanup 2025-01-02 21:36:05 -08:00
Matt Rubens
70f3c041e6 Put more logic behind mcpEnabled flag 2025-01-02 21:11:52 -08:00
Daniel Riccio
ed358b4e07 Add toggle to enable or disable MCP servers on the system prompt 2025-01-02 21:02:59 -08:00
Matt Rubens
621655aacb Try a better enhanced prompt prompt 2025-01-01 00:13:29 -08:00
Matt Rubens
7dba94c0d6
Merge pull request #253 from RooVetGit/cat_pager
Improvements to terminal output when executing commands
2024-12-31 08:06:51 -08:00
Matt Rubens
26f7ba07c2 Pass clean conversation history to API for Anthropic 2024-12-31 03:16:42 -08:00
Matt Rubens
c8b8eff147 Setting for number of terminal lines to return from commands 2024-12-30 23:15:01 -08: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
111abdbb2c Enhance prompt button for openrouter 2024-12-28 15:44:14 -08:00
Matt Rubens
f501c93faf Add the current time to the system prompt 2024-12-23 22:28:10 -08:00
Matt Rubens
8b4c52fb51 Add a preferred language dropdown 2024-12-21 10:23:01 -05:00
Matt Rubens
5d930981a4 More flexibility for LLMs not being great at this 2024-12-19 09:50:34 -05:00