Commit graph

514 commits

Author SHA1 Message Date
Albert Arnó
b415fd3d54 Added Catalan language support 2025-02-19 17:23:23 +01:00
Matt Rubens
39173711ce
Merge pull request #1056 from hannesrudolph/add-delete-mcp-button
Added MCP server deletion with confirmation dialog
2025-02-18 23:35:16 -05:00
Roo Code
bfa73fb69d Does that work? 2025-02-18 21:16:16 -07:00
Matt Rubens
1cbe7228da Create .roomodes file if needed 2025-02-18 22:09:36 -05:00
Roo Code
7bb8edf720 Added MCP server deletion with confirmation dialog
- Added delete button with trash icon to MCP server rows
- Implemented confirmation dialog using existing Dialog component
- Added "deleteMcpServer" message type to WebviewMessage interface
- Added handler in ClineProvider to process deletion:
  - Removes server from MCP settings file
  - Closes server connection
  - Updates UI to reflect changes
- Added user feedback with success/error notifications
- Ensured consistent modal design with rest of application
2025-02-18 11:19:08 -07:00
Matt Rubens
a55939e731
Merge pull request #1042 from System233/patch-default-preferred-language
Fix default value assignment for preferredLanguage.
2025-02-17 21:02:07 -05:00
Matt Rubens
17be7c18f8
Merge pull request #979 from System233/patch-input-boxes
Fix input box revert issue and configuration loss during profile switch #955
2025-02-17 17:05:38 -05:00
System233
bb38b4aed3 Fix default value assignment for preferredLanguage. 2025-02-18 06:00:28 +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
e66b0853b3 Make sure the agent knows about all available modes with the correct overrides 2025-02-15 01:13:21 -05:00
Saoud Rizwan
17157c46cb Add terminal context mention 2025-02-14 22:27:38 -05:00
Matt Rubens
a9d8a1d00d
Merge branch 'main' into mistral 2025-02-14 09:25:34 -05:00
Matt Rubens
5c9fea93f5 Fix some test warnings 2025-02-14 09:10:38 -05:00
Matt Rubens
7bbf097fa8 Validate custom modes schema before creation from the UI 2025-02-14 08:54:11 -05:00
Matt Rubens
7c6fe52c80 Add support for project-specific .roomodes 2025-02-13 23:14:59 -05:00
Matt Rubens
0855159f70 Setting for the max number of open tabs to include in context 2025-02-13 22:23:20 -05:00
Matt Rubens
d6e775002f Fix mock of Cline.abort in tests 2025-02-13 16:38:03 -05:00
Matt Rubens
5f3ff25d6b Disable writing in ask mode 2025-02-13 01:09:45 -05:00
cte
90b019f55c Shadow git checkpoints 2025-02-12 13:17:43 -08:00
d.o.it
19c38a3668 Add mistralCodestralUrl to global state management in ClineProvider 2025-02-12 15:21:35 +01:00
cte
6119cb1aaf Update comment 2025-02-11 12:48:19 -08:00
cte
901adc580f Fix file revert on abort 2025-02-11 12:44:32 -08:00
cte
d8960788b4 Store initial checkpoint 2025-02-11 11:10:47 -08:00
cte
68ea2e8588 Checkpoints logging tweaks 2025-02-11 10:14:36 -08:00
Matt Rubens
a3bb0edeae
Merge pull request #942 from RooVetGit/fix_retry_delay_bugs
Fix logic error in retry delays
2025-02-11 11:31:28 -05:00
Matt Rubens
052903bfb5 Fix logic error in retry delays 2025-02-11 11:19:51 -05:00
Matt Rubens
85768097d7 Bring back checkpoints on Windows 2025-02-11 10:25:50 -05:00
Mamerto Fabian Jr
18fe01baf3 Add 'copySystemPrompt' functionality and refactor system prompt generation 2025-02-11 09:17:45 +08: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
793b13ea28 remove verbose 2025-02-11 00:43:45 +07:00
Matt Rubens
2449c49358 Merge remote-tracking branch 'origin/main' into feat/roo-code-requesty-provider 2025-02-10 10:53:51 -05:00
Matt Rubens
ceec089745
Merge pull request #863 from RooVetGit/temperature_control
Configure per-configuration temperature
2025-02-10 10:48:54 -05: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
cte
f447356d81 Disable checkpoints on Windows 2025-02-09 23:53:47 -08:00
Matt Rubens
2ccab1444b Merge remote-tracking branch 'origin/main' into temperature_control 2025-02-09 22:53:44 -05:00
Matt Rubens
d8274aca70
Merge pull request #902 from MuriloFP/fix-disabled-mcp-list
fix: ensure disabled MCP servers appear in settings UI
2025-02-09 22:34:50 -05:00
Roo Code
50f6e3ea65 Fix "Restore Checkpoint" popover 2025-02-09 17:50:22 -08:00
MuriloFP
0bb6112257 fix: ensure disabled MCP servers appear in settings UI
When the MCP server was initialized before opening RooCode, disabled servers
would not appear in the settings UI. This was fixed by:

1. Using getAllServers() instead of getServers() in ClineProvider.ts for UI
   state updates, ensuring all servers (including disabled ones) are shown
2. Maintaining getServers() for operational use (AI prompts, tool calls)
   where disabled servers should be filtered out

The fix maintains clean separation between UI display and operational
server filtering.
2025-02-09 19:15:01 -03:00
Vignesh Subbiah
5995923daf
Merge branch 'main' into pm/unbound-fetch-models 2025-02-08 22:11:22 +05:30
Vignesh Subbiah
c049436101 DRYs up read model from cache logic 2025-02-08 18:44:32 +05:30
Vignesh Subbiah
70ed217149
Merge branch 'main' into pm/unbound-fetch-models 2025-02-08 17:46:35 +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
Roo Code
bc9773ff9a Configure per-configuration temperature 2025-02-08 00:21:13 -05:00
MuriloFP
ef95562dfe fix: ensure MCP server list appears in settings when server starts first
When the MCP server was initialized before opening RooCode, the server list
would not appear in the settings. This was fixed by:

1. Adding proper server list initialization in ClineProvider.ts when the
   webview launches, checking if mcpHub exists and sending its current
   servers to the webview:

   ```typescript
   if (this.mcpHub) {
     this.postMessageToWebview({
       type: "mcpServers",
       mcpServers: this.mcpHub.getServers()
     })
   }
   ```

2. Using the public getServers() method from McpHub instead of relying on
   internal state updates, ensuring consistent server list state across
   the application.

The fix maintains clean separation of concerns and follows existing patterns
for state management between the extension and webview.
2025-02-07 16:57:21 -03:00
MuriloFP
b2b5e1ffa6 fix: Implement singleton pattern for MCP server management to prevent multiple instances
Problem:
- Multiple instances of the Roo Code application were launching separate MCP server instances
- This led to unnecessary resource consumption and potential conflicts between instances

Solution:
1. Created new McpServerManager singleton class to manage MCP server instances:
   - Static getInstance() method ensures only one McpHub instance exists
   - Tracks registered ClineProvider instances
   - Handles cleanup on extension deactivation

2. Modified ClineProvider class:
   - Changed mcpHub from private to protected
   - Added getMcpHub() public getter method
   - Updated initialization to use McpServerManager
   - Added unregister logic in dispose()

3. Updated extension.ts to handle cleanup:
   - Added McpServerManager cleanup in deactivate()

Technical Implementation:
- Uses WeakRef for provider tracking to allow proper garbage collection
- Maintains global state to track instance IDs
- Implements proper cleanup of resources on disposal
- Ensures backward compatibility with existing code

This change significantly improves resource usage and prevents potential conflicts
between multiple instances of the application while maintaining all existing
functionality.
2025-02-07 15:51:30 -03:00
pugazhendhi-m
26baaf89a3
Merge branch 'main' into WEB-1756 2025-02-07 13:02:46 +05:30
Pugazhendhi
286386315e Updates to prod url 2025-02-06 12:57:43 +05:30
Pugazhendhi
32f91b6291 Merged with main branch 2025-02-06 12:44:22 +05:30
Matt Rubens
517b5450f2
Merge pull request #807 from samhvw8/feat/terminal-menu-context
feat: add terminal context menu command
2025-02-05 23:41:32 -05:00