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
1.8.96: wikiView authed always uses vault profile (shared login all threads); sharper dual-view hints
5 files changed
+27−14
CHANGELOG.md+11@@ -1,5 +1,16 @@ # Changelog — Adom Desktop Puppeteer Bridge +## 1.8.96 — 2026-07-19 — Wiki authed: shared login across ALL threads, own window each; sharper hints++Proven live: a brand-new thread (own sessionId) opening wikiView:"authed" is authenticated by+reusing the one-time login — each thread gets its OWN window, they share only the vault cookie jar.+- Routing fix: wikiView:"authed" now ALWAYS routes to the reserved adom-wiki-authed vault profile+ (previously only when the thread passed no profile of its own) — so the single login serves+ every thread regardless of what profile they'd otherwise use.+- Hints rewritten around the 80% case: PUBLIC is the default (logged out, what the world sees);+ wikiView:"authed" is the opt-in logged-in view; a thread can't self-login (it's the user's SSO)+ but ONE login unlocks authed for EVERY thread for ~30 days. Survives bridge restarts/reboots.+ ## 1.8.95 — 2026-07-19 — Suppress the browser sign-in / work-profile prompt (CfT DOES have it) Correction to a load-bearing wrong assumption: Chrome for Testing shows the same "Sign in to
adom-bridge-puppeteer-manifest.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "puppeteer",- "version": "1.8.95",- "url": "https://wiki.adom.inc/download/adom/adom-desktop-puppeteer-bridge/1.8.95/adom-bridge-puppeteer-v1.8.95.zip",- "sha256": "df2cfbde8e8faba232901b88851a91bbd0f66f2edd0ce6aedc3367ed7c00d7bf",- "size": 207203,+ "version": "1.8.96",+ "url": "https://wiki.adom.inc/download/adom/adom-desktop-puppeteer-bridge/1.8.96/adom-bridge-puppeteer-v1.8.96.zip",+ "sha256": "cf22ab0d9a52a29d37c2d59833a56409269458bcf00ad2b87a9ee7ddad8295b9",+ "size": 207373, "verbPrefixes": [ "browser_", "desktop_recorder_",
src/BRIDGE_VERSION+1−1@@ -1 +1 @@-1.8.95+1.8.96
src/bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "puppeteer", "displayName": "Puppeteer (Chrome for Testing + Native)",- "version": "1.8.95",+ "version": "1.8.96", "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+10−8@@ -1839,14 +1839,12 @@ async function checkWikiAuth(page) { } function wikiViewHint(url, view, auth) { if (!isWikiUrl(url)) return '';- // ONE window is the norm — do NOT push opening two. These hints just make the AI AWARE it can- // switch THIS window's viewpoint (or log in) when the task calls for it. if (view === 'authed') {- if (auth && auth.authed) return ` 🔓 Wiki LOGGED-IN view (as ${auth.user || 'the user'}) — you see private source, drafts, owner-only cards. Reopen the SAME sessionId without wikiView for the public view when you want to check what the world sees (e.g. after a publish: did private source leak?).`;- return ` 🔑 Wiki authed view requested but NOT signed in yet (first use, or the ~30-day session expired). Offer the user a ONE-TIME login: browser_raise_os_window with foregroundReason "sign into the Adom wiki" → user completes the hydrogen.adom.inc SSO → the session persists in this profile for ~30 days, so future wikiView:"authed" opens are silently logged in. Until then this window shows the public view.`;+ if (auth && auth.authed) return ` 🔓 Wiki LOGGED-IN view (as ${auth.user || 'the user'}) — private source, drafts, owner-only cards, reply/edit. This authed session is SHARED: every thread's wikiView:"authed" is logged in too (one login served it). For the PUBLIC view (what the world sees — e.g. verify a publish didn't leak private source), open WITHOUT wikiView.`;+ return ` 🔑 Wiki authed view requested, but NO ONE has done the one-time login yet (or the ~30-day session expired) — so this window is currently PUBLIC/logged-out. A thread can't self-login (it's the user's SSO). Offer it: browser_raise_os_window {foregroundReason:"sign into the Adom wiki"} → user does the hydrogen.adom.inc SSO ONCE → then EVERY thread's wikiView:"authed" is silently logged in for ~30 days (shared vault profile). Tell the user it's a one-time login that unlocks the logged-in view everywhere.`; }- // public/default open — a light, one-line awareness note (no "open two windows" nag).- return ` (Wiki public view — the default. If you need the user's LOGGED-IN angle (private source, drafts, owner cards) reopen this sessionId with wikiView:"authed"; pup can log them in once. Otherwise ignore this.)`;+ // public/default open — the 80% case. One line, informational.+ return ` (📖 Wiki PUBLIC view — the default, logged out, what the world sees. If the task needs the user's LOGGED-IN view (private source, drafts, owner cards, replying), reopen with wikiView:"authed" — if the user has logged in once, it's INSTANT and shared across all threads; if not, pup offers a one-time login. Ignore otherwise.)`; } async function fetchPageFavicon(page) {@@ -4136,8 +4134,12 @@ const server = http.createServer(async (req, res) => { // sessionId so a bare "open in pup" (just sessionId + url) works cleanly. // (To drive the user's REAL Chrome/Edge, that's the Adom browser EXTENSION's // nbrowser_* verbs — a separate bridge, not pup.)- // v1.8.93: wikiView:"authed" → reserved persistent authed-wiki profile (SSO cookie jar).- if (args.wikiView === 'authed' && isWikiUrl(args.url) && !args.profile) args.profile = WIKI_AUTH_PROFILE;+ // v1.8.96: wikiView:"authed" → ALWAYS the reserved vault profile. The 30-day SSO login+ // lives ONLY in adom-wiki-authed, so authed access MUST use that jar regardless of any+ // profile the thread passed (that's what makes ONE login serve EVERY thread). Each+ // session still gets its OWN window; they share only the cookie jar (proven: two+ // different threads, both authed, separate windows).+ if (args.wikiView === 'authed' && isWikiUrl(args.url)) args.profile = WIKI_AUTH_PROFILE; if (!args.profile) args.profile = args.sessionId; const sessionId = args.sessionId; // v1.6.3+: optional downloadPath override. Defaults to the user's