{"version":"2.1.326","anchor":"agent-call-hook-caller-and-plugin-check-changes","canonical_anchor":"agent-call-hook-caller-and-plugin-check-changes","heading":"Hooks attribute calls made through agent calls differently","tier":"internal","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/agent-call-hook-caller-and-plugin-check-changes","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Hooks attribute calls made through agent calls differently\n\nClaude Code changed which caller hooks see for calls made by the agent that an agent call belongs to\n\n**Unclear.** It is not clear what a hook or permission rule now sees differently for these calls.\n\n**What**\n\nHooks are your own commands that Claude Code runs automatically at set moments. When working out who made a call, Claude Code now also treats a call from the same agent as the one behind an agent call as coming from the main caller. A second check now looks at whether an agent call is present, instead of checking plugin storage.\n\n**Why**\n\nThis changes how hooks and permissions decide who a call came from when an agent call is involved.\n\n- Area: Hooks\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}