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

Claude Code v2.1.287 ·

Cloud session hook messages and consent dialog reworded

Warnings about local hooks in cloud sessions are shorter, the consent dialog is rewritten, and /hooks explains hooks that are not registered

Group of 3 You'll notice Improvements
JSON All of v2.1.287
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.287,
ImprovementsSection of the release

Unclear When this note is shown was not stated.

What

Hooks are commands that run automatically at certain moments, such as when Claude uses a tool. Claude Code can run your machine's hooks for cloud sessions, sessions running on a remote machine, and several messages about this changed:

  • Consent dialog: the title is now "Run this machine's hooks for cloud sessions?", where it used to be "Let cloud sessions started from this machine run its hooks?". The answers are "Yes, run hooks for cloud sessions", "No, don't run hooks for cloud sessions" and "Not now". It points to /hooks for changing your choice, and warns that hooks run here only while Claude Code stays connected and answers in time, and that a hook which blocks a command here won't block it there.
  • Older copies: the warning for a hook that is an older copy now ends "the cloud will not run it. Update it." instead of "Update it from dotfiles." This case may now be reported the same way as hooks that run on this machine instead.
  • Hooks that would run in the cloud session: this warning is shorter and no longer gives a hook count or a long explanation.
  • Changed hook files: the warning now reads "changed since it was registered for this cloud session, so it won't run. If you edited it, restart claude --cloud. If not, check the file."
  • /hooks: hooks that are not currently registered show "not registered right now; reopen /hooks to check again".

Why

The wording is shorter and spells out that local hooks are best effort for cloud sessions: they may not run, and they cannot block a command in the cloud.

Read from
Names in the bundle/hooks
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.

Confirmed since Anthropic's documentation has since written up /hooks, on Customize sessions in self-hosted environments. The shell commands Claude runs, your [Claude Code hooks](/docs/en/hooks), and stdio MCP servers inherit the session's environment and run as the same user as Claude Code. As a result, they can read credential variables and credential files. self-hosted-environments-configuration see the edit
Added since A small documentation edit on Plugin feature support across platforms touched a line naming /hooks after this was published. When you submit a plugin to the directory, the portal derives the surfaces it supports from these same rules and shows them to you before you submit. The directory lists a [mod](https://code.claude.com/docs/en/plugins/mods/overview), which… plugins/platform-support 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 doubtWhen this note is shown was not stated.
Anthropic's documentation agreesA small documentation edit on Plugin feature support across platforms touched a line naming /hooks after this was published.

See this entry in the whole of v2.1.287 →

Feedback