Skip to content

Releases

xcomm 0.1.4

Choose a tag to compare

@cantona cantona released this 23 Nov 10:28

Changes since 0.1.3

  • Static Linux binaries: x86_64 and aarch64, linked with musl, attached to this release (below): no shared libraries needed, and less memory than a build linked with glibc (a 32 MiB pty flood peaked at 2.4 MB rather than 4.4 MB on x86_64).
  • Faster floods: device output reaches the terminal 3-5 % (text) and 10-12 % (binary) faster through a pty: xcomm writes it through a non-blocking open of its own terminal, leaving the one it shares with the shell blocking.
  • xcomm ctl run exits 4 when the port goes away while it waits for its match, printing the output that came before it, instead of waiting across the reconnect, where a board that came back could answer a command it never ran.
  • xcomm ctl send cut by the port going away exits 4 at once, instead of waiting for a reply that never came or sending the rest to the device that came back.

Full list: CHANGELOG.md.

Install

brew install cantona/tap/xcomm      # macOS, Linux
cargo install --locked xcomm        # Rust 1.93+
herdr plugin install cantona/xcomm  # the herdr plugin
xcomm skill install                 # the agent skill

Static binaries (Linux):

v=0.1.4 t=x86_64-unknown-linux-musl    # or aarch64-unknown-linux-musl
u=https://github.com/cantona/xcomm/releases/download/v$v/xcomm-$v-$t.tar.gz
curl -fLO "$u" && curl -fLO "$u.sha256" &&
  sha256sum -c "xcomm-$v-$t.tar.gz.sha256" &&
  tar -xzf "xcomm-$v-$t.tar.gz" && mkdir -p ~/.local/bin &&
  install -m 755 "xcomm-$v-$t/xcomm" "xcomm-$v-$t/xcomm-wait" ~/.local/bin/

xcomm 0.1.3

Choose a tag to compare

@cantona cantona released this 18 Nov 14:44

Changes since 0.1.2

  • xcomm man shows the manual page, which is now built into xcomm, so a cargo install has it too; piped, it writes the page's source (xcomm man > xcomm.1). scripts/install.sh and the herdr plugin install it for man xcomm in ~/.local/share/man.
  • Homebrew: xcomm uninstall and xcomm doctor recognise a Homebrew install and name the brew uninstall xcomm that removes it.
  • xcomm doctor reports an installed xcomm that does not run (for example one built for a newer glibc) instead of reporting nothing.
  • xcomm uninstall unregisters a linked herdr plugin when no herdr server is running, instead of stopping before the binaries.
  • Hotplug watcher: one per herdr server; watch status/stop no longer leave an empty state directory behind.
  • Control socket: a client that closed while its send was stuck on a line that takes nothing is dropped after 30 s instead of holding its place forever (a slow line, or a send waiting behind others, is not affected); ctl read|wait|run -q leaves out the next=/end= line.
  • Sessions: a port opened from the herdr picker comes back on the same USB port after an unplug; a refused break no longer drops flow control; NO_COLOR takes the dim off the [ctl] marker; XCOMM_NO_LOCK=1.
  • License: GPL-2.0-only.

Full list: CHANGELOG.md.

Install

brew install cantona/tap/xcomm      # macOS, Linux
cargo install --locked xcomm        # Rust 1.93+
herdr plugin install cantona/xcomm  # the herdr plugin
xcomm skill install                 # the agent skill

xcomm 0.1.2

Choose a tag to compare

@cantona cantona released this 18 Nov 00:52

Changes since 0.1.1

  • xcomm ctl <dev> status <field> prints one status field's value alone (status offset, status pid, ...), so scripts and the agent skill no longer need jq. --json is unchanged.
  • Agent skill: reads the offset and the session's pid with status <field>; the run example takes values out with plain run and sed, and run patterns start at \r?\n so a value does not end in a CR. Its tests run without jq.
  • Man page: an EXAMPLES section, with --json examples.
  • Tests: the install tests pass where xcomm is also installed system-wide (Debian's autopkgtest).

Install

brew install cantona/tap/xcomm      # macOS, Linux
cargo install --locked xcomm        # Rust 1.93+
herdr plugin install cantona/xcomm  # the herdr plugin
xcomm skill install                 # the agent skill

xcomm 0.1.1

Choose a tag to compare

@cantona cantona released this 17 Nov 08:02

Changes since 0.1.0

  • Builds with Rust 1.93, the cargo in Ubuntu 26.04, and with libc 0.2.186, the version in Debian unstable (was Rust 1.96 and libc 0.2.191).
  • herdr picker: after an error, the prompt no longer drops the Enter that closes it, and an arrow key whose bytes arrive split on a busy machine is no longer typed as text (it waits 100 ms for the rest of a key, from its latest bytes).
  • Code formatted at 90 columns, with a rustfmt.toml; CI on Linux and macOS for every push.

Install

brew install cantona/tap/xcomm      # macOS, Linux
cargo install --locked xcomm        # Rust 1.93+
herdr plugin install cantona/xcomm  # the herdr plugin
xcomm skill install                 # the agent skill

xcomm 0.1.0

Choose a tag to compare

@cantona cantona released this 17 Nov 05:14

A serial terminal. Built for speed. Made for engineers. Ready for AI agents.

The first release of xcomm: a clean-room serial terminal for Linux and macOS with minicom's options and keys, a control socket that scripts and AI coding agents can drive while you watch, and a herdr plugin.

xcomm picker in herdr

Highlights

  • Hand the console to an agent. xcomm ctl sends commands, waits for prompts, reads output by offset, flips DTR/RTS, sends breaks, changes the baud and runs zmodem transfers on a live session.
  • Built for speed. 434 MiB/s through a pty on 1.84 ms of CPU per MiB, 40× minicom's throughput on a fiftieth of its CPU (benchmarks).
  • Agent-ready out of the box. xcomm skill install adds a skill that teaches a coding agent to stop U-Boot, log in and run commands; a test runs every example in it.
  • Survives the bench. Unplug the adapter or power-cycle the board: the session waits and reopens the port.
  • Plug in a board, get a pane. The herdr plugin's picker opens each port in its own pane, or goes to the pane it is already in.
  • Familiar. minicom's options and its Ctrl-A keys (Alt-A inside a multiplexer).

Install

cargo install xcomm                  # needs Rust 1.96+
herdr plugin install cantona/xcomm   # the herdr plugin (builds and installs the binaries too)