Expand description
Transport abstraction: decouple tools from direct filesystem/shell access.
The ToolTransport trait lets tools delegate I/O to a pluggable backend.
The default LocalTransport calls tokio::fs / tokio::process directly.
A mock transport can be injected in tests to avoid touching the real disk.
§SSH Transport
SshTransport executes commands and file operations on a remote host
via the system ssh binary. No Rust SSH library needed — delegates to
the installed OpenSSH client.
Host format: user@host or user@host:port.
Structs§
- DirEntry
- Result of listing a directory entry.
- Exec
Result - Result of running a shell command.
- Local
Transport - The default transport that performs real I/O via
tokio::fsandtokio::process. - Read
Result - Result of reading a file.
- SshTransport
- SSH transport: executes commands and file operations on a remote host
via the system
sshbinary.
Traits§
- Tool
Transport - Abstract transport for filesystem and shell operations.