{"version":"2.1.330","anchor":"hook-chain-idle-waits-and-more-lenders","canonical_anchor":"hook-chain-idle-waits-and-more-lenders","heading":"Plugin hooks now track the calls they are waiting on","tier":"internal","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/hook-chain-idle-waits-and-more-lenders","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### Plugin hooks now track the calls they are waiting on\n\nThe plugin hook runner now tracks calls still in progress, can wait for them to finish, and has reworked timing for hooks held open\n\n**Unclear.** What this changes in practice for hook time limits is not clear.\n\n**What**\n\nA hook is a command that runs automatically at set points while Claude Code works. Plugins can supply their own. The part of Claude Code that runs plugin hooks now keeps track of calls a hook has started that have not finished yet. It can wait until they have all finished, and each call can be cancelled on its own. The timer for hooks that stay open has also been reworked. Before, it used a simple count.\n\n**Why**\n\nThis affects how hook time limits behave while a hook is waiting on calls it started.\n\n- Area: Hooks\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}