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.247 Home All releases olderv2.1.246 v2.1.248newer
Claude Code v2.1.247

Replacing a cached plugin no longer leaves a half-deleted directory

You'll notice
Useful3 Signal1
Plugins

Reinstalling a plugin over a cached copy can no longer leave you with a half-deleted directory.

What

Installing over a cached plugin now renames the old copy aside first and deletes it only after the new content is in place, restoring the old directory if the move fails. A broken install can no longer leave you with nothing.

Details
  • Temporary directories are siblings prefixed .claude-plugin-temp-.
  • If the rename cannot be done at all, the code deletes in place as before and logs that choice at debug level.
Evidence

removing it in place instead

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.247 →