resolveCallPlan function
The whole start-call decision, as one pure function (Android's
resolveCallPlan, scaled to Flutter's surface set — Flutter has no
media-mode / network video machinery, so the plan carries only what its
surfaces actually read).
Implementation
CallPlan resolveCallPlan(AgentTriggerMode agentTriggerMode) => CallPlan._(
agentTriggerMode: agentTriggerMode,
uiComponentOwner: switch (agentTriggerMode) {
AgentTriggerMode.CO_PILOT => UiComponentOwner.clientDialog,
AgentTriggerMode.WORKFLOW => UiComponentOwner.revragPanel,
},
);