Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

Mods can react to the session ending and read flag values

Mods can now listen for the session ending and read flag values, and a new Mods guide explains hot reloading

Under the hood Improvements
JSON All of v2.1.333
Under the hoodTier: how much it should matter to you
4Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
ModsArea: what it touches
ImprovementsKind: in v2.1.333,
What probably matters to youSection of the release
What

Mods are add-ons that run inside Claude Code. What they can do has widened:

  • classic.SessionEnd is now an event mods can listen for, matching the SessionEnd hook that runs when a session ends
  • flag.value is now a call mods can make to read a flag's value
  • registration.dispose is a new call that Claude Code handles on the mod's behalf

There is also a new guide called "Mods guide", described as explaining hot reloading for mods, which means applying changes to a mod without restarting.

Why

Mod authors can now run code when a session ends and read flag values from inside a mod.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeSelf-hosted runner: Changed a SessionEnd hook that passes its time limit on some Linux hosts to also end background programs it started…

See this entry in the whole of v2.1.333 →

Feedback