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

Claude Code v2.1.307 ·

Background shell tasks can be marked to stop on exit and are hidden from the running list

Background bash tasks can carry stopsOnExit and are left off the running-items list; also a compact-held mode and a cowork tool-output tweak

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

What

A background task is a command Claude Code keeps running while you carry on working. This release adds a stopsOnExit marker for them:

  • Background bash (shell command) tasks, other than monitor tasks, can now be registered with stopsOnExit: true, meaning they end when Claude Code exits.
  • Tasks marked stopsOnExit are skipped when Claude Code builds the list of items still running.

The same findings also note two smaller, separate changes:

  • A new isChatOriginCoworkSession argument changes when tool output display is forced to "omitted", so it is no longer forced that way for cowork chat sessions.
  • A new 'compact-held' mode is handled alongside 'compact' when a prompt is built.

Why

Shell commands left running in the background can now be tied to the life of Claude Code, and they no longer clutter the list of running items you are shown.

See this entry in the whole of v2.1.307 →

Feedback