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 v1.0.38 Home All releases olderv1.0.37 v1.0.39newer
Claude Code v1.0.38

Major Features

Hook System (New)

  • Pre/Post Tool Hooks: Execute custom commands before and after tool operations
  • PreToolUse - Run commands before tools execute (e.g., validation, logging)
  • PostToolUse - Run commands after tools complete (e.g., notifications, cleanup)
  • Stop - Execute commands when Claude stops responding
  • Notification - Trigger commands for system notifications
  • Hook Configuration: Configure hooks with matchers to target specific tools or patterns
  • Support for regex and pipe-separated matchers
  • Hooks can approve/block operations or provide feedback
  • JSON output parsing for structured hook responses
  • 60-second timeout with automatic cancellation

Enhanced Search Tool (Grep)

  • New Grep Tool: Powerful search based on ripgrep with advanced features
  • Multiple output modes: content, files_with_matches, count
  • Context lines support with -A, -B, -C flags
  • Line numbers with -n flag
  • Case-insensitive search with -i flag
  • File type filtering with type parameter
  • Glob pattern support for file filtering
  • Multiline mode: Search across line boundaries with multiline: true
  • Head limit to control output size
  • Optimized for correct permissions and file access
  • Never invokes grep or rg as bash commands directly

See this entry in the whole of v1.0.38 →