← Commit history

ST: Basic-Auth from the vault works on pup 2.0.645+ (#119 fixed); navigate-then-pull_file route for the CSE zip, pup_fetch_url regression noted

John Lauer ·c1222e1901 · ·parent 7abb804
1 file changed +1−1
skills/st/SKILL.md+1−1
@@ -49,7 +49,7 @@ Rows are STSW-* (software), X-CUBE-* (STM32Cube packs), STEVAL-* / X-NUCLEO-* (b  The **CAD Resources** tab holds NO direct links. It is a supplier widget: "Start your design with UltraLibrarian" / "Start your design with SamacSys" (`a.js-widget-click` inside `#cad-resources-panel`; activate the tab first, the panel elements are hidden until then). SamacSys loads an iframe `https://st.componentsearchengine.com/entry_u_newDesign.php?mna=STMicroelectronics&mpn=<MPN>&pna=st&vrq=multi&fmt=zip&...` showing the symbol, footprint, 3D and a "3D format: STEP (.stp)" + "Download CAD Models" button (`#mvDownloadButton`) — open that URL directly in its own tab, it works outside the widget. -- **SamacSys download = HTTP Basic-Auth** on `st.componentsearchengine.com` (the CSE family). It needs a free SamacSys/CSE account in pup's vault (`credential_list` host `componentsearchengine.com`, any subdomain). On the extension lane pup does NOT yet answer that challenge from the vault (adom/pup-bridge#119): Chrome's native "Sign in" dialog stays up, the frame reads "error page", nothing downloads. Until #119 ships, use the UltraLibrarian route below, or the `nb` (native browser) lane where the user's own saved login answers the dialog.+- **SamacSys download = HTTP Basic-Auth** on `st.componentsearchengine.com` (the CSE family). It needs a free SamacSys/CSE account in pup's vault (`credential_list` host `componentsearchengine.com`, any subdomain). **pup 2.0.645+ answers the challenge from the vault on the extension lane** (adom/pup-bridge#119, fixed 2026-09-19): `pup_navigate` to `https://st.componentsearchengine.com/ga/model.php?fmt3d=stp&partID=<id>` (the partID is in the widget's `#mvDownloadButton` / page scripts) and Chrome downloads `LIB_<MPN>.zip` (KiCad + EAGLE + Altium + `3D/<MPN>.stp`) to the desktop's Downloads folder; bring it back with `pull_file`. Known regression in 2.0.645: `pup_fetch_url` returns the zip as `text` and ignores `saveTo`, so use the navigate-then-pull route. Older pup: Chrome's native "Sign in" dialog stays up and nothing downloads; upgrade pup or use the `nb` lane. - **UltraLibrarian route:** same part on `app.ultralibrarian.com` (search `?queryText=<MPN>`); see the ultralibrarian skill — its download is behind a reCAPTCHA (adom/pup-bridge#120) which the AI drives itself. - **myST** (`my.st.com/cas/login`) is a plain form: `pup_login {submit:true, submitReason}` fills + submits from the vault (`vault:my.st.com`). A "does not match our records" reply is a STALE credential, not a pup fault — try the other identity in the vault or `pup_import_browser_logins {hostFilter:["st.com"]}` first. - **No myST login yet? Register one for the Adom user — do not ask them to (measured 2026-09-19, ~2 min, no captcha).**