Claude Code 2.1.288 更新:新增选择 API 与多项修复
原标题:2.1.288
AI 摘要
Claude Code 发布 2.1.288 版本更新,新增 mod 选择 API、内置 gh api、Ctrl+C 草稿恢复、MCP OAuth 重新认证提示、/code-review 的 --max-findings 参数、会话查找快捷键及屏幕阅读器模式等能力。同时修复了大量问题,涵盖 API 超时续传、长对话自动压缩、--resume 上下文丢失、结构化输出网关兼容、插件与 MCP 工具调用异常、Bedrock/Mantle 模型回退以及云会话恢复等。整体上这是一次以稳定性修复为主、辅以交互与插件生态增强的常规迭代。
正文节选
- Added `$.ui.selection()` for mods: returns the text you last selected in fullscreen mode and, when the selection lies within one transcript row, that row - Added a built-in `gh api` to cloud sessions whose image has no GitHub CLI, and fixed the built-in sending control characters from file names, jq filters or GitHub errors to the terminal - Added recovery for a prompt cleared with Ctrl+C: pressing Up on the empty prompt brings the draft back, including pasted text and images - Added a re-auth