Claude Code v2.1.333 ·
SDK settings and permission queries now return more detail
Programs driving Claude Code now see the API provider in its settings and file reach in its permission rules
Under the hoodTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release
What
The SDK lets a program control Claude Code by sending it requests. Three of those requests changed:
get_settings now includes the API provider among the applied settings, for connections that are not remote.
list_permission_rules now includes how far file reading reaches.
apply_flag_settings now records that the agent was chosen by the caller when it switches agents.
Why
A program built on the SDK can now see more about how Claude Code is configured without working it out for itself.
See this entry in the whole of v2.1.333 →