Claude Code:开启 agent teams 时可启用 Code Mode

可在 agent teams 开启时启用 Code Mode;已开启的用户,团队开启的会话现在以 Code Mode 启动,Ctrl+O 可显示隐藏的启动通知。

Claude Code
事件类型
功能更新
版本
v2.1.326
官方发布
本站整理
本页目录

关键变化

v2.1.326 支持在 agent teams 开启时启用 Code Mode,如果已经开启,团队开启的会话现在会以 Code Mode 启动。

官方原文

本次变化

共 9 条要点

  1. v2.1.326 支持在 agent teams 开启时启用 Code Mode,如果已经开启,团队开启的会话现在会以 Code Mode 启动。

    官方原文 · c1

    Added support for turning on Code Mode while agent teams are enabled; if you already turned it on, sessions with teams on now start in Code Mode

    官方原文 · c1
  2. 新增 Ctrl+O,用于显示隐藏的启动通知。

    官方原文 · c2

    Added Ctrl+O to show hidden startup notices

    官方原文 · c2
  3. 新增 OTEL_RESOURCE_INCLUDE_HOST,可在 OpenTelemetry 资源属性中包含 host.name 和 host.id,默认关闭。

    官方原文 · c3

    Added OTEL_RESOURCE_INCLUDE_HOST to include host.name and host.id in OpenTelemetry resource attributes (off by default)

    官方原文 · c3
  4. /status 新增一行,说明提供商或 DISABLE_TELEMETRY 等环境变量何时关闭了功能。

    官方原文 · c4

    Added a row to /status that says when your provider or an environment variable such as DISABLE_TELEMETRY turns features off

    官方原文 · c4
  5. 修复了计划模式已开启时,带描述的 /plan 命令忽略该描述的问题。

    官方原文 · c5

    Fixed /plan <description> ignoring the description when plan mode was already on

    官方原文 · c5
  6. claude mcp serve 现在会忽略 sandbox.excludedCommands。

    官方原文 · c6

    Changed claude mcp serve to ignore sandbox.excludedCommands

    官方原文 · c6
  7. 终端中的 /update-config 现在使用约 13,000 个 token 的上下文,而不是 93,000 个,被拒绝的设置编辑只引用有改动的设置。

    官方原文 · c7

    Improved /update-config in the terminal to use about 13,000 tokens of context instead of 93,000, and a rejected settings edit to quote only the changed settings

    官方原文 · c7
  8. VSCode 新增 claudeCode.promptSuggestions 设置,可关闭提示建议。

    官方原文 · c8

    [VSCode] Added a claudeCode.promptSuggestions setting that turns prompt suggestions off

    官方原文 · c8
  9. 在 Claude in Chrome 中,较长的 browser_batch 调用现在有 150 秒响应时间,原为 90 秒,因此丢失的已完成结果更少。

    官方原文 · c9

    Improved Claude in Chrome: a long browser_batch call now has 150 seconds to answer, up from 90, so fewer finished results are lost

    官方原文 · c9

变化明细

下表按已审核事实整理,保留原语言;原文见各要点的引用。

编号主体动作对象范围数值
c1Claude Codeadded support for turning onCode Mode while agent teams are enabledsessions with teams on start in Code Mode if already turned on
c2Claude CodeaddedCtrl+O to show hidden startup notices
c3Claude CodeaddedOTEL_RESOURCE_INCLUDE_HOST to include host.name and host.id in OpenTelemetry resource attributesoff by default
c4/statusaddeda row that says when your provider or an environment variable turns features offenvironment variable such as DISABLE_TELEMETRY
c5/plan command with a descriptionfixed ignoringthe descriptionwhen plan mode was already on
c6claude mcp servechanged to ignoresandbox.excludedCommands
c7/update-configimproved to use less contextabout 13,000 tokens of context instead of 93,000, and a rejected settings edit quotes only the changed settingsin the terminal约 13000 tokens; 精确 93000 tokens
c8VSCodeaddeda claudeCode.promptSuggestions setting that turns prompt suggestions offVSCode
c9Claude in Chromeimproveda long browser_batch call now has 150 seconds to answer, up from 90long browser_batch call精确 150 seconds; 精确 90 seconds

版本时间线

同一工具在本站已发布的快讯,按官方发布日期由新到旧。

  1. 当前开启 agent teams 时可启用 Code Mode
  2. 沙盒内 Bash 命令默认走常规权限流程
  3. Anthropic托管环境的云会话可不选仓库启动
  4. Claude apps 网关管理 API 新增费用报告
  5. 新增设置:Linux沙箱命令可创建用户命名空间
  6. api_request 事件新增缓存写入拆分字段

关于这个工具

Claude Code

Claude Code 是 Anthropic 的编程 Agent,可围绕代码库读取上下文、修改文件、运行命令并协助开发任务。

分类AI编程工具

查看 Claude Code 详情

相关教程

来源与说明

官方原文 · github.com/anthropics/claude-code/releases/tag/v2.1.326

AI 整理说明

本条由 AI 依据官方来源整理并经自动核对;发现错误请 反馈。