返回全部动态

Claude Code 2.1.59 发布:新增自动记忆与代码块复制功能

原标题:2.1.59

Claude Code Changelog一手来源产品发布质量 75

AI 摘要

Claude Code 发布 2.1.59 版本更新,新增自动保存上下文到 auto-memory 的功能,并可通过 /memory 命令管理。新增 /copy 命令,在存在代码块时提供交互式选择器,允许用户选择单个代码块或完整回复。改进复合 bash 命令的权限前缀建议,优化多代理会话中的内存使用,并修复了多个并发运行时的 bug,如 MCP OAuth token 刷新竞态条件和配置文件损坏问题。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

- Claude automatically saves useful context to auto-memory. Manage with /memory - Added `/copy` command to show an interactive picker when code blocks are present, allowing selection of individual code blocks or the full response. - Improved "always allow" prefix suggestions for compound bash commands (e.g. `cd /tmp && git fetch && git push`) to compute smarter per-subcommand prefixes instead of treating the whole command as one - Improved ordering of short task lists - Improved memory usage in


发布时间:—
抓取时间:2026-09-07 03:46
来源机构:Anthropic
阅读原文raw.githubusercontent.com