Use it now
No documentation found
SDK gains contextData() to inspect context usage and transcript.reveal() to jump to a spot in the transcript
What
The host-facing API (used by things like IDE extensions integrating with Claude Code) gains two new methods:
contextData()returns a breakdown of how the context (the conversation history and other material fed to the model) is being used; when connected over a remote control channel it fetches this remotely and requires that connection to support acontrolChannelcapability, otherwise it's built locally.transcript.reveal()delegates to the host's own "reveal in transcript" function, letting a caller jump to a specific spot in the transcript.
Why
These give tools built on Claude Code's SDK more visibility into context usage and a way to navigate the transcript programmatically, which is useful for building richer integrations or debugging tools.
Names in the bundlecontextDatatranscript.reveal