← Commit history

Update 6 file(s)

John Lauer ·075b6513c2 ·1mo ago ·parent b930fd4
6 files changed +48−14
BRIDGE_VERSION+1−1
@@ -1 +1 @@-1.9.124\ No newline at end of file+1.9.125\ No newline at end of file
adom-bridge-fusion-manifest.json+4−4
@@ -1,10 +1,10 @@ {   "manifest_version": 1,   "name": "fusion360",-  "version": "1.9.124",-  "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.140/adom-bridge-fusion-v1.9.124.zip",-  "sha256": "5fe094ff579a49fce3308026c9b2f6dca447ed4d653838606b747e44bbb3a7f3",-  "size": 459542,+  "version": "1.9.125",+  "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.141/adom-bridge-fusion-v1.9.125.zip",+  "sha256": "427e05a38e511465dea490d37d729c972ca64557a43359ab38ef4aacdafac6ad",+  "size": 460114,   "verbPrefixes": [     "fusion_"   ],
bridge.json+1−1
@@ -2,7 +2,7 @@   "manifest_version": 1,   "name": "fusion360",   "displayName": "Autodesk Fusion 360",-  "version": "1.9.124",+  "version": "1.9.125",   "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.",
package.json+1−1
@@ -1,6 +1,6 @@ {   "slug": "fusion-bridge",-  "version": "1.9.140",+  "version": "1.9.141",   "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+10−7
@@ -1,6 +1,6 @@ {   "slug": "fusion-bridge",-  "version": "1.9.140",+  "version": "1.9.141",   "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",@@ -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]"-  }+  ] }\ No newline at end of file
server.py+31
@@ -8883,6 +8883,10 @@ _SHOW_SURFACE_VERBS = { }  _WINDOW_RAISING = {+    # close verbs raise windows too (the Hub upload-close confirm, Save-As) - John caught+    # the modal standing TWICE on 2026-08-21 because the post-verb sweep never ran for a+    # raw close_document from web control.+    "close_document", "close_window",     "open_cloud_file", "open_by_urn", "aps_open", "open_design", "open_lbr",     "open_schematic", "open_board", "import_electronics", "import_step",     "new_electronics_from_eagle", "show_schematic", "show_2d_board", "show_3d_board",@@ -10361,6 +10365,33 @@ def _dispatch_command_inner(command: str, args: dict, caller_identity: dict = No      # Add-in proxy commands     if command in ADDIN_COMMANDS:+        # ⛔ RAW close_document GATE (John caught the modal standing twice, 2026-08-21):+        # web control calls this verb directly, bypassing _close_bridge_doc_verified's+        # upload gate - and a close over an in-flight Hub upload raises the lose-changes+        # confirm. Same rule at this door: wait for app.hasActiveJobs (cap 45s inside+        # the relay window), then refuse honestly rather than raise a data-loss modal.+        if command == "close_document":+            import time as _tcg+            _cg_deadline = _tcg.time() + 45+            while _tcg.time() < _cg_deadline:+                try:+                    _jr = _proxy_to_addin("run_modeling_script",+                                          {"script": "import adsk.core\n"+                                                     "result={'jobs': adsk.core.Application.get().hasActiveJobs}"},+                                          timeout=10)+                    if not ((_jr.get("data") or {}).get("result") or {}).get("jobs"):+                        break+                except Exception:+                    break+                _tcg.sleep(5)+            else:+                return {"success": False, "errorCode": "upload_in_flight_close_deferred",+                        "error": "Fusion is still uploading packages to the Hub - closing now "+                                 "would raise a lose-changes confirm and risk destroying the "+                                 "upload. The close was NOT issued.",+                        "_hint": "Re-call fusion_close_document in ~30s; the bridge closes the "+                                 "moment app.hasActiveJobs drains. Nothing was lost and no "+                                 "dialog was raised."}         addin_cmd = ADDIN_COMMAND_MAP.get(command, command)         proxy_timeout = ADDIN_COMMAND_TIMEOUTS.get(command, 30)         # Wrap long-running commands in set/clear so the gate knows they're active.