You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SubagentsArea: what it touches
Internal ChangesKind: in v2.1.335,
ImprovementsSection of the release
What
CLAUDE_CODE_SUBAGENT_MODEL is the environment variable that picks the model for subagents, the helpers Claude Code starts to handle parts of a task. Two changes affect it.
Desktop repository settings: when settings are applied for the desktop Code tab (firstPartyCodeTab), the value is accepted only if it is empty, inherit, haiku, sonnet, opus, or a claude-haiku, claude-sonnet or claude-opus model id. It is refused if a policy forces the model. Refused values are logged with the reason "desktop repository model".
Session info: an optional, internal field subagentModel now reports the model ID that CLAUDE_CODE_SUBAGENT_MODEL names, for a host that starts another session.
Why
A repository opened in the desktop Code tab can no longer point subagents at an arbitrary value or override a model your policy forces. Desktop and other host apps that start sessions can now see which subagent model is in use.