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

Claude Code v2.1.299 ·

Hooks that can't run in cloud sessions now say why

Hooks that can't run in a cloud session or fail on another machine now return a clear reason, and shell prefix handling for plugin and skill hooks changed

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

Hooks are your own scripts or commands that Claude Code runs at set points, such as before a tool runs. Several things changed in how they are started:

  • A hook that can't run in a cloud session, or in a session without a local disk, now returns the reason unsupported_in_cloud_session instead of a plain failure.
  • A hook that fails while running on another machine returns remote_run_failed.
  • For hooks from plugins and skills, CLAUDE_CODE_SHELL_PREFIX is now worked out only when it is needed. This does not apply to the status line or file suggestion hooks.
  • A PowerShell hook that does not set a shell now shows a notice, once.
Why

When a hook fails in a cloud session, the reason now tells you whether it can't run there at all or failed on the other machine, which makes the problem easier to track down.

See this entry in the whole of v2.1.299 →

Feedback