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

Claude Code v2.1.229:新增远程控制恢复与插件市场命令源,修复多项崩溃

v2.1.229

原文
发到 X

What's changed

变更内容

  • Documented claude remote-control --continue for resuming the most recent Remote Control session
  • Added server-supplied Claude Code hook support for self-hosted runner sessions, matching managed-environment behavior
  • Added SSE keepalive pings to gateway streaming responses during long thinking pauses, preventing idle-timeout disconnects on Vertex and Bedrock upstreams
  • Added plugin marketplace command sources: a local command (e.g. an IDE) prints the plugin directory, which is re-resolved each session and applied without a restart; mode: "link" uses it in place
  • ListAgents now marks disconnected Remote Control sessions as offline and labels your cloud sessions as cloud
  • Fixed long responses partly disappearing while streaming and being printed twice in the terminal
  • Fixed a crash to the error screen (including on --resume of the affected session) when a tool call had a non-string glob, file_path, or command value
  • Fixed a RangeError crash when a progress bar or markdown table rendered in a very narrow terminal window (could also crash claude --continue/--resume at startup)
  • Fixed a crash on Windows when a tool call or message referenced a file by an extended-length (\\?\) or UNC path
  • Fixed auto mode failing on every tool call for users who disable the attribution header via CLAUDE_CODE_ATTRIBUTION_HEADER (direct Anthropic API connections)
  • Fixed /model rejecting Sonnet/Opus 1M for claude.ai subscribers using a custom ANTHROPIC_BASE_URL gateway
  • Fixed MCP OAuth with strict authorization servers by using 127.0.0.1 instead of localhost in the redirect URI
  • Fixed Remote Control clients showing a stuck working spinner after a slash command typed in the laptop terminal
  • Fixed the Claude Code Review workflow generated by /install-github-app completing without posting its review on the pull request
  • Fixed multi-second UI stalls after editing a file with thousands of IDE diagnostics while the IDE extension is connected
  • Fixed one-shot claude plugin commands leaving a stray liveness file that could prevent cleanup of outdated plugin versions
  • Fixed dynamic workflows inside CPU-limited containers using the host machine's core count instead of the container's CPU limit
  • Fixed a file-watcher handle leak after atomic file replacements, and an uncaught error on Windows when the scheduled-tasks watcher failed on a network or virtual filesystem
  • Fixed SDK and --input-format stream-json sessions getting a 400 API error when a whitespace-only message was submitted
  • Fixed conversations whose messages alone exceed the API's 32 MB request limit retrying compaction when no images or documents can be stripped; they now fail once with a clear message
  • Fixed OpenTelemetry export from Claude Desktop sessions being rejected by the Desktop-managed gateway when that gateway is also the telemetry endpoint
  • Fixed self-hosted runner and other remote sessions exiting at startup when managed-mcp.json is deployed and the server delivers MCP servers; those servers are now skipped with a warning
  • Fixed self-hosted runner repository preparation hanging on a Git Credential Manager prompt; git now fails fast when credentials are missing
  • Improved workflow fan-outs to stagger same-prefix sibling agents so subsequent agents read the cached prompt prefix instead of re-paying it (CLAUDE_CODE_WORKFLOW_PREFIX_STAGGER_MS=0 disables)
  • Improved "prompt is too long" errors to explain why automatic compaction could not recover instead of only suggesting /compact
  • Improved sandbox: IPv6 literals in network domain lists are now bracketed ([::1]:443), and ambiguous spellings are enforced fail-closed and flagged by /doctor
  • Updated /login to repeat the CLAUDE_CODE_OAUTH_TOKEN override warning after a successful login
  • Changed /commit-push-pr so git/gh commands with dangerous flags (--force, --amend, --no-verify, etc.) are no longer auto-approved
  • Changed self-hosted runner Windows startup to require an explicit --base-dir; there is no default checkout directory on Windows
  • [VSCode] "Report a problem" and /bug now open the built-in feedback dialog instead of a retired survey link
  • [VSCode] Made the /btw side-question panel resizable by dragging its boundary, in both side-docked and stacked layouts
  • [VSCode] Added session groups in the sidebar — right-click to create, rename, or delete; Cmd/Ctrl- or Shift-click to move several sessions at once
  • 记录了 claude remote-control --continue 用于恢复最近的远程控制会话
  • 为自托管运行器会话添加了服务器提供的 Claude Code 钩子支持,与托管环境行为一致
  • 在长时间思考暂停期间,向网关流式响应添加了 SSE 保持连接 ping,防止 Vertex 和 Bedrock 上游因空闲超时断开连接
  • 添加了插件市场命令源:本地命令(如 IDE)打印插件目录,该目录在每次会话中重新解析并无需重启即可应用;模式:"link" 就地使用它
  • ListAgents 现在将断开的远程控制会话标记为离线,并将您的云会话标记为云
  • 修复了流式传输时长响应部分消失并在终端中打印两次的问题
  • 修复了当工具调用具有非字符串的 glob、file_path 或 command 值时崩溃到错误屏幕(包括在 --resume 受影响会话时)的问题
  • 修复了在非常窄的终端窗口中渲染进度条或 Markdown 表格时出现 RangeError 崩溃(也可能在启动时导致 claude --continue/--resume 崩溃)的问题
  • 修复了在 Windows 上工具调用或消息通过扩展长度(\\?\) 或 UNC 路径引用文件时崩溃的问题
  • 修复了通过 CLAUDE_CODE_ATTRIBUTION_HEADER 禁用归属标头的用户(直接 Anthropic API 连接)在每次工具调用时自动模式失败的问题
  • 修复了使用自定义 ANTHROPIC_BASE_URL 网关的 claude.ai 订阅者 /model 拒绝 Sonnet/Opus 1M 的问题
  • 修复了 MCP OAuth 与严格授权服务器的问题,在重定向 URI 中使用 127.0.0.1 而不是 localhost
  • 修复了在笔记本电脑终端中键入斜杠命令后,远程控制客户端显示卡住的旋转指示器的问题
  • 修复了由 /install-github-app 生成的 Claude Code Review 工作流完成但未在拉取请求上发布其评论的问题
  • 修复了 IDE 扩展连接时,编辑包含数千个 IDE 诊断的文件后出现数秒 UI 停顿的问题
  • 修复了一次性 claude 插件命令留下杂散存活文件,可能阻止清理过时插件版本的问题
  • 修复了 CPU 受限容器内的动态工作流使用主机机器的核心数而不是容器的 CPU 限制的问题
  • 修复了原子文件替换后文件监视器句柄泄漏,以及 Windows 上计划任务监视器在网络或虚拟文件系统上失败时未捕获错误的问题
  • 修复了 SDK 和 --input-format stream-json 会话在提交仅空白消息时收到 400 API 错误的问题
  • 修复了仅消息内容就超过 API 32 MB 请求限制的对话,在无法剥离图片或文档时重试压缩的问题;现在它们会失败一次并显示清晰的消息
  • 修复了从 Claude Desktop 会话导出的 OpenTelemetry 数据被 Desktop 管理的网关拒绝的问题,当该网关同时也是遥测端点时
  • 修复了自托管运行器和其他远程会话在启动时退出,当部署了 managed-mcp.json 且服务器提供 MCP 服务器时;这些服务器现在会被跳过并发出警告
  • 修复了自托管运行器仓库准备在 Git 凭据管理器提示时挂起的问题;现在当凭据缺失时 git 会快速失败
  • 改进了工作流扇出,使同前缀的兄弟代理错开,以便后续代理读取缓存的提示前缀而不是重新支付(CLAUDE_CODE_WORKFLOW_PREFIX_STAGGER_MS=0 可禁用)
  • 改进了“提示词过长”错误,以解释为什么自动压缩无法恢复,而不是仅建议 /compact
  • 改进了沙箱:网络域列表中的 IPv6 字面量现在用方括号括起来([::1]:443),并且模糊拼写被强制失败关闭并由 /doctor 标记
  • 更新了 /login,在成功登录后重复 CLAUDE_CODE_OAUTH_TOKEN 覆盖警告
  • 更改了 /commit-push-pr,使带有危险标志(--force、--amend、--no-verify 等)的 git/gh 命令不再被自动批准
  • 更改了自托管运行器 Windows 启动,要求显式指定 --base-dir;Windows 上没有默认的检出目录
  • [VSCode] “报告问题”和 /bug 现在打开内置反馈对话框,而不是已停用的调查链接
  • [VSCode] 使 /btw 侧边问题面板可通过拖动其边界调整大小,在侧边停靠和堆叠布局中均适用
  • [VSCode] 在侧边栏中添加了会话组——右键单击可创建、重命名或删除;Cmd/Ctrl-或 Shift-单击可一次移动多个会话

更进一步:量化金融体系

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

进入量化体系 →

相似阅读

另一事件,读法相近