This release adds 3 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
+11 more
Summary
AI summaryAdded programmatic text selection API with full Linux/CDP support and fixed AT-SPI2 hang on LibreOffice Calc.
Full changelog
[0.2.0] — 2026-04-11
Added
tp.select_text(element, text, occurrence=1)— programmatic text
selection on input fields and contentEditable elements. Finds the
substring inside the element's text content and selects it natively
(no mouse drag, no triple-click). Passoccurrence=2to select the
second match, etc.- New abstract method
Backend.select_text(element_id, start, end)on
the backend ABC. Backends that don't support it raise a clear
ActionFailedErrorinstead of crashing. select_textMCP tool in the Touchpoint MCP server, bringing the
total to 20 tools.- Linux (AT-SPI2) and web/Electron (CDP) backends fully implement
select_text. The CDP implementation handles<input>elements via
setSelectionRange, plus contentEditable elements via the Selection
API with TreeWalker for multi-node selections.
Fixed
- AT-SPI2 hang on LibreOffice Calc. Calc reports
INT_MAX
(2³¹ − 1) children for spreadsheet tables, which previously caused
Touchpoint to attempt walking 2 billion accessibility nodes.
Children-per-node are now capped at 500 across all walk paths
(_collect_flat,_collect_light_flat,_to_element_tree, and the
geometry descent path used bytp.element_at()). - CDP click on zero-geometry elements. Some elements (custom CSS,
hidden-but-clickable patterns) report an empty bounding box, which
used to maketp.click()silently no-op. We now fall back to a
JavaScriptelement.click()invocation when geometry is unavailable,
with proper object cleanup in the failure path.
Platform support for select_text
| Platform | Status |
|---|---|
| Linux (AT-SPI2) | ✅ Full |
| Web / Electron (CDP) | ✅ Full |
| Windows (UIA) | 🚧 Stub — raises ActionFailedError("not yet implemented") |
| macOS (AX) | 🚧 Stub — raises ActionFailedError("not yet implemented") |
Windows and macOS implementations are in progress.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About Touchpoint-Labs/touchpoint
Playwright for the entire OS. Gives AI agents the ability to see, find, and interact with UI elements in any desktop application.
Related context
Related tools
Beta — feedback welcome: [email protected]