Commit Graph

16 Commits (b97f80997f125d3af8418c09a96bdef21010ce13)

Author SHA1 Message Date
Chip Senkbeil b8fecaacc0
Apply nightly formatting to reorder imports and use module-level import granularity 1 year ago
Chip Senkbeil 4b983b0229
Refactor into unified settings (#172) 1 year ago
Chip Senkbeil 27dc5775f9
Update ssh launch to use pty (#157) 2 years ago
Chip Senkbeil 4798b67dfe
Rewrite to support custom authentication, handshakes for encryption/compression, and reconnecting (#146) 2 years ago
Chip Senkbeil 33a30d98f0
Correct shutdown double panic 2 years ago
Chip Senkbeil 94326618c3
Try adding multiple attempts to launch server for cli 2 years ago
Chip Senkbeil ea2e128bc4
Refactor to use distant manager (#112) 2 years ago
Chip Senkbeil 268ec948d6
Add filesystem watching & remove distant-lua (#102) 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
Chip Senkbeil 2277f9634d
Replace DISTANT_AUTH_KEY with DISTANT_KEY for environment variable parsing 3 years ago
Chip Senkbeil e4273a1be9
Refactor codec (#47)
* Remove DistantCodec
* Add Codec trait to support encode & decode
* Add XChaCha20Poly1305 dependency in place of orion
* Add XChaCha20Poly1305Codec that encrypts/signs using XChaCha20Poly1305
* Add PlainCodec that does no encrypting/signing
* Refactor Transport to take generic Codec
* Rewrite to no longer use blake256
* Remove k256 dependency
* Remove Transport::from_handshake as no longer doing EDCH key exchange
* Fix stdout/stderr being sent before proc_start by adding post_hook support to handler such that proc_run tasks are not spawned until proc_start is sent as response
* Remove unneeded else if condition when checking join error type
3 years ago
Chip Senkbeil 34d6b574c1
Fix clippy warnings, fix rustfmt, refactor proc-run tests to use generated scripts instead of script files 3 years ago
Chip Senkbeil 9bd2112344
Refactor listener (#38)
* Finish implementing new listener logic

* Refactor cli tests to work with new format

* Implement tests for remote process

* Fix bugs in LSP stdout, stderr, and stdin

* Add tests for LSP remote process

* Update metadata request & response to support resolving the file type of symlinks
3 years ago
Chip Senkbeil cf0193edc9
Add some extra logging and complete proc-run cli tests 3 years ago
Chip Senkbeil fc1c262f55
Fix some proc issues, but proc tests still not fully passing 3 years ago
Chip Senkbeil da08d2db4f
Refactor test folder structure for cli tests and add file_read_text tests 3 years ago