跳到主内容
@wquguru
精选75Claude Code(GitHub Releases)AI 编程与模型

Claude Code v2.1.238:新增 readline 键绑定与插件市场

v2.1.238

原文
发到 X

What's changed

变更内容

  • Added a keybindingFlavor setting: set it to "readline" to make Ctrl+W in the prompt delete back to the previous whitespace, as in Bash; the default ("classic") is unchanged
  • Plugin marketplaces: headersHelper on a url marketplace or a catalog entry runs a command that mints HTTP headers (e.g. a short-lived token) for catalog and same-origin archive fetches
  • A catalog entry's headersHelper runs only when you install or update that plugin, after its command is shown; claude plugin install/update ask [y/N] (or pass -y)
  • Added claude self-hosted-runner --defer-shutdown-max-min <minutes>: on SIGTERM, keep serving attached sessions, park what is left after that many minutes, then exit
  • Added claude self-hosted-runner --proxy-authorization-command / --proxy-authorization-file for egress proxies that require a freshly issued Proxy-Authorization header on every connection
  • Fixed unbounded memory growth in long interactive sessions: subagent tool results are now released once they leave the recent display window
  • Fixed custom, project, and plugin output styles drifting back to the default voice mid-session
  • Fixed CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION=true not keeping prompt suggestions on when your account is near, but not over, its usage limit
  • Fixed worktree-isolation Bash refusals telling you to remove a redirect when the command had none
  • Fixed self-hosted runners occasionally being removed by the server after a single slow or lost poll request, handing their healthy session to another runner
  • Fixed MCP elicitation dialogs showing nothing for URLs longer than 4,096 characters, and permission prompts dropping the "don't ask again" option when the project path didn't fit the terminal width
  • Fixed leftover /tmp/claude-*-cwd files when a Bash command is killed, times out, or is interrupted
  • Fixed held Backspace being ignored on terminals that send Ctrl+H for Backspace when keystrokes arrive in large bursts (slow SSH/mosh links)
  • Fixed text-wrapping in permission prompt diffs: lines containing wide multi-code-point characters (such as emoji) or tabs are no longer clipped
  • Fixed killing a suspended (Ctrl+Z) session sometimes leaving the terminal in bracketed-paste mode with the cursor hidden
  • Fixed stdio MCP servers receiving a server/discover request before initialize, forcing lazy servers to start their backend on every session open
  • Fixed a proxy's refusal of a connection being reported as a generic network error instead of naming the proxy
  • Fixed the /model and /effort cache-miss warning appearing when the prompt cache had already expired
  • Fixed per-task Stop from the Remote Control tasks panel doing nothing on CLI-hosted sessions
  • Fixed remote sessions exiting when a client delivered a user message without a valid role
  • Fixed Remote Control sessions started by claude remote-control inheriting session-scoped environment variables from the launching shell
  • Fixed a Remote Control session whose process crashed staying unavailable until claude remote-control was restarted; it can now be reused when you next message it
  • Fixed Remote Control messages sent from the web or Desktop while Claude is mid-turn disappearing from the transcript after the turn finishes
  • Fixed Remote Control model picks made on a phone or web not updating the model shown in the terminal
  • Fixed Remote Control disconnecting with "login expired" when a brief network hiccup delays renewing your sign-in; it now retries and stays connected
  • Fixed Remote Control reporting a failed reconnect on sign-out; signing out now ends the session with a clear message
  • Fixed ListAgents/SendMessage reporting "Remote Control is not connected" in sessions run by claude remote-control (server mode) or Desktop/IDE hosts; they now list and reach Remote Control peers
  • Fixed ListAgents and SendMessage exposing the idle worker that the agent view pre-warms for your next background session; it now appears only once a task claims it
  • Cross-session messaging: sending to a session on this machine that refuses inbound messages (e.g. crossSessionInbound: "refuse") now reports "refused" to the sender instead of a silent success
  • Cross-session messaging: a session whose inbox drops your messages (rate limit or full queue) now tells your session, instead of the messages vanishing silently
  • Improved startup: bare claude starts sooner on macOS
  • Improved Bash tool permission checking for zsh-specific syntax in shell conditionals
  • Improved Remote Control connection resilience: brief HTTP 403 refusals from a network edge, VPN, or proxy are now tolerated for up to 3 minutes, with the refusing party named when a block persists
  • Improved startup responsiveness: the automatic update check now runs about 10 seconds after launch instead of competing with startup for CPU
  • Updated the bundled claude-api skill for the Managed Agents Aug 19 release: web search/fetch domain settings and memory stores on self-hosted sandboxes
  • Changed Ctrl+L and Cmd+K in fullscreen to always just repaint — the double-press /clear shortcut was removed, and 1-row nvim terminals no longer trigger automatic /clear loops
  • Changed claude mcp list and claude mcp get to show disabled servers as ⊘ Disabled instead of connecting to them for a health check
  • MCP headersHelper in a project .mcp.json, and inline MCP servers in project or --add-dir agent files, now require that folder's trust dialog to have been accepted (also under claude -p)
  • MCP headersHelper from a project .mcp.json, plugin, or agent file runs without inherited credential env vars; user, managed and claude.ai-scope helpers now run from the Claude config dir
  • 新增 keybindingFlavor 设置:将其设为 "readline" 可使提示符中的 Ctrl+W 删除到前一个空白字符,如同 Bash 中的行为;默认值("classic")保持不变
  • 插件市场:在 URL 市场或目录条目上的 headersHelper 运行一个命令,为目录和同源归档获取生成 HTTP 头(例如短期令牌)
  • 目录条目的 headersHelper 仅在你安装或更新该插件时运行,且在其命令显示之后;claude plugin install/update 询问 [y/N](或传递 -y)
  • 新增 claude self-hosted-runner --defer-shutdown-max-min <分钟>:收到 SIGTERM 时,继续服务已附加的会话,在该分钟后暂停剩余部分,然后退出
  • 新增 claude self-hosted-runner --proxy-authorization-command / --proxy-authorization-file,用于需要每次连接都提供新签发的 Proxy-Authorization 头的出口代理
  • 修复长时间交互会话中无界内存增长问题:子代理工具结果在离开最近显示窗口后即被释放
  • 修复自定义、项目和插件输出样式在会话中途漂移回默认语音的问题
  • 修复 CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION=true 在账户接近但未超过使用限制时不保持提示建议开启的问题
  • 修复工作树隔离 Bash 拒绝时,当命令没有重定向却提示你移除重定向的问题
  • 修复自托管运行器偶尔因单个慢速或丢失的轮询请求而被服务器移除,将其健康会话交给另一个运行器的问题
  • 修复 MCP 引导对话框对超过 4096 字符的 URL 不显示任何内容,以及当项目路径超出终端宽度时权限提示丢失“不再询问”选项的问题
  • 修复 Bash 命令被杀死、超时或中断时遗留 /tmp/claude-*-cwd 文件的问题
  • 修复在按键大量到达(慢速 SSH/mosh 链接)时,终端发送 Ctrl+H 作为退格键,导致按住退格键被忽略的问题
  • 修复权限提示差异中的文本换行:包含宽多码点字符(如表情符号)或制表符的行不再被裁剪
  • 修复杀死挂起(Ctrl+Z)会话有时使终端处于括号粘贴模式且光标隐藏的问题
  • 修复 stdio MCP 服务器在 initialize 之前收到 server/discover 请求,迫使懒加载服务器在每次会话打开时启动其后端的问题
  • 修复代理拒绝连接被报告为通用网络错误而非指明代理名称的问题
  • 修复了提示缓存已过期时出现的 /model 和 /effort 缓存未命中警告
  • 修复了在 CLI 托管的会话中,从远程控制任务面板执行按任务停止操作无效的问题
  • 修复了客户端发送无有效角色的用户消息时远程会话退出的问题
  • 修复了由 claude remote-control 启动的远程控制会话继承启动 shell 中会话级环境变量的问题
  • 修复了进程崩溃的远程控制会话在 claude remote-control 重启前一直不可用的问题;现在下次发送消息时可重新使用
  • 修复了 Claude 轮次进行中从 Web 或桌面端发送的远程控制消息在轮次结束后从记录中消失的问题
  • 修复了在手机或 Web 上选择的远程控制模型未更新终端中显示模型的问题
  • 修复了短暂网络波动延迟续签登录时远程控制以“登录已过期”断开的问题;现在会重试并保持连接
  • 修复了注销时远程控制报告重连失败的问题;注销现在以清晰消息结束会话
  • 修复了在 claude remote-control(服务器模式)或桌面/IDE 主机运行的会话中,ListAgents/SendMessage 报告“远程控制未连接”的问题;现在它们能列出并联系远程控制对等端
  • 修复了 ListAgents 和 SendMessage 暴露代理视图为下一个后台会话预热的空闲工作器的问题;现在仅在任务占用时才显示
  • 跨会话消息传递:向本机拒绝入站消息的会话(如 crossSessionInbound: "refuse")发送消息时,现在向发送方报告“已拒绝”,而不是静默成功
  • 跨会话消息传递:收件箱丢弃消息(限流或队列已满)的会话现在会通知您的会话,而不是消息静默消失
  • 改进了启动:macOS 上裸 claude 启动更快
  • 改进了 Bash 工具对 shell 条件中 zsh 特定语法的权限检查
  • 改进了远程控制连接韧性:网络边缘、VPN 或代理的短暂 HTTP 403 拒绝现在可容忍长达 3 分钟,持续阻塞时指明拒绝方
  • 改进了启动响应性:自动更新检查现在在启动后约 10 秒运行,而不是与启动竞争 CPU
  • 更新了捆绑的 claude-api 技能以适配托管代理 8 月 19 日发布:自托管沙箱上的 Web 搜索/抓取域设置和内存存储
  • 在全屏模式下,将Ctrl+L和Cmd+K改为始终仅重绘——移除了双击/清除快捷键,且单行nvim终端不再触发自动/清除循环
  • 将claude mcp list和claude mcp get改为显示禁用服务器为⊘已禁用,而非连接它们进行健康检查
  • 项目.mcp.json中的MCP headersHelper,以及项目或--add-dir代理文件中的内联MCP服务器,现在要求该文件夹的信任对话框已被接受(在claude -p下同样适用)
  • 来自项目.mcp.json、插件或代理文件的MCP headersHelper运行时不再继承凭据环境变量;用户、托管和claude.ai范围辅助程序现在从Claude配置目录运行

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

另一事件,读法相近