{"version":"2.1.287","anchor":"hooks-worker-spawn-counter-telemetry-and-stdin-tty-refactor","canonical_anchor":"hooks-worker-spawn-counter-telemetry-and-stdin-tty-refactor","heading":"Plugin hook worker restarts are now counted","tier":"internal","area":"Hooks","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.287\/e\/hooks-worker-spawn-counter-telemetry-and-stdin-tty-refactor","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.287","markdown":"### Plugin hook worker restarts are now counted\n\nClaude Code now counts how many times it starts the background worker that runs plugin hooks and records that count\n\n**What**\n\nPlugins can add hooks, small programs Claude Code runs at certain moments. These run in a background worker. Claude Code now counts how many times it starts that worker and records the count in its own timing information.\n\nThe code that decides where hooks read keyboard input from was also reorganised. It now records whether it used normal input, used the terminal directly, or could not get input, and why (in CI, under MCP, or no terminal available).\n\n**Why**\n\nThis gives a record of how often the hook worker restarts. The input change looks like a reorganisation that does not change behaviour.\n\n- Area: Hooks\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}