← Commit history
CHANGELOG.md+8
@@ -1,5 +1,13 @@ # Changelog +## 0.2.105++- **Altium installed on another drive is found** (#40). The bridge looked for Altium only under `C:\Program Files\Altium`, so an install on D: answered "not installed". It now reads where each install is recorded in the Windows registry (`HKLM\SOFTWARE\Altium\Builds`), and still searches `\Program Files\Altium` on every fixed drive for an install the registry does not list. `altium_launch` starts the install wherever it is, and `install:"develop"` also recognises Develop by its registered name, whatever its folder is called.+- Example projects, sheet templates and OutputJobs are read from each install's own documents folder, as Altium recorded it. That folder can be on another drive too; before, it was always `C:\Users\Public\Documents\Altium`.+- `altium_diagnostics` lists each install's `version`, `documents_dir` and whether it came from the registry or a folder (`source`), plus `examplesDir` and `documentsDirs`.+- The order installs are tried in is unchanged, so the default Altium on a machine with several stays the same.+- Tested on Altium Designer 26.11.1 and Altium Designer Develop: both installs, their versions and documents folders read from the registry, and the example and template folders resolve as before. Unit tests cover an install on D: found from the registry, and registry entries merged with folders on disk.+ ## 0.2.104  - **The bridge no longer closes Altium while a long command runs** (#39). Altium runs the agent in its main thread, so its window stops responding for as long as a command runs: a long `altium_eval`, or `altium_routing_state` on a large board. The bridge's close watchdog took that for a stuck shutdown, stopped the agent and, after 45 s, ended Altium. Now it knows the bridge's own command is running and leaves Altium alone (`busyHang` in `altium_dialog_log`).
SKILL.md+1−1
@@ -68,7 +68,7 @@ Altium is a licensed host app. The bridge never installs it silently; it detects  | `errorCode` / signal | Meaning | What you do | |---|---|---|-| `host_app_not_installed` (`hostApp:"Altium Designer"`) | No `C:\Program Files\Altium\AD*\X2.EXE` | Offer to install it, then drive the installer (the `altium-install` skill has the full recipe — the installer elevates, so the last clicks are the user's). |+| `host_app_not_installed` (`hostApp:"Altium Designer"`) | No Altium install: none recorded in the registry (`HKLM\SOFTWARE\Altium\Builds`) and no `\Program Files\Altium\AD*\X2.EXE` on any fixed drive | Offer to install it, then drive the installer (the `altium-install` skill has the full recipe — the installer elevates, so the last clicks are the user's). | | `altium_not_running` | Installed, not launched | `altium_launch '{}'` — cold start ≈ 60 s, measured. Altium's own launch is the one legitimate foreground. | | `not_licensed` (`licenceState:"No License"`/`"Viewer"`) | Running, but scripting is refused without a licence | `altium_license '{}'` drives the trial / On-Demand flow (phase 5) — until then the user picks a licence on Altium's License Management page. | | `agentAlive:false` in readiness | The resident agent loop is not up | `altium_agent_start '{}'` (≈3 s warm). Every other verb auto-starts it, so you rarely call this. |
bridge-rs/src/installs.rsadded+209
@@ -0,0 +1,209 @@+//! Where Altium is installed. Each install records itself under HKLM\SOFTWARE\Altium\Builds\<name> with its program+//! folder (ProgramsInstallPath), its documents folder (DocumentsInstallPath: Examples, Templates, OutputJobs) and its+//! version. Only C:\Program Files\Altium was searched until 0.2.104, so an install on another drive was never found+//! (#40). The registry is read first; \Program Files\Altium on every fixed drive is still searched, for an install+//! whose registry entry is missing.+use serde_json::{json, Value};++/// One install as Altium recorded it.+#[derive(Clone, Debug, Default, PartialEq)]+pub struct Build {+    pub name: String,+    pub programs: String,+    pub documents: String,+    pub version: String,+}++#[cfg(windows)]+mod reg {+    use super::Build;++    type Hkey = isize;+    const HKEY_LOCAL_MACHINE: Hkey = 0x8000_0002u32 as i32 as isize;+    const KEY_READ: u32 = 0x2_0019;+    const KEY_WOW64_64KEY: u32 = 0x0100;+    const RRF_RT_REG_SZ: u32 = 0x0002;++    #[link(name = "advapi32")]+    extern "system" {+        fn RegOpenKeyExW(key: Hkey, sub: *const u16, opts: u32, sam: u32, out: *mut Hkey) -> i32;+        fn RegEnumKeyExW(key: Hkey, idx: u32, name: *mut u16, len: *mut u32, res: *mut u32, class: *mut u16, clen: *mut u32, ft: *mut u64) -> i32;+        fn RegGetValueW(key: Hkey, sub: *const u16, value: *const u16, flags: u32, ty: *mut u32, data: *mut u8, len: *mut u32) -> i32;+        fn RegCloseKey(key: Hkey) -> i32;+    }++    fn wide(s: &str) -> Vec<u16> {+        s.encode_utf16().chain(std::iter::once(0)).collect()+    }++    fn open(parent: Hkey, path: &str) -> Option<Hkey> {+        let p = wide(path);+        let mut out: Hkey = 0;+        (unsafe { RegOpenKeyExW(parent, p.as_ptr(), 0, KEY_READ | KEY_WOW64_64KEY, &mut out) } == 0).then_some(out)+    }++    fn string(key: Hkey, name: &str) -> String {+        let n = wide(name);+        let mut buf = vec![0u16; 2048];+        let mut len = (buf.len() * 2) as u32;+        let r = unsafe { RegGetValueW(key, std::ptr::null(), n.as_ptr(), RRF_RT_REG_SZ, std::ptr::null_mut(), buf.as_mut_ptr() as *mut u8, &mut len) };+        if r != 0 { return String::new(); }+        let chars = (len as usize / 2).min(buf.len());+        String::from_utf16_lossy(&buf[..chars]).trim_end_matches('\0').to_string()+    }++    pub fn builds() -> Vec<Build> {+        let Some(root) = open(HKEY_LOCAL_MACHINE, r"SOFTWARE\Altium\Builds") else { return Vec::new() };+        let mut out = Vec::new();+        for idx in 0..64u32 {+            let mut name = vec![0u16; 256];+            let mut len = name.len() as u32;+            let r = unsafe { RegEnumKeyExW(root, idx, name.as_mut_ptr(), &mut len, std::ptr::null_mut(), std::ptr::null_mut(), std::ptr::null_mut(), std::ptr::null_mut()) };+            if r != 0 { break; }+            let sub = String::from_utf16_lossy(&name[..len as usize]);+            if let Some(k) = open(root, &sub) {+                let shown = string(k, "Display Name");+                out.push(Build {+                    name: if shown.is_empty() { string(k, "Name") } else { shown },+                    programs: string(k, "ProgramsInstallPath"),+                    documents: string(k, "DocumentsInstallPath"),+                    version: { let v = string(k, "FullBuild"); if v.is_empty() { string(k, "Version") } else { v } },+                });+                unsafe { RegCloseKey(k) };+            }+        }+        unsafe { RegCloseKey(root) };+        out+    }++    #[link(name = "kernel32")]+    extern "system" {+        fn GetLogicalDrives() -> u32;+        fn GetDriveTypeW(root: *const u16) -> u32;+    }++    /// The fixed drives (C:, D:, ...): a network or removable drive can take seconds to answer.+    pub fn fixed_drives() -> Vec<char> {+        let mask = unsafe { GetLogicalDrives() };+        (0..26u8).filter(|i| mask & (1 << i) != 0).map(|i| (b'A' + i) as char)+            .filter(|d| { let r = wide(&format!("{d}:\\")); (unsafe { GetDriveTypeW(r.as_ptr()) }) == 3 }).collect()+    }+}++#[cfg(not(windows))]+mod reg {+    pub fn builds() -> Vec<super::Build> { Vec::new() }+    pub fn fixed_drives() -> Vec<char> { vec!['C'] }+}++fn trim_dir(p: &str) -> String {+    p.trim().trim_end_matches(['\\', '/']).to_string()+}++/// The digits of the install folder's name (AD26 -> 26, ADDevelop -> 0): the order installs have always been tried+/// in, so the default Altium stays the same.+fn folder_major(base: &str) -> i64 {+    let name = base.rsplit(['\\', '/']).next().unwrap_or("");+    name.chars().filter(|c| c.is_ascii_digit()).collect::<String>().parse().unwrap_or(0)+}++/// Every install with an X2.EXE: the registry's first, then folders found on disk that it does not list. Newest+/// numbered folder first, as before. Pure apart from `has_exe`.+pub fn merge(builds: &[Build], folders: &[String], has_exe: impl Fn(&str) -> bool) -> Vec<Value> {+    let mut out: Vec<(i64, Value)> = Vec::new();+    let mut seen: Vec<String> = Vec::new();+    let mut add = |base: String, b: Option<&Build>, out: &mut Vec<(i64, Value)>| {+        if base.is_empty() || seen.contains(&base.to_lowercase()) { return; }+        let exe = format!(r"{base}\X2.EXE");+        if !has_exe(&exe) { return; }+        seen.push(base.to_lowercase());+        let major = folder_major(&base);+        let mut v = json!({"installed": true, "base_dir": base, "exe": exe, "system_dir": format!(r"{base}\System"),+                           "major": major.to_string(), "source": if b.is_some() { "registry" } else { "folder" }});+        if let Some(b) = b {+            if !b.name.is_empty() { v["name"] = json!(b.name); }+            if !b.version.is_empty() { v["version"] = json!(b.version); }+            if !b.documents.trim().is_empty() { v["documents_dir"] = json!(trim_dir(&b.documents)); }+        }+        out.push((major, v));+    };+    for b in builds { add(trim_dir(&b.programs), Some(b), &mut out); }+    for f in folders { add(trim_dir(f), None, &mut out); }+    out.sort_by_key(|(m, _)| -m);+    out.into_iter().map(|(_, v)| v).collect()+}++/// The AD* folders under \Program Files\Altium and \Program Files (x86)\Altium on every fixed drive.+fn folders_on_disk() -> Vec<String> {+    let mut out = Vec::new();+    for d in reg::fixed_drives() {+        for pf in ["Program Files", "Program Files (x86)"] {+            let altium = format!(r"{d}:\{pf}\Altium");+            let Ok(rd) = std::fs::read_dir(&altium) else { continue };+            for e in rd.flatten() {+                let name = e.file_name().to_string_lossy().to_string();+                if name.to_uppercase().starts_with("AD") { out.push(format!(r"{altium}\{name}")); }+            }+        }+    }+    out+}++/// Every Altium install on the box.+pub fn detect() -> Vec<Value> {+    merge(&reg::builds(), &folders_on_disk(), |p| std::path::Path::new(p).is_file())+}++/// The documents folders of the installs (Examples, Templates, OutputJobs live there), the one for `exe` first.+pub fn documents_dirs(installs: &[Value], exe: Option<&str>) -> Vec<String> {+    let mut out: Vec<String> = Vec::new();+    let want = exe.map(|e| e.replace('/', "\\").to_lowercase());+    let mut push = |d: &str| { if !out.iter().any(|x| x.eq_ignore_ascii_case(d)) { out.push(d.to_string()); } };+    for i in installs {+        if want.as_deref().is_some_and(|w| i["exe"].as_str().map(|e| e.to_lowercase()) == Some(w.to_string())) {+            if let Some(d) = i["documents_dir"].as_str() { push(d); }+        }+    }+    for i in installs { if let Some(d) = i["documents_dir"].as_str() { push(d); } }+    out+}++#[cfg(test)]+mod tests {+    use super::*;++    fn b(programs: &str, documents: &str, version: &str) -> Build {+        Build { name: "Altium Designer".into(), programs: programs.into(), documents: documents.into(), version: version.into() }+    }++    #[test]+    fn an_install_on_another_drive_is_found_from_the_registry() {+        let builds = vec![b(r"D:\Program Files\Altium\AD25\", r"D:\Users\Public\Documents\Altium\AD25", "25.8.1.18")];+        let found = merge(&builds, &[], |p| p == r"D:\Program Files\Altium\AD25\X2.EXE");+        assert_eq!(found.len(), 1);+        assert_eq!(found[0]["exe"], json!(r"D:\Program Files\Altium\AD25\X2.EXE"));+        assert_eq!(found[0]["documents_dir"], json!(r"D:\Users\Public\Documents\Altium\AD25"));+        assert_eq!(found[0]["version"], json!("25.8.1.18"));+        assert_eq!(found[0]["major"], json!("25"));+    }++    #[test]+    fn the_registry_and_the_folders_are_merged_once_each_in_the_old_order() {+        let builds = vec![b(r"C:\Program Files\Altium\ADDevelop", r"C:\Users\Public\Documents\Altium\ADDevelop", "26.9.1.9"),+                          b(r"C:\Program Files\Altium\AD26", r"C:\Users\Public\Documents\Altium\AD26", "26.11.1.5"),+                          b(r"E:\Gone\AD24", "", "24.1")];+        let folders = vec![r"C:\Program Files\Altium\AD26".to_string(), r"D:\Program Files\Altium\AD23".to_string()];+        let found = merge(&builds, &folders, |p| !p.starts_with("E:"));+        let exes: Vec<&str> = found.iter().map(|i| i["exe"].as_str().unwrap()).collect();+        assert_eq!(exes, vec![r"C:\Program Files\Altium\AD26\X2.EXE", r"D:\Program Files\Altium\AD23\X2.EXE", r"C:\Program Files\Altium\ADDevelop\X2.EXE"]);+        assert_eq!(found[1]["source"], json!("folder"));+        assert!(found[1].get("documents_dir").is_none());+    }++    #[test]+    fn the_running_installs_documents_come_first() {+        let found = merge(&[b(r"C:\Program Files\Altium\AD26", r"C:\Docs\AD26", "26"), b(r"D:\Altium\ADDevelop", r"D:\Docs\ADDevelop", "26")], &[], |_| true);+        assert_eq!(documents_dirs(&found, Some("D:/Altium/ADDevelop/X2.EXE")), vec![r"D:\Docs\ADDevelop", r"C:\Docs\AD26"]);+        assert_eq!(documents_dirs(&found, None), vec![r"C:\Docs\AD26", r"D:\Docs\ADDevelop"]);+    }+}
bridge-rs/src/main.rs+2−1
@@ -6,6 +6,7 @@ mod ab; mod agent; mod dsnwrk; mod assembly;+mod installs; mod autoclass; mod board; mod bodies;@@ -81,7 +82,7 @@ use tiny_http::{Header, Method, Response, Server}; /// Attached to every failed reply (see the /command handler). const REPORT_ISSUES: &str = "If this looks like an altium-bridge BUG (not a refusal you expected), report it: check for a duplicate with `adom-wiki issue list adom/altium-bridge`, then `adom-wiki issue create adom/altium-bridge --title \"<verb>: <one-line symptom>\" --category bug-report --body \"<what you ran, what you expected, what happened, the VERBATIM response JSON (and errorShot if present), bridgeVersion, the Altium version from altium_status, the OS>\"`. A relay, routing, toast or lifecycle problem belongs on adom/adom-bridge instead. Reports from real machines are how this bridge gets correct: three different Altium builds behaved three different ways in one weekend."; -pub const BRIDGE_VERSION: &str = "0.2.104";+pub const BRIDGE_VERSION: &str = "0.2.105";  fn json_response(status: u16, body: &serde_json::Value) -> Response<std::io::Cursor<Vec<u8>>> {     let data = serde_json::to_vec(body).unwrap_or_else(|_| b"{}".to_vec());
bridge-rs/src/misc.rs+6−1
@@ -110,6 +110,9 @@ pub fn diagnostics(_args: &Value) -> Value {         .collect();     json!({"success": true, "engine": "rust", "env": env,         "installs": support::detect_installs(),+        // where the examples, templates and OutputJobs are read from (each install's own documents folder, #40)+        "examplesDir": support::examples_dir(),+        "documentsDirs": crate::installs::documents_dirs(&support::detect_installs(), None),         "windows": instance::altium_windows(),         "agent": agent_status(&json!({})),         "cacheDir": agent::cache_dir().to_string_lossy()})@@ -362,7 +365,9 @@ pub fn launch(args: &Value) -> Value {             let pick = installs.iter().find(|i| {                 let dir = i["base_dir"].as_str().unwrap_or("").to_lowercase();                 let name = dir.rsplit(['\\', '/']).next().unwrap_or("").to_string();-                name == w || dir == w.trim_end_matches(['\\', '/']) || (w == "develop" && name.contains("develop")) || (w == "designer" && !name.contains("develop"))+                // the registry's name too: an install on another drive can sit in any folder (#40)+                let develop = name.contains("develop") || i["name"].as_str().is_some_and(|n| n.to_lowercase().contains("develop"));+                name == w || dir == w.trim_end_matches(['\\', '/']) || (w == "develop" && develop) || (w == "designer" && !develop)             }).cloned();             match pick {                 Some(i) => i,
bridge-rs/src/outputs.rs+1−1
@@ -54,7 +54,7 @@ pub fn run_outjob(args: &Value) -> Value {     }     let medium = s_or(args, "medium", "Folder Structure");     let proj = s(args, "projectPath")-        .or_else(|| if outjob.starts_with(support::EXAMPLES_DIR) { Some(support::demo_project()) } else { None });+        .or_else(|| if outjob.to_lowercase().starts_with(&support::examples_dir().to_lowercase()) { Some(support::demo_project()) } else { None });     if let Some(p) = &proj {         let r = support::agent_open(p, 60);         if r.get("success").and_then(|b| b.as_bool()) != Some(true) {
bridge-rs/src/support.rs+32−37
@@ -121,33 +121,10 @@ pub fn validate_openable(path: &str) -> Option<Value> {  pub const HOST_APP: &str = "Altium Designer"; -/// Every Altium install on the box, newest major first.+/// Every Altium install on the box, newest numbered folder first (installs.rs: the registry, then \Program Files\Altium+/// on every fixed drive). pub fn detect_installs() -> Vec<Value> {-    let mut out: Vec<(i64, Value)> = Vec::new();-    for pf in ["C:\\Program Files", "C:\\Program Files (x86)"] {-        let altium = std::path::Path::new(pf).join("Altium");-        let Ok(rd) = std::fs::read_dir(&altium) else { continue };-        for e in rd.flatten() {-            let name = e.file_name().to_string_lossy().to_string();-            if !name.to_uppercase().starts_with("AD") {-                continue;-            }-            let exe = e.path().join("X2.EXE");-            if !exe.exists() {-                continue;-            }-            let major: i64 = name.chars().filter(|c| c.is_ascii_digit()).collect::<String>().parse().unwrap_or(0);-            out.push((major, json!({-                "installed": true,-                "base_dir": e.path().to_string_lossy(),-                "exe": exe.to_string_lossy(),-                "system_dir": e.path().join("System").to_string_lossy(),-                "major": major.to_string(),-            })));-        }-    }-    out.sort_by_key(|(m, _)| -m);-    out.into_iter().map(|(_, v)| v).collect()+    crate::installs::detect() }  pub fn first_install() -> Option<Value> {@@ -162,15 +139,26 @@ pub fn not_installed() -> Value {  // ---- demo / example constants ------------------------------------------------ -pub const EXAMPLES_DIR: &str = r"C:\Users\Public\Documents\Altium\AD26\Examples";+/// Where Altium put its example projects before 0.2.105 assumed it: AD26's documents folder on C:.+const LEGACY_EXAMPLES_DIR: &str = r"C:\Users\Public\Documents\Altium\AD26\Examples";++/// The Examples folder of the first install that has the Bluetooth Sentinel example, wherever its documents folder is+/// (#40: an install on D: keeps them on D:).+pub fn examples_dir() -> String {+    let installs = detect_installs();+    let sel = crate::instance::selected().and_then(|i| i["exe"].as_str().map(str::to_string));+    crate::installs::documents_dirs(&installs, sel.as_deref()).into_iter().map(|d| format!(r"{d}\Examples"))+        .find(|e| std::path::Path::new(e).join("Bluetooth Sentinel").is_dir())+        .unwrap_or_else(|| LEGACY_EXAMPLES_DIR.to_string())+} -pub fn demo_project() -> String { format!(r"{EXAMPLES_DIR}\Bluetooth Sentinel\Bluetooth_Sentinel.PrjPcb") }-pub fn demo_pcb() -> String { format!(r"{EXAMPLES_DIR}\Bluetooth Sentinel\Bluetooth_Sentinel.PcbDoc") }-pub fn demo_sch() -> String { format!(r"{EXAMPLES_DIR}\Bluetooth Sentinel\Bluetooth_Sentinel.SchDoc") }-pub fn demo_schlib() -> String { format!(r"{EXAMPLES_DIR}\SpiritLevel-SL1\Libraries\SpiritLevel_2E.SchLib") }-pub fn demo_pcblib() -> String { format!(r"{EXAMPLES_DIR}\SpiritLevel-SL1\Libraries\Spirit_Level_Project.PcbLib") }-pub fn demo_outjob_fab() -> String { format!(r"{EXAMPLES_DIR}\Bluetooth Sentinel\Fabrication.OutJob") }-pub fn demo_outjob_asm() -> String { format!(r"{EXAMPLES_DIR}\Bluetooth Sentinel\Assembly.OutJob") }+pub fn demo_project() -> String { format!(r"{}\Bluetooth Sentinel\Bluetooth_Sentinel.PrjPcb", examples_dir()) }+pub fn demo_pcb() -> String { format!(r"{}\Bluetooth Sentinel\Bluetooth_Sentinel.PcbDoc", examples_dir()) }+pub fn demo_sch() -> String { format!(r"{}\Bluetooth Sentinel\Bluetooth_Sentinel.SchDoc", examples_dir()) }+pub fn demo_schlib() -> String { format!(r"{}\SpiritLevel-SL1\Libraries\SpiritLevel_2E.SchLib", examples_dir()) }+pub fn demo_pcblib() -> String { format!(r"{}\SpiritLevel-SL1\Libraries\Spirit_Level_Project.PcbLib", examples_dir()) }+pub fn demo_outjob_fab() -> String { format!(r"{}\Bluetooth Sentinel\Fabrication.OutJob", examples_dir()) }+pub fn demo_outjob_asm() -> String { format!(r"{}\Bluetooth Sentinel\Assembly.OutJob", examples_dir()) }  /// A real 3-pin SOT in the SpiritLevel PcbLib; the first entry ("NT") is a 2-pad test point. pub const DEMO_FOOTPRINT: &str = "SO-G3";@@ -290,8 +278,11 @@ pub fn copy_template(tpl: &str, dest: &str) -> Result<(), String> { /// found AD26 hard-coded when it ran on Altium Develop (2026-10-16). pub fn altium_public_file(rel: &str) -> Result<String, String> {     const ROOT: &str = r"C:\Users\Public\Documents\Altium";+    // each install's own documents folder, as Altium recorded it (on D: for an install there, #40), the running one first+    let sel = crate::instance::selected();+    let mut dirs = crate::installs::documents_dirs(&detect_installs(), sel.as_ref().and_then(|i| i["exe"].as_str()));     let mut keys: Vec<String> = Vec::new();-    if let Some(k) = crate::instance::selected().and_then(|i| i.get("key").and_then(|k| k.as_str()).map(str::to_string)) {+    if let Some(k) = sel.as_ref().and_then(|i| i.get("key").and_then(|k| k.as_str()).map(str::to_string)) {         keys.push(k);     }     if let Ok(rd) = std::fs::read_dir(ROOT) {@@ -301,10 +292,14 @@ pub fn altium_public_file(rel: &str) -> Result<String, String> {         keys.extend(others);     }     for k in &keys {-        let p = format!(r"{ROOT}\{k}\{rel}");+        let d = format!(r"{ROOT}\{k}");+        if !dirs.iter().any(|x| x.eq_ignore_ascii_case(&d)) { dirs.push(d); }+    }+    for d in &dirs {+        let p = format!(r"{d}\{rel}");         if std::path::Path::new(&p).is_file() { return Ok(p); }     }-    Err(format!(r"{rel} is not under {ROOT}\<install> (looked in: {})", keys.join(", ")))+    Err(format!(r"{rel} is not in any Altium documents folder (looked in: {})", dirs.join(", "))) }  /// The UniqueIDs of the components a .SchDoc holds, read from the file on disk (its component records are plain text:
bridge-rs/src/surfaces.rs+1−1
@@ -448,7 +448,7 @@ pub fn demo(args: &Value) -> Value {             || r.get("error").and_then(|e| e.as_str()).map(|e| e.contains("file not found")).unwrap_or(false);         if missing {             out["errorCode"] = json!("demo_examples_missing");-            out["_hint"] = json!(format!("The demo tours Altium's bundled example projects ({}), which this install does not have (Altium Designer Develop ships without them). Point show_* verbs at your own documents instead.", crate::support::EXAMPLES_DIR));+            out["_hint"] = json!(format!("The demo tours Altium's bundled example projects ({}), which this install does not have (Altium Designer Develop ships without them). Point show_* verbs at your own documents instead.", crate::support::examples_dir()));         }         out.as_object_mut().map(|o| o.entry("errorCode").or_insert(json!("demo_beat_failed")));     }
dashboard/altium_dashboard.py+2−1
@@ -588,7 +588,8 @@ def build_status(target):     leds["altium"] = {"label": "Altium", "state": "ok" if installed else "err",                       "detail": f"Altium Designer {ver}" if installed else "not installed",                       "_hint": ("Installed at " + str(inst.get("base_dir") or "") + " and driveable.") if installed-                               else "No X2.EXE under Program Files\\Altium. The altium-install skill drives "+                               else "No Altium install found (the registry lists none, and no \\Program Files\\Altium on any "+                                    "drive has X2.EXE). The altium-install skill drives "                                     "the installer + trial sign-in; the installer elevates, so the last "                                     "clicks are the user's."}     running = bool(r.get("running"))
package.json+1−1
@@ -1,6 +1,6 @@ {   "slug": "altium-bridge",-  "version": "0.2.104",+  "version": "0.2.105",   "type": "app",   "description": "Let an AI (Claude, ChatGPT, Codex or any agent) run Altium Designer for you: create symbols and footprints, place parts (also from Altium 365), wire and annotate schematics, Update PCB, set the stack-up and rules, route, pour copper, add mounting holes and stitching vias, run ERC and DRC, and make Gerbers, BOMs and STEP. Free in Hydrogen; bring your own AI and Altium licence.",   "tags": [
page.json+1−1
@@ -4,7 +4,7 @@   "type": "app",   "title": "Altium Bridge: AI for Altium Designer",   "brief": "Let an AI (Claude, ChatGPT, Codex or any agent) run Altium Designer for you: create symbols and footprints, place parts (also from Altium 365), wire and annotate schematics, Update PCB, set the stack-up and rules, route, pour copper, add mounting holes and stitching vias, run ERC and DRC, and make Gerbers, BOMs and STEP. Free in Hydrogen; bring your own AI and Altium licence.",-  "version": "0.2.104",+  "version": "0.2.105",   "hero": {     "type": "image",     "path": "screenshots/hero.png"
src/BRIDGE_VERSION+1−1
@@ -1 +1 @@-0.2.104+0.2.105
src/bridge.json+1−1
@@ -2,7 +2,7 @@   "manifest_version": 1,   "name": "altium",   "displayName": "Altium Designer",-  "version": "0.2.104",+  "version": "0.2.105",   "description": "Drive Altium Designer from Adom: a resident DelphiScript agent (eval + the 1,100-command process launcher), the X2 -R command line, UIA over the VCL shell, dialogs by PID, screenshots of every Altium window, and Altium 365.",   "homepage": "https://wiki.adom.inc/adom/altium-bridge",   "docs": "https://wiki.adom.inc/adom/altium-bridge",