You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
PluginsArea: what it touches
ImprovementsKind: in v2.1.247,
ImprovementsSection of the release
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.