← Commit history

1.8.81: per-session AUMID so each pup window keeps its own taskbar button and accurate tab badge

John Lauer ·a6c6a268bd · ·parent 586f806
5 files changed +24−7
CHANGELOG.md+10
@@ -1,5 +1,15 @@ # Changelog — Adom Desktop Puppeteer Bridge +## 1.8.81 — 2026-07-18 — Per-session AUMID: one taskbar button per window again++The shared Adom.Pup AUMID made Windows GROUP all pup windows into a single taskbar button —+destroying per-window differentiation and rendering the tab-count overlay wrong (it showed+whichever window last updated). Identity is now stamped as `Adom.Pup.<sessionId>` per window:+each session gets its own button with its own accurate badge. The per-window+RelaunchIconResource/DisplayNameResource (already set by AD's verb) brand each unregistered+per-session AUMID; the registered plain "Adom.Pup" remains the pinnable Start Menu launcher.+The brand sweep re-stamps live windows on deploy, splitting existing groups immediately.+ ## 1.8.80 — 2026-07-18 — Tab-count overlay badge (differentiate pup windows at a glance)  John: an 8-tab review window and a 1-tab window are indistinguishable teal tiles. The overlay
adom-bridge-puppeteer-manifest.json+4−4
@@ -1,10 +1,10 @@ {   "manifest_version": 1,   "name": "puppeteer",-  "version": "1.8.80",-  "url": "https://wiki.adom.inc/download/adom/adom-desktop-puppeteer-bridge/1.8.80/adom-bridge-puppeteer-v1.8.80.zip",-  "sha256": "a2ab4c5e6d2c5ff0625e7160e1204d8b167ebbf0b63cc23508530eaeca8cabf8",-  "size": 205852,+  "version": "1.8.81",+  "url": "https://wiki.adom.inc/download/adom/adom-desktop-puppeteer-bridge/1.8.81/adom-bridge-puppeteer-v1.8.81.zip",+  "sha256": "c98634d4e390b46da101611e0b0277efe20028fd340b1f460098508d72420192",+  "size": 206109,   "verbPrefixes": [     "browser_",     "desktop_recorder_",
src/BRIDGE_VERSION+1−1
@@ -1 +1 @@-1.8.80\ No newline at end of file+1.8.81\ 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.8.80",+  "version": "1.8.81",   "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+8−1
@@ -1650,9 +1650,16 @@ async function stampPupIdentity(sessionId) {   if (process.platform !== 'win32' || !sessionId || _identitySupported === false) return false;   if (!_identityRegistered) { await ensurePupIdentityRegistered(); if (_identitySupported === false) return false; }   try {+    // v1.8.81: PER-SESSION AUMID (Adom.Pup.<sessionId>). A single shared AUMID made Windows+    // GROUP every pup window into ONE taskbar button — killing per-window differentiation and+    // making the tab-count overlay show whichever window last updated (John caught 4 windows+    // masquerading as one button with a wrong badge). Per-session ids restore one button per+    // window; the per-window RelaunchIconResource/RelaunchDisplayNameResource AD sets are what+    // brand an UNREGISTERED AUMID's button, and the registered plain "Adom.Pup" stays as the+    // pinnable Start Menu launcher.     const r = await chrome.adCommand('desktop_set_window_identity', {       titleContains: `(session: ${sessionId}`, cacheKey: `pup-${sessionId}`,-      appId: PUP_APP_ID, displayName: PUP_DISPLAY_NAME, iconPath: pupIconPath(),+      appId: `${PUP_APP_ID}.${sessionId}`, displayName: PUP_DISPLAY_NAME, iconPath: pupIconPath(),     }, { timeoutMs: 6000 });     const raw = r && (typeof r.output === 'string' ? r.output : JSON.stringify(r.output || ''));     if ((r && r.success === false) || _isUnknownVerb(r, raw)) {