Roo-Code/src/core
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
..
__tests__ Merge pull request #753 from RooVetGit/visual_fixes 2025-02-03 15:09:45 -05:00
assistant-message Add a new_task tool 2025-01-29 10:56:44 -05:00
config Validation fixes 2025-01-24 12:46:10 -05:00
diff use fastest-levenshtein 2025-02-01 22:54:31 -05:00
mentions Prettier backfill 2025-01-17 14:11:28 -05:00
prompts Improve the prompts for Architect and Ask 2025-02-04 00:34:59 -05:00
sliding-window Updated sliding window logic to be inverse of trigger criteria 2025-02-05 04:53:21 -05:00
webview fix: ensure MCP server list appears in settings when server starts first 2025-02-07 16:57:21 -03:00
Cline.ts fix: Implement singleton pattern for MCP server management to prevent multiple instances 2025-02-07 15:51:30 -03:00
CodeActionProvider.ts Extension activation cleanup 2025-01-31 21:23:07 -08:00
EditorUtils.ts Add JSDocs 2025-02-02 03:04:47 -05:00
mode-validator.ts Validation fixes 2025-01-24 12:46:10 -05:00