feat: prompt command (MessageBox), admin status in banner

This commit is contained in:
Helios Agent 2026-03-03 15:44:27 +01:00
parent fdd2124da8
commit e0edf60461
No known key found for this signature in database
GPG key ID: C8259547CD8309B5
6 changed files with 100 additions and 0 deletions

View file

@ -15,6 +15,14 @@ pub struct WindowInfo {
pub enum ServerMessage {
/// Request a screenshot from the client
ScreenshotRequest { request_id: Uuid },
/// Show a MessageBox on the client asking the user to do something.
/// Blocks until the user clicks OK — use this when you need the user
/// to perform a manual action before continuing.
PromptRequest {
request_id: Uuid,
message: String,
title: Option<String>,
},
/// Execute a shell command on the client
ExecRequest {
request_id: Uuid,