diff --git a/.claude/skills/run-trex-core-daemon/smoke.py b/.claude/skills/run-trex-core-daemon/smoke.py index afc19c8..b30bbbc 100644 --- a/.claude/skills/run-trex-core-daemon/smoke.py +++ b/.claude/skills/run-trex-core-daemon/smoke.py @@ -37,7 +37,7 @@ INST = sys.argv[1] if len(sys.argv) > 1 else "default" def main() -> int: mq = RabbitMQTransport(URL, timeout=10.0) - snap_q = topology.snapshot_queue(INST) + snap_q = topology.slots_queue(INST) intent_q = topology.intent_queue(INST) def snap(): @@ -54,8 +54,8 @@ def main() -> int: print("=== 1) snapshot RPC ===") s = snap() slots = s["slots"] - print(f"assets={len(s['assets'])} slots={len(slots)} " - f"available_slots={s['available_slots']}") + available = [x for x in slots if x["status"] == "inactive" and not x["universe_detached"]] + print(f"slots={len(slots)} available_slots={len(available)}") inactive = [x for x in slots if x["status"] == "inactive" and not x["universe_detached"]] if not inactive: