Skip to content

Conversation

@cte
Copy link
Collaborator

@cte cte commented Aug 29, 2025

Important

Refactor extension bridge system by introducing BridgeOrchestrator and related components, replacing ExtensionBridgeService for improved communication management.

  • Behavior:
    • Introduces BridgeOrchestrator to manage communication between VSCode extension and web app, replacing ExtensionBridgeService.
    • Adds BaseChannel, ExtensionChannel, and TaskChannel for structured communication.
    • Refactors McpHub and MdmService to integrate with new bridge system.
  • Files and Classes:
    • Adds BaseChannel.ts, BridgeOrchestrator.ts, ExtensionChannel.ts, and TaskChannel.ts.
    • Removes ExtensionBridgeService.ts, ExtensionManager.ts, and TaskManager.ts.
    • Renames SocketConnectionManager.ts to SocketTransport.ts.
  • Tests:
    • Adds tests for ExtensionChannel and TaskChannel in __tests__ directory.
    • Updates existing tests to align with new bridge system.
  • Misc:
    • Updates webviewMessageHandler.ts and extension.ts to use BridgeOrchestrator.
    • Removes isRemoteControlEnabled utility function.

This description was created by Ellipsis for 8079f74. You can customize this summary. It will automatically update as commits are pushed.

@cte cte requested review from jr and mrubens as code owners August 29, 2025 06:03
@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Aug 29, 2025
Copy link
Contributor

@roomote roomote bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this excellent refactoring! The new BridgeOrchestrator architecture with separated channels is much cleaner and the consolidated logging improves readability. I've left some suggestions for consideration, mainly around error handling and potential memory management improvements.

@cte cte changed the title More judicious logging Refactor the extension bridge Aug 29, 2025
@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Aug 29, 2025
@JunJ-M
Copy link

JunJ-M commented Aug 29, 2025

Hi @cte ,
Is the cloud module currently WIP? Is the goal to enable CLI running in cloud environments?

Thanks for clarifying!

@cte cte merged commit 1e4c46f into main Aug 29, 2025
10 checks passed
@cte cte deleted the cte/better-extension-bridge-class-names branch August 29, 2025 07:28
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Aug 29, 2025
@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap Aug 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. size:XXL This PR changes 1000+ lines, ignoring generated files.