This gist contains a Python notify hook for Codex that posts a Discord message when an agent turn completes.
- Listens for
agent-turn-completenotifications from Codex. - Posts an embed to your Discord webhook.
- Includes thread ID and working directory.
- Filters out subagent threads by default (so you only get top-level task completions).