# Claude Code 2.1.193: OTel now logs assistant responses where prompt logging is on

> Adds a `claude_code.assistant_response` OpenTelemetry log event carrying the model's response text. It is redacted by default, but when `OTEL_LOG_ASSISTANT_RESPONSES` is unset it follows `OTEL_LOG_USER_PROMPTS` — so any deployment already logging prompt content starts receiving response content on upgrade unless it sets `OTEL_LOG_ASSISTANT_RESPONSES=0`. Also adds an auto-mode setting to classify all shell commands.

| | |
|---|---|
| **Tool** | Claude Code |
| **Version** | 2.1.193 |
| **Kind** | release |
| **Published** | 2026-06-25 |
| **Observed** | 2026-08-11 |
| **Significance** | 4/5 |
| **Breaking** | no |
| **Categories** | security, feature, fix |

## What changed


- New `claude_code.assistant_response` OTel log event with the model's response text; redacted unless `OTEL_LOG_ASSISTANT_RESPONSES=1`; when unset it inherits `OTEL_LOG_USER_PROMPTS` — set `OTEL_LOG_ASSISTANT_RESPONSES=0` to stay prompts-only
- New `autoMode.classifyAllShell` routes all Bash/PowerShell commands through the auto-mode classifier instead of only arbitrary-code-execution patterns
- Auto-mode denial reasons now appear in the transcript, the denial toast, and `/permissions` recent denials
- Live file path autocomplete in bash mode (`!`)
- Startup notice when MCP servers need authentication, pointing at `/mcp`
- Automatic memory-pressure reaping for idle background shell commands; disable with `CLAUDE_CODE_DISABLE_BG_SHELL_PRESSURE_REAP=1`
- Fix: backgrounding the main turn spawning a phantom "general-purpose (resumed)" subagent that re-ran the main conversation
- Fix: backgrounding (←←) spuriously cancelling with "N background tasks would be abandoned" when all tasks carry over
- Fix: pinned background agents re-prompted to "Continue from where you left off" after every auto-update
- Fix: `/model` and other client-data-gated UI showing stale/empty state right after `/login`
- Fix: agent panel hiding sibling agents when viewing a subagent
- Improved: MCP `headersHelper` re-runs and reconnects automatically on a 401/403 tool call; plugin auto-rename follows marketplace `renames` maps


## Sources

- [changelog_md](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md) — retrieved 2026-08-11

## Community

_No curated reactions recorded. Facts and community takes are kept in separate layers
and never blended._

---
Canonical: https://changelogs.info/claude-code/2-1-193
Entity: https://changelogs.info/claude-code
Event ID: `evt_2026-06-25_claude-code_2-1-193`
Licence: event synthesis © changelogs.info, CC BY 4.0. Linked sources belong to their vendors.
