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.239 ·

Idle detection can dump its state for debugging

Set an environment variable to dump running tasks and teammate state whenever a session is judged idle.

Use it now Notable Internal Changes
JSON All of v2.1.239
Use it nowTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
DiagnosticsArea: what it touches
Internal ChangesKind: in v2.1.239,
What probably matters to youSection of the release
What

When Claude Code decides a session is idle, it can print the running task list plus teammate and notification state. Off unless you set CLAUDE_CODE_BG_TASKS_REPORT_RUNNING.

Evidence

CLAUDE_CODE_BG_TASKS_REPORT_RUNNING

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

Read from
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up CLAUDE_CODE_BG_TASKS_REPORT_RUNNING, on Claude Code changelog. * Fixed remote and headless sessions reporting "waiting for your input" while background agents were still running (set `CLAUDE_CODE_BG_TASKS_REPORT_RUNNING=0` to restore the old behavior) changelog see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up CLAUDE_CODE_BG_TASKS_REPORT_RUNNING, on Claude Code changelog.

See this entry in the whole of v2.1.239 →

Feedback