From 9dbc2c3199047609a9f8496fec07ecdb10aee73d Mon Sep 17 00:00:00 2001 From: soryu Date: Sun, 18 Jan 2026 18:55:04 +0000 Subject: Add pushed heartbeats and multi-question select --- makima/src/daemon/api/supervisor.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'makima/src/daemon/api') diff --git a/makima/src/daemon/api/supervisor.rs b/makima/src/daemon/api/supervisor.rs index adeda22..1dc699e 100644 --- a/makima/src/daemon/api/supervisor.rs +++ b/makima/src/daemon/api/supervisor.rs @@ -73,6 +73,9 @@ pub struct AskQuestionRequest { pub timeout_seconds: i32, /// When true, the request will block indefinitely until user responds (no timeout) pub phaseguard: bool, + /// When true, allow selecting multiple choices (response will be comma-separated) + #[serde(default)] + pub multi_select: bool, } // Generic response type for JSON output @@ -205,6 +208,7 @@ impl ApiClient { context: Option, timeout_seconds: i32, phaseguard: bool, + multi_select: bool, ) -> Result { let req = AskQuestionRequest { question: question.to_string(), @@ -212,6 +216,7 @@ impl ApiClient { context, timeout_seconds, phaseguard, + multi_select, }; self.post("/api/v1/mesh/supervisor/questions", &req).await } -- cgit v1.2.3