Commit graph

199 commits

Author SHA1 Message Date
Albert Arnó
b415fd3d54 Added Catalan language support 2025-02-19 17:23:23 +01:00
Roo Code
bfa73fb69d Does that work? 2025-02-18 21:16:16 -07: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
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
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
0855159f70 Setting for the max number of open tabs to include in context 2025-02-13 22:23:20 -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
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
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
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
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
sam hoang
679866ca52 add user input 2025-02-06 10:48:34 +07:00
sam hoang
0ceb370008 feat: add terminal integration commands
- Add terminal context menu commands for:
  - Adding terminal content to context
  - Fixing failed commands
  - Explaining commands
- Implement terminal content selection and retrieval
- Add support prompts for terminal actions
- Register terminal action handlers
2025-02-06 10:27:12 +07:00
Matt Rubens
f9299a98df Merge remote-tracking branch 'origin/main' into fix/api-config-error-when-switch-provider 2025-02-03 23:22:59 -05:00
cte
2ad57ba057 Fall back to js bundle when local webview app not running in development 2025-02-03 09:19:52 -08:00
Pugazhendhi
ea3d384e48 Fetches all models from gateway during init 2025-02-03 12:18:15 +05:30
sam hoang
081faf34a0 update test for test currently fail in upsertApiConfiguration 2025-02-03 12:57:59 +07:00
Matt Rubens
11fd3607ea
Merge pull request #697 from samhvw8/fix/config-profile-rename-bug
fix: prevent unnecessary config operations when renaming to same name
2025-01-31 23:04:02 -05:00
sam hoang
ab556286f1 fix: prevent unnecessary config operations when renaming to same name
- Add validation in UI to early return when renaming config to current name
- Add server-side validation to prevent config save/delete operations
2025-02-01 10:49:09 +07: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
cte
79c248be2a Get rid of type change, improve detection of webview initialization 2025-01-31 16:37:23 -08:00
cte
85d1d4a77b Run integration tests in CI 2025-01-31 14:12:21 -08:00
Matt Rubens
9aeb498f99 Add optional rate limiting between API calls 2025-01-31 16:44:32 -05:00
cte
5b6c6be022 Update README 2025-01-30 21:35:56 -08:00
cte
275dab042e Merge branch 'main' into cte/shadcn-ui-storybook 2025-01-30 21:28:05 -08:00
cte
901d769bfd Fix tests 2025-01-30 21:26:29 -08:00
Matt Rubens
bedd6fd2a8
Merge pull request #656 from samhvw8/feat/add-to-context-code-action
Feat add to context code action & Fix some code action error
2025-01-31 00:24:38 -05:00
cte
97367951a2 Enable HMR for the webview, complements of vite 2025-01-30 16:25:13 -08:00
sam hoang
2e56149620 feat: add 'Add To Context' code action
- Add new command registration and menu item
- Add new code action type and command ID
- Add support prompt config for adding code to context
- Add message handling in webview for setting chat box content
- Add logic to append selected code to existing chat input
2025-01-30 17:23:12 +07:00
Matt Rubens
13de490c3b Add a new_task tool 2025-01-29 10:56:44 -05:00
sam hoang
12dd54671a refactor: migrate from CRA to Vite and improve testing
Replace Create React App with Vite build system
Add ESLint configuration and improve TypeScript types
Create VSCode UI component mocks for better testing
Update test files with proper async handling
Add Tailwind CSS integration
Fix accessibility by adding ARIA roles
2025-01-29 21:15:28 +07:00