What changed
Claude Code 2.1.193 shipped on June 25, 2026. A setting widens which shell commands the auto-mode classifier inspects, a new OpenTelemetry log event carries the model’s response text, and convenience features land for bash-mode autocomplete and MCP authentication. A cluster of backgrounding and agent-panel regressions gets cleaned up, alongside improvements to MCP auth helpers and plugin auto-rename.
New features
-
autoMode.classifyAllShellsetting routes all shell commands through the classifierAuto-mode only sent commands matching arbitrary-code-execution patterns through the classifier, so other Bash/PowerShell commands passed without classification. The new
autoMode.classifyAllShellsetting routes all Bash/PowerShell commands through the auto-mode classifier instead. -
Auto-mode denial reasons recorded
When auto-mode denied a command, it was hard to tell why. Denial reasons now appear in the transcript, the denial toast, and
/permissionsrecent denials. -
claude_code.assistant_responseOpenTelemetry log event carrying the model’s response textOpenTelemetry logging could capture user prompts but had no way to record the model’s response text. The new
claude_code.assistant_responselog event contains the model’s response text. It is redacted unlessOTEL_LOG_ASSISTANT_RESPONSES=1; when that var is unset it followsOTEL_LOG_USER_PROMPTS, so deployments that already log prompt content will start receiving response content on upgrade — setOTEL_LOG_ASSISTANT_RESPONSES=0to keep prompts-only. -
Live file path autocomplete in bash mode (
!)Typing file paths in bash mode (
!) had no autocomplete, so paths had to be typed out in full. Bash mode now offers live file path autocomplete as you type. -
Startup notice when MCP servers need authentication
MCP servers needing authentication gave no signal at startup, so the problem surfaced only after a tool call failed. A startup notice now appears when MCP servers need authentication, pointing at
/mcp. -
Automatic memory-pressure reaping for idle background shell commands
Background shell commands held memory even while idle. They are now automatically reaped under memory pressure when idle — disable with
CLAUDE_CODE_DISABLE_BG_SHELL_PRESSURE_REAP=1.
Key improvements
-
Background agents keep working on other tasks
Launching a background agent returned a result that instructed Claude to “end your response,” so Claude stopped instead of continuing other work. The launch result no longer does this — Claude keeps working on other tasks while the agent runs.
-
MCP
headersHelperauth re-runs and reconnects automaticallyWhen the token from an MCP
headersHelperexpired, a tool call could fail with 401/403 without the helper re-running, requiring a manual reconnect. The helper now re-runs and reconnects automatically when a tool call returns 401/403. -
Plugin auto-rename follows marketplace
renamesmapsWhen a marketplace renamed a plugin, your settings kept the old name and broke. Marketplace
renamesmaps are now followed automatically, updating your settings to the new name. -
Improved
/add-dirmessage when the directory is already a working directoryThe guidance shown when re-adding a path that is already a working directory via
/add-dirhas been improved.
Bug fixes
Backgrounding & agent panel
- Backgrounding (←←) spuriously cancelling with “N background tasks would be abandoned” when all running tasks carry over to the new session — fixed.
- Pinned background agents being re-prompted to “Continue from where you left off” after every auto-update — fixed.
- Backgrounding the main turn spawning a phantom “general-purpose (resumed)” subagent that re-ran the main conversation — fixed.
- Agent panel hiding sibling agents when viewing a subagent — fixed.
Login & UI state
/modeland other client-data-gated UI showing stale/empty state immediately after/login— fixed.
Notes
- Deployments logging prompts via OpenTelemetry should review response logging — the
claude_code.assistant_responseevent followsOTEL_LOG_USER_PROMPTSwhenOTEL_LOG_ASSISTANT_RESPONSESis unset. Deployments that already capture prompt content will start receiving response content on upgrade, so setOTEL_LOG_ASSISTANT_RESPONSES=0to keep prompts-only. autoMode.classifyAllShellis opt-in — by default, only arbitrary-code-execution patterns go through the classifier as before. Enable this setting to classify all shell commands.- Idle background shell reaping can be disabled — if automatic memory-pressure reaping of idle background shell commands is unwanted, disable it with
CLAUDE_CODE_DISABLE_BG_SHELL_PRESSURE_REAP=1.