You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(session): add child_readonly config and restore/lock agent type for child sessions
- Add child_readonly config (default: true) to opt into messaging child sessions
- Infer child session agent type from first assistant message on switch
(session.agent may be polluted by prior incorrect agent params)
- Lock agent type in child sessions, reject user-initiated mode switches
- Child sessions scan messages forward (first is reliable),
parent sessions scan backward (most recent is current choice)
- Include subagents in agent validation list
- Send inferred agent type when messaging child sessions
to override polluted session.agent on backend
0 commit comments