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.
Extension lane never answers HTTP Basic-Auth from the vault (st.componentsearchengine.com CAD download stalls on Chrome's Sign in dialog)
Summary
pup does not answer Chrome's native HTTP Basic-Auth dialog from the vault on the extension lane. Navigating to a CSE download URL leaves the "Sign in — https://st.componentsearchengine.com" dialog open in the pup window, the frame reports "error page", pup_eval / pup_fetch_url hang or fail, and no file is downloaded — even though credential_list on this box holds componentsearchengine.com and ms.componentsearchengine.com (two usernames each). The chip-fetcher playbook (credentials-and-logins.md) documents the opposite: "pup calls page.authenticate() with the matching vault entry before every navigate, so Chrome's auth dialog never appears." That holds only on the CDP lane; the default extension lane has no CDP session, so it cannot call page.authenticate(), and nothing else supplies the credential.
Form logins are fine on the same box: pup_login on app.ultralibrarian.com (vault:app.ultralibrarian.com) signed in and the page reads "Hello [email protected]"; pup_login on my.st.com filled + submitted from vault:my.st.com (ST rejected the stored password, a stale credential, not a pup fault).
Environment
- Windows (AdomLapper), Adom Bridge 2.1.130, pup (puppeteer bridge) 2.0.641, extension lane, shared
adom-youprofile - Vault:
credential_listshows 871 entries incl.componentsearchengine.com,ms.componentsearchengine.com,nxp.componentsearchengine.com
Repro
pup_open_window {sessionId:"cse-fetch", url:"https://st.componentsearchengine.com/entry_u_newDesign.php?mna=STMicroelectronics&mpn=VL53L5CX&pna=st&vrq=multi&fmt=zip&logo=&lang=en&epm=2"}→ ok, title "SamacSys Part Preview" (the ST CAD Resources widget: symbol, footprint, 3D, "Download CAD Models").pup_evalclick#mvDownloadButton→ tab navigates tohttps://st.componentsearchengine.com/ga/model.php?fmt3d=stp&partID=15569520&partner=STMicroelectronics&tok=0&emb=1&lang=en-GB&pna=STMicroelectronics.desktop_screenshot_windowof the pup window: Chrome's native "Sign in / https://st.componentsearchengine.com / Username / Password" dialog is open on a blank page.pup_eval {sessionId:"cse-fetch", ...}→Frame with ID 0 is showing error page.pup_fetch_url {sessionId:"cse-fetch", url:<the model.php URL>}→fetch_failed: Runtime.evaluate failed: 0 cdp did not settle within 40000 ms (a Chrome API hung).- No
.zip/.stpappears under%USERPROFILE%\Downloads,%LOCALAPPDATA%\Adom Bridge,%TEMP%orC:\Users\john\.adom\**in the following 60 minutes.
Expected
The vault entry for the registrable domain (componentsearchengine.com, any subdomain, i.e. *.componentsearchengine.com) answers the 401 challenge silently on every lane; the zip downloads (or pup_fetch_url returns it as bodyBase64); the AI never sees the dialog.
Proposal
- Extension lane: supply Basic-Auth credentials with
chrome.webRequest.onAuthRequired(blocking,authCredentials) from the vault, matched on the registrable domain sost./ms./nxp.componentsearchengine.comall match acomponentsearchengine.comentry. CDP lane: keeppage.authenticate(). - When no entry matches, do not leave the native dialog up: return
errorCode: no_credentialwith the challenging host, and a_hintthat names the three routes in order —pup_import_browser_logins {}(the user's own Chrome/Edge saved logins, one consent + one UAC, fine for first-time discovery),pup_vault_sync {peer}(with ahostFilter, so a shared/conference-room box does not receive the user's whole vault), thencredential_set {host:"*.<domain>"}. - When the human types into the native auth dialog in the pup window, capture that credential into the vault on success, the way form logins are captured on submit.
pup_fetch_urlon a tab whose frame is an error page should fail fast with a typed error instead of a 40 s CDP hang.
Found while
Fetching ST's real STEP models for VL53L5CX / VL53L7CX / VL53L8CX for the Adom release-video run of "make me a KiCad/Altium/Fusion library for the three cheapest 8x8 ToF sensors": ST's CAD Resources tab is a SamacSys widget whose download is Basic-Auth on st.componentsearchengine.com. The site skill (john/electronics-sites-skillpack skills/st) and chip-fetcher-sites/sites/st both assume this just works.