Repository navigation
Releases
bmux v0.8.0
Go-live hardening release completing the v0.8 milestone: Linux interactive QA sign-off, Antigravity (agy) quiet mid-turn blocked detection and input-masked silence fix, updater and config-symlink fixes, modal paste guards, SECURITY.md, Go 1.26+ support, and refreshed live-agent demo.
Install
curl -fsSL https://raw.githubusercontent.com/bmux-dev/bmux/main/install.sh | sh
# or Homebrew (macOS & Linux):
brew install --cask bmux-dev/tap/bmux
# or Go 1.26+:
go install github.com/bmux-dev/bmux/cmd/bmux@v0.8.0New & Improved
- v0.8 hardening milestone complete: Signed off on Linux interactive QA across Wayland (
wl-copy), X11 (xclip/xsel), and multi-terminal SSH sessions. - Antigravity (
agy) mid-turn blocked detection: Quiet workingagypanes are automatically markedblockedafteragents.waiting-afterso stalled approval prompts surface in the sidebar (#248). - Docs, screenshots, and live-agent demo: Updated README, docs (including Go 1.26+ build docs), 2× screenshots, social card, and 30fps live-agent demo recording featuring
agy, Codex, and OpenCode (#244, #246, #252). - Repo & release hardening: Added
SECURITY.mdwith private GitHub Security Advisories reporting, loweredgo.modtogo 1.26.0, and moved Homebrew cask updates to published non-beta GitHub releases (#244).
Fixed
- Typing while an agent is working: Input-masked ticks (
inputEchoWindow) without later autonomous output are treated as inconclusive rather than silence, so typing whileagy(or an unhooked agent) is working no longer triggers a falseblockedoridletransition (#250). bmux updatenow skips socket startup cleanly and prepares the runtime socket best-effort after replacing the binary (fixessudo bmux updateon macOS) (#244).- Preserved symlink targets in atomic config writes so dotfile-managed configs survive onboarding and settings saves (#244).
- Preserved backward search direction when stepping with
Nin scrollback search (#244). - Notified attached clients immediately in
session.showMessagesorun-shelloutput renders right away (#244). - Guarded raw terminal paste while welcome, key help, integrations, or sidebar focus is active (#244).
Upgrading
Protocol version 11 is unchanged. Run bmux integration install agy (if using Antigravity) and bmux restart when convenient to bring the server onto v0.8.0 (programs running in panes end; sessions, windows, layouts, directories, and supported agent conversations are restored).
bmux v0.7.8-beta.1
Beta pre-release built from main (a3023ee7cf763a0cc573c323117e250a9462ac89).
Install or upgrade to this beta
bmux update --beta && bmux restart
# or fresh install:
curl -fsSL https://raw.githubusercontent.com/bmux-dev/bmux/main/install.sh | BMUX_CHANNEL=beta shReturn to stable
bmux update --stable && bmux restartbmux v0.7.7
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/bmuxor with the install script:
curl -fsSL https://raw.githubusercontent.com/bmux-dev/bmux/main/install.sh | shor, with Go 1.27.3+:
go install github.com/bmux-dev/bmux/cmd/bmux@v0.7.7New
- Opt-in beta release channel & workflow (#239):
- Test pre-releases with
bmux update --beta(or[update] channel = "beta"/BMUX_UPDATE_CHANNEL=beta), install fresh withBMUX_CHANNEL=beta, and step back anytime withbmux update --stable. - Manual
.github/workflows/beta.ymlworkflow builds and publishes pre-releases without touching Homebrew or offering betas on thestablechannel.
- Test pre-releases with
- Hard per-pane scrollback memory cap (#227):
- Configurable
scrollback.max-mb(default64MiB per pane,0= unlimited) drops oldest lines once exceeded and applies live viabmux reload.
- Configurable
- Overhauled README, live-agent demo,
CONTRIBUTING.md, andCHANGELOG.md(#210, #213, #215, #223, #229).
Fixed & Security
- Shell & format string injection (#231): context-aware POSIX shell escaping (
ExpandShell) for#{...}variables plusBMUX_PANE_*environment variables across hooks,run-shell,if-shell, andpipe-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, cappedOSCtitle/cwd/hyperlink sizes at 4 KiB, enforced Kitty file-path rules (/proc,/sys,/dev, basename temp markers), and fixed raws*voverflow checks. - Layout trust & server hardening (#235):
bmux layout savenow preserves existing commands only from trusted.bmux.tomlfiles, layout reads are bounded/non-blocking, PTY FDs use atomicF_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, broadenedinstall.shchecksum parsing, and detected Homebrew Caskroom installs inbmux 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).
bmux v0.7.6
bmux v0.7.6 adds first-class Google Antigravity CLI (agy) support, publishes a Homebrew cask tap, migrates the Go module path to github.com/bmux-dev/bmux, launches the redesigned documentation site with crisp 2× Retina screenshots and workflow demo, and fixes Create-tab pasting and a macOS CI flake.
brew install --cask bmux-dev/tap/bmuxor with the install script:
curl -fsSL https://raw.githubusercontent.com/bmux-dev/bmux/main/install.sh | shor, with Go 1.27.3+:
go install github.com/bmux-dev/bmux/cmd/bmux@v0.7.6New
- Google Antigravity CLI (
agy) support (#203):- Detects running
agyforeground panes in the sidebar andbmux agents. - Adds built-in
agy --continuerestore across restarts/reboots when no hook resume command is reported. - Installs lifecycle hooks into
~/.gemini/config/hooks.json(SessionStart,PreInvocation,PostToolUse,Stop), reportsworking/idleand exactagy --resume <conversationId>, and ships thebmuxskill (skills/bmux/SKILL.md) viabmux integration install agyorCtrl-a i.
- Detects running
- Homebrew cask tap (#205):
- Install and upgrade on macOS and Linux via
brew install --cask bmux-dev/tap/bmuxfrombmux-dev/homebrew-tap.
- Install and upgrade on macOS and Linux via
Changed
- Go module path migrated to
github.com/bmux-dev/bmux(#205):go installnow usesgithub.com/bmux-dev/bmux/cmd/bmux@latest.
- Redesigned documentation site & 2× Retina media (#196):
- New editorial homepage with benchmarks, plugin comparison ledger, core workflow highlights, and a 2× Retina One Dark demo video.
- Refreshed all 10 2× Retina docs screenshots (
onedarkdark /catppuccin-lattelight), added the.agents/skills/bmux-screenshots/capture workflow, and applied 19 documentation fixes across guides and reference pages.
Fixed
- Route terminal paste to the focused input field (Directory vs Name) in the new-session Create tab (#201).
- Silenced macOS bash deprecation warnings and added startup settling/newline framing in
TestEventPushImmediateAfterIdleto eliminate themacos-latesttest flake (#199).
Upgrading
Protocol version 11 is unchanged from v0.7.5, so v0.7.6 clients can talk to a running v0.7.5 server without restarting. Run bmux restart when convenient to bring the server itself onto v0.7.6 for agy foreground detection and resume.
v0.7.5
bmux is faster and lighter: big output keeps pace with tmux, typing stays responsive while other panes are busy, and the server uses a fraction of the memory.
curl -fsSL https://raw.githubusercontent.com/bmux-dev/bmux/main/install.sh | shor, with Go 1.27.3+:
go install github.com/josephferrero/bmux/cmd/bmux@v0.7.5Faster
Features, keys and config are unchanged (#190).
- Big output keeps up.
seq 1 200000takes 0.06 s instead of 0.40 s, about the same as tmux (#187, #189). - Typing feels instant. The slowest keystroke echoes (p99) fell from 37 ms to about 5 ms, even while another pane is streaming output (#185).
- Far less memory. A session with 10k lines of coloured scrollback uses 26 MiB instead of 115 MiB at 80 columns, and 43 MiB instead of 270 MiB at 200 columns. Twenty idle panes went from 102 MiB of heap to 2.7 MiB (#186).
- Idle is idle. The server redraws when a pane changes instead of 30 times a second, so it does nothing when nothing happens. Updates send only the rows that changed, and the client repaints only those (#185, #187, #188).
- Fixed a crash when clicking a pane that had no rows to draw yet.
Numbers are from the benchmarks in #190. scripts/compare-tmux.py measures latency, throughput and memory on your own machine.
Upgrading
The protocol moves from version 10 to 11, so a 0.7.5 client can't talk to a 0.7.4 server. After installing, run bmux restart. Commands against an older server say so and point you to bmux restart.
Restarting ends the programs running in panes. Saved workspaces and recognized agent conversations can reopen, but arbitrary live processes are not preserved. If you have long-running jobs, finish them first, or try 0.7.5 on an isolated test server with BMUX_RUNTIME_DIR set to a fresh directory.
Building from source now needs Go 1.27.3.
bmux v0.7.4
Opt-in private CPU and allocation profiling for bmux clients and servers.
curl -fsSL https://raw.githubusercontent.com/bmux-dev/bmux/main/install.sh | shor, with Go 1.26+:
go install github.com/josephferrero/bmux/cmd/bmux@v0.7.4New
- Opt-in Go profiling. Set
BMUX_PPROF_DIRwhen starting a client or server to expose CPU, allocation and heap profiles through private per-process Unix sockets. Profiling is disabled by default and opens no TCP port (#178, #179). - Concurrent capture helper.
scripts/profile-bmux.py, available in the repository, records separate client/server CPU and allocation profiles over the same window. It uses only Python's standard library, writes private files, refuses to overwrite captures, and never starts or stops bmux. - Profiling guide. Instructions cover isolated test builds, static-versus-animated comparisons, Go pprof analysis, and cleanup.
This release adds diagnostics; it does not change rendering or claim a reduction in CPU usage.
Upgrading
The protocol is still version 10. Existing compatible servers remain usable; installing this release does not require an immediate server restart and does not automatically enable profiling.
Profiling must be enabled when each process starts. Relaunch a client with BMUX_PPROF_DIR to capture that client. An already-running server cannot acquire the profiling hooks just by installing the new binary: use an isolated test server, as shown in the guide, rather than restarting a busy main server. If you choose to run bmux restart, programs running in panes end; saved workspaces and recognized agent conversations can reopen, but arbitrary live processes are not preserved.
bmux v0.7.3
Fix OpenCode V2 plugin loading and provide safe, explicitly bound pane-state reporting.
curl -fsSL https://raw.githubusercontent.com/bmux-dev/bmux/main/install.sh | shor, with Go 1.26+:
go install github.com/josephferrero/bmux/cmd/bmux@v0.7.3Fixed
- OpenCode V2 integration. The generated plugin now exports the required default definition with a stable ID and a V2 setup/event subscription. It handles the verified V2 execution, permission and form events and aborts subscriptions, lookups and subprocesses on unload. OpenCode 2.1.4 and the separate V1 entrypoint on 1.18.29 were runtime-validated (#166, #167).
- Safe pane attribution. V2 reports only an explicitly bound root conversation and its descendants in the same location, ignoring unrelated roots and projects. Saved resume commands preserve the session binding and standalone mode.
- Managed plugin updates. Existing bmux-generated V1-only plugins show an update available. Installation refuses to overwrite an unmanaged file; install/uninstall preserve other plugins and configuration.
Upgrading: the protocol is still version 10; a running v0.7.x or v0.6.0 bmux server remains compatible. This fix is in the integration generator, so no bmux server restart is needed just for this change. After upgrading the bmux binary, explicitly update the plugin:
bmux integration install opencodeFor a new OpenCode V2 conversation, run this in its bmux pane:
bmux_opencode_session="ses_bmux_$(date +%s)_$$"
BMUX_OPENCODE_SESSION="$bmux_opencode_session" \
opencode --standalone --session "$bmux_opencode_session"Use an existing conversation's ses... ID in both places to continue it. Exact shared-service pane reporting is not supported by this fix: unbound shared servers load the plugin without reporting, and bmux falls back to output timing. Switching root conversations or locations requires relaunching with the corresponding binding. State counts are live-event-based; existing in-flight work is not reconstructed after plugin reload. Finish the turn and relaunch the private client before relying on exact counts. V1 plugin compatibility starts at OpenCode 1.18.29; older V1 releases are not supported by this integration version.
Updating the integration does not require restarting the shared OpenCode service. Full usage and limitations are in the agent integration guide.
bmux v0.7.2
Worktree groups in the sidebar, output that scrolls 6.6× faster, and nine terminal fixes.
curl -fsSL https://raw.githubusercontent.com/bmux-dev/bmux/main/install.sh | shor, with Go 1.26+:
go install github.com/josephferrero/bmux/cmd/bmux@v0.7.2New
- Worktree groups. Sessions in a git worktree show under their main repository in the sidebar, the session picker and the Projects tab, wherever the worktree lives, with each session's branch. bmux finds the main repository from the worktree's
.gitfile, so there's nothing to configure. The Projects tab also lists worktrees outsideprojects.roots.ui.show-branch = falsehides the branches (#149).
Changed
- Faster output. Printing a million lines now takes 1.8 seconds instead of 12. Each new line used to copy the whole screen up a row, and once history was full, shift all of it too; now bmux moves whole rows and clears only the new one. Builds, test runs, logs and
catof a large file all benefit (#161). - Sidebar clicks. A single click on a session or agent row opens it, like Enter (#159).
Fixed
resetnow resets the terminal. bmux ignored the soft reset it sends (DECSTR), so scroll margins, origin mode, insert mode and a hidden cursor left behind by a program stayed in place (#136).- Insert mode (
CSI 4 h) pushes the rest of the line right instead of overwriting it. xterm-256color's terminfo advertises it, so ncurses programs use it (#145). - The original alternate screen (mode 47) switches screens, so programs that use it no longer draw over your shell (#144).
- NEL (
ESC E) starts a new line (#139). - ED 1 no longer erases past the cursor, and ED 3 clears only scrollback, as in xterm (#140, #141).
CSI urestores the cursor thatCSI ssaved (#142).- Origin mode: cursor moves and position reports are relative to the margins, changing the mode moves the cursor home, and turning off left/right margins drops them (#143, #146, #147).
- A scroll region taller than the pane can no longer put the cursor off screen (#134).
Under the hood
- Fuzz tests feed random input to the terminal emulator, image commands, session requests, config files, key names, formats and command-line targets (#133).
scripts/esctest.shruns the esctest conformance suite inside a bmux pane: 300 tests pass, up from 96 (#137).scripts/compare-tmux.pymeasures keystroke latency, output speed and memory against tmux (#152).
Upgrading: the protocol is still version 10, so a running v0.7.x or v0.6.0 server keeps working with the new client. The faster output and the terminal fixes are in the server, so run bmux restart to get them: it saves your sessions, starts the new server and restores them. Programs running in panes end; sessions, windows, layouts, directories and agent conversations come back.
bmux v0.7.1
Clearer upgrades, and sidebar clicks that select instead of jumping.
curl -fsSL https://raw.githubusercontent.com/bmux-dev/bmux/main/install.sh | shor, with Go 1.26+:
go install github.com/josephferrero/bmux/cmd/bmux@v0.7.1Fixed
- Upgrade messages. After
bmux updateinstalls a release with a new protocol, commands used to fail with a barebmux protocol version mismatch. They now say which side is older and what to do: "the running bmux server is an older version (protocol 8; this bmux speaks 10). Run bmux restart to switch it to this version". With a newer server, they say to use the bmux that started it (#112). bmux restartfrom an older server reported "changes since then were lost" even though the old server had saved everything. It now reports a normal restart: "Restarted the bmux server; 1 session restored" (#112).
Changed
- Sidebar clicks. A click on a session or agent row now selects it and moves focus into the sidebar, so keys like
dact on it. A double-click opens it, like Enter (#130).
Under the hood
- Compatibility tests run every release's save file, config file and command list (v0.1.0 to v0.7.0) against the current code, so an upgrade can't silently break them. See Compatibility (#114).
Upgrading: the protocol is still version 10, so a running v0.7.0 or v0.6.0 server keeps working with the new client. The fixes are in the client, so no restart is needed. bmux restart still switches the server whenever you like: it saves your sessions, starts the new server and restores them. Programs running in panes end; sessions, windows, layouts, directories and agent conversations come back.
bmux v0.7.0
Themes: bmux can look like your Neovim colorscheme, and the settings page is easier to use.
curl -fsSL https://raw.githubusercontent.com/bmux-dev/bmux/main/install.sh | shor, with Go 1.26+:
go install github.com/josephferrero/bmux/cmd/bmux@v0.7.0New
- Theme presets.
themenow takes the name of a common Neovim colorscheme (Catppuccin, Tokyo Night, Gruvbox, Nord, Rosé Pine, Kanagawa, One Dark, Dracula, Everforest, Solarized) as well asdarkandlight. It colors the status bars, sidebar, window tabs, pickers, dividers, selection and agent states.bmux theme NAMEswitches theme from a script or a Neovim autocmd (#45). - Panes in the theme's colors. With a named theme, panes use its foreground and background wherever a program sets none, so a plain shell prompt matches the bars.
ui.theme-panes = falsekeeps your terminal's colors;ui.pane-background = "terminal"keeps only your terminal's background (#119, #121). - Honest color answers. Programs that ask the terminal for its colors (OSC 10 and 11, which Neovim and omp use to pick a dark or light theme) are told the colors the pane actually shows.
- Notices in a box. Copy results, errors and hints appear in a small bordered box over the panes, and a copy clears the selection.
ui.notice-positionputs it in any corner or the top or bottom middle. - A reworked settings page (Ctrl-a ,). Tabs have icons (
ui.icons: Nerd Font glyphs or plain Unicode) and settings sit under group headers, with a key footer (#125, #128). A choice opens a list inside the box, and the theme, accent, pane background, icons and notice position previews apply as you scroll (#126). Number, path and list editors move the cursor, and long lists scroll. The Sound tab is now Alerts and holds the notice position.
Changed
ui.accentdefaults totheme, the theme's own accent. Setcyanto keep the old fixed accent.
Upgrading: the protocol is still version 10, so a running v0.6.0 server keeps working with the new client, but the color answers and pane colors come from the server. Run bmux restart to get them: it saves your sessions, starts the new server and restores them. Programs running in panes end; sessions, windows, layouts, directories and agent conversations come back.