Model fallback events now say whether the swap affects your whole session or just one subagent.
What's wrong with this entry?
Fallback events now distinguish a session-wide model swap from a one-off fallback in a subagent or side question, so consumers can tell how far the change reaches.
- The SDK schema adds an optional
scopeenum with values "session" and "local". - "session" means the main thread swapped models for the rest of the session; "local" means only a subagent, a /btw side question or a background fork fell back.
- The field is absent from older CLIs and should be treated as "session" when missing.
- The event builder sets
scopeand selects different wording for local fallbacks.
'local': a subagent / side-question (/btw) / background fork fell back
Strings lifted out of the shipped bundle, so the claim above can be checked against them.