---
title: "Claude Code v2.1.204 Released: Fixes Hook Event Streaming Issue in Headless Sessions"
source: "Claude Code：GitHub Releases（RSS）"
source_tier: "t1_5"
url: "https://github.com/anthropics/claude-code/releases/tag/v2.1.204"
permalink: "https://feed.astralor.com/items/itm_7bc56d98029478e3a82ce6ab"
published: "2026-07-08T00:27:50.000Z"
score: 77
channel: "tech"
tags: ["Anthropic","Claude Code","Headless Session","Hook Events","Stability Fixes"]
---

# Claude Code v2.1.204 Released: Fixes Hook Event Streaming Issue in Headless Sessions

## AI commentary

> This fix addresses one of the most frustrating scenarios in automation workflows: remote workers getting abruptly reaped during long hooks. If you run CI or background tasks with Claude Code, updating immediately will save hours of debugging. Headless session users benefit the most—highly recommended.

## At a glance

Claude Code v2.1.204 fixes a bug where SessionStart hook events were not streaming in headless sessions, causing remote workers to be idle-reaped mid-hook. This update improves reliability for automated CI/CD and long-running tasks. All users of headless mode are recommended to upgrade.

## Key points

- Fixes non-streaming of SessionStart hook events in headless sessions
- Prevents remote workers from being incorrectly idle-reaped during hooks
- Improves stability of Claude Code in automation scenarios

## Full text

What's changed Fixed hook events not streaming during SessionStart hooks in headless sessions, which could cause remote workers to be idle-reaped mid-hook

---

Verify against the original before citing; curated by Astral Feed: https://feed.astralor.com/items/itm_7bc56d98029478e3a82ce6ab
