diff options
| author | soryu <soryu@soryu.co> | 2026-01-21 16:11:24 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-01-21 16:11:24 +0000 |
| commit | f4bffa9c5d50ffecad36b4ae379c8c3b2da17de3 (patch) | |
| tree | b6fefd0affbc2bf530cac88d502b74e0f3667380 /makima/src | |
| parent | 279888491d367ee6307fc4e2b5335355d2e13ba4 (diff) | |
| download | soryu-f4bffa9c5d50ffecad36b4ae379c8c3b2da17de3.tar.gz soryu-f4bffa9c5d50ffecad36b4ae379c8c3b2da17de3.zip | |
Register branch_task route in server router
Add POST /mesh/tasks/{id}/branch route for task branching endpoint.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'makima/src')
| -rw-r--r-- | makima/src/server/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/makima/src/server/mod.rs b/makima/src/server/mod.rs index 7e31285..dadfacd 100644 --- a/makima/src/server/mod.rs +++ b/makima/src/server/mod.rs @@ -111,6 +111,8 @@ pub fn make_router(state: SharedState) -> Router { .route("/mesh/tasks/{id}/fork", post(mesh::fork_task)) .route("/mesh/tasks/{id}/checkpoints/{cid}/resume", post(mesh::resume_from_checkpoint)) .route("/mesh/tasks/{id}/checkpoints/{cid}/branch", post(mesh::branch_from_checkpoint)) + // Task branching endpoint + .route("/mesh/tasks/{id}/branch", post(mesh::branch_task)) // Supervisor endpoints (for supervisor.sh) .route("/mesh/supervisor/contracts/{contract_id}/tasks", get(mesh_supervisor::list_contract_tasks)) .route("/mesh/supervisor/contracts/{contract_id}/tree", get(mesh_supervisor::get_contract_tree)) |
