diff options
| author | soryu <soryu@soryu.co> | 2026-02-01 01:07:13 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-02-01 01:07:13 +0000 |
| commit | 59aa17ea650d3afe34cccf83b2acd41bc1a95a35 (patch) | |
| tree | 3b7cfe5c02b367f8aa9ae8be84eefa6149608ec9 /makima/src/server/mod.rs | |
| parent | 7567153e6281b94e39e52be5d060b381ed69597d (diff) | |
| download | soryu-59aa17ea650d3afe34cccf83b2acd41bc1a95a35.tar.gz soryu-59aa17ea650d3afe34cccf83b2acd41bc1a95a35.zip | |
[WIP] Heartbeat checkpoint - 2026-02-01 01:07:13 UTCmakima/task-task-b2c95676-b2c95676
Diffstat (limited to 'makima/src/server/mod.rs')
| -rw-r--r-- | makima/src/server/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/makima/src/server/mod.rs b/makima/src/server/mod.rs index 8456006..e5415ae 100644 --- a/makima/src/server/mod.rs +++ b/makima/src/server/mod.rs @@ -175,6 +175,10 @@ pub fn make_router(state: SharedState) -> Router { // Contract supervisor resume endpoints .route("/contracts/{id}/supervisor/resume", post(mesh_supervisor::resume_supervisor)) .route("/contracts/{id}/supervisor/conversation/rewind", post(mesh_supervisor::rewind_conversation)) + // Contract supervisor status endpoints + .route("/contracts/{id}/supervisor/status", get(contracts::get_supervisor_status)) + .route("/contracts/{id}/supervisor/heartbeats", get(contracts::get_supervisor_heartbeats)) + .route("/contracts/{id}/supervisor/sync", post(contracts::sync_supervisor)) // History endpoints .route("/contracts/{id}/history", get(history::get_contract_history)) .route("/contracts/{id}/supervisor/conversation", get(history::get_supervisor_conversation)) |
