{"version":"2.1.295","anchor":"hook-output-now-includes-the-command","canonical_anchor":"hook-output-now-includes-the-command","heading":"Hook results now include the command that ran","tier":"internal","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.295\/e\/hook-output-now-includes-the-command","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.295","markdown":"### Hook results now include the command that ran\n\nThe result of a hook now records the command that ran, alongside its output and exit code\n\n**What**\n\nHooks are actions you configure to run automatically at set points. The result Claude Code keeps for a hook now includes the command that ran, as well as its standard output, error output and exit code (the number a program returns to say whether it succeeded).\n\n**Why**\n\nAnything that reads hook results can now see which command produced them.\n\n- Area: Hooks\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}