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

New plugin-hooks 'wait/sleep' primitive with input validation

Plugin hooks gained a 'wait' primitive that pauses for a validated number of milliseconds

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

A new operation was added to the plugin hooks API that lets a hook pause execution for a given number of milliseconds, specified as { ms }. The value is validated to ensure it's a non-negative number before the wait happens; an invalid value produces an error naming the bad input.

Why

This gives plugin authors a built-in way to introduce a deliberate delay in a hook, with validation that catches bad input early instead of failing unpredictably later.

See this entry in the whole of v2.1.271 →

Feedback