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.236 Home All releases olderv2.1.235 v2.1.237newer
Claude Code v2.1.236

A wire format for forwarding your local hooks into a cloud session, with nothing sending it

Not switched on
Useful2 Signal5
Cloud Sessions Notable not in their notes

Your local hooks could be registered with a cloud session, but nothing sends the messages yet.

A full message format for leasing local hooks to a cloud worker, including digest-pinned in-container templates, exists with no sender.

--cloud
What

Message shapes are defined for a claude --cloud client to register its local hooks with the cloud worker: an inventory of hooks by opaque id (command or HTTP, matcher, timeout, which settings file it came from), a list of vetted in-container templates pinned by sha256 digest, and a lease in seconds, answered with the project directory, working directory, lease expiry, accepted and ignored counts, and whether it replaced a previous owner.

Details
  • Hooks deliberately not forwarded are counted by reason: after-edit hooks, unsupported kinds, plugin-supplied, managed, and other.
  • The hook callback request gained optional issue and deadline timestamps so a device can drop a stale or replayed delivery.
  • Nothing in the build constructs the registration message or reads the new timestamps; the only references are the definitions themselves and the list of commands a client may send. This is a protocol landed ahead of its implementation, so there is no flag to turn on.
Evidence

register_device_hooks

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.236 →