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

Claude Code v2.1.321:默认模型换为 Fable 5.2

v2.1.321

原文
发到 X
推荐理由

涉及 MCP OAuth 凭证泄露和沙箱权限绕过两个高危安全问题,开发者必须升级以阻断潜在的数据窃取风险。同时默认模型切换可能影响现有工作流的成本与延迟预期。

What's changed

变更内容

  • Added Claude Fable 5.2 (claude-fable-5-2), now the default Fable model — 1M context, $8/$40 per Mtok with $0.20/Mtok cache reads
  • Added --settings <file> to claude remote-control, which applies a settings file to every session it starts; if the file changes, no new session starts until you restart claude remote-control
  • Fixed MCP OAuth requests sending secrets such as refresh tokens to another host when a server redirected them
  • Fixed a case where a read-only Bash command ran outside the sandbox without a permission prompt
  • Fixed a case where Bash permission checks judged a file write from the wrong folder and didn't prompt
  • Fixed deny rules and protected-file prompts not applying to the file that a cp or mv into a directory writes
  • Fixed the "Draws from usage credits" note showing after a switch to Fable on Enterprise seats whose plan includes Fable
  • Fixed the fallback model sometimes declining a request or mentioning a stopped response when the first model was blocked before replying
  • Fixed claude mcp login printing a SEP-2352 issuer warning each time you sign in again to a server that Claude Code registered with
  • Fixed NotebookEdit deleting or overwriting a notebook's first cell when the call named no cell, on network paths (UNC shares, WSL folders, /net mounts)
  • Fixed Edit changing the first of several matches, replacing a whole file on an empty old_string, or editing a notebook as text, on network paths (UNC shares, WSL folders, /net mounts)
  • Fixed /config showing Manual as the default permission mode when new sessions start in auto mode; pressing Space on "Auto (default)" now saves Don't Ask, not Plan
  • Windows: Fixed FileChanged hooks stopping for paths set through watchPaths after the first shell command, when the session's working directory had a lowercase drive letter
  • Fixed --plugin-dir . and --plugin-dir ./builtin writing generated type files for Claude Code's built-in plugins into a builtin folder
  • Fixed context usage estimates overcounting tool definitions when exact token counts are unavailable
  • Fixed /compact showing twice in Remote Control on web and mobile
  • Fixed plugin auto-updates and /plugin marketplace updates downloading a plugin again for each worktree or folder of a repository
  • Fixed auto mode losing a background subagent's report that had started a turn when the conversation was compacted before Claude answered it
  • Fixed project skills, commands and agents staying missing after their folder was removed and came back mid-session, such as with git stash, including after entering a worktree
  • Fixed claude -p sometimes telling Claude that background commands get 30 minutes when they are stopped after 10
  • Fixed pkill, pgrep and pidwait in cloud sessions matching the session's own parent processes
  • Fixed Claude in Chrome and computer use server processes staying alive after their parent exits behind a proxy that stalls connections
  • Fixed a large hook output pointing Claude to a file that held another hook's output from the same tool call
  • Fixed apps that embed Claude Code getting their own PreToolUse hook's ask reason instead of another hook's when both asked
  • Fixed a PreToolUse hook's ask being lost when another hook's defer finished first and could not be honored
  • Fixed a rare crash on permission prompts and background tasks
  • Fixed project skills, commands and agents disappearing from the menu in SDK and desktop sessions after Claude entered a worktree
  • Fixed /desktop on macOS saying Claude Desktop is not installed when it is in ~/Applications
  • Fixed OpenTelemetry repository attributes (vcs.*) missing from Claude Desktop sessions that start on a pre-started process
  • Fixed WebFetch passing "No response from model" to Claude as page content when the model reading the page returned no text; the call now fails with a clear error
  • Fixed screen reader mode delaying the prompt at startup when the system clock moved back while Claude Code was starting
  • Fixed a command's panel sometimes not coming back after a dialog closed, leaving no panel or prompt on screen until the next redraw
  • Fixed a project's MCP server being disconnected after the first message in a Claude Desktop Code tab session when the desktop app has an MCP server or extension of the same name
  • Fixed a turn ending with "API Error: EPROTO: The TLS handshake failed" when the connection broke partway through a reply; the partial reply is kept or the request is retried, as before 2.1.302
  • Fixed high memory use in long sessions that repeatedly read single lines from large files
  • Fixed fast mode losing replies, switching models or retrying for minutes when fast serving is rate-limited, overloaded or failing; it now tries standard speed on the same model first
  • Fixed one request carrying far more background agent reports than intended after Claude was stopped while several were waiting
  • Fixed messages from a Claude Desktop Code tab session to your other sessions staying paused after you typed while Claude was still working
  • Fixed claude agents ignoring --permission-mode, --dangerously-skip-permissions, --model, --effort or --agent typed before agents when a flag such as --verbose was also on the line
  • Fixed a case where Remote Control showed as off with "login expired" in the desktop app while its connection was still up, because the app was briefly unable to hand over a sign-in token
  • Fixed a Remote Control message sent with "Queue for later" reaching Claude in the middle of the running turn
  • Fixed the git status given to Claude at session start reading as clean when git status failed; it now reads as unavailable
  • Fixed the git status given to Claude at session start showing the first listed file as staged when its changes were not staged
  • Fixed a hang or out-of-memory crash when a connector in a cloud session lists resources with very long names
  • Fixed Remote Control showing as connected after its connection closed for good while the session's history was still uploading
  • Fixed screen reader mode turning off when you return to a conversation from agent view
  • Fixed screen reader mode y/n questions taking as yes a stray "y" at the end of text typed as the question opened
  • Fixed cloud sessions telling Claude that a host is probably not allowed when it is allowed and the network proxy could not connect to it
  • Fixed an MCP server sometimes showing as connected with no tools after it was reconnected or the session's directory changed while its tools were still loading
  • Fixed Bash commands sometimes running in the wrong folder when Claude sent several at once and an earlier one changed folders
  • Fixed files Claude sends from cloud and Remote Control sessions failing at once when an upload gets an HTTP 507 from a proxy; the upload now gets a second try
  • Fixed new messages not being saved, and claude -p, SDK and VS Code sessions hanging, when memory ran out while the transcript was being read
  • Fixed sign-in, token refresh and logout waiting indefinitely when something on the network accepts the connection but never answers the TLS handshake
  • Fixed a sent file showing under a different name in the Claude apps when its name hid text-direction or control characters; Claude now refuses to send such a file
  • Fixed sub-agent progress summaries running a request to its end after the model replied with a tool call
  • Fixed Bash reads such as grep -r foo "$PWD/src" asking for permission when the same command with the path typed out runs without asking
  • Fixed Claude apps gateway refusing to start when a desktop setting holds a field newer than the gateway, such as a managed MCP server's oauth.omitResource; it now warns and serves it
  • Fixed Bash commands coming back empty for zsh users whose .zshrc sets KSH_OPTION_PRINT
  • 新增 Claude Fable 5.2 (claude-fable-5-2),现已成为默认的 Fable 模型——支持 1M 上下文,每百万 token 收费 $8/$40,缓存读取每百万 token 收费 $0.20
  • 为 claude remote-control 新增 --settings <file> 参数,该参数会将设置文件应用于其启动的每个会话;如果文件发生更改,在重新启动 claude remote-control 之前不会启动新会话
  • 修复了 MCP OAuth 请求在服务器重定向时将刷新令牌等密钥发送到其他主机的问题
  • 修复了只读 Bash 命令在沙箱外运行且未弹出权限提示的情况
  • 修复了 Bash 权限检查因错误文件夹判断文件写入而未弹出提示的情况
  • 修复了拒绝规则和受保护文件提示不适用于 cp 或 mv 到目录所写入的文件的问题
  • 修复了在包含 Fable 的企业版席位切换到 Fable 后仍显示“从使用额度中扣除”备注的问题
  • 修复了在第一个模型被阻止回复前,回退模型有时拒绝请求或提及已停止响应的情况
  • 修复了 claude mcp login 每次重新登录到 Claude Code 已注册的服务器时打印 SEP-2352 发行者警告的问题
  • 修复了在网络路径(UNC 共享、WSL 文件夹、/net 挂载)上,当调用未指定单元格时 NotebookEdit 删除或覆盖笔记本第一个单元格的问题
  • 修复了在网络路径(UNC 共享、WSL 文件夹、/net 挂载)上,Edit 修改多个匹配项中的第一个、用空 old_string 替换整个文件或作为文本编辑笔记本的问题
  • 修复了新会话以自动模式启动时 /config 将手动模式显示为默认权限模式的问题;现在按空格键选择“自动(默认)”将保存“不询问”,而非“计划”
  • Windows:修复了当会话工作目录包含小写驱动器字母时,FileChanged 钩子在第一个 shell 命令之后对通过 watchPaths 设置的路径停止响应的问题
  • 修复了 --plugin-dir . 和 --plugin-dir ./builtin 将 Claude Code 内置插件生成的类型文件写入 builtin 文件夹的问题
  • 修复了在无法获取精确 token 计数时,上下文使用量估算高估工具定义的问题
  • 修复了在 Web 和移动端远程控制中 /compact 显示两次的问题
  • 修复了插件自动更新和 /plugin 市场更新为仓库的每个 worktree 或文件夹重复下载插件的问题
  • 修复了在 Claude 回答之前对话被压缩时,自动模式丢失已在回合开始时启动的后台子代理报告的问题
  • 修复了项目技能、命令和代理在会话中途其文件夹被移除后又恢复(例如使用 git stash)或进入 worktree 后仍显示缺失的问题
  • 修复了 claude -p 有时在后台命令于 10 分钟后停止时,却告知 Claude 这些命令有 30 分钟超时时间的问题
  • 修复了云会话中 pkill、pgrep 和 pidwait 匹配到会话自身父进程的问题
  • 修复了在连接停滞的代理后面,Chrome 中的 Claude 和计算机使用服务器进程在其父进程退出后仍保持存活的问题
  • 修复了大型 hook 输出将 Claude 指向包含来自同一工具调用的另一个 hook 输出的文件的问题
  • 修复了嵌入 Claude Code 的应用程序在两者都被询问时,获取到自身 PreToolUse hook 的 ask 原因而非另一个 hook 的原因的问题
  • 修复了当另一个 hook 的 defer 先完成且无法被遵从时,PreToolUse hook 的 ask 丢失的问题
  • 修复了权限提示和后台任务中罕见的崩溃问题
  • 修复了 Claude 进入 worktree 后,SDK 和桌面会话中的项目技能、命令和代理从菜单中消失的问题
  • 修复了 macOS 上 /desktop 命令在 Claude Desktop 位于 ~/Applications 时错误提示未安装的问题
  • 修复了从预启动进程开始的 Claude Desktop 会话中缺少 OpenTelemetry 仓库属性 (vcs.*) 的问题
  • 修复了 WebFetch 在读取页面的模型未返回文本时,将“无模型响应”作为页面内容传递给 Claude 的问题;现在调用会因清晰错误而失败
  • 修复了屏幕阅读器模式在 Claude Code 启动期间系统时钟回拨时延迟提示的问题
  • 修复了对话框关闭后命令面板有时不重新出现,导致直到下次重绘前屏幕上没有面板或提示的问题
  • 修复了当桌面应用具有同名 MCP 服务器或扩展时,Claude Desktop Code 标签页会话中项目的 MCP 服务器在第一条消息后被断开连接的问题
  • 修复了回复中途连接中断时以“API Error: EPROTO: The TLS handshake failed”结束回合的问题;部分回复会被保留或请求会被重试,行为与 2.1.302 之前一致
  • 修复了长时间会话中反复从大文件读取单行时内存占用过高的问题
  • 修复了快速服务受速率限制、过载或失败时,快速模式丢失回复、切换模型或重试数分钟的问题;现在它会先尝试在同一模型上使用标准速度
  • 修复了当 Claude 被停止而多个后台代理报告正在等待时,单个请求携带远超预期的后台代理报告的问题
  • 修复了从 Claude Desktop Code 标签页会话发送的消息在其他会话中保持暂停状态的问题,该问题出现在用户输入时 Claude 仍在处理的情况下
  • 修复了 claude agents 忽略 --permission-mode、--dangerously-skip-permissions、--model、--effort 或 --agent 参数的问题,这些参数在 --verbose 等标志同时存在时被错误地放置在 agents 之前
  • 修复了桌面应用中 Remote Control 显示为关闭并提示“登录已过期”,而其连接实际上仍保持正常的问题,原因是应用短暂无法移交登录令牌
  • 修复了使用“稍后排队”选项发送的 Remote Control 消息在运行轮次中途到达 Claude 的问题
  • 修复了会话开始时提供给 Claude 的 git status 在 git status 命令失败时仍被读取为干净(clean)的问题;现在会读取为不可用(unavailable)
  • 修复了会话开始时提供给 Claude 的 git status 将第一个列出的文件显示为已暂存(staged),而其更改实际未暂存的问题
  • 修复了云会话中的连接器列出名称极长的资源时导致挂起或内存不足崩溃的问题
  • 修复了 Remote Control 在其连接永久关闭后仍显示为已连接的问题,此时会话历史记录仍在上传中
  • 修复了从代理视图返回对话时屏幕阅读器模式被关闭的问题
  • 修复了屏幕阅读器模式下 y/n 问答将文本末尾随问题打开而输入的 stray "y" 误判为 yes 的问题
  • 修复了云会话在主机允许访问但网络代理无法连接时,错误告知 Claude 该主机可能不被允许的问题
  • 修复了 MCP 服务器在重新连接或会话目录更改而其工具仍在加载时,有时显示为已连接但无工具的问题
  • 修复了当 Claude 同时发送多个 Bash 命令且其中一个改变了工作目录时,后续命令有时在错误文件夹中运行的问题
  • 修复了当上传从代理处获得 HTTP 507 错误时,来自云会话和 Remote Control 会话的文件同时发送失败的问题;现在上传会进行第二次重试
  • 修复了在读取转录记录时内存耗尽导致新消息未保存,以及 claude -p、SDK 和 VS Code 会话挂起的问题
  • 修复了当网络上的某项内容接受连接但从不响应 TLS 握手时,登录、令牌刷新和登出操作无限期等待的问题
  • 修复了发送的文件在 Claude 应用中因文件名隐藏了文本方向或控制字符而显示为不同名称的问题;Claude 现在拒绝发送此类文件
  • 修复了子代理进度摘要在模型回复工具调用后仍继续运行请求直到结束的问题
  • 修复了 Bash 读取问题,例如执行 grep -r foo "$PWD/src" 时会询问权限,而直接输入相同路径的命令则不会询问
  • 修复了 Claude 应用网关在桌面设置中的字段版本高于网关(例如托管 MCP 服务器的 oauth.omitResource)时拒绝启动的问题;现在会发出警告并继续提供服务
  • 修复了 zsh 用户因 .zshrc 中设置了 KSH_OPTION_PRINT 而导致 Bash 命令返回为空的问题

更进一步:量化金融体系

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

进入量化体系 →

关联讨论

同一事件的更多信源

相似阅读

关联信息,但可能不是同一事件