{"version":"2.1.299","anchor":"command-hooks-can-hold-stdin","canonical_anchor":"command-hooks-can-hold-stdin","heading":"Command hooks can take their input from a shared source","tier":"internal","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.299\/e\/command-hooks-can-hold-stdin","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.299","markdown":"### Command hooks can take their input from a shared source\n\nCommand hooks can now receive their input from a shared source instead of having it built separately for each hook\n\n**Unclear.** What the shared input source is and when it is used are not stated.\n\n**What**\n\nHooks are commands you set up to run automatically at certain points while Claude Code works. Before, the input sent to each command hook was always built separately for that hook. Command hooks can now receive that input from a shared source instead. How Claude Code works out the project's root folder for hooks has also been reworked.\n\n**Why**\n\nThis could change what input your command hooks receive.\n\n- Area: Hooks\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}