summaryrefslogtreecommitdiff
path: root/makima/src/daemon/ws/protocol.rs
diff options
context:
space:
mode:
Diffstat (limited to 'makima/src/daemon/ws/protocol.rs')
-rw-r--r--makima/src/daemon/ws/protocol.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/makima/src/daemon/ws/protocol.rs b/makima/src/daemon/ws/protocol.rs
index 5c9004b..d0bcc19 100644
--- a/makima/src/daemon/ws/protocol.rs
+++ b/makima/src/daemon/ws/protocol.rs
@@ -378,6 +378,15 @@ pub enum DaemonCommand {
/// without a COMPLETION_GATE indicating ready: true.
#[serde(rename = "autonomousLoop", default)]
autonomous_loop: bool,
+ /// Whether to resume from a previous session using --continue flag.
+ /// When enabled, the daemon will reuse the existing worktree and call
+ /// Claude with --continue to maintain conversation history.
+ #[serde(rename = "resumeSession", default)]
+ resume_session: bool,
+ /// Conversation history for fallback when worktree doesn't exist.
+ /// Used to inject previous conversation context into the prompt.
+ #[serde(rename = "conversationHistory", default)]
+ conversation_history: Option<serde_json::Value>,
},
/// Pause a running task.