Watch
0
0
Fork
You've already forked hyperhive
0

swarmctl: agent set-state declares an agent's wanted state

Wraps PUT /api/hives/{hive}/agents/{agent}/state, the route the swarm UI's
state menu uses. States come from swarm_wire::wanted::AgentState; destroyed
needs --yes.

Closes #6159
This commit is contained in:
atlas 2026-11-07 03:58:39 +01:00 • committed by mara
commit 71d360c9d2

View file

@ -36,6 +36,8 @@ serde_norway = "0.9.42"
sha2.workspace = true
# The request and response bodies, shared with swarm-controller.
swarm-controller-api.workspace = true
# `AgentState`, the values `agent set-state` takes.
swarm-wire.workspace = true
tokio.workspace = true
url.workspace = true