feat: implement exec and forward commands for running commands in sandboxes
release / release (push) Successful in 2s
release / build (macos-arm64) (push) Successful in 21s
release / build (ubuntu-latest) (push) Successful in 1m5s

- Added `exec` command to run a shell or command in a running sandbox, utilizing a new exec server.
- Introduced `forward` command to expose ports of a running sandbox on the host's localhost.
- Updated Cargo.toml and Cargo.lock to reflect version bump and new dependencies.
- Enhanced README.md with usage instructions for new commands.
- Refactored build.rs to include new guest helper files for exec functionality.
- Created new source files for exec and forward logic, including protocol handling and connection management.
This commit is contained in:
2026-10-03 21:48:44 +02:00
parent 4ef8dd62e9
commit bc7512a373
10 changed files with 688 additions and 46 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "wsbx"
version = "0.1.1"
version = "0.1.2"
edition = "2024"
[dependencies]
@@ -8,6 +8,7 @@ anyhow = "1"
clap = { version = "4", features = ["derive"] }
flate2 = "1"
hex = "0.4"
libc = "0.2"
serde_json = "1"
sha2 = "0.10"
tar = "0.4"