Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.242 Home All releases olderv2.1.241 v2.1.243newer
Claude Code v2.1.242

Hooks can opt in or out of running for cloud sessions, per entry

Use it now
Useful3 Signal3
Hooks Notable

Each hook can carry a cloud field choosing whether cloud sessions may run it.

cloud
What

Each hook entry in settings can now carry a cloud field. device offers that hook to a cloud session even when its script lives somewhere the session could write to or cannot be pinned to fixed contents; skip never offers it. Leaving it out keeps the default, where only pinned, unwritable command hooks are offered. An unrecognised value is read as skip.

Details
  • The setting applies only to that one hook entry in that one settings scope, not to hooks generally.
  • The message that forwards a hook to a cloud session now carries a matching author_opt_in flag recording that the hook was explicitly opted in.
  • The description of pinning changed: the machine re-verifies the script's bytes before every run, rather than capturing them once.
  • Forwarding as a whole still depends on a server-side feature flag and on policy; when the flag is off, the reason reported is hook_forwarding_disabled: flag_off.
Evidence

'skip': never offer it to cloud sessions.

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.

See this entry in the whole of v2.1.242 →