Commit graph

2322 commits

Author SHA1 Message Date
Matt Rubens
e28eac3751
Update CHANGELOG.md 2025-02-08 12:29:15 -05:00
Matt Rubens
2fa4343005
Update CHANGELOG.md 2025-02-08 12:25:02 -05:00
Matt Rubens
674a50d5f3
Update CHANGELOG.md 2025-02-08 12:08:38 -05:00
github-actions[bot]
de10c132d7 changeset version bump 2025-02-08 16:57:01 +00:00
Matt Rubens
b5f568fb40
Merge pull request #877 from RooVetGit/settings_updates
Settings updates
2025-02-08 11:56:13 -05:00
Roo Code
c3012e3a72 Style and copy updates to advanced settings 2025-02-08 11:53:11 -05:00
Matt Rubens
fffc9f7311
Merge pull request #848 from websentry-ai/pm/unbound-fetch-models
Fetches Unbound models from api
2025-02-08 11:52:23 -05:00
Roo Code
dab592f103 Check in package.lock changes 2025-02-08 11:49:00 -05:00
Vignesh Subbiah
5995923daf
Merge branch 'main' into pm/unbound-fetch-models 2025-02-08 22:11:22 +05:30
Chris Estreich
47bdab0365
Merge pull request #651 from RooVetGit/cte/use-checkpoints 2025-02-08 08:04:27 -08:00
Matt Rubens
1d65824c84
Merge pull request #866 from RooVetGit/cte/checkpoints-ui-tweaks
Checkpoint UI tweaks
2025-02-08 10:59:17 -05:00
Matt Rubens
d65e9efc89
Merge pull request #868 from RooVetGit/cte/current-checkpoint-indicator
Current checkpoint indicator
2025-02-08 10:57:27 -05:00
Matt Rubens
68cc942482
Merge pull request #871 from nissa-seru/fix-vsix-add-lint-fix
Fix vsix command; add lint-fix; add .gitignore entry for .eslintrc.local.json
2025-02-08 10:51:50 -05:00
Vignesh Subbiah
17f3a314f5 Changes recommendedModel to be same as default model 2025-02-08 19:11:36 +05:30
Vignesh Subbiah
c049436101 DRYs up read model from cache logic 2025-02-08 18:44:32 +05:30
Nissa Seru
987fabb2ca Typo fix 2025-02-08 07:44:16 -05:00
Vignesh Subbiah
a8f764983f DRYs up model picker for Unbound 2025-02-08 18:12:19 +05:30
Nissa Seru
c84551f1e6 Add lint-fix command; existing lint command is unchanged 2025-02-08 07:31:48 -05:00
Nissa Seru
b6eb80e10d Use rimraf and mkdirp in vsix command to avoid misparsing of -p arg and build failure if bin dir exists. 2025-02-08 07:26:13 -05:00
Nissa Seru
3c5dde2a03 Add local eslintrc config to .gitignore to enable local use of additional linting rules 2025-02-08 07:23:54 -05:00
Vignesh Subbiah
70ed217149
Merge branch 'main' into pm/unbound-fetch-models 2025-02-08 17:46:35 +05:30
cte
a0993a3ba0 Remove "Restore" option on current checkpoint 2025-02-08 01:19:12 -08:00
cte
59ddaa9f00 Current checkpoint indicator 2025-02-08 01:07:31 -08:00
cte
1a527fca12 Checkpoint UI tweaks 2025-02-07 23:54:21 -08:00
cte
121f3ab7fa Checkpoint service integration 2025-02-07 22:27:27 -08:00
Chris Estreich
910bdf19d5
Merge pull request #626 from RooVetGit/cte/checkpoints
Checkpoint service
2025-02-07 22:26:28 -08:00
cte
2bff829816 Checkpoints service 2025-02-07 22:23:54 -08:00
Matt Rubens
edaa04db83
Merge pull request #865 from RooVetGit/v3.3.15
v3.3.15
2025-02-08 01:19:08 -05:00
Roo Code
6e8153eae0 v3.3.15 2025-02-08 01:18:17 -05:00
Matt Rubens
e29ce276c5
Merge pull request #838 from hannesrudolph/patch-4
Move MCP Restart Button
2025-02-07 22:32:00 -05:00
Matt Rubens
324c5c8728
Merge pull request #852 from MuriloFP/mcp-server-fixes
MCP Server Bug Fixes Issues #833 and #834
2025-02-07 22:31:02 -05:00
Matt Rubens
da2fe80a9b
Merge pull request #855 from hannesrudolph/patch-5
Add copy button to prompt preview view
2025-02-07 22:28:17 -05:00
Roo Code
44e00fa9ed Add changeset 2025-02-07 22:25:40 -05:00
Roo Code
19a213f323 Add aria-label 2025-02-07 22:24:20 -05:00
Roo Code
ecb4509bf8 Centralize clipboard functionality 2025-02-07 22:23:04 -05:00
Matt Rubens
9bace965df
Merge pull request #853 from RooVetGit/add_profile_modal
Better UX for adding new API config profiles
2025-02-07 20:31:43 -05:00
Roo Code
69d58720db Ellipsis feedback 2025-02-07 20:28:24 -05:00
Roo Code
b85ebbc89a Change to useState to match the rest of the codebase 2025-02-07 20:21:15 -05:00
Hannes Rudolph
30cf0d5319
Update HistoryPreview.tsx
Added a copy button to the history preview view
2025-02-07 15:50:28 -07:00
Roo Code
85dacb03a3 Better UX for adding new API config profiles 2025-02-07 16:23:27 -05:00
Chris Estreich
14d7691ded
Merge pull request #831 from RooVetGit/cte/improve-model-picker
Model picker improvements
2025-02-07 12:28:50 -08:00
Roo Code
0bc9e17c1a Better model picker 2025-02-07 12:25:52 -08:00
MuriloFP
c9be470319 fix: prevent race conditions in McpServerManager singleton initialization
Added thread-safe initialization to the McpServerManager singleton pattern to
prevent potential race conditions when getInstance is called concurrently.
The changes include:

1. Added initializationPromise to track ongoing initialization
2. Implemented double-checked locking pattern:
   - First check: Return existing instance if available
   - Second check: Wait for any ongoing initialization
   - Third check: Double-check inside initialization block
3. Added proper cleanup in finally block to prevent deadlocks

This ensures that:
- Only one McpHub instance is ever created
- Concurrent calls wait for initialization to complete
- Resources are properly initialized and cleaned up
- No memory leaks from incomplete initialization

The fix maintains the existing functionality while making it safe for
concurrent access in VS Code's multi-window environment.
2025-02-07 17:12:39 -03: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
4c8577c8a2 Reads unbound model ID from configuration 2025-02-07 19:41:09 +05:30
Pugazhendhi
64a579e965 Fixes default model in test file 2025-02-07 19:31:36 +05:30
Pugazhendhi
ddc6b9c63f Changed default model to sonnet 3.5 2025-02-07 18:57:58 +05:30
Matt Rubens
c641c59160
Merge pull request #846 from RooVetGit/cte/catch-openai-provider-error
Prevent *all* provider clients from throwing
2025-02-07 07:55:40 -05:00
Roo Code
4b3ea07033 Prevent provider client instantiations from throwing 2025-02-07 03:06:01 -08:00