Repository navigation
[codex] Add menu bar app and Codex hook trust setup - #1
Merged
Merged
Conversation
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.
Summary
Adds the experimental macOS menu bar helper and updates the core setup flow for newer Codex hook behavior. The branch now covers both the optional UI and the reliability fixes we found while testing against the updated Codex desktop app.
What changed
macos/MenuBarAppfor daemon/state visibility and common actions.install_hooks.py --trust-hookswriteshooks.statetrusted hashes into~/.codex/config.toml.codex_hooks = truetohooks = truewhile noting the older flag name.User impact
macOS users can optionally run a small status bar helper without replacing the Python daemon. Newer Codex installs also get a setup path that avoids the confusing case where
hooks.jsonlooks valid but hooks never execute because they have not been trusted.Notes
The menu bar app remains experimental. The generated
.appbundle is not committed, the app is unsigned, and it expects the local project checkout and.venvto remain available.Validation
macos/MenuBarApp/Scripts/package-app.venv/bin/python -m pytest(27 passed).venv/bin/python -B -m py_compile codex_moonside/*.py install_hooks.py