Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

Cloud device hooks: CLAUDE_CODE_SHELL_PREFIX and writable-root checks now understand Windows paths

Checks on CLAUDE_CODE_SHELL_PREFIX for cloud device hooks now understand Windows paths

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

CLAUDE_CODE_SHELL_PREFIX is an environment variable that puts a command in front of shell commands Claude Code runs. Hooks marked to run on your device for a cloud session are checked before they use it, and those checks now handle Windows paths:

  • Drive paths like C:\..., backslashes, and drive-letter lists of paths are recognised.
  • Drive-relative paths like C:foo and unquoted backslashes are treated as impossible to verify.
  • The check of folders the command may write to now includes Windows folders, and on Windows any folder it cannot place makes it fall back to the cautious choice.

When the check fails, those hooks run without the prefix. Folder comparisons also split on either kind of slash on Windows.

Why

On Windows, the decision about whether your prefix can safely be used for cloud device hooks is now based on correctly read paths, and anything unclear leads to the hooks running without it.

Read from
Names in the bundleCLAUDE_CODE_SHELL_PREFIX

See this entry in the whole of v2.1.281 →

Feedback