Support native PowerShell PreToolUse hooks (not just Bash-wrapped pwsh/powershell commands)

Resolved 💬 3 comments Opened Mar 27, 2026 by zhexulong Closed Mar 27, 2026

What variant of Codex are you using?

CLI

What feature would you like to see?

Please expose a native PowerShell tool target in Codex PreToolUse hooks so hook/plugin authors can block dangerous PowerShell commands directly, instead of only handling pwsh -Command ... when it is routed through Bash.

Additional information

_No response_

View original on GitHub ↗

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