summaryrefslogtreecommitdiff
path: root/makima/src/db/models.rs
diff options
context:
space:
mode:
Diffstat (limited to 'makima/src/db/models.rs')
-rw-r--r--makima/src/db/models.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/makima/src/db/models.rs b/makima/src/db/models.rs
index d5f2814..9e624c9 100644
--- a/makima/src/db/models.rs
+++ b/makima/src/db/models.rs
@@ -665,6 +665,9 @@ pub struct CreateTaskRequest {
pub branched_from_task_id: Option<Uuid>,
/// Conversation history to initialize the task with (JSON array of messages)
pub conversation_history: Option<serde_json::Value>,
+ /// Task ID whose worktree this task shares. When set, this task reuses the supervisor's
+ /// worktree instead of creating its own, and should NOT have its worktree deleted during cleanup.
+ pub supervisor_worktree_task_id: Option<Uuid>,
}
/// Request payload for updating a task