精选85Claude Code(GitHub Releases)AI 编程与模型
Claude Code v2.1.233:弃用部分模型任务工具,修复凭据泄漏
v2.1.233
推荐理由
Claude Code 重度用户注意:v2.1.233 弃用了部分模型上的任务工具(Task/Todo),需在升级前评估工作流;同时修复了 Windows 凭据泄漏漏洞,建议尽快升级。
What's changed
变更内容
- Added GitLab merge request URL support to the --worktree flag and the claude agents view (where MRs display as !N)
- Added an opt-in forward_user_identity apps gateway setting on Anthropic upstreams that sends the signed-in user's identity as headers, so a proxy behind the gateway can attribute spend per user
- Added opt-in memory cgroup support for Bash tool commands on Linux (CLAUDE_CODE_TOOL_MEMORY_LIMIT) so a runaway build can't stall the session
- Added CLAUDE_CODE_WEBFETCH_CACHE_TTL_MS environment variable to configure the WebFetch session URL cache TTL (default unchanged: 15 minutes)
- Fixed cloud sessions occasionally being marked as lost when the environment shut down while Claude was waiting on a permission prompt
- Fixed MCP v2 connections endlessly reopening the subscriptions/listen stream against servers that terminate long-held streams on a fixed timeout (e.g. serverless hosts)
- Fixed Notification hooks not firing for permission prompts when running under Claude Desktop or VS Code
- Fixed idle sessions on Linux sometimes keeping one CPU core at 100% when sandboxing is enabled
- Fixed bundled skill aliases like /checkup and /review reporting "Unknown command" in -p mode or with plugins/MCP loaded when a user or project skill shadows the bundled skill
- Fixed skill/command argument substitution to prevent argument values from being re-expanded as template markers
- Fixed Windows paths spelled with the NT \??\ device prefix bypassing UNC path validation, closing an NTLM credential-leak vector
- Improved claude self-hosted-runner session start time: the session branch is now created without rewriting the working tree, and two server round trips no longer block the agent's launch
- Improved apps gateway error forwarding: 400/413 errors from Vertex, Foundry, and Claude Platform on AWS upstreams now carry the upstream's own message; fixes a bug with auto-compact on apps gateway
- Improved claude plugin validate to check a bare .claude/skills directory, reporting SKILL.md files whose frontmatter fails to parse
- Improved screen reader mode: the /effort selector renders as a numbered list with a typed-number prompt, and hint and dialog text is no longer clipped
- Improved print mode diagnostics: a [claude-code:unrecognized_model] line is written to stderr when a request goes out for a model ID Claude Code doesn't recognize; map it with modelOverrides to silence
- Changed the GitHub app setup tip to no longer appear in repositories whose origin remote is on gitlab.com or bitbucket.org; the enterprise marketplace tip now covers non-GitHub internal git hosts
- Todo/task-tracking tools (TaskCreate/Get/Update/List, TodoWrite) are no longer available on Opus 4.8, Sonnet 5, Fable 5, Mythos 5, and newer models; set CLAUDE_CODE_ENABLE_TODO_TOOLS=1 to bring them back
- Windows: fixed auto mode repeatedly stopping for manual approval on ordinary cd <dir> && <command> > file Bash commands (a 2.1.232 regression)
- Reverted the 2.1.232 Bash permission changes for Cygwin-style symlinks on Windows and for input redirections (< file); a narrower version will return in a later release
- 为 --worktree 标志和 claude agents 视图添加了 GitLab 合并请求 URL 支持(MR 显示为 !N)
- 在 Anthropic 上游添加了可选的 forward_user_identity 应用网关设置,该设置将已登录用户的身份作为标头发送,以便网关后面的代理可以按用户归因支出
- 在 Linux 上为 Bash 工具命令添加了可选的内存 cgroup 支持(CLAUDE_CODE_TOOL_MEMORY_LIMIT),以防止失控的构建阻塞会话
- 添加了 CLAUDE_CODE_WEBFETCH_CACHE_TTL_MS 环境变量,用于配置 WebFetch 会话 URL 缓存 TTL(默认值不变:15 分钟)
- 修复了当 Claude 等待权限提示时环境关闭,导致云会话偶尔被标记为丢失的问题
- 修复了 MCP v2 连接对在固定超时后终止长时间持有流的服务器(例如无服务器主机)无限重新打开 subscriptions/listen 流的问题
- 修复了在 Claude Desktop 或 VS Code 下运行时,权限提示的通知钩子不触发的问题
- 修复了 Linux 上启用沙箱时,空闲会话有时导致一个 CPU 核心保持 100% 使用率的问题
- 修复了当用户或项目技能遮蔽内置技能时,/checkup 和 /review 等内置技能别名在 -p 模式或加载插件/MCP 时报告“未知命令”的问题
- 修复了技能/命令参数替换,防止参数值被重新展开为模板标记
- 修复了使用 NT \\??\\ 设备前缀的 Windows 路径绕过 UNC 路径验证的问题,封堵了 NTLM 凭据泄露向量
- 改进了 claude self-hosted-runner 会话启动时间:现在创建会话分支时无需重写工作树,并且两个服务器往返不再阻塞代理启动
- 改进了应用网关错误转发:来自 Vertex、Foundry 和 Claude Platform on AWS 上游的 400/413 错误现在携带上游自身的消息;修复了应用网关上的自动压缩错误
- 改进了 claude plugin validate,使其检查裸的 .claude/skills 目录,并报告 frontmatter 解析失败的 SKILL.md 文件
- 改进了屏幕阅读器模式:/effort 选择器呈现为带编号列表和输入数字提示,提示和对话框文本不再被裁剪
- 改进了打印模式诊断:当请求发送到 Claude Code 无法识别的模型 ID 时,会向 stderr 写入 [claude-code:unrecognized_model] 行;使用 modelOverrides 映射以消除该消息
- 更改了 GitHub 应用设置提示,使其不再出现在源远程位于 gitlab.com 或 bitbucket.org 的仓库中;企业市场提示现在涵盖非 GitHub 内部 git 主机。
- 待办/任务跟踪工具(TaskCreate/Get/Update/List、TodoWrite)在 Opus 4.8、Sonnet 5、Fable 5、Mythos 5 及更新模型上不再可用;设置 CLAUDE_CODE_ENABLE_TODO_TOOLS=1 可恢复它们。
- Windows:修复了自动模式在普通 cd <dir> && <command> > file Bash 命令上反复停止以进行手动批准的问题(2.1.232 回归)。
- 撤销了 2.1.232 中针对 Windows 上 Cygwin 风格符号链接和输入重定向(< file)的 Bash 权限更改;更窄范围的版本将在后续版本中回归。
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力