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
Update 8 file(s)
8 files changed
+88−17
BRIDGE_VERSION+1−1@@ -1 +1 @@-1.9.85+1.9.86
adom-bridge-fusion-manifest.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "fusion360",- "version": "1.9.85",- "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.97/adom-bridge-fusion-v1.9.85.zip",- "sha256": "9aefad7ab31c8e86d4893230eeb4bdb9e5d0b214d61fc032bb2a3d5582de8122",- "size": 423433,+ "version": "1.9.86",+ "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.98/adom-bridge-fusion-v1.9.86.zip",+ "sha256": "904c9e88e44fbf609650aae3c19846d4ad7faecf38bff6539ed5a14777377cd7",+ "size": 424484, "verbPrefixes": [ "fusion_" ],
bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "fusion360", "displayName": "Autodesk Fusion 360",- "version": "1.9.85",+ "version": "1.9.86", "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.97"+version = "1.9.98" edition = "2021" [dependencies]
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.97"+DASH_VERSION="1.9.98" 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.97",+ "version": "1.9.98", "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.97",+ "version": "1.9.98", "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+68@@ -4515,6 +4515,53 @@ def _find_save_prompt() -> dict: return {"found": False} ++def _close_idle_bridge_docs() -> dict:+ """Close BRIDGE-created documents that are sitting DIRTY while nothing is driving.++ John, 2026-08-20: "why are you always leaving annoying dialog boxes up like this?"+ Dismissing the Save prompt was only ever treating the symptom. The prompt exists+ because our surfaces/tour runs leave the staged document MODIFIED and open, so the+ next thing that tries to close it asks the user to decide about OUR throwaway edits.+ A prompt we have to dismiss is a mess we should not have made.++ Only touches documents in the bridge-doc registry, only while no driving verb has run+ for a few minutes (so a demo in progress is never yanked out from under itself), and+ always with save:false - these are our scratch edits, never the user's work.+ """+ import time as _t+ try:+ idle_for = _t.time() - float(_LAST_DRIVE_AT[0] or 0)+ except Exception:+ idle_for = 1e9+ if idle_for < 180:+ return {"closed": [], "why": "driving activity within 3 minutes - leaving documents alone"}+ try:+ st = _proxy_to_addin("document_info", {}, timeout=6)+ except Exception:+ return {"closed": [], "why": "add-in unreachable"}+ if not st.get("success"):+ return {"closed": [], "why": "no document info"}+ docs = (st.get("data") or {}).get("openDocuments") or []+ closed = []+ for d in docs:+ name = str(d.get("name") or "")+ dirty = bool(d.get("isModified") or d.get("modified") or name.endswith("*"))+ if not name or not dirty:+ continue+ if not _is_bridge_doc_text(name):+ continue # the user's document - never ours to close+ try:+ r = _proxy_to_addin("close_document", {"name": name.rstrip("*"), "save": False}, timeout=20)+ if r.get("success"):+ closed.append(name)+ print("[Fusion Bridge] janitor: closed dirty bridge doc %r (save:false) so it "+ "cannot raise a Save prompt on the user" % name)+ except Exception:+ pass+ return {"closed": closed, "why": "closed %d dirty bridge doc(s)" % len(closed)}++ def _dismiss_save_prompt_if_bridge_doc() -> dict: """Auto-dismiss the Save prompt ONLY for bridge-created docs. Ladder: 1. Prompt text names a bridge doc -> UIA-click "Don't Save" (background, discards OUR@@ -4577,6 +4624,19 @@ def _dismiss_save_prompt_if_bridge_doc() -> dict: print("[Fusion Bridge] save-prompt sentinel: clicked %r for bridge doc %r (background)" % (prompt["button"], matched)) return {"handled": True, "why": "clicked '%s' for bridge doc '%s'" % (prompt["button"], matched)}+ # ATTRIBUTED to a bridge doc, so "Don't Save" is the RIGHT answer, not Escape. Escape+ # cancels the close and leaves the doc dirty, which guarantees the same prompt returns -+ # that loop is exactly what John saw twice in a row (2026-08-20). Try the decisive+ # button first; Escape stays as the fallback when UIA is unavailable.+ try:+ r2 = _unwrap(_ad_call("desktop_ui_click",+ {"hwnd": prompt["hwnd"], "name": "Don't Save"}, timeout=15))+ if r2.get("invoked") or r2.get("success"):+ print("[Fusion Bridge] save-prompt sentinel: clicked \'Don\'t Save\' for bridge doc %r "+ "(attributed by window title)" % matched)+ return {"handled": True, "why": "clicked Don't Save for bridge doc '%s'" % matched}+ except Exception:+ pass # Escape = Cancel: always non-destructive, needs no UIA and no ab input grant. try: esc = send_key_background("escape", hwnd=prompt["hwnd"])@@ -5576,6 +5636,14 @@ def _seat_sweep_tick(): _dismiss_save_prompt_if_bridge_doc() except Exception: pass+ # PREVENTION beats dismissal: close our own dirty scratch docs while nothing is+ # driving, so the Save prompt never gets raised at the user in the first place.+ # Self-contained like every other section here - it must never be able to starve+ # the sections after it (the early-return bug that broke this sweep before).+ try:+ _close_idle_bridge_docs()+ except Exception:+ pass def _seat_resolve_section():