feat(maestro): add preset resume commands

This commit is contained in:
Miguel Palhas
2026-09-04 08:33:08 +01:00
parent 1b2b392710
commit 9728b10ffd
5 changed files with 52 additions and 0 deletions
+3
View File
@@ -517,8 +517,11 @@ impl ApiError {
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct SpawnPreset {
pub id: String,
#[serde(default)]
pub label: String,
pub command: String,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub resume_command: Option<String>,
}
/// Build provenance of the running daemon: the commit it was compiled