← Commit history
BRIDGE_VERSION+1−1
@@ -1 +1 @@-1.10.13\ No newline at end of file+1.10.14\ No newline at end of file
bridge.json+1−1
@@ -2,7 +2,7 @@   "manifest_version": 1,   "name": "fusion360",   "displayName": "Autodesk Fusion 360",-  "version": "1.10.13",+  "version": "1.10.14",   "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.10.13"+version = "1.10.14" dependencies = [  "serde_json", ]
dashboard/Cargo.toml+1−1
@@ -1,6 +1,6 @@ [package] name = "fusion-dashboard"-version = "1.10.13"+version = "1.10.14" 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.10.13"+DASH_VERSION="1.10.14" 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.10.13",+  "version": "1.10.14",   "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−27
@@ -1,6 +1,6 @@ {   "slug": "fusion-bridge",-  "version": "1.10.13",+  "version": "1.10.14",   "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,28 +111,5 @@       "label": "Part volume",       "prompt": "How much material does each printed part in this assembly use?"     }-  ],-  "agent_permissions": {-    "allow_bash": [],-    "allow": [-      "adom-desktop-fusion-bridge read-only verbs (via the adom-bridge CLI): fusion_readiness, fusion_get_app_state, fusion_addin_status, fusion_check_dialogs - state queries; they change nothing.",-      "adom-desktop-fusion-bridge read-only verbs: fusion_alerts (reads Fusion's own log for toasts), fusion_document_info, fusion_window_info, fusion_board_info, fusion_library_parts - inspect only.",-      "adom-desktop-fusion-bridge read-only verbs: fusion_prove_result (a persisted run report), fusion_plan_library_import (report-only preflight), fusion_list_cloud_projects, fusion_describe.",-      "adom-desktop-fusion-bridge evidence captures fusion_screenshot_fusion and fusion_capture_library_views read pixels and write local image files only."-    ],-    "soft_deny": [-      "adom-desktop-fusion-bridge lifecycle verbs fusion_stop, fusion_kill, fusion_restart_for_addin close or kill the Fusion application - keep the human prompt.",-      "adom-desktop-fusion-bridge fusion_install_fusion silently installs Autodesk Fusion on the user's machine.",-      "adom-desktop-fusion-bridge fusion_cleanup_cloud_files deletes files from the user's Autodesk cloud hub.",-      "adom-desktop-fusion-bridge managed-library verbs (fusion_managed_library_push/pull/create/link/unlink) publish to or overwrite the user's library.io libraries."-    ],-    "environment": [-      "adom-desktop-fusion-bridge is the Fusion 360 bridge for Adom Bridge; its fusion_* verbs are invoked through the adom-bridge CLI and drive Autodesk Fusion on the user's own desktop.",-      "adom-desktop-fusion-bridge desktop actions also pass Adom Bridge's own human-approval gate (caller identity, per-call reason, Activity Log) - a container approval is the first of two gates."-    ]-  },-  "author": {-    "name": "John Lauer",-    "email": "[email protected]"-  }-}\ No newline at end of file+  ]+}
rust/Cargo.toml+1−1
@@ -4,7 +4,7 @@ members = ["core", "lbr", "os-win", "os-mac", "bridge"]  # One version for the whole bridge, in lockstep with BRIDGE_VERSION (tools/release.sh bumps both). [workspace.package]-version = "1.10.13"+version = "1.10.14" edition = "2021" license = "MIT" 
rust/bridge/src/lifecycle.rs+2−2
@@ -252,8 +252,8 @@ pub fn restart_for_addin(ctx: &Ctx, args: &Value, pass: &dyn Fn(&str, Value) ->         let body = format!("The bridge restarted Fusion {why} (restartPolicy auto: every open document is the AI's own). {}{}",             if steps.iter().any(|s| s["step"] == "save") { "Documents were saved first. " } else { "Nothing could be saved first. " },             if discarded.is_empty() { String::new() } else { format!("Discarded never-saved scratch: {}. ", discarded.join(", ")) });-        crate::fusion_prefs::action_ledger(&sd, "auto_restart_done", json!({"ready": ready, "why": why, "steps": steps, "discarded": discarded}));-        let _ = notify_info(ctx, "Fusion restarted by the bridge", &body);+        // the ledger is the record; no toast (John, 2026-09-19: "fairly pointless")+        crate::fusion_prefs::action_ledger(&sd, "auto_restart_done", json!({"ready": ready, "why": why, "steps": steps, "discarded": discarded, "summary": body}));     }     json!({"success": ready, "addinReady": ready, "restartPolicy": if auto_policy { "auto" } else { "ask" }, "discarded": discarded, "tookSec": (t0.elapsed().as_secs_f64() * 10.0).round() / 10.0, "steps": steps, "errorCode": if ready { Value::Null } else { json!("addin_still_not_responding") },         "_hint": if ready { "Fusion restarted and the add-in answered - re-run the verb that failed." } else { "Fusion restarted but the add-in still is not answering. That is a real defect, not a user problem: check fusion_addin_status and file it." }})
rust/bridge/src/main.rs+56−6
@@ -770,6 +770,54 @@ fn native_aps_browse(args: &Value) -> Value { }  /// `fusion_aps_search`: the server-indexed name search across the hub, newest first.+/// Non-index name search: list folder CONTENTS (Data API, never the search index) under the+/// scanned top folders, breadth first to `max_depth`, at most `max_folders` listings, 12 in+/// parallel. Returns items whose display name contains every token (issue #85).+fn contents_name_scan(store: &fusion_core::aps::ApsStore, tasks: &[(String, String, String)], toks: &[&str], max_depth: usize, max_folders: usize) -> Value {+    use std::sync::{Arc, Mutex};+    use fusion_core::aps::{aps_get, urlencode};+    let queue: Arc<Mutex<std::collections::VecDeque<(String, String, String, usize)>>> = Arc::new(Mutex::new(tasks.iter().map(|(p, pn, f)| (p.clone(), pn.clone(), f.clone(), 0usize)).collect()));+    let listed = Arc::new(Mutex::new(0usize));+    let hits: Arc<Mutex<Vec<Value>>> = Arc::new(Mutex::new(Vec::new()));+    let toks: Vec<String> = toks.iter().map(|t| t.to_string()).collect();+    let dir = store.dir.clone();+    let mut handles = Vec::new();+    for _ in 0..12 {+        let (queue, listed, hits, dir, toks) = (queue.clone(), listed.clone(), hits.clone(), dir.clone(), toks.clone());+        handles.push(std::thread::spawn(move || {+            let store = fusion_core::aps::ApsStore { dir };+            let mut idle = 0;+            loop {+                let next = queue.lock().unwrap().pop_front();+                let Some((pid, pname, fid, depth)) = next else { idle += 1; if idle > 20 { break; } std::thread::sleep(std::time::Duration::from_millis(100)); continue; };+                idle = 0;+                { let mut l = listed.lock().unwrap(); if *l >= max_folders { continue; } *l += 1; }+                let (s, b) = aps_get(&store, &format!("/data/v1/projects/{}/folders/{}/contents", urlencode(&pid), urlencode(&fid)), &[("page[limit]", "200")]).unwrap_or((0, json!({})));+                if s != 200 { continue; }+                for it in b["data"].as_array().cloned().unwrap_or_default() {+                    let ty = it["type"].as_str().unwrap_or("");+                    let name = it["attributes"]["displayName"].as_str().or(it["attributes"]["name"].as_str()).unwrap_or("").to_string();+                    if ty == "folders" {+                        if depth + 1 <= max_depth { queue.lock().unwrap().push_back((pid.clone(), pname.clone(), it["id"].as_str().unwrap_or("").to_string(), depth + 1)); }+                        continue;+                    }+                    let nl = name.to_lowercase();+                    if !toks.is_empty() && toks.iter().all(|t| nl.contains(t.as_str())) {+                        hits.lock().unwrap().push(json!({"name": name, "type": ty, "id": it["id"], "lineageUrn": it["id"], "projectId": pid, "projectName": pname, "folderId": fid,+                            "lastModified": it["attributes"]["lastModifiedTime"], "source": "folder-contents"}));+                    }+                }+            }+        }));+    }+    for h in handles { let _ = h.join(); }+    let mut out = hits.lock().unwrap().clone();+    out.sort_by(|a, b| b["lastModified"].as_str().unwrap_or("").cmp(a["lastModified"].as_str().unwrap_or("")));+    let mut seen = std::collections::HashSet::new();+    let out: Vec<Value> = out.into_iter().filter(|r| seen.insert(r["id"].as_str().unwrap_or("").to_string())).collect();+    json!(out)+}+ pub(crate) fn native_aps_search(args: &Value) -> Value {     crate::palette::say("Searching your hub", &format!("cloud search for {}", args["query"].as_str().unwrap_or("")), None, None);     use fusion_core::aps::*;@@ -782,6 +830,7 @@ pub(crate) fn native_aps_search(args: &Value) -> Value {         "_hint": "Token may lack data:read scope or the app isn't Data-Management-enabled.", "shell": "rust"}) };     let mut scanned = (0, 0, 0);     let tasks = scan_tasks(&store, &hubs, args["hubId"].as_str(), args["projectId"].as_str(), &mut scanned);+    let tasks_snapshot: Vec<(String, String, String)> = tasks.iter().map(|t| (t.project_id.clone(), t.project_name.clone(), t.folder_id.clone())).collect();     let mut results = scan_parallel(&store, tasks, &query, limit, true);     results.sort_by(|a, b| b["lastModified"].as_str().unwrap_or("").cmp(a["lastModified"].as_str().unwrap_or("")));     let n = results.len();@@ -792,18 +841,19 @@ pub(crate) fn native_aps_search(args: &Value) -> Value {         // the recently modified items the bridge can list without a full walk.         let ql = query.to_lowercase();         let toks: Vec<&str> = ql.split_whitespace().collect();-        let recent = native_aps_recent(&json!({"limit": 400, "hubId": args["hubId"], "projectId": args["projectId"]}));-        let fb: Vec<Value> = recent["data"]["results"].as_array().cloned().unwrap_or_default().into_iter()-            .filter(|i| { let nm = i["name"].as_str().unwrap_or("").to_lowercase(); !toks.is_empty() && toks.iter().all(|t| nm.contains(t)) }).take(limit).collect();+        // The index fallback (recent items) is index-backed too, so it misses the same file; the+        // Data API folder CONTENTS listing is not. Walk the scanned top folders two levels deep,+        // bounded, and match names directly.+        let fb: Vec<Value> = contents_name_scan(&store, &tasks_snapshot, &toks, 2, 80).as_array().cloned().unwrap_or_default();         let nf = fb.len();-        let folder_hint = fb.first().and_then(|f| f["folderId"].as_str().or(f["parentFolderId"].as_str())).map(|f| format!(" The first fallback hit lives in folder {f}; fusion_aps_browse {{folderId}} lists that folder in full.")).unwrap_or_default();+        let folder_hint = fb.first().and_then(|f| f["folderId"].as_str()).map(|f| format!(" The first fallback hit lives in folder {f}; fusion_aps_browse {{folderId}} lists that folder in full.")).unwrap_or_default();         return json!({"success": true, "output": format!("0 index match(es) for '{query}'; {nf} by name in recent items"),             "data": {"query": query, "count": 0, "results": [], "scanned": {"hubs": scanned.0, "projects": scanned.1, "folders": scanned.2},-                     "fallback": {"source": "recent-items name scan (newest 400 across the scanned projects)", "count": nf, "results": fb},+                     "fallback": {"source": "Data API folder contents (not the index): the scanned top folders walked two levels deep, at most 80 folder listings, names matched directly", "count": nf, "results": fb},                      "completeness": "The APS server index can lag a new or renamed file by minutes to hours and tokenises names, so a zero here does not prove absence."},             "shell": "rust",             "_hint": format!("No index match for '{query}'.{} {}Next: fusion_aps_browse a known sibling's folder (scoped, no cloud walk), or pass projectId to narrow the scan. Do not conclude the file is missing from an index zero alone.",-                if nf > 0 { format!(" {nf} recently modified item(s) match by name (data.fallback); open one with fusion_aps_open or fusion_open_by_urn.") } else { " Nothing in the newest 400 items matches by name either.".to_string() }, folder_hint)});+                if nf > 0 { format!(" {nf} item(s) match by name in the folder contents walk (data.fallback, with folderId and lineage); open one with fusion_open_by_urn.") } else { " A bounded folder-contents walk (two levels under each top folder) found nothing by name either; a deeper folder needs fusion_aps_browse {folderId}.".to_string() }, folder_hint)});     }     json!({"success": true, "output": format!("{n} match(es) for '{query}'"),            "data": {"query": query, "count": n, "results": shown, "scanned": {"hubs": scanned.0, "projects": scanned.1, "folders": scanned.2}}, "shell": "rust",
tools/check-naming.sh

  
tools/check-portable.sh

  
tools/promote.sh

  
tools/release.sh