onModeChanged property
Persists a mode change (e.g. to ai.yaml). null keeps it in-memory only.
Implementation
final void Function(AgentMode mode)? onModeChanged;
Persists a mode change (e.g. to ai.yaml). null keeps it in-memory only.
final void Function(AgentMode mode)? onModeChanged;