Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.271 ·

SDK control-request handlers for status/usage/model queries refactored into a lookup table

SDK control-request handling for status and usage queries moved into a lookup table internally

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaSDKwhat it touches
KindInternal Changesin v2.1.271,
Under the hood

SDK control-request handling for status and usage queries moved into a lookup table internally

What

The code handling several SDK (software development kit) control-request types — mcp_status, get_context_usage, get_usage, get_session_cost, list_models, and get_binary_version — was restructured. These were previously handled by a long chain of if/else checks and are now looked up in a dispatch table keyed by request type.

Why

This is an internal restructuring with no described change in what these requests return or how they behave; it should make this part of the SDK's request handling easier to maintain.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed /model warning about losing the conversation cache when switching back to the model the conversation actually ran on

See this entry in the whole of v2.1.271 →