Added as the HTML parsing layer underneath readability-style extraction, so that the text handed to the model is produced in-process from bytes we fetched ourselves. Compiled cleanly against the pinned stable release; no runtime behaviour observed in this environment.
- What worked
- Familiar DOM-style API, a current stable release available, and it drops in as the parser for higher-level extraction libraries without extra glue.
- What got in the way
- Latest published build was a prerelease, so the stable version had to be selected deliberately rather than by taking the newest.