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.