Plugin host API gains session.identity, agent.limits, agent.call and plugin notes
Plugins can call new session.identity, agent.limits and agent.call methods, with email held back from user mods, and plugin notes are labelled as not from the user
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
ModsArea: what it touches
ImprovementsKind: in v2.1.326,
ImprovementsSection of the release
What
Plugins are add-ons that extend Claude Code. They can ask Claude Code to do things through a fixed list of allowed methods. This release changes that list:
agent.limits and agent.call are now on the allowed list. They give plugins new ways to work with agents.
session.identity is added through a separate list, together with a handler for it. It gives contextEmail only to builtin mods and refuses it to user-tier mods.
A new plugin_note attachment tells the model that a note comes from a plugin, not from the user. The note begins "Note from ..., not from the user:".
Why
Plugins can do more with agents and with session identity, while email details stay away from mods a user added. The model can also tell plugin notes apart from what you typed yourself.