app
Altium - the Altium Bridge
Public Made by Adomby adom
Adom Bridge for Altium Designer: a resident DelphiScript agent gives the AI eval, the 1,100-command process launcher, all 8 EDA surfaces with screenshots, compile/ERC, DRC, OutJob outputs, native SchLib/PcbLib authoring with STEP 3D bodies, and dialog handling by PID.
← Commit history
v0.2.23 (insiders): 0.2.23: altium_selftest_script_error - a deliberate agent runtime error that proves the script-error safety net end to end (regression test for the 0.2.21 fix)
4 files changed
+8−4
CHANGELOG.md+3@@ -1,5 +1,8 @@ # Changelog +## 0.2.23 (2026-09-20)+- New verb `altium_selftest_script_error`: makes the agent raise a real DelphiScript runtime error on purpose and checks the safety net end to end (Error box photographed, halted script stopped with `EditScript:Stop`, no dialog left, `netWorks: true`). It is the regression test for the failure 0.2.21 fixed; run it after any change to `agent.rs` / `dialogs.rs` and once on each new Altium build.+ ## 0.2.22 (2026-09-20) - Script-error safety net, second variant. 0.2.21 caught the lone-OK `Error` box (an error in the agent's own code). Proving it with a deliberate bad `altium_eval` on AD 26.9.1 showed the OTHER shape: a script run from inside the agent raises an `X2` box, "Undeclared identifier: ... at Line:N. Continue execution?", with OK + Cancel. The reaper rightly never touches a two-button box, so the agent sat blocked and the caller saw a timeout. `agent::call` now recognises that box while its own command is in flight, photographs it, answers OK (continue, so the agent loop survives) and returns `errorCode: agent_script_error` with `errorShot`, `answered`, `agentAlive`. It is logged in `altium_dialog_log` as `script_error_continue`. - The changelog line about removed internal files no longer names them.
package.json+1−1@@ -1,6 +1,6 @@ { "slug": "altium-bridge",- "version": "0.2.22",+ "version": "0.2.23", "type": "app", "description": "Skills for your container so your AI knows how to drive the Altium Designer bridge (altium_* verbs). The bridge runtime itself is the release zip; Adom Bridge loads that.", "tags": [
src/BRIDGE_VERSION+1−1@@ -1 +1 @@-0.2.22+0.2.23
src/bridge.json+3−2@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "altium", "displayName": "Altium Designer",- "version": "0.2.22",+ "version": "0.2.23", "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",@@ -92,12 +92,12 @@ "altium_list_nets", "altium_net_connections", "altium_normalize_bodies",- "altium_plate_vias", "altium_open_document", "altium_open_project", "altium_pcb_report", "altium_place_on_pcb", "altium_place_on_sch",+ "altium_plate_vias", "altium_progress", "altium_read_board", "altium_read_rules",@@ -117,6 +117,7 @@ "altium_run_script", "altium_save", "altium_schematic_data",+ "altium_selftest_script_error", "altium_set_layer_visibility", "altium_set_models", "altium_set_params",