返回全部动态
Claude Code 2.1.10 发布:新增 Setup 钩子与多项改进
原标题:2.1.10
AI 摘要
Claude Code 发布了 2.1.10 版本更新,新增了 Setup 钩子事件,可通过 --init、--init-only 或 --maintenance 命令行标志触发,用于仓库设置和维护操作。此外,还修复了包含 JavaScript 模板字面量的 heredoc 命令导致的崩溃问题,并改进了启动时的按键捕获和文件建议显示。VSCode 插件增加了安装计数显示和安装时的信任警告。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
- Added new `Setup` hook event that can be triggered via `--init`, `--init-only`, or `--maintenance` CLI flags for repository setup and maintenance operations - Added keyboard shortcut 'c' to copy OAuth URL when browser doesn't open automatically during login - Fixed a crash when running bash commands containing heredocs with JavaScript template literals like `${index + 1}` - Improved startup to capture keystrokes typed before the REPL is fully ready - Improved file suggestions to show as remova
发布时间:—
抓取时间:2026-09-07 03:47
来源机构:Anthropic