app
KiCad - the KiCad Bridge
Public Made by Adomby adom
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.
← Commit history
dashboard/kicad_dashboard.py+13−1@@ -49,7 +49,7 @@ from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer from pathlib import Path from urllib.parse import unquote, urlparse -VERSION = "3.0.0"+VERSION = "3.0.1" AI_THREAD = "kicad-dashboard" DEFAULT_PORT = 8931 UI_DIR = Path(__file__).resolve().parent / "ui"@@ -110,11 +110,23 @@ def _hydrogen_control_url(): return None +# EMERGENCY PARK (dock thread, 2026-08-24 cold-verify): the say-send SUCCESS+# path crashed the ah dev shell on ConfRoomROG within ~30s of a real Send+# click - the historical run-prompt kill; the panel's gate fix does not cover+# it. While parked, say_send refuses BEFORE any control-API call; the page's+# existing failure path (reason toast + copy fallback) carries users safely.+# The ah build thread owns certification; flip this flag on their broadcast.+SAY_SEND_PARKED = True++ def say_send(phrase): """Send-to-AI per the say-strip contract (John's ruling 2026-08-24): open a NEW AI thread (staged name + dock tag) and submit the phrase. NEW threads only - resuming or typing into existing threads stays parked; this endpoint never calls resume and never targets a census tid."""+ if SAY_SEND_PARKED:+ return {"ok": False, "parked": True,+ "why": "Send to AI is parked pending a panel fix. The phrase was copied instead."} import urllib.request def _post(base, path, body):
package.json+1−1@@ -1,6 +1,6 @@ { "slug": "kicad-bridge",- "version": "1.0.67",+ "version": "1.0.68", "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.67",+ "version": "1.0.68", "tags": [ "kicad", "pcb",