Commit Graph

85 Commits (4180ae279a545f063d3e85d25ed15734b6f0512a)

Author SHA1 Message Date
Chip Senkbeil 4180ae279a
Bump to 0.16.4 and fix #80 and fix #102 2 years ago
Chip Senkbeil 329213dbe4
Add --ssh-backend support to cli and bump to 0.16.3 2 years ago
Chip Senkbeil 353e58177b
Bump to 0.16.2 2 years ago
Chip Senkbeil 6d77eed814
Fix musl release 2 years ago
Chip Senkbeil 10d66db16f
Update to 0.16.1 release 2 years ago
Chip Senkbeil 268ec948d6
Add filesystem watching & remove distant-lua (#102) 2 years ago
Chip Senkbeil f46eeea8d5
Add environment as new output session type and change defaults to environment for CLI (#98) 2 years ago
Chip Senkbeil 3794466dd0
Add windows & unix optional metadata (#96) 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 cfddb3e329
Update Cargo.lock for v0.15.1 3 years ago
Chip Senkbeil fc2a6ab09c
Bump to v0.15.0 release and add readme for distant-ssh2 3 years ago
Chip Senkbeil fefcc66737
Bump to v0.15.0-alpha.22 and update distant/ssh handlers to inject exit code 0 when successful 3 years ago
Chip Senkbeil dba8a80dd8
Bump to v0.15.0-alpha.20 and fix ssh -> distant session not binding to proper interface 3 years ago
Chip Senkbeil 6d0e54bfa1
Remove --daemon in favor of opposite parameter --foreground 3 years ago
Chip Senkbeil 0f6cf3d537
Bump to v0.15.0-alpha.17 3 years ago
Chip Senkbeil 11c3e5c34e
Update nvim_wrap_async to use vim.defer_fn instead of schedule and support optional interval; bump to v0.15.0-alpha.16 3 years ago
Chip Senkbeil a8b6f3eb31
Add status method to RemoteProcess and lua module equivalent 3 years ago
Chip Senkbeil f3fc15c197
Bump mlua to v0.6.6 3 years ago
Chip Senkbeil 78f827faea
Fix clippy warning 3 years ago
Chip Senkbeil c2e588544f
Update wezterm-ssh dep to 0.2.0, fix ssh -> distant session, refactor session to have optional details included 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 733cc152ea
Bump to v0.15.0-alpha.12 and fix nil for distant_args 3 years ago
Chip Senkbeil c994d090da
Bump to v0.15.0-alpha.10 3 years ago
Chip Senkbeil 2ae80950cf
Bump to v0.15.0-alpha.9 3 years ago
Chip Senkbeil 3c50bec8ea
Fix formatting and adjust cargo.lock 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 89d1cf0e5a
Remove MacOS universal and ARM Lua libs due to https://github.com/khvzak/mlua/issues/82 3 years ago
Chip Senkbeil 0dca0c9aa6
Bump to 0.15.0-alpha.7 w/ new release.yml 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 b27f0a4109
Bump to 0.15.0-alpha.6 3 years ago
Chip Senkbeil 43ffd7ae58
Update Ssh2AuthHandler to take a lifetime 3 years ago
Chip Senkbeil fb747a3455
Add extra option as fallback for ssh options 3 years ago
Chip Senkbeil 97536c7b2b
Refactor Metadata and SystemInfo response data types to support subtypes as singular parameters 3 years ago
Chip Senkbeil fd2a5a985c
Update Metadata to be cloneable, debuggable, serializable, and deserializable; remove unused ssh2 feature deps from core 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 88efcb2e5e
Mark version as pre-release 0.15.0-alpha.1 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 f4eae0a467
Export SessionExt and related components 3 years ago
Chip Senkbeil 3c15a90886
Fix log suppression to occur when running remote process and not logging to a file 3 years ago
Chip Senkbeil cad8ed5ac9
Bump next version to 0.15.0 and update README to reflect new version 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 9180f4d207
Bump to 0.14.0 3 years ago
Chip Senkbeil 4eb15bfe1e
Bump to 0.13.1 3 years ago
Chip Senkbeil 9a7463fb03
Update cargo.lock 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 d1f69cf024
Migrate distant-core tests from using tempfile to assert_fs crate 3 years ago
Chip Senkbeil 8cdc9f271d
Refactor distant binary to yield software exit code when oneoff operation fails 3 years ago
Chip Senkbeil 188b5f74e4
Add first example of an e2e test for distant cli 3 years ago