{"version":"2.1.311","anchor":"sessionend-hooks-from-some-plugins-are-filtered-out","canonical_anchor":"sessionend-hooks-from-some-plugins-are-filtered-out","heading":"Some plugins' SessionEnd hooks no longer run","tier":"notice","area":"Hooks","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311\/e\/sessionend-hooks-from-some-plugins-are-filtered-out","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311","markdown":"### Some plugins' SessionEnd hooks no longer run\n\nClaude Code now drops SessionEnd hooks that come from certain plugins, where before every plugin hook was kept\n\n**Unclear.** It is not clear which plugins have their SessionEnd hooks left out.\n\n**What**\n\nA SessionEnd hook is a command that runs automatically when a session ends, and plugins (add-on packages) can supply them. When Claude Code collects these hooks, it now leaves out SessionEnd hooks from some plugins, based on a check of the plugin's folder. Before, every plugin hook was returned.\n\nThe checks for whether any hooks are present now also count hooks still waiting to be run.\n\n**Why**\n\nIt changes which plugin SessionEnd hooks run when a session ends, so a plugin hook you rely on may stop running.\n\n- Area: Hooks\n- Names: `SessionEnd`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: yes"}