Hook support not working in IDE extension and Codex app

Resolved 💬 4 comments Opened Apr 16, 2026 by Zeoy2020 Closed Apr 16, 2026

What version of the Codex App are you using (From “About Codex” dialog)?

26.409.61251

What subscription do you have?

null

What platform is your computer?

windows

What issue are you seeing?

Although maintainers mentioned that hook support is already implemented for the IDE extension and Codex app, I cannot get it to work. The CLI hooks behave correctly, but the same functionality does not trigger in the IDE extension or Codex app.

What steps can reproduce the bug?

config.toml
[features]
codex_hooks = true

hooks.json
"hooks": {
"PostToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "xxxx'"
}
]
}
]
}

Agent environment:Windows Native
Integrated terminal shell:PowerShell

Actual behavior:
(When using hooks, my scripts will print some logs on txt)
CLI: hook executes as expected.
IDE extension: hook is ignored.
Codex app: hook is ignored.

What is the expected behavior?

Hooks should execute consistently across CLI, IDE extension, and Codex app.

Additional information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗