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

Configuration

New hook configuration example:

// Configure hooks in settings
{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "file_edit|str_replace",
        "hooks": [
          {
            "type": "command",
            "command": "echo 'About to edit a file' | tee -a /tmp/claude.log"
          }
        ]
      }
    ]
  }
}

New Grep tool usage examples:

# Search for function definitions
claude> Search for "function.*Error" in all JavaScript files

# Multiline search for struct definitions
claude> Search for struct definitions with a "field" property using multiline mode

# Count occurrences with context
claude> Count how many times "TODO" appears in the codebase with 2 lines of context

See this entry in the whole of v1.0.38 →