Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

Plugin runtime API gains session, turn, prompt and feedback methods

Plugins and mods get new methods such as session.waitUntil, session.awake, turn.background and feedback.review, plus new prompt.submit options

Group of 2 Under the hood New Features
JSON All of v2.1.333
Under the hoodTier: how much it should matter to you
4Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
Plugin APIArea: what it touches
New FeaturesKind: in v2.1.333,
What probably matters to youSection of the release

What

Plugins and mods are add-ons that run inside Claude Code. They call named methods to ask Claude Code to do things. This release adds several methods and options to that list.

  • $.session.waitUntil, $.session.load and $.session.authorize are available to plugins.
  • session.messages can look up messages by id or by name.
  • session.awake and turn.background are new method names.
  • feedback.review, feedback.draft and feedback.discard are new method names.
  • $.prompt.submit accepts wait and consent options. A wrong value is rejected with messages such as "takes { wait } as a boolean".
  • ui.render accepts an escapeAction of close or cancel.
  • MCP tools served by mods can register tool traits. MCP is the standard way to connect outside tools to Claude Code.
  • An isOrganizations plugin tier is added.

Programs that drive Claude Code through the SDK also see some changes. The toast message and the prompt-suggestion message each gain an optional written_at field. The headless stream, Claude Code's output when it runs without its usual screen, no longer sends system messages with subtype ui_audio.

Why

Plugin and mod authors have more control over sessions, turns, prompt submission and feedback. Anyone reading the SDK stream should expect the new written_at field and no ui_audio messages.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeAdded consent to $.prompt.submit and next.origin.isByPerson for mods: a prompt sent in answer to your press, typed command or answer counts…

See this entry in the whole of v2.1.333 →

Feedback