Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.119 Home All releases olderv2.1.118 v2.1.120newer
Claude Code v2.1.119

CLI Commands for Background Session Management

What

A suite of new top-level CLI commands for managing background sessions without entering the interactive fleet view.

Usage
claude attach <id>    # Attach to a running background session
claude kill <id>      # Stop a background session
claude logs <id>      # Show recent output from a session
claude rm <id>        # Remove worktree and job state for a stopped session
claude respawn <id>   # Respawn an exited session
Details
  • After backgrounding a session, these commands are displayed as a quick reference
  • claude kill retains the worktree (if used); prints "worktree retained at <path>" with a hint to use claude rm <id> for full cleanup
  • claude rm removes both the worktree and job state files
  • claude respawn --all respawns all exited sessions at once
Evidence

Session management commands (search for "claude attach <id>", "claude kill <id>", "claude rm <id>", "claude logs <id>")

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

See this entry in the whole of v2.1.119 →