Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.283 ·

Function-hook plugins get generated TypeScript types and a tsconfig

Claude Code now writes a tsconfig, a .gitignore and type declarations into function-hook plugin folders so editors can type-check hooks

Group of 2 You'll notice New Features
JSON All of v2.1.283
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
ModsArea: what it touches
New FeaturesKind: in v2.1.283,
What probably matters to youSection of the release

What

Some plugins ship a function-hook module ("mods"): code that runs at points in Claude Code's work. When such a plugin loads from a development folder, Claude Code now lays out a "type root" in the plugin's folder, which gives code editors the type information they need to check the code.

  • A types directory with a .gitignore containing *, so git ignores it.
  • index.d.ts declaration files for the mod and its dependencies, linked or copied in, including one for claude-code stamped with the running CLI version.
  • A tsconfig.json in the types directory, and one at the plugin root unless the plugin has a jsconfig.json.
  • Each result is logged as "type root of … at …". If the path would lead outside the mod's folder, the type root is not laid and that is logged.
  • The plugin file watcher now ignores the types directory, so writing these files does not trigger a plugin reload.

Why

Plugin authors writing function hooks can get editor type-checking against the Claude Code version they are running without setting anything up. New files now appear in the plugin folder, which is worth knowing if you keep that folder under version control.

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 the function-hook plugin feature is switched on for everyone or behind a setting.

See this entry in the whole of v2.1.283 →

Feedback