rmux-sdk
Public, daemon-backed Rust SDK for the RMUX terminal multiplexer.
Drives sessions, windows, and panes through typed handles over the local
RMUX daemon — no TTY scraping, no string-formatted commands. Snapshots,
send-keys, wait-for-text, output streams, and EnsureSession bootstrap are
the primary primitives.
Usage
[]
= "0.6"
= { = "1", = ["macros", "rt-multi-thread"] }
use ;
async
Surface
Rmux::builder().connect_or_start()— reuse a running daemon or spawn one.EnsureSession— idempotent session bootstrap (named, create-or-reuse, detached, process spec).- Typed handles:
Session,Window,Pane. Session::window(index)— lazy handle for a window slot;Session::new_window()creates one now.Pane::send_text,Pane::wait_for_text,Pane::snapshot, plus streams and events for incremental output.
The SDK is a peer of the local IPC client, not a wrapper — no dependency on internal RMUX runtime crates.
License
Dual-licensed under MIT or Apache-2.0.