fix: display::cmd_done for inform, remove unused imports, align README

This commit is contained in:
Helios Agent 2026-03-06 03:17:54 +01:00
parent 5a15126a6a
commit 89ab74406f
No known key found for this signature in database
GPG key ID: C8259547CD8309B5
3 changed files with 2 additions and 3 deletions

View file

@ -55,7 +55,7 @@ remote windows <device> # list visible windows
remote focus <device> <window_label> # focus a window
remote maximize <device> <window_label> # maximize and focus a window
remote minimize-all <device> # minimize all windows
remote inform <device> "Something happened" # notify user (fire-and-forget, no response)
remote inform <device> "Something happened" # notify user (fire-and-forget, no response)
remote inform <device> "message" --title "Title" # with custom dialog title
remote run <device> <program> [args...] # launch program (fire-and-forget)
remote clipboard-get <device> # get clipboard text

View file

@ -446,7 +446,7 @@ async fn handle_message(
#[cfg(not(windows))]
let _ = (msg, ttl);
});
display::log_ok("inform", &message);
display::cmd_done("📢", "inform", &message, true, "sent");
ClientMessage::Ack { request_id }
}

View file

@ -5,7 +5,6 @@ use axum::{
use axum::extract::ws::{Message, WebSocket};
use futures_util::{SinkExt, StreamExt};
use tokio::sync::mpsc;
use uuid::Uuid;
use tracing::{debug, error, info, warn};
use helios_common::protocol::{ClientMessage, ServerMessage};