Repository navigation
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
ApprovabilityVerdict: Needs human review 2 blocking correctness issues found. This PR introduces a new VS Code tunnel feature with new settings, UI components, and background monitoring across multiple packages. The scope of new capability warrants human review, and there are two unresolved review comments identifying potential bugs in the JSON parsing and race condition handling. You can customize Macroscope's approvability policy. Learn more. |
There was a problem hiding this comment.
Effect service convention: consume the local ProcessRunner service module through its namespace rather than importing the service tag directly.
Posted via Macroscope — Effect Service Conventions
b2f1cdb to
2236c9d
Compare
146c285 to
3eb9989
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 3 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 3eb9989. Configure here.
|
would be good to have the architecture support adding zed remote and jetbrains as well in a follow up so make sure it's not too tied to only vscode |
|
Closeing this PR and will open another one with SSH support once I can get my local dev environment to behave with remote sessions |



What Changed
Support for VSCode tunnels was added. VSCode tunnels allows a user to access a remote VSCode instance over the internet. This makes it possible to use T3Code on a remote machine and open a VSCode window like the code was local.
Why
To make remote workflows easier for VSCode users
UI Changes
Editor dropdown:


Settings:
Checklist
Note
Medium Risk
Introduces subprocess execution and external URL opening with tightened allowlists; server config stream shape and WS wiring change, but scope is feature-flagged via settings defaults.
Overview
Adds VS Code remote tunnel support end-to-end: the server can detect an active
code tunnel, expose it on the server config WebSocket stream, and the chat Open control can launch the workspace in vscode.dev or the desktop app.Server & contracts: New
vscodeTunnel/vscodeTunnelStatusonServerConfig, settingsenableVSCodeRemoteTunnelsandopenVSCodeRemoteTunnelsInDesktop, and avscodeTunnelUpdatedstream event. AVSCodeTunnelMonitorrunscode tunnel status(with robust JSON extraction), caches results, refreshes on settings changes and on a 1-minute tick, and feeds a centralized PubSub fan-in forsubscribeServerConfig(replacing per-handler merges for keybindings/providers/settings).Desktop & web: Electron
openExternalnow allows onlyvscode://vscode-remote/tunnel+...URLs (not arbitraryvscode:links). OpenInPicker gains a tunnel menu entry and primary action when no cross-environment editor picker is shown; links useshell.openExternal. Connections settings show tunnel status and the two toggles.Tests: Coverage for URL allowlisting, tunnel JSON parsing, monitor caching, client config projection, and server WS subscription behavior.
Reviewed by Cursor Bugbot for commit 941fe4c. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Add VS Code remote tunnel editor support to the server config stream and UI
VSCodeTunnelMonitorservice (vscodeTunnel.ts) that periodically runscode tunnel status, parses the output, and publishes updates via a PubSub streamvscodeTunnelUpdatedevent type and includesvscodeTunnel/vscodeTunnelStatusfields in the config snapshotOpenInPickeroption in the chat header to open the current path via a VS Code remote tunnel (webvscode.devURL or desktopvscode://URL based on settings)ConnectionsSettings: toggle tunnel monitoring (enableVSCodeRemoteTunnels) and choose desktop vs. browser target (openVSCodeRemoteTunnelsInDesktop)parseSafeExternalUrlin ElectronShell.ts to allowvscode://vscode-remote/tunnel+*URLs through the external link safety checkMacroscope summarized 941fe4c.