When claude rm is blocked, it names the session holding the directory and how to stop it.
What's wrong with this entry?
When removal fails because a directory is still in use, the error now names the cause and tells you to exit the Claude Code session using it, or run claude stop <id> if it is a background session, then retry.
- Adds an "occupied" failure case alongside the existing removal errors, with the blocking session shown above the hint.
exit the Claude Code session using that directory (shown above; or 'claude stop <id>' if it is a background session), then run 'claude rm
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.248
A /stop command for background sessions
Both mention stop
-
v2.1.238
stop_taskcontrol request stops a single taskBoth mention stop
-
v2.1.246
New initialize option
perTaskStopAffordancechanges what interrupt killsBoth mention stop