Repository navigation
Concept: Preview owned terminal programs in Core and Async - #166
Merged
Merged
Conversation
tony
force-pushed
the
concept/owned-terminal-program
branch
from
December 5, 2026 11:12
46c0973 to
a330e85
Compare
why: Callers need one owner for application completion, terminal output, input, and cleanup. what: Share the supervised program owner across Core and Async. Document the bound daemon capability and verify terminal use. Share daemon-loss classification with pane text waits. Pass the sample migration diagnostic as literal data.
why: Readers need to know which tmux release supports the new Core and Async program owner. what: Record launch, input, and completion in the unreleased changelog.
tony
force-pushed
the
concept/owned-terminal-program
branch
from
December 5, 2026 11:46
a330e85 to
ac7e40d
Compare
tony
marked this pull request as ready for review
December 5, 2026 11:50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #122
What changed and why
Core and Async can start a terminal program on a private daemon or a
caller-owned tmux server. The program owner accepts input and resize
requests and lets callers wait independently for the exit code or
signal. It retains a bounded final screen and closes its owned
resources through the block form or explicit close.
Owned programs require tmux 3.7 or newer. The existing MCP capability
report shows program availability alongside the existing tool policy.
The MCP interface for starting, sending input to, and waiting on
arbitrary host programs remains tracked by #122.
The pane text wait from #190 uses the same daemon-loss classifier as
the owned program. The migration example passes its UTF-8 diagnostic as
data so the copied worker reports the expected failure in the C locale.
Checks run
their expected results and the installed consumer passed four tests
and 330 assertions in 21.68 s. With tmux 3.6, one case and 12
assertions confirmed that both Core and Async refused before launch.
They cover a stopped control client, distinct pane and daemon
endings, removal of the last pane on a live server, and preserving
the last complete screen after a failed capture. The focused reruns
passed all 17 cases on tmux 3.3a and 3.8 with zero skips.
3.3a and 32 cases with 214 assertions on tmux 3.8. All cases ran.
and eight installed tests in each cell, with zero skips. The tmux
3.3a cell took 117.76 s and the 3.8 cell took 120.38 s. All 181
documentation pages rendered and passed local link checks.
also failed on the prior merged Ruby source. The normal matrix and
the explicit C-locale installed consumer exercise their own paths.
Tool use
Codex and Sol 6.2 developed and checked the original preview. Codex
replayed the scoped Core and Async work, checked its dependencies with
normal native and installed tests, and verified the documentation.