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.259 ·

New functionHooks event: prompt.context

A new prompt.context hook event lets plugins add named context blocks to a prompt, capped at 32 blocks and 32000 characters.

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

A new hook event, prompt.context, joins prompt.section, ui.render, and tool.describe in the SDK/plugin hooks event registry. A hook can now contribute named context blocks to a prompt via {blocks: [{name, text}]}, subject to a validator that caps the count at 32 blocks, requires unique names, and enforces a combined 32000-character budget on top of what the engine itself adds. The event is fully wired through the event list, the site/core hook dispatch tables, and new cache-invalidation hooks invalidatePromptContext and invalidateHookedPromptContext.

Read from
What the documentation says

See this entry in the whole of v2.1.259 →

Feedback