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
Publish 1.0.55
4 files changed
+15−3
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 = "2.1.3"+VERSION = "2.1.4" AI_THREAD = "kicad-dashboard" DEFAULT_PORT = 8931 UI_DIR = Path(__file__).resolve().parent / "ui"
dashboard/ui/index.html+12@@ -432,6 +432,18 @@ $('#btnPartTour').onclick=async()=>{ }; // ---- Settings (settings-layout skill: modal, four dismissals, optimistic saves) ----+// The taskbar captures are native DEVICE pixels (2560-wide display at 150%).+// Show them at naturalWidth / devicePixelRatio so they render 1:1 - the same+// physical size as the taskbar they were cut from - instead of being+// upscaled by the browser on a HiDPI screen (caught by John: "grainy").+function sizeShotsToDevicePixels(){+ const dpr=window.devicePixelRatio||1;+ document.querySelectorAll('#dlgSettings img[width]').forEach(img=>{+ const w=parseInt(img.getAttribute('width'),10);if(!w)return;+ img.style.width=(w/dpr)+'px';img.style.height='auto';img.style.maxWidth='100%';+ });+}+sizeShotsToDevicePixels();window.addEventListener('resize',sizeShotsToDevicePixels); const SETTINGS_DEFAULTS={activityIndicator:'progress',overlayBadges:true}; const MODE_LABEL={progress:'Progress bar',flash:'Attention flash',both:'Bar and flash',none:'Nothing'}; const dlg=$('#dlgSettings');
package.json+1−1@@ -1,6 +1,6 @@ { "slug": "kicad-bridge",- "version": "1.0.54",+ "version": "1.0.55", "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.54",+ "version": "1.0.55", "tags": [ "kicad", "pcb",