← Back to all entries
2026-06-25 💡 Tips 'n' Tricks

Claude Code v2.1.193: Auto-Mode Visibility & Background Shell Cleanup

Claude Code v2.1.193: Auto-Mode Visibility & Background Shell Cleanup — visual for 2026-06-25

💡 autoMode.classifyAllShell and Automatic Memory Reclamation for Background Shells

Claude Code v2.1.193 landed 15 changes, and the two most consequential are both about auto mode. The new autoMode.classifyAllShell setting extends auto mode's command-risk classification to every shell command it runs, not just a pre-defined subset — closing a gap where commands outside the classifier's known list previously fell through to a less scrutinised default path. Separately, background shells now get automatic memory reclamation: long-running or forgotten background processes launched during a session no longer silently accumulate memory until something else notices.

// settings.json
{
  "autoMode": {
    "classifyAllShell": true
  }
}

Why the classification gap mattered

Auto mode's safety model depends on correctly categorising what a command will do before running it unattended. A command that fell outside the classifier's known patterns previously got treated more permissively than it should have — not necessarily unsafe, but inconsistent with the rest of the safety model. Making classification apply universally removes that inconsistency rather than patching a specific exploit.

Turn this on if you run long autonomous sessions

If you use Claude Code for extended unattended runs — overnight test suites, long refactors, background monitoring scripts — both changes in this release are worth adopting immediately: classifyAllShell tightens the safety net, and automatic background-shell cleanup prevents the slow memory creep that used to require a manual restart on very long sessions.

⭐⭐⭐ code.claude.com
Claude Code v2.1.193 auto mode classifyAllShell background shells memory reclamation agent safety

💡 Two Smaller v2.1.193 Wins: Live Bash Path Completion & MCP Auth Startup Notices

The same release adds live file path completion in bash mode — typing a partial path in an inline bash command now surfaces real filesystem matches as you type, rather than requiring a full correct path or a failed command to discover a typo. It also adds a startup notification when an MCP server requires authentication, surfacing the auth requirement immediately when a session begins rather than only when the server is first invoked mid-conversation.

Small changes, real friction removed

Neither of these is a headline feature, but both remove a specific "wait, why didn't that work" moment: path completion cuts down bash-command typos, and the upfront MCP auth notice means you resolve authentication before you're mid-task and blocked, rather than after.

⭐⭐⭐ code.claude.com
Claude Code v2.1.193 bash mode path completion MCP authentication
Source trust ratings ⭐⭐⭐ Official Anthropic  ·  ⭐⭐ Established press  ·  Community / research