{"version":"2.1.336","anchor":"hook-changed-read-denial-message-reworded-a-script-type-hoo","canonical_anchor":"hook-changed-read-denial-message-reworded-a-script-type-hoo","heading":"Message about a hook blocking a read no longer mentions mail","tier":"notice","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/hook-changed-read-denial-message-reworded-a-script-type-hoo","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Message about a hook blocking a read no longer mentions mail\n\nWhen a hook changes a read so it does not run, the message now says \"read\" instead of \"mail read\"\n\n**Unclear.** It is not clear whether users can set up a hook of the \"script\" type themselves or how such a hook is reached.\n\n**What**\n\nA hook is a command or script you set up to run automatically at certain points while Claude Code works. When a hook changes a read so that it does not go ahead, Claude Code now says:\n\n\"A hook changed this read, so it didn't run.\"\n\nBefore, the message said \"mail read\" in place of \"read\".\n\nClaude Code also now handles hooks of a \"script\" type. It waits for them to finish and gives them an empty command line.\n\n**Why**\n\nThe message now fits any read a hook stops, not only reads of mail.\n\n- Area: Hooks\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 0\/5\n- Scope: individual\n- Heads-up: no"}