← Commit history

Publish 1.0.62

John Lauer ·4355fa882b ·1mo ago ·parent 7c78fef
3 files changed +16−3
dashboard/kicad_dashboard.py+14−1
@@ -49,7 +49,7 @@ from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer from pathlib import Path from urllib.parse import unquote, urlparse -VERSION = "2.2.4"+VERSION = "2.2.5" AI_THREAD = "kicad-dashboard" DEFAULT_PORT = 8931 UI_DIR = Path(__file__).resolve().parent / "ui"@@ -90,6 +90,13 @@ def say_phrases():  HYDROGEN_CONTROL = "http://127.0.0.1:47084" +# SHIP-NIGHT PARK, server half (dock thread, 2026-08-23, copying nb's model):+# the UI already hides the Try it button, but a parked feature must refuse at+# the ENDPOINT too, or a direct POST (curl, a script, another AI) still+# reaches run-prompt and can wake or crash ah. One line to unpark, with the+# page's TRY_IT_PARKED flag.+TRY_IT_PARKED = True+  def stage_phrase(phrase):     """'Try it': stage the phrase (unsubmitted) into this app's own AI thread@@ -985,6 +992,12 @@ def do_action(target, name, args):     if name == "say":         return {"success": True, "phrases": say_phrases()}     if name == "try_phrase":+        if TRY_IT_PARKED:+            return {"success": False, "staged": False, "parked": True,+                    "error": "try_phrase is parked for ship night: the ai-threads "+                             "run-prompt path has an unverified crash fix, and this "+                             "endpoint must not wake ah's AI backend. Copy the phrase "+                             "into your AI instead."}         phrase = str(args.get("phrase") or "").strip()         if not phrase:             return {"success": False, "error": "phrase required"}
package.json+1−1
@@ -1,6 +1,6 @@ {   "slug": "kicad-bridge",-  "version": "1.0.61",+  "version": "1.0.62",   "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.61",+  "version": "1.0.62",   "tags": [     "kicad",     "pcb",