add `elapsed-ms` to `notify` payload
Resolved 💬 1 comment Opened Jan 22, 2026 by your-diary Closed Feb 23, 2026
What feature would you like to see?
There was a PR for it:
But it was closed with this message:
If you would like to propose a new feature, please file or upvote an enhancement request in the issue tracker. We will generally prioritize new features based on community feedback.
So this is it.
---
Background
As per the doc, one can enable desktop notification via notify config key in config.toml.
And Configuration Reference says
(The value of the notify key is a) Command invoked for notifications; receives a JSON payload from Codex.
What I Want
Using the payload, I want to conditionally enable desktop notification only when the task took longer than some threshold (e.g. >= 15s).
But that's impossible because the payload doesn't contain timing information.
Possible Solution
Add elapsed-ms field to the JSON payload.
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗