Claude Code 2.1.193 更新:增强 Shell 分类、日志与后台任务管理
原标题:2.1.193
AI 摘要
Claude Code 发布 2.1.193 版本更新,新增 autoMode.classifyAllShell 设置以路由所有 Bash/PowerShell 命令通过自动模式分类器,并添加自动模式拒绝原因到转录和界面。更新引入 claude_code.assistant_response OpenTelemetry 日志事件,默认遵循 OTEL_LOG_USER_PROMPTS 设置,可通过环境变量控制。此外修复了多个后台任务和认证相关问题,并改进了 MCP 认证和插件自动重命名功能。
正文节选
- Added `autoMode.classifyAllShell` setting to route all Bash/PowerShell commands through the auto-mode classifier instead of only arbitrary-code-execution patterns - Added auto-mode denial reasons to the transcript, the denial toast, and `/permissions` recent denials - Added `claude_code.assistant_response` OpenTelemetry log event containing the model's response text. Redacted unless `OTEL_LOG_ASSISTANT_RESPONSES=1`; when that var is unset it follows `OTEL_LOG_USER_PROMPTS`, so deployments that