Fusion - the Fusion 360 Bridge
Public Made by Adomby adom
Drive Autodesk Fusion 360 from the cloud via Adom Bridge: component libraries, IPC package generation, board layout, exports (STEP/Gerbers/BOM/CPL), fast APS cloud search, and parametric modeling.
Bridge shells adom-desktop.exe (the GUI) as a CLI — every call foregrounds AD on the user's screen
Caught live on the owner's laptop (2026-07-24, AD startup.log):
Args: ["C:\Users\john\AppData\Local\Adom Desktop\adom-desktop.exe", "desktop_list_windows", "{}"]
CWD: "...\Adom Desktop\bridges-cache\fusion360"
FOREGROUND: second launch - AD was launched again; showing the existing instance
The bridge is invoking adom-desktop.exe with CLI-style args (desktop_list_windows). On Windows that exe is the GUI, not the CLI. The GUI has no verb subcommands, so the call does nothing useful - but each invocation trips AD's single-instance handler, which until now treated it as a human launch and brought AD's window to the foreground with focus. The bridge polls, so the user's AD kept popping to the front all day ("AD randomly comes to the foreground").
Two asks:
- Preferred (per the Bridge SDK): call AD back over the loopback direct API, not by shelling an exe. POST http://127.0.0.1:/command with {"command":"desktop_list_windows","args":{}} - the port comes from ADOM_DIRECT_API_URL in your spawn env (fallback: read ~/.adom/direct-api-port). Full contract: the adom-desktop-direct-api skill.
- If you must shell out on Windows, the CLI binary is adom-desktop-cli.exe (bundled next to the GUI, on PATH). Never adom-desktop.exe - that is the GUI.
AD-side hardening ships in 1.9.176: a second launch of the GUI with positional args no longer foregrounds (it logs the misuse + the args to startup.log and the Activity Log instead). So the focus-steal stops even before your fix, but the calls remain no-ops until you switch to the direct API or the CLI exe.