feat(desktop): open remote projects in Zed - #64
Merged
Conversation
Adapt pingdotgg#8866 for the personal fork and cover protocol discovery, CLI fallback, and escaped remote worktree paths.
jln13x
marked this pull request as ready for review
September 8, 2026 12:55
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.
What changed
Remote environments hide Zed from the Open menu even when it is installed on the viewing Mac. This adds Zed to remote editor discovery and generates its SSH deep links. For example, opening a worktree on the
zeusSSH alias now handszed://ssh/zeus/home/agent/code/projectto the local Zed application.Adapted from pingdotgg/t3code#8866, with additional regression tests for protocol discovery, CLI fallback, malformed links, and worktree paths containing spaces,
#, and%. The fork inventory records this as a temporary integration to retire when upstream support lands.Why
Zed uses a different SSH URL format from VS Code. Shared editor metadata now supplies that format to the URL builder and desktop URL validation. Desktop discovery checks registered OS handlers before CLI availability, which covers Finder-launched apps without Zed on PATH. Browser fallback offers VS Code and Zed.
The toolbar button, editor dropdown, and favorite-editor shortcut use the same remote-open path. This applies to web and desktop and is provider-independent. Mobile has no corresponding desktop-editor picker. Server behavior, RPC schemas, and stored data are unchanged, so remote upstream servers remain compatible.
Validation
remoteOpen.test.ts,ElectronShell.test.ts,window.test.ts, andDesktopWindow.test.ts. The nine window IPC tests passed again after fixing their Effect test context.git diff --checkpassed.UI changes
Draft pending the fork's own before/after screenshots and launch verification. Browser permission was requested under AGENTS.md and has not yet been granted.
The upstream implementation includes reference screenshots and a recording; these are upstream evidence, not verification of this fork build.
Checklist
Implemented with GPT-6 via Codex.