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.0.42 Home All releases olderv2.0.41 v2.0.43newer
Claude Code v2.0.42

Hook Matching Logic

What: Hook matching now considers both matcher name and hook event when finding applicable hooks.

Details:

  • Function Hr2() at line 472167 updated to match hooks by matcher name first, then by hook criteria
  • Supports empty matcher string for wildcard matching
  • Returns full hook entry (not just onMatch callback) for more context
  • Evidence: Hr2() at line 472167-472185

See this entry in the whole of v2.0.42 →