{"name":"session.stop","slug":"session-stop","family":"setting","title":"Settings keys","noun":"settings key","description":"A hook run that comes from session.stop and not session.start is now recorded as session.stop instead of its first event","description_source":"entry","described_by":{"version":"2.1.326","anchor":"session-end-hooks-map-to-sessionstop"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.330","builds":0,"mined_builds":169,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.326","anchor":"session-end-hooks-map-to-sessionstop","heading":"Hooks run at session end are now credited to session.stop","line":"A hook run that comes from session.stop and not session.start is now recorded as session.stop instead of its first event","released_at":"2026-11-16 18:43:39","reason":"named in this entry, found in this entry's text"}],"entries_total":1,"docs":[{"source":"claude-code","path":"plugins\/mods\/reference","title":"Mods reference","documented":false}],"docs_total":1,"gates":[],"related":[{"name":"session","slug":"session","description":"A per-session workshop document gets snapshotted with your session files and is only writable in plan mode."},{"name":"session.attach","slug":"session-attach","description":"Plugin hooks can now react to tool-call dry-runs, config changes, and session attach\/detach events."},{"name":"session.authorize","slug":"session-authorize","description":"Plugins gain $.session.authorize(), which mints an auth handle for the session."},{"name":"session.compact","slug":"session-compact","description":"A new `session.compact` plugin hook can intercept and rewrite conversation compaction"},{"name":"session.detach","slug":"session-detach","description":"Plugin hooks can now react to tool-call dry-runs, config changes, and session attach\/detach events."},{"name":"session.end","slug":"session-end","description":"Two new lifecycle events, `session.end` and `session.measure`, added for plugins and hooks"},{"name":"session.info","slug":"session-info","description":"Claude Code adds `session.info` to what plugins can call, and passes two extra channels when it starts the sandbox"},{"name":"session.measure","slug":"session-measure","description":"Two new lifecycle events, `session.end` and `session.measure`, added for plugins and hooks"},{"name":"session.receive","slug":"session-receive","description":"A new `session.compact` plugin hook can intercept and rewrite conversation compaction"},{"name":"session.root","slug":"session-root","description":"Plugin API policy list adds session.root, prompt.read, and ui.panes as permitted actions"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/session-stop","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}