diff options
| author | soryu <soryu@soryu.co> | 2026-01-27 01:25:29 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-01-27 01:25:40 +0000 |
| commit | b0d0b4848b2fc8a44c2575e09a08b34aaf6e1484 (patch) | |
| tree | bd0dedfd8a3623d01f28ff590e97a028bc5456c5 /makima/src/daemon/api | |
| parent | b28345d15730ffbefe81244d06c06fe13c30b0ea (diff) | |
| download | soryu-b0d0b4848b2fc8a44c2575e09a08b34aaf6e1484.tar.gz soryu-b0d0b4848b2fc8a44c2575e09a08b34aaf6e1484.zip | |
Default to shared worktree and add worktree endpoint
Diffstat (limited to 'makima/src/daemon/api')
| -rw-r--r-- | makima/src/daemon/api/supervisor.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/makima/src/daemon/api/supervisor.rs b/makima/src/daemon/api/supervisor.rs index e79a9bb..6b99de0 100644 --- a/makima/src/daemon/api/supervisor.rs +++ b/makima/src/daemon/api/supervisor.rs @@ -17,6 +17,10 @@ pub struct SpawnTaskRequest { pub parent_task_id: Option<Uuid>, #[serde(skip_serializing_if = "Option::is_none")] pub checkpoint_sha: Option<String>, + /// If true, create a separate worktree for the task (requires merge after). + /// If false (default), the task shares the supervisor's worktree. + #[serde(default)] + pub use_own_worktree: bool, } #[derive(Serialize)] |
