Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.280 ·

New session.send hook event and plugin API for sending messages into a session

Plugins can now hook into and trigger sending a message into a session via the new session.send event and $.session.send API

Group of 2 Use it now Notable New Features
JSON All of v2.1.280
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
PluginsArea: what it touches
New FeaturesKind: in v2.1.280,
What probably matters to youSection of the release

What

  • A new hookable event session.send was added to the plugin event system, alongside the existing session.receive, session.detach, and session.end. It has its own schema (checkArgument, restoreArgument, check), is included in the events that can trigger the "hook ... is holding" warning if answered late, and runs through the same delivery pipeline as tool calls, tracking isDelivered/reason with a "the message was not delivered" failure message.
  • The plugin/SDK host API now exposes a $.session.send operation that lets a plugin send text to a named target: a session ID, an agent ID, or an address object ({sessionId} or {agentId}). It requires non-empty to and text values.

Why This lets plugins and SDK integrations both react to and initiate messages being sent into a session, rather than only observing incoming ones.

Read from
Names in the bundlesession.send
What the documentation says
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Manage mods for your organization touched a line naming session.send after this was published. | `$.session.send` | Sends a message that another session's, subagent's, or [teammate's](/docs/en/agent-teams) Claude reads | plugins/mods/admin see the edit
Confirmed since Anthropic's documentation has since written up session.send, on Use the mods API. `session.receive` and `session.send` let a mod observe the messages. Return `next(e)` from both to pass each message through unchanged: plugins/mods/api see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up session.send, on Use the mods API.

See this entry in the whole of v2.1.280 →

Feedback