pub fn parse_command_source(source: &str) -> Option<&'static str>
与 mgui_runtime::app::CommandSource::as_str() 对齐;agent 侧只做字符串校验, 真正映射到枚举发生在持有 router 的场景。
mgui_runtime::app::CommandSource::as_str()