app
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.
← Commit history
v1.9.54: ralph findings
11 files changed
+53−20
BRIDGE_VERSION+1−1@@ -1 +1 @@-1.9.53+1.9.54
CHANGELOG.md+9@@ -3,6 +3,15 @@ All notable changes to the Adom Bridge Fusion 360 bridge, newest first. Canonical: https://wiki.adom.inc/adom/fusion-bridge · GitHub backup: `adom-inc/fusion-bridge` +## 1.9.54 - 2026-08-17++- **Ralph-test findings on 1.9.53, same day.** (1) An UNATTRIBUTED save prompt (its spawning doc+ already closed, so no title names it) stood forever - the sentinel now posts ESCAPE (Cancel,+ non-destructive for anyone's doc) after 2 sweep sightings; Don't Save still requires+ attribution. (2) UIA-less prompt hwnds are probed for a Don't-Save button ONCE, not 2x10s every+ sweep. (3) Dashboard SSE state pushes for a DIFFERENT target no longer overwrite the user's+ selected box view (the header/pill mismatch in the first 1.9.53 capture).+ ## 1.9.53 - 2026-08-17 - **Honest state detection (John: "you aren't detecting my state all that well").** Sign-in,
adom-bridge-fusion-manifest.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "fusion360",- "version": "1.9.53",- "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.53/adom-bridge-fusion-v1.9.53.zip",- "sha256": "1c42f1d13bee5b915b0885bc53c87e637cf149daef80d6c096a86cd061545381",- "size": 403956,+ "version": "1.9.54",+ "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.54/adom-bridge-fusion-v1.9.54.zip",+ "sha256": "b8139e0bc3029fb49e791df6ec9d9b39d2a30f1c6f0163f08ffffaeace2dd660",+ "size": 404402, "verbPrefixes": [ "fusion_" ],
bin/fusion-dashboard⋯ 1 unchanged line ⋯
bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "fusion360", "displayName": "Autodesk Fusion 360",- "version": "1.9.53",+ "version": "1.9.54", "description": "Drive Autodesk Fusion 360 from the cloud: launch Fusion, electronics board layout, design rules, exports (STEP/IGES/STL/3MF/USDZ/OBJ/DXF/DWG/Gerbers/BOM/CPL), fast APS server-indexed cloud search plus browse/recent/file-info/versions, cloud file download/upload and folder creation, and in-app parametric modeling (fusion_run_modeling_script). Never-charge: APS calls are capped to the free tier.", "homepage": "https://wiki.adom.inc/adom/fusion-bridge", "author": "Adom Inc.",
dashboard/Cargo.toml+1−1@@ -1,6 +1,6 @@ [package] name = "fusion-dashboard"-version = "1.9.53"+version = "1.9.54" edition = "2021" [dependencies]
dashboard/ui/index.html+1−1@@ -276,7 +276,7 @@ let sseUp=false; function connectSSE(){ const es=new EventSource('events'); es.addEventListener('hello',()=>{sseUp=true;console.log('sse connected');});- es.addEventListener('state',e=>{try{lastStatus=JSON.parse(e.data);renderLeds(lastStatus);}catch(_){}});+ es.addEventListener('state',e=>{try{const st=JSON.parse(e.data);if(!curTarget||st.target===curTarget){lastStatus=st;renderLeds(st);}}catch(_){}}); es.addEventListener('toast',e=>{try{const t=JSON.parse(e.data);toast(t.message,t.kind==='info'?'':t.kind);}catch(_){}}); es.addEventListener('click',e=>{try{ const {target}=JSON.parse(e.data);const sel=CLICK_TARGETS[target];
install.sh+1−1@@ -21,7 +21,7 @@ echo "Installed fusion-bridge skills: $(ls "$PKG_DIR/skills" 2>/dev/null | tr '\ # binary (the three-artifact pattern: bridge zip -> ab, THIS pkg -> container skills + # this download, page media -> wiki). Per the wiki's PKG_VS_RELEASE policy, binaries are # platform-tagged RELEASE assets, never tarball content - the installer fetches them.-DASH_VERSION="1.9.53"+DASH_VERSION="1.9.54" DASH_URL="https://wiki.adom.inc/download/adom/fusion-bridge/${DASH_VERSION}/fusion-dashboard" DEST="" if [ -w /usr/local/bin ]; then DEST=/usr/local/bin
package.json+1−1@@ -1,6 +1,6 @@ { "slug": "fusion-bridge",- "version": "1.9.53",+ "version": "1.9.54", "type": "app", "description": "This package installs the bridge's SKILLS into your container so your AI knows how to drive it; Adom Bridge loads the bridge runtime itself from the release zip.", "dependencies": {
page.json+11−8@@ -1,16 +1,20 @@ { "slug": "fusion-bridge",- "version": "1.9.53",+ "version": "1.9.54", "type": "app", "description": "This package installs the bridge's SKILLS into your container so your AI knows how to drive it; Adom Bridge loads the bridge runtime itself from the release zip.", "dependencies": {- "adom/adom-desktop": "*"+ "adom/adom-desktop": "^1.9.0" }, "scripts": { "install": "./install.sh", "uninstall": "./uninstall.sh" }, "tags": [+ "ab",+ "bridge",+ "fusion",+ "desktop-app", "fusion360", "autodesk", "cad",@@ -70,7 +74,10 @@ "build a basic parts library", "add a 3d model to a component", "make a fusion 360 library with 3d",- "set up the fusion bridge"+ "set up the fusion bridge",+ "fusion dashboard",+ "fusion status page",+ "open the fusion launch page" ], "discovery_pitch": "Use the Adom Bridge Fusion 360 bridge when the user wants to DRIVE Autodesk Fusion 360 from the cloud: open/search their team's Fusion cloud designs, lay out a PCB or do electronics, export STEP/IGES/STL/Gerbers/BOM, or build a component library with real rendering 3D. It runs Fusion on the user's own machine via Adom Bridge. NOT for web/browser/login/form-filling (that's the native-browser extension) and NOT for KiCad (that's the kicad bridge).", "brief": "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.",@@ -99,9 +106,5 @@ "label": "Part volume", "prompt": "How much material does each printed part in this assembly use?" }- ],- "author": {- "name": "John Lauer",- "email": "[email protected]"- }+ ] }
server.py+23−2@@ -4246,6 +4246,8 @@ COMMAND_HANDLERS["set_auto_update"] = _handle_set_auto_update # standing and classified as before (classify_blocking_dialogs -> save_changes hint). _BRIDGE_DOCS: set = set() # lowercase doc-name fragments the bridge created+_UNATTRIBUTED_PROMPT_STRIKES: dict = {} # hwnd -> consecutive sightings without attribution+_NO_DONTSAVE_HWNDS: set = set() # hwnds probed once with NO Don't-Save button (UIA-less) _DONT_SAVE_LABELS = ("Don't Save", "Don’t Save") # Names the bridge generates by CONVENTION - always ours, even after a respawn wiped the # session registry (caught live 2026-08-16: respawn emptied _BRIDGE_DOCS and the sentinel@@ -4296,7 +4298,7 @@ def _find_save_prompt() -> dict: if not h: continue title = str(d.get("title") or "").strip().lower()- for label in _DONT_SAVE_LABELS:+ for label in (() if h in _NO_DONTSAVE_HWNDS else _DONT_SAVE_LABELS): r = _find_controls_any(_ad_call("desktop_find_control", {"hwnd": int(h), "name": label}, timeout=10)) best = r.get("best") or {}@@ -4314,6 +4316,7 @@ def _find_save_prompt() -> dict: return {"found": True, "hwnd": int(h), "button": best.get("name"), "text": text} if title in ("save", "save changes", "unsaved changes"): # UIA-less Qt variant: identified by title alone; no clickable button handle.+ _NO_DONTSAVE_HWNDS.add(h) # never pay the 2x10s UIA probe for this hwnd again return {"found": True, "hwnd": int(h), "button": None, "text": ""} except Exception: pass@@ -4341,7 +4344,25 @@ def _dismiss_save_prompt_if_bridge_doc() -> dict: pass matched = _is_bridge_doc_text(main_title) if not matched:- return {"handled": False, "why": "prompt/main title name no bridge document - NOT auto-dismissing",+ # UNATTRIBUTABLE prompt (the spawning doc already closed, so no title names it -+ # exactly how a standing prompt looks after a close-flow; caught live 2026-08-17).+ # Escape = CANCEL: non-destructive for ANYONE's document (the close is cancelled,+ # the doc stays open, nothing saved or discarded). A modal that blocks the add-in+ # main thread for 2+ sweeps gets escaped rather than sat on; Don't Save is still+ # NEVER clicked without attribution.+ n = _UNATTRIBUTED_PROMPT_STRIKES.get(prompt["hwnd"], 0) + 1+ _UNATTRIBUTED_PROMPT_STRIKES[prompt["hwnd"]] = n+ if n >= 2:+ try:+ esc = send_key_background("escape", hwnd=prompt["hwnd"])+ if esc.get("success"):+ print("[Fusion Bridge] save-prompt sentinel: ESCAPED an unattributed prompt "+ "after %d sightings (Cancel - non-destructive, main thread freed)" % n)+ _UNATTRIBUTED_PROMPT_STRIKES.pop(prompt["hwnd"], None)+ return {"handled": True, "why": "escaped unattributed prompt (Cancel) after %d sightings" % n}+ except Exception:+ pass+ return {"handled": False, "why": "unattributed save prompt - strike %d of 2 before Escape" % n, "hwnd": prompt["hwnd"]} if prompt.get("button"): r = _unwrap(_ad_call("desktop_ui_click",