app
KiCad - the KiCad Bridge
Public Made by Adomby adom
Reference implementation of the KiCad bridge: multi-instance Python server, forward path via kicad-cli, reverse path via in-process plugin. Most complex of the three bundled bridges.
← Commit history
0.9.285: Foreground etiquette on the Symbol Editor launch (wiki #71 field test): before opening or auto-rescan-relaunching the editor the bridge captions why a KiCad window is about to appear, remembers the user's front window, and the moment the new frame exists looks ONCE at the z-order; if the frame landed above a non-KiCad user window it slides the frame back behind it with SetWindowPos(NOACTIVATE) and then leaves the z-order alone for good (alt-tab and taskbar clicks stay the user's). show_library responses carry _foreground with what happened. kicad_install_symbol success now includes kicadParser (KiCad's verdict on the written file).
3 files changed
+7−2
BRIDGE_VERSION+1−1@@ -1 +1 @@-0.9.284+0.9.285
bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "kicad", "displayName": "KiCad EDA",- "version": "0.9.284",+ "version": "0.9.285", "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/install_symbol.py+5@@ -102,6 +102,10 @@ def handle_install_symbol(kicad_info: dict, args: dict) -> dict: added_names = result.get("added", []) lib_path = result.get("lib_path", "")+ # KiCad's verdict on the file as written (wiki #71). Success responses used+ # to drop it, so a caller could not tell "the bridge wrote it" from "KiCad+ # loads it" without a second call.+ kicad_parser = result.get("kicadParser") # --- Step 3: Optionally open Symbol Editor --- @@ -163,6 +167,7 @@ def handle_install_symbol(kicad_info: dict, args: dict) -> dict: out = { "success": True, "output": " | ".join(output_parts),+ "kicadParser": kicad_parser, "installedPath": lib_path, "symbolNames": added_names, "libraryName": ADOM_LIB_NAME,