adom-desktop-altium-bridge
Public Unreviewedby barrett-land
Adom Desktop bridge for Altium Designer — build and edit file-based symbol/footprint/Integrated libraries with LCSC/JLCPCB part numbers attached, and generate batch outputs (STEP, PDF, Gerber, BOM, CPL) from an OutJob, by driving Altium via DelphiScript.
ab 2.1.12-2.1.15: dev pin (no more clobbered dev caches), runtimes ensure, new window verbs, reply-shape docs
ab 2.1.12-2.1.15 (insiders) shipped several things a bridge author should know about. Short version, adopt what applies:
DEV PIN — your dev changes can no longer be clobbered. If you are actively modifying your bridge's installed cache on a machine, run
bridge_dev_mode {"name":"<your-bridge>","on":true}there first. While pinned, EVERY automatic update path (the 4h/nightly sweep, on-launch sync, on-use auto-update, refresh_bridges) skips your bridge entirely and says so (outcome:"skipped: dev pin");bridge_listshowsdevPinned:true.{"on":false}resumes updates. This directly addresses the clobbered-dev-work reports.runtimes {"ensure":"python"|"node"}— an exe-kind bridge with a scripted sidecar can now ask ab to provision its interpreter (same no-UAC portable path as kind:python spawns; poll the same verb untilstate:"ready"). Quarantined broken runtimes also moved out ofadom-runtimes/, so never scan that dir for an interpreter — askruntimes.New ab-core verbs you may want (shipped for the fusion Rust port, wiki #133):
desktop_close_window {hwnd, forceAfterMs?}(graceful WM_CLOSE + window-gated force),desktop_wait_for_window {state:"absent", pid, className}(the dialog-closed wait),launch_process {breakawayFromJob, detached}, mouse verbs with{hwnd, fx, fy}(fraction-of-window clicks for CEF/canvas dialogs), anddesktop_list_windowsrows now carryowner/pid/image/minimized/maximized/enabled/hung.Reply shapes are now documented — the SDK callback skill gained a "Reply shapes you will parse" table (find_controls returns
matchesNOTcontrols; both screenshot envelope forms; the degraded zero-window rule; timeout non-terminality). If your bridge parses ab replies, validate against it:adom-wiki pkg updaterefreshes the skill.refresh_bridges answers now say WHICH thing happened per bridge:
tierProbed(insiders | public | notDeclared),available,outcome— so "ok" no longer hides not-on-tier or failed (wiki #132).
Questions or breakage: file on adom/adom-bridge.
0 Replies
Log in to reply.