{"name":"CLAUDE_CODE_EMIT_STOP_HOOK_EVENTS","slug":"claude-code-emit-stop-hook-events","family":"env","title":"Environment variables","noun":"environment variable","description":"Claude Code now recognises `CLAUDE_CODE_EMIT_STOP_HOOK_EVENTS` and `CLAUDE_CODE_HOST_NARROWS_SERVED_SETTINGS`","description_source":"entry","described_by":{"version":"2.1.334","anchor":"two-new-hosthook-env-vars-registered-in-env-passthrough-lis"},"presence":{"first_seen":"2.1.334","removed_in":null,"in_current_build":true,"newest_mined":"2.1.336","builds":3,"mined_builds":175,"first_cited":{"version":"2.1.334","released_at":"2026-12-01 18:55:49","spans":1}},"aliases":[],"entries":[{"version":"2.1.334","anchor":"two-new-hosthook-env-vars-registered-in-env-passthrough-lis","heading":"Two more environment variables for programs that host Claude Code","line":"Claude Code now recognises `CLAUDE_CODE_EMIT_STOP_HOOK_EVENTS` and `CLAUDE_CODE_HOST_NARROWS_SERVED_SETTINGS`","released_at":"2026-12-01 18:55:49","reason":"found in this entry's text"}],"entries_total":1,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_EMIT_SESSION_STATE_EVENTS","slug":"claude-code-emit-session-state-events","description":"The Agent SDK now ends a run when Claude Code reports it is idle, which can mean waiting up to 10 minutes after the result"},{"name":"CLAUDE_CODE_EMIT_STARTUP_TIMING","slug":"claude-code-emit-startup-timing","description":"A new CLAUDE_CODE_EMIT_STARTUP_TIMING environment variable turns on startup-timing telemetry outside remote sessions"},{"name":"CLAUDE_CODE_EMIT_TOOL_USE_SUMMARIES","slug":"claude-code-emit-tool-use-summaries","description":"CLAUDE_CODE_EMIT_TOOL_USE_SUMMARIES now turns tool-use summaries on only when its value counts as exactly true"},{"name":"CLAUDE_CODE_EMIT_USER_PROMPT_SUBMIT_HOOK_EVENTS","slug":"claude-code-emit-user-prompt-submit-hook-events","description":"Setting CLAUDE_CODE_EMIT_USER_PROMPT_SUBMIT_HOOK_EVENTS makes Claude Code report when UserPromptSubmit hooks start and finish"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-emit-stop-hook-events","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}