feat: VS Code Remote SSH integration for sandboxes#5
Merged
Conversation
Add 'Open in VS Code' and 'Open in Cursor' buttons that use vscode:// and cursor:// protocol URIs to connect to sandboxes via Remote-SSH extension. Includes info icon tooltip explaining prerequisites (Remote-SSH extension and SSH key registration via 'agentuity auth ssh add'). Note: Currently blocked by Agentuity SSH proxy not supporting direct-tcpip channels (TCP port forwarding), which VS Code Remote SSH requires. See SDK issue for details.
|
Caution Review failedThe pull request is closed. 📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughAdded VS Code and Cursor remote SSH integration to ChatPage. Includes new UI block with action buttons for opening remote SSH connections, event handlers for constructing and opening SSH URIs, and SSH configuration constants derived from session data. Changes
Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
vscode://andcursor://protocol URIs to connect via Remote-SSH extensionagentuity auth ssh add)Current Status: Blocked
This feature is blocked by the Agentuity SSH proxy not supporting
direct-tcpipSSH channels (TCP port forwarding).VS Code Remote SSH works by:
Error from VS Code logs:
Tracking: agentuity/sdk#991
Alternative: VS Code Tunnels
If
direct-tcpipsupport is not feasible, an alternative approach is to runcode tunnelinside the sandbox, which creates an outbound tunnel that doesn't require SSH port forwarding. This would require installing the VS Code CLI in sandbox images.Changes
src/web/components/pages/ChatPage.tsx— New VS Code Remote SSH section in sandbox popover with Open in VS Code / Open in Cursor buttons, info tooltip for prerequisitesTesting
vscode://vscode-remote/ssh-remote+<sandboxId>@ion-usc.agentuity.cloud/home/agentuitycursor://vscode-remote/ssh-remote+<sandboxId>@ion-usc.agentuity.cloud/home/agentuitySummary by CodeRabbit