Event ·Official first-hand

Claude Code 发布 v2.1.326:Code Mode 支持多智能体团队并修复多项权限问题

Anthropic 为 Claude Code 推出 v2.1.326 版本,核心变化是在启用 agent teams 的会话中支持开启 Code Mode,已开启该功能的用户后续会话将默认以 Code Mode 启动。新版本还增加了启动时对 --allowedTools、--disallowedTools、--tools 配置中不完整规则的警告,以及 MCP 服务器在管理员添加 managed-mcp.json 后停止加载时的原因说明。 修复方面,此版本解决了多项权限与配置问题:当设置文件无法写入时,/permissions 和 /add-dir 添加的规则会正确提示失败;深层嵌套超过 64 层的设置值会被丢弃并警告,避免崩溃;后台会话在崩溃或重新打开后丢失 LLM gateway 时会在模型请求前停止,不再静默失败。后台服务误杀其他用户复用进程号的问题(如 SSH 登录)也已修复。 可观测性方面新增 OTEL_RESOURCE_INCLUDE_HOST 环境变量(默认关闭),可将 host.name 和 host.id 写入 OpenTelemetry 资源属性,方便企业做日志归因。企业托管场景改动较多,包括 managed settings 中的 subagent 模型现在在 Claude Desktop 的 Code tab 中也会生效并覆盖用户自己的设置。

Current read

Claude Code 这次更新把 agent teams 和 Code Mode 打通了,多智能体跑任务时体验更顺。修的几个坑挺实在:设置文件写不进去之前会假装保存成功,现在会报警;后台会话丢 LLM gateway 的 bug 也不静默了。用托管配置的团队和企业用户值得升级看看。

11 sources38° AI heatLast updated 2026/11/16 22:11:05

Evidence

11 sources
Primary sourceClaude Code: GitHub Releases
View source
Related source 1shao__meng
View source
Related source 2掘金本周最热
View source
Related source 4Tibor Blaho
View source
Related source 5Vercel AI
View source
Related source 6Aravind Srinivas
View source
Related source 9lmarena.ai
View source
Related source 10阿里通义 Qwen
View source

Conflict check

Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.