pub fn selection_result(
file_path: Option<&Path>,
selected_text: &str,
selection: Option<&Selection>,
) -> ValueExpand description
getCurrentSelection result. None selection → an empty result (the
agent’s “nothing selected” case), not an error.