Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.287 ·

Hooks in cloud sessions start in an empty folder unless marked to run on your device

In cloud sessions hooks start in an empty folder; mark one "cloud": "device" in your user settings to run it in the project

Use it now Improvements
JSON All of v2.1.287
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.287,
What probably matters to youSection of the release

Unclear It is not clear whether this behaviour is switched on for everyone yet.

What

Hooks are commands you configure to run automatically at certain moments. For cloud sessions (sessions running on Anthropic's servers, started with --cloud), Claude Code now says that hooks start in an empty folder rather than in your project. To have a hook run in the project, mark it "cloud": "device" in your user settings.

If your machine does not answer, or is not recognized as a trusted device, Claude Code says it is not running this machine's hooks for the cloud session and points you to claude --cloud. A shorter version of the empty-folder hint also appears next to a hook.

Why

A hook that needs your project files will not find them in a cloud session unless you mark it to run on your own device.

Read from
Names in the bundlecloud
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Interactive mode touched a line naming cloud after this was published. * Background commands in a local session you work in from a terminal, the desktop app, or the VS Code extension have no time limit. In a session that runs unattended, such as a `-p` run or a cloud session, Claude Code stops a background co… interactive-mode see the edit
Confirmed since Anthropic's documentation has since written up cloud, on Claude Code changelog. * Added a built-in `gh api` to cloud sessions whose image has no GitHub CLI, and fixed the built-in sending control characters from file names, jq filters or GitHub errors to the terminal changelog see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear whether this behaviour is switched on for everyone yet.
Anthropic's documentation agreesAnthropic's documentation has since written up cloud, on Claude Code changelog.

See this entry in the whole of v2.1.287 →

Feedback