Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.271 ·

SDK/control-channel gains contextData() and transcript.reveal() APIs

SDK gains contextData() to inspect context usage and transcript.reveal() to jump to a spot in the transcript

Use it now No documentation found New Features
JSON All of v2.1.271
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
New FeaturesKind: in v2.1.271,
What probably matters to youSection of the release
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 a controlChannel capability, 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.

Read from
Names in the bundlecontextDatatranscript.reveal

See this entry in the whole of v2.1.271 →

Feedback