pub async fn try_send_hotkey_trigger_to_cli(
timeout: Duration,
) -> Result<bool, Error>Expand description
Try to send a hotkey trigger to a running CLI session.
Returns:
Ok(true)if a CLI server was found and acknowledged the request.Ok(false)if no CLI server is running (or endpoint is stale/unreachable).Err(_)for unexpected I/O errors (rare; callers typically treat asfalse).