pub fn run(
src: &str,
chunk_name: &str,
call: &mut dyn FnMut(&str, &Value) -> Result<Value, String>,
logs: &mut Vec<String>,
) -> Result<(), String>Expand description
Run src with an editor global. call executes one tool against the live project and is
invoked re-entrantly from inside the VM; logs collects editor.log lines for the app to show.