← Commit history

Publish 1.0.75

John Lauer ·0c2b1714ad ·1mo ago ·parent 588456e
3 files changed +23−2
dashboard/kicad_dashboard.py+21
@@ -35,6 +35,7 @@ PROXY NOTE (paid for live): adom.cloud STRIPS query strings on sub-paths, so the target rides the PATH (/api/status/<target>/force), never ?target=. The SSE route also needs the padding + no-transform headers or the proxy buffers every byte. """+import collections import json import os import queue@@ -188,6 +189,26 @@ def say_send(phrase):     return {"ok": True, "deliveredTo": str(delivered), "sid": d.get("sid")}  +# Console ring + logger. RESTORED 2026-08-24: deleting the dormant+# stage_phrase() body took these with it, because they sat between it and+# build_status(). The grep-the-installed-artifact checks all passed while the+# app could not even boot - a static check proves a string is present, only+# RUNNING it proves the program works.+CONSOLE = collections.deque(maxlen=400)+_console_lock = threading.Lock()+++def log(line):+    """One line to stdout and to the /console ring the dashboard exposes."""+    line = f"[{time.strftime('%H:%M:%S')}] {line}"+    try:+        with _console_lock:+            CONSOLE.append(line)+    except Exception:+        pass+    print(line, flush=True)++ def build_status(target):     """The LED payload. Each facet: {label, state: ok|warn|err|off, detail, _hint}."""     targets = get_targets()
package.json+1−1
@@ -1,6 +1,6 @@ {   "slug": "kicad-bridge",-  "version": "1.0.74",+  "version": "1.0.75",   "type": "app",   "description": "Skills for your container so your AI knows how to drive the KiCad bridge. The bridge runtime itself is the release zip; Adom Bridge loads that.",   "tags": [
page.json+1−1
@@ -4,7 +4,7 @@   "slug": "kicad-bridge",   "title": "KiCad - the KiCad Bridge",   "brief": "Reference implementation of the KiCad bridge — multi-instance Python server, forward path via kicad-cli, reverse path via in-process plugin. Most complex of the three bundled bridges.",-  "version": "1.0.74",+  "version": "1.0.75",   "tags": [     "kicad",     "pcb",