返回全部动态

Claude Code 2.1.311 更新:新增自托管运行器参数并修复大量缺陷

原标题:2.1.311

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

AI 摘要

Claude Code 发布 2.1.311 版本更新,新增 self-hosted-runner 的 --hold-idle-file 与 --max-hold-min 参数以在宿主报告残留进程时保持空闲会话,并为 Explanatory 输出风格增加提示。该版本集中修复了大量缺陷,包括超长 CLAUDE.md 列表项导致的启动与读写卡顿、MCP 服务器未响应时中断失效、超过 200K token 后因 1M 上下文额度报错停止(现改为压缩对话后继续)、Write/Edit 处理数千行文件时卡顿及子代理 MCP 工具连接、会话记录顺序等问题。

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

正文节选

- Added `--hold-idle-file` and `--max-hold-min` to `self-hosted-runner`, to keep an idle session while your host reports processes it left running - Added a tip for the Explanatory output style, shown when you ask Claude for explanations - Fixed long freezes at startup and after reading or editing files when a CLAUDE.md file holds a very long list item - Fixed interrupting Claude not taking effect until a timeout while an MCP server had not answered a resource read or a skill was still downloadi


发布时间:—
抓取时间:2026-10-27 06:10
来源机构:Anthropic
阅读原文raw.githubusercontent.com