Build zmx-backed persistent SSH terminals with CLI and TUI - #1
Merged
Merged
Conversation
DeepakSilaych
marked this pull request as ready for review
September 15, 2026 09:05
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 changes
Replace the Bash/tmux implementation with a Go client and zmx-backed SSH sessions. A user can prepare a VM, select a default SSH host, create a named terminal, detach, and return to the same shell. Explicit detach and shell exit stop the connection; transient SSH failures reconnect to the original session identity.
init,set --host,new/n,attach/a,remove/rm,ls,detach,doctor, and completion.-hselects a host;--helpshows help. Addnew --detach,ls --json, andls --quietfor scripts.Validation
make test: race-enabled unit tests andgo vetpass on macOS ARM64; the same Go checks also pass independently in Linux ARM64 Docker.Compatibility
This is the 0.6 development interface. Existing tmux sessions and
~/.sessdata are left untouched; live tmux sessions cannot migrate to zmx. Session commands require key authentication available to OpenSSH batch mode. zmx is pinned to 0.8.1; unsupported managed versions are not silently replaced. Live sessions do not survive VM reboot/backend loss. Runtime integration was exercised with a macOS ARM64 client and Linux ARM64 VM; the other targets are cross-built.Validation was run locally. No GitHub Actions workflows are included.