pub async fn run_visual(
command: &str,
target: &str,
operation: impl Future<Output = Result<(Value, String), BackendError>>,
cancel: &CancellationToken,
color: bool,
events: Receiver<LifecycleEvent>,
diagnostics: DiagnosticObserver,
) -> Result<Outcome>