doctor
cyber-mux doctor
Section titled “cyber-mux doctor”Probe the multiplexer, your self pane, and the resolved backend. Prints the detected multiplexer,
how it was detected (via), the current pane id, the resolved backend name, and — when a self pane
was found — a ready-to-export CYBER_MUX / CYBER_MUX_PANE pair that pins the fast-path and skips
detection on the next run:
multiplexer: tmuxdetected via: envpane: %3backend: tmux
Pin the fast-path to skip detection: export CYBER_MUX=tmux CYBER_MUX_PANE=%3Never fails on “no multiplexer” — outside one, backend reads none rather than erroring.
Accepts --format text|json|agent. See mode for the one-line version.
Examples
Section titled “Examples”cyber-mux doctor# Pin the fast-path in your shell profile, skipping detection on every future runeval "$(cyber-mux doctor | grep '^ export')"# Machine-readable formcyber-mux doctor --format json# {"mux":"tmux","via":"env","pane":"%3","backend":"tmux"}