cli: convert remainder of CLI to n_q_search_{messages,threads}_st