feat(ops): expand command suite with watchdog.alerts, relay.health, and swarm.results

This commit is contained in:
operator
2026-10-05 05:39:36 +00:00
parent c2b53c69f9
commit 96cb80288f
2 changed files with 28 additions and 2 deletions
+10 -2
View File
@@ -343,8 +343,13 @@ case "$cmd" in
list)
call_exec "swarm.list" "{}"
;;
results)
sid="${1:?usage: box swarm results <swarm_id>}"
args=$(python3 -c "import json, sys; print(json.dumps({'swarm_id': sys.argv[1]}))" "$sid")
call_exec "swarm.results" "$args"
;;
*)
echo "Usage: box swarm spawn|status|list ..."
echo "Usage: box swarm spawn|status|results|list ..."
;;
esac
;;
@@ -435,7 +440,10 @@ case "$cmd" in
call_exec "chrome.errors" "{}"
;;
watchdog-alerts)
call_exec "cdp.latency" "{}"
call_exec "watchdog.alerts" "{}"
;;
relay-health)
call_exec "relay.health" "{}"
;;
ping)
call_exec "exec.ping" "{}"