Skip to content

Conversation

@paviko
Copy link

@paviko paviko commented Oct 16, 2025

Fixes #78

This PR adds a new "Cloud" button for Roo Code.
When connecting to Roo Code Cloud via this button, clicking the "Having trouble?" link allows users to manually copy their credentials and successfully log in to Roo Code Cloud.
obraz

Summary by CodeRabbit

  • New Features
    • Added a new "Cloud" button to quickly access cloud-related features from the interface.

@coderabbitai
Copy link

coderabbitai bot commented Oct 16, 2025

Walkthrough

A new CloudButtonClickAction class is added to the JetBrains plugin to provide users with a clickable "Cloud" button in the Roo Code interface, enabling cloud-related command execution within the IDE.

Changes

Cohort / File(s) Change Summary
Cloud Button Action
jetbrains_plugin/src/main/kotlin/com/sina/weibo/agent/extensions/plugin/roo/RooCodeButtonProvider.kt
Added new CloudButtonClickAction class implementing AnAction with command ID "roo-cline.cloudButtonClicked", UI presentation (icon, text "Cloud"), and action handler. Integrated into RooCodeButtonProvider.getButtons() return list.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Poem

🐰 A cloud button appears, so shiny and new,
Click it and soar to skies bright and blue,
The plugin now speaks in the language of clouds,
While users rejoice and gather in crowds! ☁️✨

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 66.67% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The PR title "Added "Cloud" button to Roo Code. Allows to login to Roo Code Cloud" accurately reflects the main change in the changeset. The raw summary confirms that the primary alteration involves adding a new CloudButtonClickAction class and integrating it into the RooCodeButtonProvider to display a "Cloud" button. The title is concise, specific, and clearly communicates both the what (a Cloud button) and the why (to enable login to Roo Code Cloud), making it easily understandable for someone scanning the commit history.
Linked Issues Check ✅ Passed The code changes directly address the objective outlined in linked issue #78, which requests a working method to connect to Roo Code Cloud from the JetBrains IDE. The PR adds a dedicated CloudButtonClickAction button that enables users to initiate connection to Roo Code Cloud, and according to the PR description, provides a "Having trouble?" fallback for manual credential entry if the standard login flow encounters issues. This aligns with the core requirement to resolve the reported IDE login failure and provide an alternative authentication path for users experiencing the browser-popup issue shown in the issue screenshots.
Out of Scope Changes Check ✅ Passed All code modifications in this pull request are directly scoped to addressing issue #78. The changes consist solely of adding the CloudButtonClickAction class and integrating it into RooCodeButtonProvider.getButtons(), which are necessary and sufficient to implement the Cloud button functionality for connecting to Roo Code Cloud. No extraneous changes such as unrelated refactoring, documentation updates to unrelated components, or auxiliary modifications are present in the changeset.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ca32e3b and 0074818.

📒 Files selected for processing (1)
  • jetbrains_plugin/src/main/kotlin/com/sina/weibo/agent/extensions/plugin/roo/RooCodeButtonProvider.kt (2 hunks)
🧰 Additional context used
🧬 Code graph analysis (1)
jetbrains_plugin/src/main/kotlin/com/sina/weibo/agent/extensions/plugin/roo/RooCodeButtonProvider.kt (1)
jetbrains_plugin/src/main/kotlin/com/sina/weibo/agent/actions/VSCodeCommandActions.kt (1)
  • executeCommand (19-59)
🔇 Additional comments (2)
jetbrains_plugin/src/main/kotlin/com/sina/weibo/agent/extensions/plugin/roo/RooCodeButtonProvider.kt (2)

43-43: LGTM!

The Cloud button is appropriately added to the button list. The positioning between Marketplace and Settings is logical from a UI perspective.


165-188: Confirm roo-cline.cloudButtonClicked is registered in the VSCode extension host.

The JetBrains plugin correctly invokes this command, but I couldn’t find its declaration in the extension’s package.json or registration code—add or verify its registration so the button click is handled.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@vico93
Copy link

vico93 commented Oct 18, 2025

i wonder if is possible to build and install this instead of waiting for someone to merge the PR

@paviko
Copy link
Author

paviko commented Oct 19, 2025

First I've installed RunVSAgent from Jetbrain Marketplace, it came without Roo Code. Needed to install it manually and got newest version .vsix. Next installed this fixed version with Cloud button.
On new system I've installed RunVSAgent directly from this fix and see old Roo Code is included, so there is a need to update also Roo Code in submodule to newer version that support Cloud button.

You can try it here:
https://github.com/paviko/RunVSAgent/releases/tag/0.2.3_with_fixes

Also install new Roo Code version with Cloud button:
https://github.com/RooCodeInc/Roo-Code/releases/tag/v3.28.18

After authenticating token (using "Having trouble?" link, pasting and Enter press) there is need to restart JetBrain.

@vico93
Copy link

vico93 commented Oct 19, 2025

Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

how connect to roo code cloud ?

2 participants