Claude Code v2.1.294: Instruction-Style prompt and agent Hooks Now Block What They Should
Claude Code v2.1.294 fixes prompt and agent hooks written as instructions allowing what they should block, and improves how instruction-style prompt hooks on Stop and SubagentStop are judged.
Claude Code v2.1.294 is a small release with two changelog entries, both about prompt and agent hooks that are written as instructions.
What’s New
- Blocking hooks: Fixed
promptandagenthooks written as instructions (such as “Block commands that…”) allowing what they should block. - Stop and SubagentStop hooks: Improved how
prompthooks on Stop and SubagentStop written as instructions (such as “Carry on if the build is broken”) are judged, so Claude is less likely to stop early.
How to Update
- Check your installed version:
claude --version - Update in place:
claude update - If you rely on
promptoragenthooks written as instructions to block commands, review their behavior after updating, since this release fixes cases where they allowed what they should block.