← Commit history

Publish 1.0.89

John Lauer ·2bdf7f13ef ·1mo ago ·parent 96c3f26
4 files changed +17−4
dashboard/kicad_dashboard.py+1−1
@@ -49,7 +49,7 @@ from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer from pathlib import Path from urllib.parse import unquote, urlparse -VERSION = "4.0.0"+VERSION = "4.0.1" AI_THREAD = "kicad-dashboard" DEFAULT_PORT = 8931 UI_DIR = Path(__file__).resolve().parent / "ui"
dashboard/ui/index.html+14−1
@@ -581,7 +581,20 @@ $('#btnClose').onclick=async()=>{toast('closing the bridge\u2019s KiCad windows' async function buildSay(){   let phrases=[];   try{const r=await act('say');phrases=((r.data||r).phrases)||[];}catch(e){}-  if(!phrases.length||!window.AdomNewbiePanel)return;+  if(!phrases.length)return;+  // The module is a separate <script src>. If its request raced a server+  // restart (or is merely slow), the old guard returned and the page showed NO+  // panel at all, silently - which is exactly the "panel with no prompts"+  // failure the fleet audit kept finding. Retry briefly instead of bailing.+  const mountNow=()=>{+    if(!window.AdomNewbiePanel)return false;+    try{ doMount(phrases); return true; }catch(e){ console.error('newbie panel mount failed',e); return true; }+  };+  if(mountNow())return;+  let tries=0;+  const t=setInterval(()=>{ if(mountNow()||++tries>20)clearInterval(t); },250);+}+function doMount(phrases){   AdomNewbiePanel.mount({     mount:'#newbie', app:'kicad', appName:'KiCad Dashboard', slug:'kicad-bridge',     toggleButton:'#btnHelp',
package.json+1−1
@@ -1,6 +1,6 @@ {   "slug": "kicad-bridge",-  "version": "1.0.88",+  "version": "1.0.89",   "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.88",+  "version": "1.0.89",   "tags": [     "kicad",     "pcb",