← Commit history

v1.9.17: use the Adom design-system green token for the signed-in indicator instead of an ad-hoc Tailwind green

John Lauer ·3f9fdcfbf6 ·3mo ago ·parent 1c012c0
6 files changed +17−10
CHANGELOG.md+7
@@ -1,5 +1,12 @@ # Changelog — Adom Desktop Puppeteer Bridge +## 1.9.17 — 2026-07-20 — Use the Adom brand green (#3fb950), not an ad-hoc one++John caught it: the signed-in green was #16a34a, which is Tailwind's green-600, not an Adom colour.+The design system defines `--green: #3fb950` and reserves it for "success only" - which is exactly+what "signed in" is - so both the overlay plate and the main-icon glyph now use that token. Nothing+else about the indicator changed. (The logged-out plate stays #0b2325, the pre-existing dark plate.)+ ## 1.9.16 — 2026-07-20 — Wiki login state = the favicon's PLATE COLOUR (John's idea, the right one)  John: "why don't you just use a different background than the background you place onto the favicon
adom-bridge-puppeteer-manifest.json+5−5
@@ -1,10 +1,10 @@ {   "manifest_version": 1,   "name": "puppeteer",-  "version": "1.9.16",-  "url": "https://wiki.adom.inc/download/adom/adom-desktop-puppeteer-bridge/1.9.16/adom-bridge-puppeteer-v1.9.16.zip",-  "sha256": "79173f7410a21c485f2396857e43d4fdb972b26249bb0e5114e0efe17caca447",-  "size": 236402,+  "version": "1.9.17",+  "url": "https://wiki.adom.inc/download/adom/adom-desktop-puppeteer-bridge/1.9.17/adom-bridge-puppeteer-v1.9.17.zip",+  "sha256": "0ffc811623de08e5c5597be4f1b647a8c5276741ec12c3cf55483b530cb5e894",+  "size": 236485,   "verbPrefixes": [     "browser_",     "desktop_recorder_",@@ -12,5 +12,5 @@   ],   "healthEndpoint": "/status",   "statusVerb": "browser_readiness",-  "released_at": "2026-07-20T00:30:00Z"+  "released_at": "2026-07-20T00:45:00Z" }
src/BRIDGE_VERSION+1−1
@@ -1 +1 @@-1.9.16\ No newline at end of file+1.9.17\ No newline at end of file
src/adom-pup-wiki-authed.svg+1−1
@@ -1,4 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?><svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 244 244"><defs><style>.cls-1{fill:none;}.cls-1,.cls-2,.cls-3,.cls-4{stroke-width:0px;}.cls-2{fill:#00b8b0;}.cls-3{fill:#fff;}.cls-4{fill:#003d40;}.cls-5{clip-path:url(#clippath);}</style><clipPath id="clippath"><rect class="cls-1" x="2.33" y="2.33" width="239.33" height="239.33"/></clipPath></defs><path class="cls-3" d="M184.3,59.7c-16.95-16.95-41.26-20.14-54.29-7.11-5.29,5.29-7.9,12.43-8.01,20.18h0s0,0,0,0c0,.03,0,.05,0,.08v48.09c0,.58.47,1.05,1.05,1.05h47.57-.01c7.99,0,15.37-2.6,20.79-8.02,13.03-13.03,9.84-37.33-7.11-54.29Z"/><path class="cls-3" d="M59.7,184.3c16.95,16.95,41.26,20.14,54.29,7.11,5.29-5.29,7.9-12.43,8.01-20.18h0s0,0,0,0c0-.03,0-.05,0-.08v-48.09c0-.58-.47-1.05-1.05-1.05h-47.57.01c-7.99,0-15.37,2.6-20.79,8.02-13.03,13.03-9.84,37.33,7.11,54.29Z"/><g class="cls-5"><path class="cls-2" d="M206.67,241.67H37.33c-19.33,0-34.99-15.67-34.99-34.99V37.33C2.33,18,18,2.33,37.33,2.33h169.34c19.33,0,34.99,15.67,34.99,34.99v169.34c0,19.33-15.67,34.99-34.99,34.99"/><path class="cls-4" d="M173.76,70.24c-14.09-14.09-34.28-16.73-45.1-5.91-4.39,4.39-6.56,10.33-6.66,16.77h0v40.03c0,.48.39.88.88.88h39.52,0c6.64,0,12.77-2.16,17.28-6.66,10.82-10.82,8.18-31.02-5.91-45.1"/><path class="cls-4" d="M70.24,173.76c14.09,14.09,34.28,16.73,45.1,5.91,4.39-4.39,6.56-10.33,6.66-16.77h0v-40.03c0-.48-.39-.88-.88-.88h-39.52,0c-6.64,0-12.77,2.16-17.28,6.66-10.82,10.82-8.18,31.02,5.91,45.1"/></g><g id="pup-browser-solid-authed">-  <rect x="152" y="156" width="70" height="58" rx="10" fill="#22c55e" stroke="#003d40" stroke-width="11"/>+  <rect x="152" y="156" width="70" height="58" rx="10" fill="#3fb950" stroke="#003d40" stroke-width="11"/>   <line x1="152" y1="178" x2="222" y2="178" stroke="#003d40" stroke-width="9"/> </g></svg>\ No newline at end of file
src/bridge.json+1−1
@@ -2,7 +2,7 @@   "manifest_version": 1,   "name": "puppeteer",   "displayName": "Puppeteer (Chrome for Testing + Native)",-  "version": "1.9.16",+  "version": "1.9.17",   "description": "Drives a browser ALREADY on the machine \u2014 installed Chrome, else Microsoft Edge (every Windows PC ships with Edge) \u2014 launched with a FRESH isolated profile, so the common case has NO ~150 MB Chrome-for-Testing download and it never touches the user's real tabs/logins. Binds its local server to LOOPBACK (127.0.0.1) only, so no Windows Firewall 'allow Node through the firewall' prompt ever pops. Chrome for Testing is fetched only as a LAST RESORT if the machine has no Chromium browser at all. SPAWN-VERIFIED fallback: pup tries each detected browser (Chrome \u2192 Edge \u2192 CfT) and actually launches it, falling through to the next if one won't start (and handling browsers like Edge that relaunch onto another PID), so a corrupt/partial install never hard-fails an open. The browser that launches is cached as the default (persisted across restarts) so it isn't re-probed each time. On spawn the bridge SELF-WARMS: detects browsers + disk, and only if the box has no Chrome/Edge and no cached CfT does it background-fetch CfT so the first open is instant. browser_use pins a specific browser (chrome | edge | cft | auto); {browser:'chrome',install:true} downloads & installs REAL Google Chrome (user-scoped, no admin) on an Edge-only box. browser_readiness (READ-ONLY) reports which browser will be used + the full candidate list + the default + free disk. Every failure returns a specific errorCode + _hint (chrome_install_no_disk, chrome_download_network, chrome_install_permission, chrome_stable_not_detected, \u2026). Launches with FULL browser permissions by default for full debug (strictPermissions:true opts out). Headful automation: open/close windows+tabs, navigate, screenshot, eval JS, record. pup is a GENERIC, non-profile browser only \u2014 every session is a fresh isolated Chrome/Edge process, never the user's real signed-in browser; profile defaults to sessionId. To drive the user's REAL Chrome/Edge (their profile, cookies, SSO), use the Adom browser EXTENSION's nbrowser_* verbs \u2014 a separate bridge, not pup's job.",   "homepage": "https://wiki.adom.inc/adom/adom-desktop",   "author": "Adom Inc.",
src/server.js+2−2
@@ -1703,7 +1703,7 @@ let _jumplistSupported = null;   // null = unprobed (desktop_set_window_jumplist // The OVERLAY slot is NOT used for this — it belongs to the active tab's favicon (v1.9.0). // NEW FILENAME on any art change, always: the shell + AD cache HICONs by PATH (stale-tile trap). const PUP_ICON_DEFAULT = 'adom-pup-browser3.ico';-const PUP_ICON_WIKI_AUTHED = 'adom-pup-wiki-authed2.ico';+const PUP_ICON_WIKI_AUTHED = 'adom-pup-wiki-authed3.ico'; function pupSessionAuthed(sessionId) {   try { const s = sessionId && sessions.get(sessionId); return !!(s && s._wikiAuthed); } catch (e) { return false; } }@@ -2105,7 +2105,7 @@ async function applyAppOverlay(session, sessionId) {     // -> the normal dark plate. You still see which site you're on AND the wiki login state, and     // at 16px the plate is a far bigger colour target than any glyph tucked in the base icon.     const plateAuthed = !!session._wikiAuthed && isAdomUrl((() => { try { return activePage.url(); } catch (e) { return null; } })());-    const plateFill = plateAuthed ? '#16a34a' : '#0b2325';+    const plateFill = plateAuthed ? '#3fb950' : '#0b2325'; // #3fb950 = the Adom design-system --green token ("success only"), NOT an ad-hoc green     const cacheKey = sessionId + ':' + (src.href || 'explicit') + ':' + (plateAuthed ? 'auth' : 'plain');     let overlay = _appOverlayCache.get(cacheKey);     if (!overlay) {