Repository navigation
bmux v0.7.3
Pre-releaseFix 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.