Commit Graph

16 Commits (ee50eaf9b39488ef3292d584644b7268b40b2dd7)

Author SHA1 Message Date
Chip Senkbeil ee50eaf9b3
Add heartbeat support (#153)
* Update to support zero-size frame items

* Add heartbeat functionality with client reconnecting logic

* Fix connection reauthentication failures preventing future reauthentication

* More logging

* Remove persist

* Update connection logic to have server take on client id rather than having client take on server id during reconnect

* Bump minimum rust version to 1.64.0

* Bump to v0.20.0-alpha.3 and fix clippy warnings

* Update cargo.lock
1 year ago
Chip Senkbeil 4798b67dfe
Rewrite to support custom authentication, handshakes for encryption/compression, and reconnecting (#146) 2 years ago
Chip Senkbeil ea2e128bc4
Refactor to use distant manager (#112) 2 years ago
Chip Senkbeil 0308343794
Rename detached to persist (#94) 2 years ago
Chip Senkbeil 050bb3496a
Complete shell support (#89) 2 years ago
Chip Senkbeil c6c07c5c2c
Unfinished pty support, renaming ProcRun -> ProcSpawn and ProcStarted -> ProcSpawned, switch ProcStdin/ProcStdout/ProcStderr to use Vec<u8> instead of String, update RemoteProcess and RemoteLspProcess to support reading/writing string and vec<u8> 2 years ago
Chip Senkbeil 8c234f95d0
Support json ssh auth (#83)
* Add support for JSON communication of ssh auth during launch
* Switch to cbor alternative lib as serde cbor has been abandoned
* Refactor some request & response types to work with new cbor lib
* Update cli to always include serde dep
* Expose origin_id of remote process as method
2 years ago
Chip Senkbeil ab3417c7f2
Fix clippy warnings 3 years ago
Chip Senkbeil d025ff28ab
Fix stdout, stderr, and stdin causing deadlock; update status to only acquire a read lock 3 years ago
Chip Senkbeil a8b6f3eb31
Add status method to RemoteProcess and lua module equivalent 3 years ago
Chip Senkbeil 043ae6ca4b
Couple of changes:
1. Add support to detach processes from distant server
2. Refactor distant_bin and distant_args to distant.bin and distant.args
3. Add use_login_shell option for launch distant opts
3 years ago
Chip Senkbeil 4cb5ba3b98
Fix tests 3 years ago
Chip Senkbeil 788fa48e96
Several core and lua enhancements
1. Implement system_info and spawn_wait for lua session
2. Implement wait and output for remote process
3. Switch mlua to git latest
4. Update core data error to be error type with io error conversions
5. Add proper error reporting when process gets an error response
6. Update lua launch and connect options to have defaults
3 years ago
Chip Senkbeil 16bed4690b
Add lua lib & support compiling distant cli on windows (#59)
* Update distant-ssh2 with new changes to wezterm-ssh
* Implement lua module (distant-lua)
* Implement tests for lua module (distant-lua-tests)
* Add untested windows daemon support
* distant binary now compiles on windows
* Split up Github actions for Windows, MacOS, and Linux into individual yaml files
3 years ago
Chip Senkbeil e586891463
Update to 0.15.0-alpha.2
* Rename SessionExt -> SessionChannelExt
* Rename SessionExtError -> SessionChannelExtError
* Update SessionChannel to implement SessionChannelExt
* Update Session to not implement SessionChannelExt as it gets this for
  free through Deref/DerefMut targeting SessionChannel
3 years ago
Chip Senkbeil 0a11ec65a2
Add native ssh (#57)
* Bump to 0.15.0
* Add new distant-ssh2 subcrate to provide an alternate session as an ssh client
* Add rpassword & wezterm-ssh dependencies
* Rename core -> distant-core in project directory structure and move ssh2 feature into distant-ssh2 crate
* Upgrade tokio to 1.12,
* Update github actions to detect changes and apply testing for only those changes
* Add method parameter to support distant & ssh methods for action and lsp subcommands
* Add ssh-host, ssh-port, and ssh-user parameters to specify information for ssh method
3 years ago