{"version":"2.1.335","anchor":"plugin-sessionstart-hooks-can-be-caught-up-ahead-of-a-turn","canonical_anchor":"plugin-sessionstart-hooks-can-be-caught-up-ahead-of-a-turn","heading":"Plugin session start hooks now finish before the first request is sent","tier":"notice","area":"Hooks","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/plugin-sessionstart-hooks-can-be-caught-up-ahead-of-a-turn","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### Plugin session start hooks now finish before the first request is sent\n\nLate plugin `SessionStart` hooks are now started early, and Claude Code waits for them, up to a time limit, before sending a request\n\n**What**\n\nA hook is a command or script that runs automatically at a set moment. Plugins can register `SessionStart` hooks, which run when a session begins or resumes. Some of these finish late. Claude Code can now start those late hooks early, and before it sends a request to the model it waits for them to finish, up to a time limit. Before, it only sent along whatever the hooks had already produced.\n\n**Why**\n\nContext that a plugin's `SessionStart` hook adds should now reliably reach the model in the first request.\n\n- Area: Hooks\n- Names: `SessionStart`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}