← Commit history
BRIDGE_VERSION+1−1
@@ -1 +1 @@-1.9.296\ No newline at end of file+1.9.297\ No newline at end of file
addin/AdomBridge/AdomBridge.manifest+1−1
@@ -6,7 +6,7 @@     "description": {         "": "Adom Desktop Conduit bridge add-in. Exposes a localhost HTTP API for external automation of Fusion 360."     },-    "version": "1.0.13",+    "version": "1.0.14",     "runOnStartup": true,     "supportedOS": "windows" }\ No newline at end of file
addin/AdomBridge/commands/close_document.py+16
@@ -87,6 +87,16 @@ def handle_close_document(app: adsk.core.Application, args: dict) -> dict:          # Close the document. Passing False skips the save dialog entirely.         _stopped = _stop_running_command(app, doc_name)+        # A MODIFIED CLOUD DOCUMENT PROMPTS EVEN WITH saveChanges=False (John, 2026-08-30:+        # "Unsaved changes to LAN7800" while the chain re-opened its own library). Saving it+        # first is the only dialog-free close, and it costs one version of a bridge document.+        _saved_first = False+        try:+            if not save_changes and doc.dataFile is not None and bool(doc.isModified):+                doc.save("adom bridge: saved before close to avoid Fusion's prompt")+                _saved_first = True+        except Exception:+            pass         doc.close(save_changes)          remaining = app.documents.count@@ -103,6 +113,7 @@ def handle_close_document(app: adsk.core.Application, args: dict) -> dict:             "data": {                 "closedDocument": doc_name,                 "commandStopped": _stopped.get("stopped"),+                "savedFirstToAvoidPrompt": _saved_first,                 "savedBeforeClose": save_changes,                 "hadUnsavedChanges": not is_saved,                 "remainingDocuments": remaining,@@ -217,6 +228,11 @@ def handle_close_all_documents(app: adsk.core.Application, args: dict) -> dict:                     would_prompt.append(doc_name)                     continue             _stop_running_command(app, doc_name)+            try:+                if not save_changes and has_data_file and bool(doc.isModified):+                    doc.save("adom bridge: saved before close to avoid Fusion's prompt")+            except Exception:+                pass             doc.close(save_changes)             closed.append(doc_name)         except Exception as e:
adom-bridge-fusion-manifest.json+4−4
@@ -1,10 +1,10 @@ {   "manifest_version": 1,   "name": "fusion360",-  "version": "1.9.296",-  "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.296/adom-bridge-fusion-v1.9.296.zip",-  "sha256": "91484b35b3857ead8a8cec69283d17f6a4bb5188e42030fe4f7f56f9fd26bc2d",-  "size": 583723,+  "version": "1.9.297",+  "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.297/adom-bridge-fusion-v1.9.297.zip",+  "sha256": "f8f3e22af2ec43cc21309bb718ef7dcae1aa39d12d4be7b1015b0893d1c893b8",+  "size": 584331,   "verbPrefixes": [     "fusion_"   ],
bridge.json+1−1
@@ -2,7 +2,7 @@   "manifest_version": 1,   "name": "fusion360",   "displayName": "Autodesk Fusion 360",-  "version": "1.9.296",+  "version": "1.9.297",   "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.lock+1−1
@@ -4,7 +4,7 @@ version = 4  [[package]] name = "fusion-dashboard"-version = "1.9.296"+version = "1.9.297" dependencies = [  "serde_json", ]
dashboard/Cargo.toml+1−1
@@ -1,6 +1,6 @@ [package] name = "fusion-dashboard"-version = "1.9.296"+version = "1.9.297" 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.296"+DASH_VERSION="1.9.297" 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.296",+  "version": "1.9.297",   "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,6 +1,6 @@ {   "slug": "fusion-bridge",-  "version": "1.9.296",+  "version": "1.9.297",   "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": {@@ -11,6 +11,10 @@     "uninstall": "./uninstall.sh"   },   "tags": [+    "ab",+    "bridge",+    "fusion",+    "desktop-app",     "fusion360",     "autodesk",     "cad",@@ -75,7 +79,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.",@@ -104,9 +111,5 @@       "label": "Part volume",       "prompt": "How much material does each printed part in this assembly use?"     }-  ],-  "author": {-    "name": "John Lauer",-    "email": "[email protected]"-  }-}\ No newline at end of file+  ]+}
server.py+18−2
@@ -15399,6 +15399,16 @@ def _handle_restart_for_addin(fusion_info: dict, args: dict) -> dict:                           "closed": (sv.get("data") or {}).get("closed"),                           "wouldPrompt": (sv.get("data") or {}).get("wouldPrompt")})             _wp = (sv.get("data") or {}).get("wouldPrompt")+            # BRIDGE-OWNED SCRATCH IS DISPOSABLE (John, 2026-08-30, three "Unsaved changes"+            # prompts in a row): a never-saved test board the bridge itself generated must+            # not stop the restart, and a graceful close would make Fusion ASK for it. When+            # every such document is the bridge's own, end Fusion hard (no close prompts,+            # nothing of the user's on the line) instead of refusing or asking.+            _hard = False+            if _wp and not _user_unsaved_docs(_wp):+                steps.append({"step": "discard-bridge-scratch", "docs": list(_wp)})+                _hard = True+                _wp = None             if _wp:                 return {"success": False, "errorCode": "unsaved_named_document",                         "error": ("Cannot restart safely: %s has never been saved, so Fusion "@@ -15417,8 +15427,14 @@ def _handle_restart_for_addin(fusion_info: dict, args: dict) -> dict:         # handle_fusion_stop, imported at module top from handlers.close_fusion. My first         # draft called a name that does not exist (_handle_fusion_stop) behind a globals()         # check that would have silently taken a fallback path instead of failing loudly.-        st = handle_fusion_stop(detect_fusion(), {})-        steps.append({"step": "stop", "ok": bool((st or {}).get("success", True))})+        if (save and locals().get("_hard")) or not save:+            # no graceful close: it would prompt for every unsaved document; with only bridge+            # scratch (save:true path) or an explicit save:false, a hard stop is the dialog-free way+            st = handle_fusion_kill(detect_fusion(), {"reason": "restart for add-in; only bridge scratch unsaved"})+            steps.append({"step": "kill", "ok": bool((st or {}).get("success", True))})+        else:+            st = handle_fusion_stop(detect_fusion(), {})+            steps.append({"step": "stop", "ok": bool((st or {}).get("success", True))})     except Exception as e:         steps.append({"step": "stop", "ok": False, "error": str(e)[:200]})