feat: add update command to CLI, relay, and client

This commit is contained in:
Helios Agent 2026-03-06 12:16:10 +01:00
parent 835d20f734
commit 6345209538
No known key found for this signature in database
GPG key ID: C8259547CD8309B5
9 changed files with 302 additions and 0 deletions

View file

@ -62,6 +62,8 @@ async fn main() -> anyhow::Result<()> {
.route("/devices/:label/run", post(api::run_program))
.route("/devices/:label/clipboard", get(api::clipboard_get))
.route("/devices/:label/clipboard", post(api::clipboard_set))
.route("/relay/update", post(api::relay_update))
.route("/devices/:label/update", post(api::client_update))
.layer(middleware::from_fn_with_state(state.clone(), require_api_key));
let app = Router::new()