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.335 ·

Claude Code finds more kinds of SessionEnd hooks when it exits

At shutdown, the check for SessionEnd hooks now also counts container hooks, administrator-managed hooks and installed modules

You'll notice Bug Fixes
JSON All of v2.1.335
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
Bug FixesKind: in v2.1.335,
Bug FixesSection of the release
What

A SessionEnd hook is a command Claude Code runs when a session ends. When Claude Code shuts down, it checks whether any such hook exists. That check used to look only at hooks in your settings. It now also counts:

  • hooks for a container
  • hooks set at the managed level, meaning by an administrator
  • installed modules that run when a session ends
Why

Module-based and managed SessionEnd hooks are now taken into account when Claude Code exits.

Read from
Names in the bundleSessionEnd

See this entry in the whole of v2.1.335 →

Feedback