← Commit history
BRIDGE_VERSION+1−1
@@ -1 +1 @@-1.9.218\ No newline at end of file+1.9.219\ 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.218",-  "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.218/adom-bridge-fusion-v1.9.218.zip",-  "sha256": "d43bcc37c19283d873b8de66595f48c2cfa5338184fa6aeb903b4820fb323d69",-  "size": 508448,+  "version": "1.9.219",+  "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.219/adom-bridge-fusion-v1.9.219.zip",+  "sha256": "d3ca61f34a214f055fa8489aace4bb6f289a2271758d5f480a8723aee957e8b6",+  "size": 509659,   "verbPrefixes": [     "fusion_"   ],
bridge.json+1−1
@@ -2,7 +2,7 @@   "manifest_version": 1,   "name": "fusion360",   "displayName": "Autodesk Fusion 360",-  "version": "1.9.218",+  "version": "1.9.219",   "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.218"+version = "1.9.219" dependencies = [  "serde_json", ]
dashboard/Cargo.toml+1−1
@@ -1,6 +1,6 @@ [package] name = "fusion-dashboard"-version = "1.9.218"+version = "1.9.219" 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.218"+DASH_VERSION="1.9.219" 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.218",+  "version": "1.9.219",   "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.218",+  "version": "1.9.219",   "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+71−5
@@ -3944,6 +3944,33 @@ def _build_in_flight():     # captures forever - a stuck marker must not become a permanent refusal.     return {k: v for k, v in _BUILD_IN_FLIGHT.items() if now - v < 3600} +def _publish_run_state(run_id: str, state: dict):+    """Write a run's state to the SAME per-run store fusion_prove_result already reads.++    Colby, PR #58 / page issue #65: the detached fusion_build_library_3d swallowed its+    core result in the background thread, so callers had to grep the bound .lbr for+    wip_urns to find out what happened. Reusing this store means the build becomes+    pollable with NO new verb and NO new poll surface - fusion_prove_result {runId}+    already knows how to read it.+    """+    import tempfile as _tf+    try:+        _PROVE_LAST[0] = dict(state)+        open(os.path.join(_tf.gettempdir(), "fusion-prove-last.json"), "w",+             encoding="utf-8").write(json.dumps(state))+        _p = os.path.join(_tf.gettempdir(), "fusion-prove-runs.json")+        try:+            _runs = json.loads(open(_p, encoding="utf-8").read())+        except Exception:+            _runs = {}+        _runs[run_id] = dict(state)+        while len(_runs) > 20:+            _runs.pop(next(iter(_runs)))+        open(_p, "w", encoding="utf-8").write(json.dumps(_runs))+    except Exception:+        pass++ def _orchestrate_build_library_3d(args: dict) -> dict:     """Bind real 3D onto a multi-part library. Runs DETACHED by default (async=True) so it     SURVIVES AD's 60s relay cap.@@ -3965,21 +3992,41 @@ def _orchestrate_build_library_3d(args: dict) -> dict:     if args.get("async", True) and args.get("parts"):         import threading as _th -        import time as _tt+        import time as _tt, uuid as _uu         _BUILD_IN_FLIGHT[out_path] = _tt.time()+        _parts = args.get("parts") or []+        _run_id = _uu.uuid4().hex[:12]+        _bstate = {"runId": _run_id, "verb": "fusion_build_library_3d",+                   "stage": "starting", "boundLbr": out_path,+                   "partsTotal": len(_parts), "partsDone": 0, "parts": []}+        _publish_run_state(_run_id, _bstate)++        def _on_part(entry, i, total):+            # PER-PART PROGRESS (Colby, PR #58): a 7-part build was a silent 10 minutes.+            _bstate["stage"] = "minting %s (%d/%d)" % (entry.get("package") or "part", i, total)+            _bstate["partsDone"] = i+            _bstate["parts"] = (_bstate.get("parts") or []) + [entry]+            _publish_run_state(_run_id, _bstate)          def _run():             try:-                _build_library_3d_core(args)-            except Exception:-                pass+                _res = _build_library_3d_core(dict(args, _onPart=_on_part)) or {}+                # KEEP THE REPORT. The thread used to swallow it, so callers had to grep+                # the bound .lbr for urns to learn what happened (PR #58).+                _bstate.update(stage="done", success=bool(_res.get("success")),+                               result=_res, partsDone=len(_bstate.get("parts") or []))+            except Exception as _e:+                _bstate.update(stage="failed", success=False,+                               error="%s: %s" % (type(_e).__name__, _e))             finally:                 # ALWAYS clear, even on failure: a marker that outlives its build would                 # refuse every later capture (page issue #62).                 _BUILD_IN_FLIGHT.pop(out_path, None)+                _publish_run_state(_run_id, _bstate)         _th.Thread(target=_run, daemon=True).start()         return {             "success": True, "status": "started", "async": True,+            "runId": _run_id, "statusVerb": "fusion_prove_result",             "boundLbr": out_path, "partsTotal": len(args.get("parts") or []),             "_hint": (                 "⏳ 3D bind runs DETACHED (survives AD's 60s relay cap, which used to kill it + lose "@@ -4014,6 +4061,17 @@ def _build_library_3d_core(args: dict) -> dict:     """     combined = (args.get("lbrPath") or "").replace("\\", "/")     parts = args.get("parts") or []+    # PER-PART PROGRESS CALLBACK (Colby, PR #58). Passed IN-PROCESS by the detached+    # wrapper, never over the relay. A no-op in sync mode, so the sync contract is+    # unchanged - a 7-part build simply stops being a silent ten minutes.+    _cb = args.get("_onPart") if callable(args.get("_onPart")) else None++    def _emit_part(entry, i, total):+        if _cb:+            try:+                _cb(entry, i, total)+            except Exception:+                pass     if not combined or not parts:         return {"success": False,                 "error": "lbrPath (combined .lbr) and parts[] are required.",@@ -4036,6 +4094,7 @@ def _build_library_3d_core(args: dict) -> dict:         if not pkg or not per_lbr or not step:             results.append({"package": pkg, "success": False,                             "error": "package, lbrPath (per-part .lbr) and modelPath (.step) all required"})+            _emit_part(results[-1], len(results), len(parts))             continue         mk_args = {             "lbrPath": per_lbr, "modelPath": step,@@ -4065,6 +4124,7 @@ def _build_library_3d_core(args: dict) -> dict:         if mk.get("after"):             shots.append({"package": pkg, "stage": "after", "path": mk["after"]})         results.append(entry)+        _emit_part(entry, len(results), len(parts))     # inject every binding in ONE pass, write the bound library. Read the ALREADY-BOUND output if it     # exists so a re-run ACCUMULATES (merge-aware) onto prior successes instead of starting clean.     bound = None@@ -12109,7 +12169,13 @@ def _dispatch_command_inner(command: str, args: dict, caller_identity: dict = No                 # show_3d_board machinery which switches the board editor to 3D.         return _handle_open_with_screenshot(fusion_info, args, command)     if command == "open_lbr":-        return _orchestrate_open_lbr(args)+        # DIALOG-GUARDED LIKE EVERY NEIGHBOUR (Colby, PR #58 / page issue #65).+        # This was the ONE dispatch here returning raw while show_symbol,+        # show_footprint, show_3d_package, make_test_project and bind_library_3d all+        # ride _merge_dialog_array. So a malformed .lbr reported SUCCESS: Fusion opens+        # an empty design named like the file and puts the real failure in an OWNED+        # Error popup that a plain response never sees. Same false-pass class as #65.+        return _merge_dialog_array(_orchestrate_open_lbr(args))     if command == "show_symbol":         return _merge_dialog_array(_orchestrate_show_symbol(args))     if command == "show_footprint":