Skip to content

[codex] Add desktop Remote SSH support#110

Closed
frizynn wants to merge 1 commit into
Emanuele-web04:mainfrom
frizynn:main
Closed

[codex] Add desktop Remote SSH support#110
frizynn wants to merge 1 commit into
Emanuele-web04:mainfrom
frizynn:main

Conversation

@frizynn
Copy link
Copy Markdown

@frizynn frizynn commented May 13, 2026

Summary

Adds desktop Remote SSH support so the local Electron app can connect to a DP Code server started on an SSH host, tunnel the backend WebSocket/HTTP connection, and open remote projects from the local UI.

Details

  • Adds desktop IPC/contracts/preload APIs for Remote SSH connection status and local clipboard image reads.
  • Starts the remote DP Code backend over SSH with key-based, non-interactive options, remote project cwd, health readiness, stderr diagnostics, and lifecycle cleanup.
  • Adds localhost forwarding for the built-in browser, including HTTP/HTTPS/WS/WSS loopback URLs, fail-closed behavior on forwarding errors, and logical URL preservation in the address/history state.
  • Adds local clipboard image paste fallback for Electron so pasted screenshots/images still attach while connected to a remote backend.
  • Adds focused tests for remote startup command construction and readiness handling.

Validation

  • git diff --cached --check
  • npx -y -p node@24.13.1 -p bun@1.3.9 -c 'cd apps/desktop && bun run test'
  • npx -y -p node@24.13.1 -p bun@1.3.9 -c 'cd apps/web && bun run test'
  • npx -y -p node@24.13.1 -p bun@1.3.9 -c 'bun run build:desktop'
  • Local SSH smoke for the remote backend manager and browser port forwarder during implementation

@github-actions github-actions Bot added size:XXL vouch:unvouched PR author is not yet trusted in the VOUCHED list. labels May 13, 2026
@frizynn
Copy link
Copy Markdown
Author

frizynn commented May 13, 2026

Closing this draft PR.

@frizynn frizynn closed this May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant