Add /hooks browser for lifecycle hooks#19882
Draft
abhinav-oai wants to merge 9 commits intodev/abhinav/hooks-config-writefrom
Draft
Add /hooks browser for lifecycle hooks#19882abhinav-oai wants to merge 9 commits intodev/abhinav/hooks-config-writefrom
abhinav-oai wants to merge 9 commits intodev/abhinav/hooks-config-writefrom
Conversation
Bojun-Vvibe
added a commit
to Bojun-Vvibe/oss-contributions
that referenced
this pull request
Apr 27, 2026
…rge-after-nits, BerriAI/litellm#26636 merge-after-nits
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.
Why
This is stacked on #19840.
hooks/listandhooks/config/writemake lifecycle hooks inspectable and writable, but there is not yet a first-class TUI surface for users to see what is installed or manage individual handlers when an event has more than one hook. This adds a/hooksflow that makes those hooks discoverable without collapsing multiple handlers into one row, and keeps the interaction model consistent with the existing skills toggle UI (reference).What
/hooksbrowser in the TUI: an event overview with installed/active counts, followed by a per-event handler page with toggle controls and detail renderinghooks/listso the UI can label plugin/config sources and suppress toggles for admin-managed hooksTest Plan
cargo test -p codex-tui hooks_browser --libcargo test -p codex-hookscargo test -p codex-core-pluginscargo test -p codex-app-server-protocolcargo test -p codex-app-server --test all v2::hooks_list