app
Pup - the AI's own browser
Public Made by Adomby adom
pup gives your AI a real browser on your desktop that it drives completely, in the background, signed in as you: windows that never jump in front of your work, one shared profile that learns your logins, and every window labeled on the taskbar with its AI thread's name.
← Commit history
Jump-list CONTENT gets its own controls (John: 'shouldn't there be a setting for whether to show the full jump list or not? not just the jump list in general? you had close all pup windows and you had log in and log out when appropriate'). Two dependent sub-toggles under the jump-lists master, both default on: wiki view tasks (Switch to logged-in view / Switch to public view, shown on wiki windows) and the constant Close-all-pup-windows task. The commit idempotency key now includes both flags so flipping a toggle recommits the menu immediately, and the dialog gained dependent sub-toggle rendering (indented, dimmed when the master is off) alongside the existing dependent selects and slider.
4 files changed
+21−9
adom-bridge-puppeteer-manifest.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "puppeteer",- "version": "1.9.274",- "url": "https://wiki.adom.inc/download/adom/adom-desktop-puppeteer-bridge/1.9.274/adom-bridge-puppeteer-v1.9.274.zip",- "sha256": "ad9effed93b59f8f88e4841d5b2b1db0f7126fd302ee5fb48b532a41bd30fb82",- "size": 615945,+ "version": "1.9.275",+ "url": "https://wiki.adom.inc/download/adom/adom-desktop-puppeteer-bridge/1.9.275/adom-bridge-puppeteer-v1.9.275.zip",+ "sha256": "cc357aa3defa603d7441f5fdf7f16da3a88b373f0d30d1d3e5b06827df94ebeb",+ "size": 616164, "verbPrefixes": [ "browser_", "desktop_recorder_",
src/BRIDGE_VERSION+1−1@@ -1 +1 @@-1.9.274+1.9.275
src/bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "puppeteer", "displayName": "Puppeteer (Chrome for Testing + Native)",- "version": "1.9.274",+ "version": "1.9.275", "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. 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, browser_alert_window posts a native toast whose click focuses the window, browser_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-desktop", "author": "Adom Inc.",
src/server.js+15−3@@ -2722,6 +2722,8 @@ function pupSettings() { // on via the !== 'off' checks, but the dialog rendered the unset key as an OFF toggle: a display // lie). Legacy keys get explicit defaults so the dialog reflects actual behavior. 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'; if (_pupSettings.autoLogin === 'off' && !chosen.autoLogin) _pupSettings.autoLogin = 'on'; // v1.9.260 (John: "2s feels too fast cuz i can't read"): readable default. A stored 2000 was the // old default, not a choice made in the dialog (it shipped hours ago) - migrate it up once.@@ -3224,7 +3226,7 @@ async function updateWikiJumplist(session, sessionId, opts) { // the appId changed, and EVERY CommitList rebuilds the menu — if one lands while the user is // opening it, the shell dismisses it. That is the "first right-click does nothing, second works" // wonkiness. One commit per (button, view), never a redundant one.- const jlKey = `${appId}|${view || 'none'}`;+ const jlKey = `${appId}|${view || 'none'}|${pupSettings().jlViewTasks}|${pupSettings().jlCloseAll}`; if (session._wikiJumplistKey === jlKey) return; // v1.9.62: CLAIM the key before the await. Two callers (the pre-stamp brand and a timer-driven // refresh) can both compute the same key and both find it unset, so both commit — a redundant@@ -3280,11 +3282,12 @@ async function updateWikiJumplist(session, sessionId, opts) { // is logged in or not so might as well always put both." Stable order (logged-in first) so muscle // memory works; clicking the view you're already in is just a harmless reload of that view. let tasks = [];- if (view === 'authed' || view === 'public') {+ // v1.9.275: each entry family has its own pref (dep of the jumpLists master).+ if (pupSettings().jlViewTasks === 'on' && (view === 'authed' || view === 'public')) { tasks.push({ 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, args: taskArgs('authed') }); tasks.push({ 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, args: taskArgs('public') }); }- tasks.push(closeAllTask); // always present, listed after any window-specific task+ if (pupSettings().jlCloseAll === 'on') tasks.push(closeAllTask); // The shell ignores a jump list on an unregistered AUMID — ensure it's registered first. if (!_registeredPupAumids.has(appId)) { await registerPupAumid(appId, sessionId);@@ -8584,6 +8587,8 @@ const SETTINGS_DEF=[ {k:'taskbarGrouping',l:'AUMID grouping',d:'Only applies when AUMID icons are on: split = one icon per window; grouped = all pup windows under one Adom Pup icon.',sel:['split','grouped'],dep:'aumidIcons',imgBy:{split:'groupsplit',grouped:'groupgrouped'}}, {k:'aumidIconStyle',l:'AUMID icon style',d:'Only applies when AUMID icons are on: standard = one pup tile for every window; category = the custom set (wiki signed-out, wiki signed-in padlock, world icon for the open web, adom app icon, mixed).',sel:['standard','category'],dep:'aumidIcons',imgBy:{standard:'iconstylestd',category:'iconstylecat'}}, {k:'jumpLists',l:'Jump lists',d:'The menu Windows shows when you right-click a taskbar icon (real screenshot below, captured on this machine). With this ON, pup commits extra tasks for wiki windows (Switch to logged-in view / Switch to public view) - but a known Windows 11 attach bug currently keeps committed tasks OFF the menu even though the commit succeeds (verified on this machine 2026-08-02: pup logs the commit, the real flyout shows only the defaults). Tracked; the screenshot gains the wiki style when the bug is fixed. Off by default.',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},+ {k:'jlCloseAll',l:'',d:'The Close all pup windows task on every pup icon.',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},@@ -8609,6 +8614,12 @@ function renderDlg(){ +'<span class="sval" id="val-'+def.k+'">'+(v/1000).toFixed(1)+'s</span>' +(def.test?'<button class="btn sm" data-testcap="1" title="show a sample caption on your screen right now, at the configured duration">test</button>':'')+'</div>'; }+ if(def.subtgl){+ const pOn=st[def.dep]==='on';+ const on=st[def.k]==='on';+ return '<div class="sub'+(pOn?'':' sdis')+'" id="row-'+def.k+'"><span class="sdesc" style="flex:1 1 auto">'+esc(def.d)+'</span>'+ +'<div class="tgl'+(on?' is-on':'')+'" role="switch" tabindex="0" aria-checked="'+on+'" aria-label="'+esc(def.d)+'" data-tgl="'+def.k+'"></div></div>';+ } if(def.sel){ const on=!def.dep||st[def.dep]==='on'; return '<div class="sub'+(on?'':' sdis')+'" id="row-'+def.k+'"><div style="flex:1 1 auto;min-width:0"><span class="sdesc">'+esc(def.d)+'</span>'+exImg+'</div>'@@ -8789,6 +8800,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'], }; const key = String(a.key || ''); let val = a.value; if (key === 'fgCaptionMs') {