Claude Code v2.1.235
英文标题:Claude Code v2.1.235
Claude Code v2.1.235 新增可选的 `spellcheck` 拼写检查设置,可调用系统已安装的 `aspell`、`hunspell` 或 `ispell`,在输入提示词时标记拼写错误。该版本修复了语言服务器重连导致的提示词缓存失效、多行提示词高亮偏移、嵌套 Markdown 列表错位、权限对话框误授权等问题。更新还改善了后台云会话的内存与 CPU 使用效率、权限提示准确性、内置 `grep` 的稳定性以及上下文限制错误提示。对于开发者而言,此版本重点提升了终端交互、Agent 调用、Notebook 编辑和 VSCode 多面板使用场景下的可靠性。
打开原文相关 7.2 · 机会 1
1.3 KB
51.3 KB
中文
更新内容
- 新增可选的
spellcheck设置:使用已安装的aspell、hunspell或ispell,在输入提示词时为拼写错误的单词添加下划线。 - 修复了语言服务器在会话中途断开或重新连接时,整个提示词缓存失效的问题。
- 修复了深度达到 3 层及以上的嵌套 Markdown 列表项对齐错误,并为终端 UI 中换行的列表项添加悬挂缩进。
- 修复了部分多行提示词中,提示词输入高亮(斜杠命令、关键词和提及)出现一个或多个字符偏移的问题。
- 修复了在权限提示的评论字段中按 Shift+Tab 时,会批准编辑并授予会话范围编辑权限,而非关闭该字段的问题。
- 修复了在 Agent 不可用的会话中,Agent 工具仍将通用 Agent 宣传为默认选项的问题:现在若省略
subagent_type,将明确报错并列出可用的 Agent。 - 修复了当无法读取 Notebook 或单元格时,Notebook 单元格删除/替换批准对话框会静默省略现有单元格内容的问题;对话框现在会说明原因。
- 修复了在 Claude 响应期间运行斜杠命令时,显示 HTML 实体而非实际字符的问题。
- 修复了后台自动更新完成后,提示词页脚未显示“已安装更新,请重启”通知的问题。
- 修复了恢复或重新启动进入仍有未完成任务的会话时,展开的任务列表(
ctrl+t)始终以折叠状态启动的问题。 - 改进了
/ultrareview或/autofix-pr等云会话在后台运行时的内存和 CPU 使用:其事件流不再在每次更新时被重复扫描和重新渲染。 - 改进了权限对话框:显示文本和“不再询问”选项现在始终与授权实际覆盖的范围一致;当内容无法完整显示时,不再提供“不再询问”选项。
- 改进了原生 macOS/Linux 构建中嵌入的
grep:病态模式现在会快速失败,而不会耗尽内存;同时,-m N与-A/-C组合使用时将输出正确的上下文。 - 改进了上下文限制错误提示:当自动压缩功能关闭时会明确说明,并引导用户前往
/config重新启用。 - Vim 模式:切换详细记录(
ctrl+o)或关闭面板时,现在会保留 NORMAL 模式和光标位置。 - 对话框:快速连续按下方向键和 Enter 时,现在会选择导航到的选项,而不是此前高亮的选项。
SendMessage现在会在发送前拒绝超过跨会话传递大小限制的消息,而不再静默丢弃。- Remote Control:
claude rc现在会应用与交互式启动相同的企业网关可用性检查。 - [VSCode] 修复了在包含多个 Claude 面板的窗口被恢复或重新加载时,焦点会在已打开的 Claude 标签页之间自行跳转的问题。
English / 原文
Compare
Sorry, something went wrong.
No results found
What's changed
- Added an optional
spellchecksetting that underlines misspelled words in the prompt input as you type, using your installedaspell,hunspell, orispell - Fixed whole-prompt-cache invalidation when a language server disconnected or reconnected mid-session
- Fixed nested markdown list items misaligning at depth 3+ and added a hanging indent to wrapped list items in the terminal UI
- Fixed prompt input highlights (slash commands, keywords, mentions) appearing shifted by one or more characters in some multi-line prompts
- Fixed Shift+Tab inside the permission prompt's comment field approving the edit and granting session-wide edit permission instead of closing the field
- Fixed the Agent tool advertising a general-purpose default in sessions where that agent is unavailable: an omitted
subagent_typethere now gets a clear error listing the available agents - Fixed notebook cell delete/replace approval dialogs silently omitting the existing cell content when the notebook or cell could not be read; the dialog now says why
- Fixed slash commands run while Claude is responding showing HTML entities instead of the actual characters
- Fixed the prompt footer not showing the "Update installed" restart notice after a background auto-update
- Fixed the expanded task list (
ctrl+t) always starting collapsed when resuming or relaunching into a session that still has open tasks - Improved memory and CPU usage while cloud sessions such as
/ultrareviewor/autofix-prrun in the background — their event streams are no longer re-scanned and re-rendered on every update - Improved permission dialogs: display text and "don't ask again" options now always match what a grant would cover, and "don't ask again" is withheld when contents cannot be fully displayed
- Improved the embedded
grepin native macOS/Linux builds: pathological patterns now fail fast instead of exhausting memory, and-m Nwith-A/-Cprints correct context - Improved the context-limit error to say when auto-compact is off and point to
/configto re-enable it - Vim mode: NORMAL mode and cursor position are now preserved when toggling the detailed transcript (ctrl+o) or closing a panel
- Dialogs: arrow keys and Enter pressed in quick succession now select the option you navigated to instead of the previously highlighted one
SendMessagenow refuses messages too large for cross-session delivery up front instead of silently dropping them- Remote Control:
claude rcnow applies the same enterprise-gateway availability check as interactive startup - [VSCode] Fixed focus jumping between open Claude tabs on its own when a window with several Claude panels is restored or reloaded
You can’t perform that action at this time.