From 786510379bed060db2b3742b7dfca671552d2c34 Mon Sep 17 00:00:00 2001 From: soryu Date: Mon, 19 Jan 2026 02:26:09 +0000 Subject: Make sure tasks can continue --- makima/src/daemon/ws/protocol.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'makima/src/daemon/ws/protocol.rs') 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, }, /// Pause a running task. -- cgit v1.2.3