Add remote SSH workspace support: probe/clone/open repos and SSH PTY sessions#81
Draft
Ziinc wants to merge 2 commits into
Draft
Add remote SSH workspace support: probe/clone/open repos and SSH PTY sessions#81Ziinc wants to merge 2 commits into
Ziinc wants to merge 2 commits into
Conversation
Contributor
|
🚀 Web preview: https://preview-81.treq-9zy.pages.dev |
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.
Motivation
Description
core::remotemodule implementing SSH host parsing,list_configured_hosts,check_readiness,probe_repo,clone_repo,open_repo,build_ssh_shell_command, quoting/validation helpers, and corresponding data types (SshHost,RemoteReadiness,RemoteRepoProbe,RemoteRepository).treq-napi::dispatch) and a new Tauri command modulecommands::remote, and register these commands in the app runtime.remote_hostparameter topty_create_session, building ansshshell command viabuild_ssh_shell_command, and passingshell_argsintoPtyManager::create_sessionso remote sessions spawn the appropriatesshinvocation.src/lib/api.ts,src/lib/api-types.ts, andsrc/lib/api-extra.ts, plus UI changes including a new onboarding "Open via SSH" button, a File menu item, a menu event handler, and a dashboard flow to probe/clone/open remote repos and remember recent hosts.web/docs/how-to/remote-ssh-workspaces.mddescribing usage and caveats.Testing
cargo testand the module-level tests passed.vitestand they passed locally.[Codex Task](