Skip to main content

Claude Code v2.1.204: Headless SessionStart Hook Streaming Fix

Claude Code v2.1.204 is a focused maintenance release that fixes hook events not streaming during SessionStart hooks in headless sessions, preventing remote workers from being idle-reaped mid-hook.

July 8, 2026 10 min read By ClaudeWorld

The Claude Code team has released version 2.1.204, a focused maintenance update with a single but important reliability fix for headless sessions. If you run Claude Code in automated or remote environments, this release addresses an issue that could cause workers to be terminated while a hook was still running.

What’s New

Headless SessionStart Hook Streaming Fix

This release fixes hook events not streaming during SessionStart hooks in headless sessions. Previously, this gap in event streaming could cause remote workers to be idle-reaped mid-hook — the worker appeared inactive while the hook was still executing, so it could be shut down before the hook finished. With this fix, hook events stream correctly during SessionStart, keeping remote workers alive throughout hook execution.

This is the only change in v2.1.204, making it a small but worthwhile update for anyone relying on headless sessions, remote workers, or SessionStart hooks in CI/CD and automation pipelines.

How to Update

To update to Claude Code v2.1.204:

  1. Check your current version: claude --version
  2. Update using your preferred method:
    • Package manager: Follow your distribution’s update process
    • Direct download: Visit the release page for platform-specific binaries
  3. If you run headless sessions with SessionStart hooks, restart your remote workers to pick up the fix