Repository navigation
Expose the option and hook definitions from tmux 3.8 - #191
Merged
Merged
Conversation
tony
force-pushed
the
feat-109-110-option-hook-catalog
branch
from
December 5, 2026 10:34
21cf0a5 to
42ba50b
Compare
tony
marked this pull request as ready for review
December 5, 2026 10:42
tony
force-pushed
the
feat-109-110-option-hook-catalog
branch
from
December 5, 2026 11:20
42ba50b to
58f382b
Compare
why: Options and hooks come from the same upstream table. A shared generator gives both inventories a verifiable release and avoids manually copying their bounds or scopes. what: Read the checksummed tmux 3.8 option table and header. Generate the option and hook definitions and verify the input and output with small parser fixtures.
why: Callers lacked a typed inventory of built-in options and hooks, including names, scopes, types and valid values. Both inventories come from the same tmux release. what: Generate one packaged catalog from the pinned tmux 3.8 source and expose immutable definitions through OptionCatalog. Keep catalog metadata separate from live option values and hooks present on a particular server.
why: Readers need to find the change in the unreleased notes. what: OptionCatalog exposes the built-in option and hook definitions from tmux 3.8, including option types, ranges, choices and scopes.
tony
force-pushed
the
feat-109-110-option-hook-catalog
branch
from
December 5, 2026 11:57
58f382b to
7b782d7
Compare
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.
Closes #109
Closes #110
What changed, and why:
Callers lacked a typed inventory of built-in options and hooks, including names, scopes, types and valid values. Both inventories come from the same tmux release. Generate one packaged catalog from the pinned tmux 3.8 source and expose immutable definitions through OptionCatalog. Keep catalog metadata separate from live option values and hooks present on a particular server.
Checks run:
Tool use:
Codex traced the caller and owner, checked the previous behavior and ran the Linux tests.