From 07c67e5da3a55d9a9c8ee8a0b80cca8f41a78adc Mon Sep 17 00:00:00 2001 From: operator Date: Mon, 5 Oct 2026 16:06:50 +0000 Subject: [PATCH] fix(cli): parse swarm object correctly in 'box swarm status' --- bin/super-cli.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/super-cli.py b/bin/super-cli.py index 1983044..0ba0d39 100755 --- a/bin/super-cli.py +++ b/bin/super-cli.py @@ -3154,9 +3154,10 @@ def cmd_swarm_status(args): d = json.loads(res.stdout) if d.get("ok"): print(c_bold(f"\n=== SWARM STATUS: {args.swarm_id} ===")) - print(f" Status: {d.get('status')}") + sw = d.get("swarm", {}) + print(f" Status: {sw.get('status')}") print(f" Counts: {d.get('counts')}") - slots = d.get("slots", []) + slots = sw.get("slots", []) print(f"\n Slots ({len(slots)}):") for s in slots: res_txt = s.get("result")