Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

1 page for claude_code_emit_session_state_events.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …arrive as `SystemMessage`. To follow the session between turns, set [`CLAUDE_CODE_EMIT_SESSION_STATE_EVENTS=1`](/docs/en/env-vars#variables) and read `message.data["state"]` on each message whose `sub…
Feedback