Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.324 ·

CLAUDE_CODE_HOOKS_SAME_THREAD runs plugin hooks on the same thread

Setting CLAUDE_CODE_HOOKS_SAME_THREAD runs plugin function hooks on the same thread, otherwise they run in a separate worker

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

Plugin function hooks are pieces of code from plugins (add-on packages) that Claude Code runs at set moments. Claude Code now decides how to run them from a single check:

  • with the environment variable CLAUDE_CODE_HOOKS_SAME_THREAD set, they run on the same thread as Claude Code itself
  • otherwise, they run in a separate worker, a background helper kept apart from the main program

An environment variable is a named value you set in your shell before starting Claude Code.

Why

It gives an opt-in way to run plugin hooks outside the worker.

Read from

See this entry in the whole of v2.1.324 →

Feedback