release aidev SIG 4/5

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.

PUBLISHED2026-06-25
OBSERVED2026-08-11
AGE1mo
SOURCES1
  • 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

COMMUNITY

No curated reactions recorded for this event. Facts and takes are kept in separate layers — community context is added by hand, never blended into the record above.