Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.308 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.305 ·

Shell commands sent from elsewhere will not run in the wrong folder

Shell commands sent to a session for one folder are now refused with an error if the session is working in a different folder

You'll notice Bug Fixes
JSON All of v2.1.305
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SessionsArea: what it touches
Bug FixesKind: in v2.1.305,
Bug FixesSection of the release
What

Bash mode lets you run a shell command directly from the Claude Code prompt. This now also covers shell commands sent from a remote client or from a queue, not only ones you type.

Such a command can now say which folder it was meant for. If that folder is not the one Claude Code is currently working in, Claude Code shows an error message and does not run the command. The command's output can also be marked as pasted text, and it is then escaped differently before it reaches the conversation. Command output is also now saved by a different route.

Why

It stops a command sent from another device or a queue from running in a folder it was not meant for.

See this entry in the whole of v2.1.305 →

Feedback