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.1.219 Home All releases olderv2.1.218 v2.1.220newer
Claude Code v2.1.219

Dangerous-delete detection uses a prebuilt regex

You'll notice
Useful2 Signal0
Permissions

Permission checks for risky delete commands do slightly less work each time, with identical results.

What

The PowerShell and cmd delete-command matcher no longer rebuilds its alternation on every call.

Details
  • The matcher takes a second parameter and tests against a module-level regex compiled once from the same rm|remove-item|ri|del|erase alternation
  • Matching behaviour is unchanged; this removes per-invocation work on a hot permission path
Evidence

rm|remove-item|ri|del|erase

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.219 →