Repository navigation
Conversation
tony
force-pushed
the
feat/public-capabilities-20261115
branch
from
November 16, 2026 08:39
0e55e83 to
43b4d84
Compare
tony
force-pushed
the
feat/public-capabilities-20261115
branch
from
November 16, 2026 08:56
43b4d84 to
96ff603
Compare
tony
force-pushed
the
feat/public-capabilities-20261115
branch
from
December 5, 2026 18:10
96ff603 to
446f323
Compare
why: Callers need the daemon's feature requirements before sending a command that depends on them. what: - Resolve public capability reports from the checked connection. - Recheck pinned socket identity without sending a tmux command. - Copy registry entries and exercise both runtime adapters.
why: Callers need a concrete feature check and the lifetime of its result. what: - Document what the report says about the bound tmux release. - Add the runnable example, API export and editor completion.
why: Callers can test feature support before invoking an operation. what: - Add the new Server request under Unreleased.
tony
force-pushed
the
settings-catalog
branch
from
December 6, 2026 15:31
4562d8f to
399b46a
Compare
tony
force-pushed
the
feat/public-capabilities-20261115
branch
from
December 6, 2026 15:31
446f323 to
fac0717
Compare
This branch was successfully deployed
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.
Lua and Neovim callers can inspect named feature requirements and support decisions for the tmux release checked when they connected.
Summary
Server:capabilities()over the shared feature registry.Discovery uses the verified connection generation and sends no tmux command. A changed pinned path returns
stale_generation. Named and default sockets report the original bound release until the runtime observes a change. Connect again to measure the current daemon. Saved reports remain historical after a daemon change or handle close. Editing their nested metadata cannot change command guards or another report.Both runtime adapters use the same core Request operation. Release ordering and command admission continue to use the existing registry and parser. The core gains no runtime dependency.
Test plan
The local outer gate took 69.63 seconds.
This delivers the public discovery prerequisite in #104. Managed Program ownership, completion, final drain and crash recovery remain under #107. Existing lifecycle draft #27 stays separate.
Closes #104. Refs #107.
Selecting tmux
Run
examples/api/capabilities.luawithTMUX_BINset to an absolute path to try a specific tmux release. This checkout uses/usr/bin/tmuxby default. The local rehearsal tested runtime lookup from #179 on tmux 3.3a and 3.8 and verified that an explicitTMUX_BINselected the named executable. Runtime PATH support.