CloudCodeTree LogoCloudCodeTree
AI NewsTutorialsAbout
CloudCodeTree Logo
CloudCodeTree
  • AI News
  • Tutorials
  • About
← Back to AI News
Claude Code 2.1.191: /rewind Lets You Branch from Before a /clear, Stopped Agents Stay Stopped, 37% Less CPU

Claude Code 2.1.191: /rewind Lets You Branch from Before a /clear, Stopped Agents Stay Stopped, 37% Less CPU

Chris Harper

2 min read

Jun 25, 2026 · 12:05 UTC

AI
Workflow
Claude Code
Best Practices

TL;DR: Claude Code 2.1.191 adds /rewind (resume from before you /cleared), permanently stops background agents when you say stop, and cuts streaming CPU by 37%.

The June 24 patch is more than bug fixes. Three things are actionable right now.

/rewind: Branch from before you /cleared

/clear discards context that's gone forever — until now. /rewind reopens any prior conversation state, including the one just before you ran /clear. Use it to:

  • Restart from a known-good point when a session derails
  • Branch into a different approach without starting over
  • Recover context cleared accidentally mid-task

Think of it as a checkpoint restore: /compact preserves and shrinks, /rewind restores and branches.

Background agents now actually stay stopped

Stopping a background agent from the tasks panel would sometimes let it resurrect and continue running. Fixed: stopping is now permanent. For unattended multi-agent runs, your task panel now reflects actual agent state.

37% less CPU during streaming

The CLI was repainting the terminal on every token. 2.1.191 coalesces updates to a 100ms window, cutting streaming CPU by 37%. Fewer fan-spin moments on laptop-based long sessions.

Other fixes worth knowing

  • Hooks with comma-separated matchers now fire: if you had "Bash,PowerShell" as a hook matcher, it was silently never triggering. Check your .claude/settings.json if you used comma lists in matcher entries.
  • Sandbox network permission persists per session: no re-prompt on every connection to an already-allowed host during a sandboxed run.
  • MCP capability discovery retries transient errors — better stability for flaky MCP servers on slow networks.
  • MCP OAuth headless: CI environments skip the browser-open prompt and go straight to the paste-URL flow.
  • Fixed: /permissions deny approvals now persist on close instead of being silently discarded.

Update with: npm install -g @anthropic-ai/claude-code@latest

Sources: Claude Code changelog — 2.1.191