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.
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agree
Fixed /model warning about losing the conversation cache when switching back to the model the conversation actually ran on