{"version":"2.1.292","anchor":"plugin-toolcheck-and-uiscroll-wait-on-pending-work-first","canonical_anchor":"plugin-toolcheck-and-uiscroll-wait-on-pending-work-first","heading":"Plugin tool.check and ui.scroll hooks now wait for pending work","tier":"notice","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.292\/e\/plugin-toolcheck-and-uiscroll-wait-on-pending-work-first","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.292","markdown":"### Plugin `tool.check` and `ui.scroll` hooks now wait for pending work\n\nThe tool.check and ui.scroll plugin hooks now wait for pending work to finish before running\n\n**What**\n\nThe `tool.check` and `ui.scroll` plugin hooks are points where a plugin can step in when a tool is checked or when the view scrolls. Before running them, Claude Code now looks for pending work tied to the current task. If there is some, it waits for it to finish and then runs the hook. Before, the hooks ran straight away.\n\n**Why**\n\nThis changes the order in which plugin hooks run, probably around plugins loading or reloading.\n\n- Area: Hooks\n- Names: `tool.check`, `ui.scroll`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}