← Commit history

ST CAD tab = SamacSys/UL widget; CSE Basic-Auth (#119); UL captcha is driven by the AI (#120); myST stale-cred note

John Lauer ·cb7089243a ·17d ago ·parent 69b6983
3 files changed +18−6
skills/componentsearchengine/SKILL.md+1−1
@@ -31,7 +31,7 @@ Parent skill: **electronics-sites-skillpack** (the `electronics-sites` root skil  ### Search + download -pup works for browsing; downloads need the free login (use nb so the saved login applies). Format picker: KiCad, Altium, Eagle/Fusion, STEP.+pup works for browsing. **Downloads are HTTP Basic-Auth** (measured 2026-09-19 on `st.componentsearchengine.com/ga/model.php?fmt3d=stp&partID=…`): Chrome's native "Sign in" dialog, not a form. The credential is the free CSE account; keep it in pup's vault as host `componentsearchengine.com` (subdomains `st.`, `ms.`, `nxp.`, `mouser.` all use it). pup is supposed to answer it via `page.authenticate()` / `webRequest.onAuthRequired` — on the extension lane it does not yet (adom/pup-bridge#119), so the dialog stays up and `pup_fetch_url` hangs 40 s. Until then use `nb` (the user's own browser answers the dialog) or the UltraLibrarian route. Manufacturer widgets (ST's CAD Resources tab) embed this site as `<vendor>.componentsearchengine.com/entry_u_newDesign.php?...`; the same URL opens standalone. Format picker: KiCad, Altium, Eagle/Fusion, STEP.  ## API / Adom backend lane 
skills/st/SKILL.md+8−2
@@ -29,6 +29,7 @@ Parent skill: **electronics-sites-skillpack** (the `electronics-sites` root skil - curl (92) HTTP/2 INTERNAL_ERROR within 100 ms - HTTP 473 from newsroom.st.com to a fetcher - 60 s WebFetch timeout on any www.st.com URL+- Chrome native "Sign in — https://st.componentsearchengine.com" dialog after "Download CAD Models" (Basic-Auth not answered from the vault on the extension lane, #119)  ## Recipes @@ -44,9 +45,14 @@ The tabs are already in the DOM. Read them by id instead of clicking: `#document  Rows are STSW-* (software), X-CUBE-* (STM32Cube packs), STEVAL-* / X-NUCLEO-* (boards). The list tells you which host the vendor actually supports (for the VL53L9CX it named STM32N6570-DK, Nucleo-H563ZI, Raspberry Pi, Rockchip). -### CAD (symbols, footprints, STEP)+### CAD (symbols, footprints, STEP) — measured 2026-09-19 -myST login gates exports by region/account; use the signed-in nb profile. See chip-fetcher-sites/st for the download choreography.+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.+- **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.+- ST's own datasheet/outline drawings are the fallback for the 3D body: if no STEP can be fetched, the AI models the chip itself (CadQuery) from the outline drawing — never ship a library without a STEP, the 3D board render needs it.  ### Spec tables when st.com is unreachable 
skills/ultralibrarian/SKILL.md+9−3
@@ -30,9 +30,13 @@ Parent skill: **electronics-sites-skillpack** (the `electronics-sites` root skil  ## Recipes -### Download flow+### Download flow (UL Pro, signed in via `pup_login` from the vault — works, 2026-09-19) -Search MPN -> part page -> Download -> pick KiCad / STEP (Altium if offered). Choreography and the reskinned-picker recovery in chip-fetcher-sites/ultralibrarian.+1. `pup_login {sessionId, submit:true, submitReason}` on `https://app.ultralibrarian.com/account/login` (vault:app.ultralibrarian.com → SSO on sso.ultralibrarian.com) → page reads "Hello <email>".+2. `https://app.ultralibrarian.com/search?queryText=<MPN>` → first `a[href*="/details/"]` with the exact MPN.+3. On the details page click `button#export-selection-btn` ("Download Now" — opens the picker; URL may gain `?open=exports`).+4. The picker is accordions, not checkboxes at first: click the `a.accordion-toggle` whose text is exactly "3D CAD Model" and "KiCAD" **inside the picker** (the footer has links with the same text that navigate away — filter out anchors with an `http` href). Then tick `input#MfrThreeDModel` (STEP, `name=exports` value 37) and `input#KiCADv6` (KiCAD v6+, value 42); Altium / Fusion accordions the same way. Set `select[name="export_options[1]"]` to `2-2` (Metric).+5. Click `a#submit-export` ("Download Now"). A reCAPTCHA "I'm not a robot" sits above it — drive it (see Gotchas). The zip `ul_<MPN>.zip` lands in the pup profile's download folder / `%USERPROFILE%\Downloads`; `pull_file` it.  ### Manufacturer embeds @@ -45,7 +49,9 @@ None public. ## Gotchas  - Verified loading 2026-09-14 under: CfT 152 + extension lane + PACED single visit + that domain's cookies cleared. Change any one of those (stale CfT, a burst of tabs, a stale reject cookie) and the failure signatures below come back. The signatures are kept for recognition, not because the site is currently blocking pup.-- Never solve the captcha programmatically; flash the window and let the user click.+- **The AI DRIVES the captcha itself** (John, 2026-09-19): never toast/flash the user for it and never switch to the CDP lane. Use pup's trusted input / fake cursor on the extension lane (adom/pup-bridge#120 tracks the verbs: trusted click on "I'm not a robot", image-grid screenshot → AI vision picks tiles → trusted tile clicks → Verify → token → submit). Until #120 ships the extension lane has no trusted click (`pup_input_dispatch` → `lane_needs_cdp`); say so plainly and fall back to the SamacSys/CSE route or modelling the 3D body from the datasheet.+- Signed-in UL Pro (`?uid=` in the details URL) STILL shows a reCAPTCHA before "Download Now" (measured 2026-09-19); the chip-fetcher playbook's "no captcha for UL Pro" is out of date.+- UL's symbol for VL53L5CXV0GC/1 carries the VL53L8CX pin names (A1 SPI_I2C_N, A2 NCS, C5 MISO…): take UL's STEP, never its symbol without checking the datasheet pin table.  ## Evidence and last verified