Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.233 Home All releases olderv2.1.232 v2.1.234newer
Claude Code v2.1.233

Notification hook fires when a permission prompt is left unanswered

Use it now
Useful4 Signal3
Hooks Notable not in their notes

Under SDK or stream-json hosts, a pending permission request triggers your Notification hook after six seconds.

CLAUDE_CODE_DISABLE_PERMISSION_PROMPT_NOTIFY_HOOKS
What

When Claude Code runs behind an SDK or stream-json host and asks that host for tool permission, a 6-second timer now fires your Notification hook with notificationType: "permission_prompt" and the message Claude needs your permission to use <tool>. It only fires if the request is still pending at 6 seconds, so answering promptly produces no notification. Set CLAUDE_CODE_DISABLE_PERMISSION_PROMPT_NOTIFY_HOOKS to turn it off.

Details
  • Covers both regular tool-permission requests and the WebFetch domain-approval request.
  • The timer is cancelled the moment the request resolves or rejects, in both the success and failure paths.
  • Neither the helper nor the environment variable existed in the previous build.
Evidence

` Claude needs your permission to use ${r} `

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.233 →