← Commit history

Add an Open pup dashboard task to every pup taskbar jump list (John's ask): one right-click opens the live dashboard mapping every pup window and tab to its owning AI thread, reusing the one dashboard window on repeat clicks. Routed through the v2.0.41 direct-callback launcher like every other task. New jlDashboard sub-setting (default on) under Jump lists in the settings dialog, wired into the dedupe key and the settings refresh path so toggling it updates existing windows immediately

John Lauer ·ad1ecd1edf ·2mo ago ·parent 9e37cdc
4 files changed +20−9
adom-bridge-puppeteer-manifest.json+4−4
@@ -1,10 +1,10 @@ {   "manifest_version": 1,   "name": "puppeteer",-  "version": "2.0.41",-  "url": "https://wiki.adom.inc/download/adom/pup-bridge/2.0.41/adom-bridge-puppeteer-v2.0.41.zip",-  "sha256": "96ab1da7a5fc1116253024666d0a91f5811ecec8e6cac6ea1bef120cfff3cd30",-  "size": 645619,+  "version": "2.0.42",+  "url": "https://wiki.adom.inc/download/adom/pup-bridge/2.0.42/adom-bridge-puppeteer-v2.0.42.zip",+  "sha256": "a3f7256aca74941816be46abefeb68fdabdeeca35002a19ddf3f80edd0cd33a9",+  "size": 645881,   "verbPrefixes": [     "browser_",     "desktop_recorder_",
src/BRIDGE_VERSION+1−1
@@ -1 +1 @@-2.0.41+2.0.42
src/bridge.json+1−1
@@ -2,7 +2,7 @@   "manifest_version": 1,   "name": "puppeteer",   "displayName": "Puppeteer (Chrome for Testing + Native)",-  "version": "2.0.41",+  "version": "2.0.42",   "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. pup_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. pup_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. macOS (v1.9.74+): full parity with mac-native mechanics \u2014 background-by-default is the app-level hide (windows stay drivable/screenshottable while hidden), raise/lower map to unhide+activate/hide, pup_alert_window posts a native toast whose click focuses the window, pup_use {browser:'chrome',install:true} installs Chrome from the official dmg, and taskbar identity/badging remains Windows-only.",   "homepage": "https://wiki.adom.inc/adom/adom-bridge",   "author": "Adom Inc.",
src/server.js+14−3
@@ -3025,6 +3025,8 @@ function pupSettings() {   D.autoLogin = 'on'; D.reportIssues = 'on'; D.agentActivity = 'on';   // v1.9.275 (John: 'shouldn't there be a setting for whether to show the full jump list or not?')   D.jlViewTasks = 'on'; D.jlCloseAll = 'on';+  // v2.0.42 (John: "can you add a jump list to open the pup dashboard?")+  D.jlDashboard = 'on';   // v1.9.293 (John): the 'NOT foregrounded by Adom' caption is now OFF by default. He is right that   // input-timing cannot reliably tell his own raises (click / alt+tab / window click) from a rare   // JS raise - and Windows blocks most background foreground-steals anyway, so the case it exists@@ -3834,7 +3836,7 @@ async function updateWikiJumplist(session, sessionId, opts) {   // are the same for a wiki window regardless of view (both switch-view tasks always show), so freezing   // costs at most a slightly stale menu, and buys zero churn — matching the appId freeze.   if (session._jlFrozen) return;-  const jlKey = `${appId}|${view || 'none'}|${pupSettings().jlViewTasks}|${pupSettings().jlCloseAll}`;+  const jlKey = `${appId}|${view || 'none'}|${pupSettings().jlViewTasks}|${pupSettings().jlCloseAll}|${pupSettings().jlDashboard}`;   if (session._wikiJumplistKey === jlKey) return;   // v2.0.3: coalesce the jump-list settle churn. On open, the bare per-session appId and the   // public->authed view each produce a distinct (appId|view) commit, so a single open committed the@@ -3915,6 +3917,14 @@ async function updateWikiJumplist(session, sessionId, opts) {     tasks.push(pupTask('pup_wiki_set_view', { sessionId, view: 'authed' }, { title: 'Switch to logged-in view', description: 'Reload this Adom wiki page SIGNED IN — private source, drafts, owner-only cards (already signed in? harmless reload)', iconPath: _taskIcon }));     tasks.push(pupTask('pup_wiki_set_view', { sessionId, view: 'public' }, { title: 'Switch to public view', description: 'Reload this Adom wiki page logged OUT — exactly what the public/world sees (already public? harmless reload)', iconPath: _taskIcon }));   }+  // v2.0.42 (John: "can you add a jump list to open the pup dashboard?"): one click on any pup+  // taskbar icon opens the live dashboard — the map of every pup window/tab and its owning AI+  // thread. The verb reuses the one dashboard window on repeat clicks, so this is idempotent.+  if (pupSettings().jlDashboard === 'on') tasks.push(pupTask('pup_dashboard', {}, {+    title: 'Open pup dashboard',+    description: 'Live dashboard of every pup window: owning AI thread, tabs with favicons, foreground state and why, uptime (reuses the dashboard window if already open)',+    iconPath: _taskIcon,+  }));   if (pupSettings().jlCloseAll === 'on') tasks.push(closeAllTask);   // v2.0.21 (John: "stop trying to mangle the titles... instead give a jump list item that explains   // the ai-thread that owns that window, and clicking it shows a native window with all the info"):@@ -9567,6 +9577,7 @@ const SETTINGS_DEF=[  {k:'jumpLists',l:'Jump lists',d:'The menu Windows shows when you right-click a pup taskbar icon (real screenshot below, captured on this machine). Requires AUMID icons on. Off by default. Quirk: the FIRST right-click can blip the menu closed — right-click again ~1s later and it holds (a Windows shell timing race, not a pup bug).',img:'jumplist'},  {k:'jlViewTasks',l:'',d:'Wiki view tasks: Switch to logged-in view / Switch to public view on every wiki window.',dep:'jumpLists',subtgl:1,img:'jlviewtasks'},  {k:'jlCloseAll',l:'',d:'The Close all pup windows task on every pup icon.',dep:'jumpLists',subtgl:1,img:'jlcloseall'},+ {k:'jlDashboard',l:'',d:'The Open pup dashboard task on every pup icon: one click opens the live window/tab/thread map.',dep:'jumpLists',subtgl:1},  {k:'fgWatch',l:'20s foreground watch',d:'For 20s after a window opens or navigates in the background, watch whether something (JavaScript, Chrome, a focus change) brings it to the foreground, and caption that it was not Adom. Never moves the window.'},  {k:'fgCaption',l:'Caption on AI foreground',d:'When an AI brings a window to your screen, show its stated reason as an on-screen caption. The AI is always forced to give a reason; this shows it to you.'},  {k:'fgCaptionMs',l:'',d:'',slider:[500,5000,250],dep:'fgCaption',test:1},@@ -9892,7 +9903,7 @@ const server = http.createServer(async (req, res) => {             reportIssues: ['on', 'off'], autoLogin: ['on', 'off'], minimalTouch: ['on', 'off'],             taskbarGrouping: ['split', 'grouped'],             aumidIconStyle: ['standard', 'category'],-            jlViewTasks: ['on', 'off'], jlCloseAll: ['on', 'off'],+            jlViewTasks: ['on', 'off'], jlCloseAll: ['on', 'off'], jlDashboard: ['on', 'off'],             notMineCaption: ['on', 'off'], ownerChip: ['on', 'off'],             titleTag: ['on', 'off'], titlePrefix: ['on', 'off'],           };@@ -9908,7 +9919,7 @@ const server = http.createServer(async (req, res) => {           // v1.9.279: a taskbar-identity setting must take effect on EXISTING windows immediately,           // not just future ones. Reconcile now re-stamps every live window to match (idempotent).           if (['aumidIcons', 'taskbarGrouping', 'aumidIconStyle'].includes(key)) reconcileModel('setting ' + key).catch(() => {});-          if (['jumpLists', 'jlViewTasks', 'jlCloseAll'].includes(key)) refreshAllJumplists().catch(() => {});   // v1.9.320: OFF clears the menu, ON/sub re-commits+          if (['jumpLists', 'jlViewTasks', 'jlCloseAll', 'jlDashboard'].includes(key)) refreshAllJumplists().catch(() => {});   // v1.9.320: OFF clears the menu, ON/sub re-commits           if (key === 'ownerChip') applyOwnerChipSetting(val === 'on').catch(() => {});           return done({ ok: true, settings: pupSettings() });         }