# Claude Code CLI v2.1.110 发布

- 来源：Claude Code：GitHub Releases（RSS）
- 作者：ashwin-ant
- 发布时间：2026-04-16 06:07
- AIHOT 链接：https://aihot.virxact.com/items/cmo0mwcin01upsli2ivazm27i
- 原文链接：https://github.com/anthropics/claude-code/releases/tag/v2.1.110

## AI 摘要

新增 `/tui` 命令实现全屏无闪烁渲染，Ctrl+O 改为切换详细转录模式，焦点视图由 `/focus` 独立控制。强化插件管理界面，新增 MCP 服务器配置冲突警告，扩展远程控制客户端对多条斜杠命令的支持。修复 30 余项问题，包括 MCP 工具调用挂起、全屏高 CPU 占用、非受信文件名命令注入漏洞等，并优化内存分配与会话管理。

## 正文

What's changed

Added /tui command and tui setting — run /tui fullscreen to switch to flicker-free rendering in the same conversation

Changed Ctrl+O to toggle between normal and verbose transcript only; focus view is now toggled separately with the new /focus command

Added autoScrollEnabled config to disable conversation auto-scroll in fullscreen mode

Added option to show Claude's last response as commented context in the Ctrl+G external editor (enable via /config)

Improved /plugin Installed tab — items needing attention and favorites appear at the top, disabled items are hidden behind a fold, and f favorites the selected item

Improved /doctor to warn when an MCP server is defined in multiple config scopes with different endpoints

--resume/--continue now resurrects unexpired scheduled tasks

/autocompact, /context, /exit, and /reload-plugins now work from Remote Control (mobile/web) clients

Write tool now informs the model when you edit the proposed content in the IDE diff before accepting

Bash tool now enforces the documented maximum timeout instead of accepting arbitrarily large values

SDK/headless sessions now read TRACEPARENT/TRACESTATE from the environment for distributed trace linking

Session recap is now enabled for users with telemetry disabled (Bedrock, Vertex, Foundry, DISABLE_TELEMETRY). Opt out via /config or CLAUDE_CODE_ENABLE_AWAY_SUMMARY=0.

Fixed MCP tool calls hanging indefinitely when the server connection drops mid-response on SSE/HTTP transports

Fixed non-streaming fallback retries causing multi-minute hangs when the API is unreachable

Fixed session recap, local slash-command output, and other system status lines not appearing in focus mode

Fixed high CPU usage in fullscreen when text is selected while a tool is running

Fixed plugin install not honoring dependencies declared in plugin.json when the marketplace entry omits them; /plugin install now lists auto-installed dependencies

Fixed skills with disable-model-invocation: true failing when invoked via / mid-message

Fixed --resume sometimes showing the first prompt instead of the /rename name for sessions still running or exited uncleanly

Fixed queued messages briefly appearing twice during multi-tool-call turns

Fixed session cleanup not removing the full session directory including subagent transcripts

Fixed dropped keystrokes after the CLI relaunches (e.g. /tui, provider setup wizards)

Fixed garbled startup rendering in macOS Terminal.app and other terminals that don't support synchronized output

Hardened "Open in editor" actions against command injection from untrusted filenames

Fixed PermissionRequest hooks returning updatedInput not being re-checked against permissions.deny rules; setMode:'bypassPermissions' updates now respect disableBypassPermissionsMode

Fixed PreToolUse hook additionalContext being dropped when the tool call fails

Fixed stdio MCP servers that print stray non-JSON lines to stdout being disconnected on the first stray line (regression in 2.1.105)

Fixed headless/SDK session auto-title firing an extra Haiku request when CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC or CLAUDE_CODE_DISABLE_TERMINAL_TITLE is set

Fixed potential excessive memory allocation when piped (non-TTY) Ink output contains a single very wide line

Fixed /skills menu not scrolling when the list overflows the modal in fullscreen mode

Fixed Remote Control sessions showing a generic error instead of prompting for re-login when the session is too old

Fixed Remote Control session renames from claude.ai not persisting the title to the local CLI session
