Commit Graph

16 Commits

Author SHA1 Message Date
Chip Senkbeil
b8fecaacc0
Apply nightly formatting to reorder imports and use module-level import granularity 2023-05-16 15:46:24 -05:00
Chip Senkbeil
4b983b0229
Refactor into unified settings (#172) 2023-04-22 02:40:21 +02:00
Chip Senkbeil
27dc5775f9
Update ssh launch to use pty (#157) 2022-12-11 04:15:26 -06:00
Chip Senkbeil
4798b67dfe
Rewrite to support custom authentication, handshakes for encryption/compression, and reconnecting (#146) 2022-11-19 20:27:49 -06:00
Chip Senkbeil
33a30d98f0
Correct shutdown double panic 2022-08-09 00:24:39 -07:00
Chip Senkbeil
94326618c3
Try adding multiple attempts to launch server for cli 2022-08-09 00:17:27 -07:00
Chip Senkbeil
ea2e128bc4
Refactor to use distant manager (#112) 2022-08-08 01:10:32 -05:00
Chip Senkbeil
268ec948d6
Add filesystem watching & remove distant-lua (#102) 2022-03-30 19:32:20 -05:00
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
2021-09-28 00:04:26 -05:00
Chip Senkbeil
2277f9634d
Replace DISTANT_AUTH_KEY with DISTANT_KEY for environment variable parsing 2021-09-18 21:49:21 -05:00
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
2021-09-14 12:54:45 -05:00
Chip Senkbeil
34d6b574c1
Fix clippy warnings, fix rustfmt, refactor proc-run tests to use generated scripts instead of script files 2021-09-05 17:20:47 -05:00
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
2021-09-03 23:49:37 -05:00
Chip Senkbeil
cf0193edc9
Add some extra logging and complete proc-run cli tests 2021-08-30 22:46:51 -05:00
Chip Senkbeil
fc1c262f55
Fix some proc issues, but proc tests still not fully passing 2021-08-30 01:01:08 -05:00
Chip Senkbeil
da08d2db4f
Refactor test folder structure for cli tests and add file_read_text tests 2021-08-29 13:17:41 -05:00