Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.274 ·

Plugin SDK ($.) gains agent.register and session.refreshAgents, plus a system-prompt-delivered flag consumable once

Plugin SDK adds agent.register and session.refreshAgents, plus a one-shot flag for whether the system prompt was delivered

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

The plugin system's internal dispatch table adds an agent.register action, which validates that a prompt is provided and that the description meets length rules, sitting alongside the existing agent.list action. The headless session's $ scripting surface also gains a refreshAgents() method next to the existing refreshCommands().

Separately, the turn-runner gains a takeSystemPromptDelivered option: a one-shot getter that reads and then clears an internal flag tracking whether the system prompt was delivered.

Why

This lets plugins register new agents programmatically and refresh the list of available agents, and lets other code check exactly once whether the system prompt has already been sent for a turn.

Read from
Names in the bundleagent.register
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.

Confirmed since Anthropic's documentation has since written up agent.register, on Claude Code changelog. * Fixed `$.agent.register` succeeding from a mod's hook that was still running after the mod was reloaded or removed; the call is now refused changelog 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 agent.register, on Claude Code changelog.

See this entry in the whole of v2.1.274 →

Feedback