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.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 Improvements
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
ImprovementsKind: in v2.1.283,
What probably matters to youSection of the release

Unclear Which development-folder sources this applies to, and whether function hooks themselves are switched off by default, are not settled.

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 doubtWhich development-folder sources this applies to, and whether function hooks themselves are switched off by default, are not settled.

See this entry in the whole of v2.1.283 →

Feedback