Follow Discord
Sweep 02 Oct 2026 · 18:55Z Build v2.1.288 509 read Stable v2.1.285 Latest v2.1.287 Next v2.1.288 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.287 ·

Plugin function hooks now get the tool list when their type definitions are set up

Type definitions for plugin function hooks now receive the list of tools, and setup failures now log the error code

Under the hood Internal Changes
JSON All of v2.1.287
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
HooksArea: what it touches
Internal ChangesKind: in v2.1.287,
Internal ChangesSection of the release
What

Plugins can add hooks, which are pieces of code that run automatically at set points while Claude Code works. Some of these hooks are written as functions, and Claude Code prepares a set of type definitions for them. Type definitions are descriptions of what the hook code can expect to receive. Two things are different:

  • Type definition setup: Claude Code now passes the list of available tools, not only the version. Tools are the actions Claude can take, such as reading a file or running a command.
  • Failure messages: when setup fails, the logged message now starts with the error code, unless the message already contains it.
Why

The type definitions for these hooks can now reflect which tools exist. When setup goes wrong, the error code in the log makes the failure easier to identify.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear whether hook authors see any difference beyond the extra error code in failure messages.

See this entry in the whole of v2.1.287 →

Feedback