← Commit history

0.9.293: kicad_demo progress now reports panel (last show reply, stage, callback URL), muted, muteSource, lastPress and paused; each step in the final result carries foregrounded (whether the beat's window was brought forward once).

John Lauer ·98f4c2ca81 ·1mo ago ·parent 190bbf5
3 files changed +5−3
BRIDGE_VERSION+1−1
@@ -1 +1 @@-0.9.292\ No newline at end of file+0.9.293\ No newline at end of file
bridge.json+1−1
@@ -2,7 +2,7 @@   "manifest_version": 1,   "name": "kicad",   "displayName": "KiCad EDA",-  "version": "0.9.292",+  "version": "0.9.293",   "description": "Reverse bridge for KiCad \u2014 board/schematic introspection, lint via kicad-cli, plugin install, multi-instance probe, in-process DRC.",   "homepage": "https://wiki.adom.inc/adom/adom-bridge",   "author": "Adom Inc.",
handlers/demo.py+3−1
@@ -1015,6 +1015,7 @@ def _run_demo_background(kicad_info: dict) -> None:                         "failedSteps": [r["step"] for r in results if not r.get("ok")],                         "steps": [{"step": r["step"], "title": r.get("title"),                                    "ok": r.get("ok"), "pointOut": r.get("pointOut"),+                                   "foregrounded": r.get("foregrounded"),                                    "failReason": (None if r.get("ok") else {                                        "handlerSuccess": bool((r.get("raw") or {}).get("success")),                                        "error": str((r.get("raw") or {}).get("error") or "")[:200],@@ -1063,7 +1064,8 @@ def handle_demo(kicad_info: dict, args: dict) -> dict:                     "_hint": "Start one with kicad_demo {\"all\":true,\"background\":true}."}         out = {"success": True, **{k: snap.get(k) for k in                ("done", "step", "stepLabel", "beatIndex", "beatCount",-                "percent", "elapsedSec", "estimatedSec", "error")}}+                "percent", "elapsedSec", "estimatedSec", "error",+                "panel", "muted", "muteSource", "lastPress", "paused")}}         # 0.9.199 (wiki issue #39, John): `active` used to be a BOOLEAN here and         # an ARRAY in kicad_progress - the same key, two types, from one bridge.         # A renderer written as `if (resp.active)` then treats a finished job as