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 ·

Plugin type declarations file now also documents the built-in hooks API

Generated plugin declarations now include a claude-code.d.ts covering the plugin API and built-in tools.

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

Generated plugin TypeScript declarations now also emit a claude-code.d.ts file covering the plugin API and built-in tools, in addition to the previous MCP tool types. Guidance text for tsconfig setup has been updated to point at both declaration files.

Read from
Names in the bundleclaude-code.d.ts
What the documentation says
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up claude-code.d.ts, on Mods reference. The complete reference is Claude Code's [TypeScript declarations for mods](https://github.com/anthropics/claude-code/blob/main/mods/types/claude-code.d.ts), which describe every event, method, and element, with examples. The copy on GitHub… plugins/mods/reference see the edit
Added since A small documentation edit on Create a mod touched a line naming claude-code.d.ts after this was published. Each time Claude Code loads or reloads a mod from a directory you pass to `--plugin-dir`, or a mod [Claude wrote for you](#ask-claude-for-a-mod), it writes TypeScript declaration files, ending in `.d.ts`, into `.claude-plugin/types/` insid… plugins/mods/create see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesA small documentation edit on Create a mod touched a line naming claude-code.d.ts after this was published.

See this entry in the whole of v2.1.259 →

Feedback