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 Type Handling

What: Hook execution now handles multiple hook types including callback and function types.

Details:

  • Updated vz() function at line 472202 to handle four hook types: command, prompt, callback, and function
  • Function PBI() at line 473700 executes function-type hooks with proper timeout and abort signal handling
  • Callback hook execution in jBI() at line 473754 simplified with cleaner abort handling
  • Evidence: vz() at line 472202, PBI() at line 473700, jBI() at line 473754

See this entry in the whole of v2.0.42 →