Codex Attention Notifier: macOS notifications for approval requests #21354
constansino
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I ran into a small but painful Codex UX gap on macOS: turn-complete notifications are useful, but they do not cover every "Codex is waiting for me" moment. The easiest one to miss is a long-running task that reaches an approval prompt.
I put together a small hook-based workaround:
https://github.com/constansino/codex-attention-notifier
What it does:
PermissionRequesthook events.~/.codex/logs/codex-attention-notifier.log.PreToolUsedisabled by default, because Codex currently shows a visible "before tool use" hook record for each matched shell command.Install:
git clone https://github.com/constansino/codex-attention-notifier.git cd codex-attention-notifier python3 install.pyThen restart Codex Desktop or open a new Codex session so the hook config is loaded.
Quick test:
This is not a first-party fix. It is just a practical local workaround built on Codex hooks. In particular, it does not solve the deeper case where a child process is already running and only later blocks on stdin; for that, Codex would need a stable "terminal interaction / waiting for input" attention event.
Related threads I found while looking into this:
Beta Was this translation helpful? Give feedback.
All reactions