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
+63−17
BRIDGE_VERSION+1−1@@ -1 +1 @@-1.9.86+1.9.87
adom-bridge-fusion-manifest.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "fusion360",- "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,+ "version": "1.9.87",+ "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.100/adom-bridge-fusion-v1.9.87.zip",+ "sha256": "d1cf665859da8d1dacb67ac60d2e9b7d36dca5cea945197473025448a5188a48",+ "size": 425140, "verbPrefixes": [ "fusion_" ],
bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "fusion360", "displayName": "Autodesk Fusion 360",- "version": "1.9.86",+ "version": "1.9.87", "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.98"+version = "1.9.100" 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.98"+DASH_VERSION="1.9.100" 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.98",+ "version": "1.9.100", "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.98",+ "version": "1.9.100", "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+43@@ -8339,6 +8339,43 @@ def _note_focus_event(verb: str, outcome: str, reason: str = "") -> None: pass ++def _snapshot_open_docs() -> set:+ """Names of documents open in Fusion right now (empty on any failure)."""+ try:+ r = _proxy_to_addin("document_info", {}, timeout=5)+ if not r.get("success"):+ return set()+ return {str(d.get("name") or "").rstrip("*").strip().lower()+ for d in ((r.get("data") or {}).get("openDocuments") or []) if d.get("name")}+ except Exception:+ return set()+++def _register_docs_we_opened(before: set) -> None:+ """Any document that APPEARED while the bridge was driving is the bridge's.++ Third attempt at this, because the first two kept leaving Save prompts on John's+ screen (2026-08-20, twice). Registering the ARGUMENTS of show verbs was opt-in and+ missed every path that names a document some other way - IN-S42ATR slipped straight+ through it. Registering the ACTIVE document unconditionally would be worse: it would+ claim the user's own open design and let the janitor discard their work.++ The diff is both safe and complete: a document that was not open before our verb and+ is open after it exists BECAUSE of us. The user's documents were already open, so they+ are never in the delta, and nothing they do concurrently gets adopted.+ """+ if not before and before != set():+ return+ try:+ for name in (_snapshot_open_docs() - before):+ if name and name != "untitled":+ _note_bridge_doc(name)+ print("[Fusion Bridge] registered %r as a bridge doc (it appeared while we drove)" % name)+ except Exception:+ pass++ def dispatch_command(command: str, args: dict, caller_identity: dict = None) -> dict: """Thin wrapper: run the verb, then guarantee the windowEtiquette annotation lands on EVERY backgrounded window-raising result - the inner dispatcher's closure only covered@@ -8346,7 +8383,13 @@ def dispatch_command(command: str, args: dict, caller_identity: dict = None) -> tour, ...) returned unannotated (the calling AI could not know no focus was taken). Idempotent with the inner annotation (the note is only appended once).""" _fg = bool((args or {}).get("foreground"))+ # WHAT WE OPEN IS OURS TO CLEAN UP (see _register_docs_we_opened). Snapshot before,+ # diff after, so every document our verbs create is attributable to us - and only ours.+ _cmd_short = command[7:] if command.startswith("fusion_") else command+ _docs_before = _snapshot_open_docs() if _cmd_short in _WINDOW_RAISING else None res = _dispatch_command_inner(command, args, caller_identity)+ if _docs_before is not None:+ _register_docs_we_opened(_docs_before) # ── capture:true - ONE call = ONE consent = surface opened AND proven (issue #30) ── # ab measured NINE human consent prompts for a single Symbol button under an # "Allow ONCE" web-control grant: the show verb, then eight state-verb polls while the