{"version":"2.1.330","anchor":"hook-keepalive-check-folded-into-one-helper","canonical_anchor":"hook-keepalive-check-folded-into-one-helper","heading":"Remote keepalives now track each hook event, including hooks run by plugins","tier":"notice","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/hook-keepalive-check-folded-into-one-helper","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### Remote keepalives now track each hook event, including hooks run by plugins\n\nClaude Code now tracks keepalive holds per hook event, including hooks run through the plugin runtime, and logs a warning when a hold expires\n\n**What**\n\nKeepalives are small regular messages that tell a remote session the connection is still alive. A hook is a command Claude Code runs automatically at a set moment, such as before a tool runs. Claude Code now keeps track of each hook event while it holds keepalives for it, and logs a warning when that hold expires. This tracking also covers hooks run through the plugin runtime.\n\nThe conditions for sending keepalives are the same as before. `CLAUDE_CODE_REMOTE_SEND_KEEPALIVES` must be set, and then either a server-controlled switch must allow it or another built-in check must pass. That switch is off unless it is switched on remotely. In readings taken before this release, the server returned it on, both for this site's account and for a signed-out baseline.\n\n**Why**\n\nRemote sessions that run hooks through plugins now get the same keepalive handling as other hooks. This helps stop a long-running hook from letting the connection look idle.\n\n- Flag `tengu_ccr_hook_keepalive_enabled`: Off by default, switched on for this account (read for one account on one subscription tier against v2.1.330; this account: on, anonymous baseline: on, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Hooks\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}