Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.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

TierUse it nowhow much it should matter to you
Useful5my rating, 1 to 5
Signal3worth watching, 1 to 5
AreaPluginswhat it touches
KindNew Featuresin v2.1.274,
Use it now Notable No documentation found

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

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

See this entry in the whole of v2.1.274 →