Skip to main content
Maxmux is the crossterm terminal UI built on the same Monolex headless engine and PTY daemon used by other Monolex clients. It adds project selection, tabs, a file-tree sidebar, an @ prompt box, configurable key bindings, and a local control socket without taking ownership of PTY emulation itself. Published contract: maxmux 0.2.3, OpenCLIs build 2026-06-30-100934. The executing binary, registry, and public CDN metadata agree on this release.

Quick Start

Complete Command Reference

The root parser has four operational families (run, ctl, config, and test), help/version aliases, and two launch flags. No-argument execution is intentionally interactive. Unknown root arguments are not rejected: after known command/flag parsing they fall through to interactive launch. For automation, use only the documented forms and never treat a guessed option as a harmless help probe.

ctl Wrapper Contract

maxmux ctl exposes six convenient commands plus its help branch. It scans the Maxmux socket directory, removes sockets whose PID is no longer live, and picks the highest live PID as the newest instance. ctl run, write, and ctrl-c mutate the selected terminal. ctl is Unix only because version 0.2.3 has no Windows named-pipe implementation.

Complete Self-Test Surface

The test parser contains more diagnostics than its current fallback help text shows: The 0.2.3 test help fallback is mislabeled monoterm test and lists only auto, spawn, key, and ghost. That output is a known help defect, not the complete parser. The test harness is Unix-only; Windows returns an unsupported error before spawning it.

Raw Control Socket Protocol

Advanced companions can send newline-delimited JSON directly. The shared protocol recognizes 11 message types: command-list omits the streaming-only subscribe-pty and the separately handled simulate-key. It also advertises the three tab mutations that still return the mutable-state error, so discovery output is not execution proof.

Interactive Controls

Bindings are configurable at ~/Library/Application Support/Monolex/keybindings.json. The control protocol uses newline-delimited JSON over ~/Library/Application Support/Monolex/runtime/sockets/maxmux/control-{PID}.sock.

Published Platforms

Version 0.2.3 ships darwin-aarch64, linux-x86_64, linux-aarch64, and windows-x86_64 archives. Interactive Maxmux can be distributed on all four; ctl and test remain Unix-only in this release. A Windows archive therefore does not imply control-socket or PTY-harness parity.

Runtime Boundary

ctl proves socket-level control of an already running instance. test proves keyboard-level behavior in a newly spawned PTY. Neither result alone proves the other surface.

Relationships