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
Fix a dashboard script syntax error introduced with the Thread Tiles settings row: escaped apostrophes inside the dashboard template literal emitted unterminated strings, which broke all dashboard JavaScript including the Settings dialog.
4 files changed
+8−8
adom-bridge-puppeteer-manifest.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "puppeteer",- "version": "2.0.172",- "url": "https://wiki.adom.inc/download/adom/pup-bridge/2.0.172/adom-bridge-puppeteer-v2.0.172.zip",- "sha256": "5cb1b23742a4d1886a5d3c1dc2725d4bd6a52bcae9b9f0b56ebc0a79ba6de29c",- "size": 916473,+ "version": "2.0.173",+ "url": "https://wiki.adom.inc/download/adom/pup-bridge/2.0.173/adom-bridge-puppeteer-v2.0.173.zip",+ "sha256": "5999ed4413d0f1ecb35d217f76ab041dc37dbe22ea3e7cb34a736f21be498653",+ "size": 916478, "verbPrefixes": [ "browser_", "desktop_recorder_",
src/BRIDGE_VERSION+1−1@@ -1 +1 @@-2.0.172+2.0.173
src/bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "puppeteer", "displayName": "Puppeteer (Chrome for Testing + Native)",- "version": "2.0.172",+ "version": "2.0.173", "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+2−2@@ -11460,7 +11460,7 @@ const SETTINGS_DEF=[ {k:'aumidIcons',l:'AUMID taskbar icons',info:'AUMID = Application User Model ID, a feature built into Windows itself. Every taskbar button is really a GROUP: Windows collects windows that share the same ID onto one button. Normally all windows of one app share the app ID, which is why 5 Chrome windows stack under one Chrome button. But the ID can be set PER WINDOW: pup writes a unique ID onto each pup window using the Windows property system (the same mechanism apps like Office use), and Windows then gives that window its own taskbar button with its own icon. The catch, and why this is an experiment: whenever a window ID changes, Windows destroys and recreates its taskbar button, and that churn is a suspect in the Chrome crashes. pup stamps each window exactly once, at creation, to minimize it.',d:'EXPERIMENT: give every pup window its OWN taskbar icon by stamping a per-window identity. Toggle on/off to test whether AUMID stamping is what crashes Chrome. Off = all windows share one Chrome button (current mode). Already-stamped windows keep their icon until closed.',img:'aumid'}, {k:'taskbarGrouping',l:'AUMID grouping',d:'Only applies when AUMID icons are on. split = one taskbar button per window. grouped = windows grouped BY CATEGORY when icon-style is "category" (up to 5 buttons: signed-in wiki, public wiki, open web, Adom app, plain — e.g. all your signed-in-wiki windows collapse under the one padlock button); with icon-style "standard" grouped collapses everything under a single Adom Pup button.',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:'threadTiles',l:'Thread Tiles',info:'Every AI thread you work in (the --ai-thread name: "kicad", "ah build", "shotlog") gets ONE taskbar button, and that button\'s icon is the thread NAME itself, drawn in the Adom font on the Adom teal tile. All windows and tabs that thread owns collapse onto it, so a glance at the taskbar tells you which of your threads have windows open and where each one is. The name is rendered bottom-left so the little favicon badge in the top-right corner (which shows what the active tab is) covers as little of it as possible. Short names print big; longer ones wrap to two lines. Takes precedence over AUMID grouping and icon style; windows with no owning thread fall back to those normal modes.',d:'Group every window of one AI thread under ONE taskbar button whose icon is the thread NAME on the Adom teal tile. Examples below are live-rendered by the same code that draws the real icons.',dep:'aumidIcons',threadex:1},+ {k:'threadTiles',l:'Thread Tiles',info:'Every AI thread you work in (the --ai-thread name: "kicad", "ah build", "shotlog") gets ONE taskbar button, and the icon for that button is the thread NAME itself, drawn in the Adom font on the Adom teal tile. All windows and tabs that thread owns collapse onto it, so a glance at the taskbar tells you which of your threads have windows open and where each one is. The name is rendered bottom-left so the little favicon badge in the top-right corner (which shows what the active tab is) covers as little of it as possible. Short names print big; longer ones wrap to two lines. Takes precedence over AUMID grouping and icon style; windows with no owning thread fall back to those normal modes.',d:'Group every window of one AI thread under ONE taskbar button whose icon is the thread NAME on the Adom teal tile. Examples below are live-rendered by the same code that draws the real icons.',dep:'aumidIcons',threadex:1}, {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'},@@ -11562,7 +11562,7 @@ function renderDlg(){ // dialog (same teal, same font, same bottom-left anchor + wrap rules as the real .ico renderer), // so they can never drift from the icons Windows actually shows, and they need no shipped PNGs. const threadEx=def.threadex?'<div class="texwrap"><div class="texstrip" id="texstrip"></div>'- +'<div class="texcap">Your real thread names, drawn exactly as the taskbar draws them. The badge in the corner is the active tab\'s favicon.</div></div>':'';+ +'<div class="texcap">Your real thread names, drawn exactly as the taskbar draws them. The badge in the corner is the favicon of the active tab.</div></div>':''; return '<div class="srow"><div class="stxt"><div class="slbl">'+esc(def.l)+(def.info?' <span class="ibadge" data-tip="'+esc(def.info)+'">i</span>':'')+'</div><div class="sdesc">'+esc(def.d)+'</div>'+exImg+threadEx+testRow+'</div>' +'<div class="tgl'+(on?' is-on':'')+'" role="switch" tabindex="0" aria-checked="'+on+'" aria-label="'+esc(def.l)+'" data-tgl="'+def.k+'"></div></div>'; }).join('')+importSectionHtml();