Skip to content

bmux v0.7.7

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 26 Nov 20:06
· 8 commits to main since this release

bmux v0.7.7 adds an opt-in beta release channel with a one-click beta workflow, a hard per-pane scrollback memory cap (scrollback.max-mb), comprehensive shell/VT/Kitty/layout security hardening, Ctrl-click link copying over SSH via OSC 52, and an overhauled README and workflow demo.

brew install --cask bmux-dev/tap/bmux

or with the install script:

curl -fsSL https://raw.githubusercontent.com/bmux-dev/bmux/main/install.sh | sh

or, with Go 1.27.3+:

go install github.com/bmux-dev/bmux/cmd/bmux@v0.7.7

New

  • Opt-in beta release channel & workflow (#239):
    • Test pre-releases with bmux update --beta (or [update] channel = "beta" / BMUX_UPDATE_CHANNEL=beta), install fresh with BMUX_CHANNEL=beta, and step back anytime with bmux update --stable.
    • Manual .github/workflows/beta.yml workflow builds and publishes pre-releases without touching Homebrew or offering betas on the stable channel.
  • Hard per-pane scrollback memory cap (#227):
    • Configurable scrollback.max-mb (default 64 MiB per pane, 0 = unlimited) drops oldest lines once exceeded and applies live via bmux reload.
  • Overhauled README, live-agent demo, CONTRIBUTING.md, and CHANGELOG.md (#210, #213, #215, #223, #229).

Fixed & Security

  • Shell & format string injection (#231): context-aware POSIX shell escaping (ExpandShell) for #{...} variables plus BMUX_PANE_* environment variables across hooks, run-shell, if-shell, and pipe-pane.
  • VT parser, Kitty graphics, and status bar hardening (#233): capped CSI repeat/tab counts (REP/CHT/CBT), stripped pasted bracketed-paste end markers, filtered C1 control runes in the status bar, capped OSC title/cwd/hyperlink sizes at 4 KiB, enforced Kitty file-path rules (/proc, /sys, /dev, basename temp markers), and fixed raw s*v overflow checks.
  • Layout trust & server hardening (#235): bmux layout save now preserves existing commands only from trusted .bmux.toml files, layout reads are bounded/non-blocking, PTY FDs use atomic F_DUPFD_CLOEXEC, and session state directories refuse group/world writability.
  • Updater & CI supply chain (#211, #237): pinned GitHub Actions to commit SHAs with Dependabot, added Sync() before swapping updated binaries, broadened install.sh checksum parsing, and detected Homebrew Caskroom installs in bmux update.
  • Ctrl-click links without a browser (#226): copies clicked URLs over OSC 52 on SSH/headless sessions.

Upgrading

Protocol version 11 is unchanged. Run bmux restart when convenient to bring your running server onto v0.7.7 (programs running in panes end; sessions, windows, layouts, directories, and agent conversations come back).