Anthropic发布了Claude Code的跨会话消息功能,允许用户在不同的Claude Code会话之间发送消息。[1]该功能要求Claude Code v2.1.224及以上版本,仅支持macOS和Linux平台。[1]
用户可以通过ListAgents和SendMessage工具在独立会话间进行消息协调,包括交付发现、协调并行工作和获取长期运行任务的状态。[1]每个会话最多接受50条未读消息。[1]消息采用纯文本传输方式,跨会话的结构化消息仅限于团队内部使用。[1]
该功能在Amazon Bedrock、Claude Platform on AWS、Google Cloud的Agent Platform以及Microsoft Foundry上暂不支持。[1]此外,消息功能不能批准任何操作、改变配置或执行命令。[1]
Anthropic has introduced a new cross-session messaging capability for Claude Code, enabling users to send messages between separate Claude Code sessions [1]. The feature requires Claude Code version 2.1.224 or higher and is available exclusively on macOS and Linux platforms [1].
The messaging system allows users to coordinate work across independent sessions through the ListAgents and SendMessage tools, facilitating task discovery, parallel work coordination, and status monitoring for long-running operations [1]. Messages are limited to plain text transmission, with structured cross-session messaging restricted to team environments [1]. Each session can receive a maximum of 50 unread messages [1]. The feature includes security constraints—messages cannot approve any operations, modify configurations, or execute commands [1].
The functionality is not supported on Amazon Bedrock, Claude Platform on AWS, Google Cloud's Agent Platform, or Microsoft Foundry [1].