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 releases Home olderv0.2.119 v0.2.122newer

Claude Code v0.2.120

3 entries read diff v0.2.119 → v0.2.120 Markdown
Find
Pick an entry · j / k steps through
3 entries

Changesopen

Tool Permission Handling Improvements#

Enhanced CLI Tool Filtering

The permission system for CLI tools has been improved with better parsing of allowed and disallowed tool arguments:

  • New comma-separated tool parsing: The --allowed-tools and --disallowed-tools CLI arguments now support comma-separated values for specifying multiple tools in a single argument
Example usage
  # Allow multiple tools with comma separation
  claude-code --allowed-tools "Read,Write,Edit" 
  
  # Disallow specific tools
  claude-code --disallowed-tools "Bash,WebSearch"
  
  # Can still use multiple arguments
  claude-code --allowed-tools Read --allowed-tools Write
  • Improved tool name parsing: Tool names are now properly trimmed of whitespace and empty values are filtered out, making the tool specification more robust

Internal Changes#

Async MCP Client Discovery

  • Converted the MCP (Model Context Protocol) client discovery function from a wrapped promise to a native async function, improving code clarity and maintainability

Stream Import Optimization

  • Consolidated stream imports: Removed redundant stream import and instead imports PassThrough directly from the stream module when needed

Process Import Cleanup

  • Simplified process imports by importing cwd directly from node:process instead of importing the entire process module

Related

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

Technical Details#

The main changes revolve around the tR5 function (previously Sy0) which handles tool permissions:

// New implementation with tool name parsing
function tR5({ allowedToolsCli, disallowedToolsCli, permissionMode }) {
  let parsedAllowed = fc1(allowedToolsCli),    // Parse comma-separated values
      parsedDisallowed = fc1(disallowedToolsCli);
  return Fb0(
    {
      mode: permissionMode,
      alwaysAllowRules: { cliArg: parsedAllowed },
      alwaysDenyRules: { cliArg: parsedDisallowed },
    },
    Db0(),
  );
}

Where fc1 is the new parsing function that:

  1. Handles null/undefined inputs gracefully
  2. Splits comma-separated values
  3. Trims whitespace from each tool name
  4. Filters out empty strings

This enhancement makes it easier to specify multiple tools in scripts and command-line usage without needing to repeat the flag multiple times.

Verbatim
No official entry

Not individually listed upstream

v0.2.120 does not have its own entry in Anthropic’s official changelog, because prerelease builds are often folded into a neighbouring release. Browse the full changelog for the closest official notes. Everything else on this page came out of the bundle instead, which is why the two lists don't match.

System prompt

The system prompt was not captured for this release, so this page cannot say whether it moved.