Proposal to Add a Hook Function for Improved Accessibility
I am visually impaired and operate the terminal app using Apple’s VoiceOver screen reader.
Although Codex is extremely helpful, at present there doesn’t seem to be a way to know when it has finished generating a response. As a result, I periodically copy the terminal output into another text editor and have it read aloud to check for any differences.
Therefore, I would like to request a hook feature that allows arbitrary commands to be executed while a response is being generated and when the generation has completed.
For example, I imagine running afplay /path/to/sound_effects/finished.wav at the moment the response finishes. Allowing arbitrary command execution should benefit users on macOS, Windows, and Linux alike.
Since this proposal appears to involve Codex’s overall design, I have commented on an issue rather than submitting a pull request for the time being. I would appreciate any ideas.
2 Comments
That doesn't sound great, sorry. I am excited to help you improve this and hooks that run when user input is needed or when codex is finished sounds like a good start. Would you like to draft a PR or discuss the design a bit more here before?
This proposal was driven by my personal needs, and I should have forked and customized it myself at this point. Please forget about this topic. I apologize.