summaryrefslogtreecommitdiff
path: root/makima/src/daemon/ws
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-01-19 02:26:09 +0000
committersoryu <soryu@soryu.co>2026-01-19 02:26:09 +0000
commit786510379bed060db2b3742b7dfca671552d2c34 (patch)
tree432d0b575a64ef0fb2cb10a86cd916b5fbc16909 /makima/src/daemon/ws
parentb64eddc8c2f250cdcbacae18cce107bf4c86f9f4 (diff)
downloadsoryu-786510379bed060db2b3742b7dfca671552d2c34.tar.gz
soryu-786510379bed060db2b3742b7dfca671552d2c34.zip
Make sure tasks can continue
Diffstat (limited to 'makima/src/daemon/ws')
-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.