summaryrefslogtreecommitdiff
path: root/makima/src/server/mod.rs
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-02-24 23:37:44 +0000
committerGitHub <noreply@github.com>2026-02-24 23:37:44 +0000
commit5d1fbed2733e93cc2be2e1a89ca022d88bef613f (patch)
tree48f66f56c2557b5101a49775e0d964ccd94b516a /makima/src/server/mod.rs
parentb9bc33ab69d094d97fd1398aaa39e8e435547d17 (diff)
downloadsoryu-0.3.1.tar.gz
soryu-0.3.1.zip
feat: non-blocking reconcile polling, directive CLI orders & cleanup (#82)v0.3.1
* feat: soryu-co/soryu - makima: Remove aarch64-unknown-linux-gnu from release workflow * WIP: heartbeat checkpoint * WIP: heartbeat checkpoint * WIP: heartbeat checkpoint * feat: soryu-co/soryu - makima: Implement non-blocking ask with client-side polling for reconcile mode
Diffstat (limited to 'makima/src/server/mod.rs')
-rw-r--r--makima/src/server/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/makima/src/server/mod.rs b/makima/src/server/mod.rs
index 1ad3a8d..e0f8e7d 100644
--- a/makima/src/server/mod.rs
+++ b/makima/src/server/mod.rs
@@ -129,8 +129,11 @@ pub fn make_router(state: SharedState) -> Router {
.route("/mesh/supervisor/tasks/{task_id}/merge", post(mesh_supervisor::merge_task))
.route("/mesh/supervisor/tasks/{task_id}/diff", get(mesh_supervisor::get_task_diff))
.route("/mesh/supervisor/pr", post(mesh_supervisor::create_pr))
+ // Supervisor order creation endpoint
+ .route("/mesh/supervisor/orders", post(mesh_supervisor::create_order_for_task))
// Supervisor question endpoints
.route("/mesh/supervisor/questions", post(mesh_supervisor::ask_question))
+ .route("/mesh/supervisor/questions/{question_id}/poll", get(mesh_supervisor::poll_question))
.route("/mesh/questions", get(mesh_supervisor::list_pending_questions))
.route("/mesh/questions/{question_id}/answer", post(mesh_supervisor::answer_question))
// Mesh WebSocket endpoints