summaryrefslogtreecommitdiff
path: root/makima/src/server/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'makima/src/server/state.rs')
-rw-r--r--makima/src/server/state.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/makima/src/server/state.rs b/makima/src/server/state.rs
index 28d65d0..5b75281 100644
--- a/makima/src/server/state.rs
+++ b/makima/src/server/state.rs
@@ -208,12 +208,21 @@ pub enum DaemonCommand {
/// Whether this task is a supervisor (long-running contract orchestrator)
#[serde(rename = "isSupervisor")]
is_supervisor: bool,
+ /// Whether to run in autonomous loop mode
+ #[serde(rename = "autonomousLoop", default)]
+ autonomous_loop: bool,
/// Whether to resume from a previous session using --continue flag
#[serde(rename = "resumeSession", default)]
resume_session: bool,
/// Conversation history for fallback when worktree doesn't exist
#[serde(rename = "conversationHistory", default)]
conversation_history: Option<serde_json::Value>,
+ /// Base64-encoded gzip-compressed patch for worktree recovery
+ #[serde(rename = "patchData", default, skip_serializing_if = "Option::is_none")]
+ patch_data: Option<String>,
+ /// Commit SHA to apply the patch on top of
+ #[serde(rename = "patchBaseSha", default, skip_serializing_if = "Option::is_none")]
+ patch_base_sha: Option<String>,
},
/// Pause a running task
PauseTask {