Skip to content

This release adds 3 notable features for engineering teams evaluating rollout.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

accessibility ai ai-agent ai-agents automation cdp
+11 more
claude computer-use cross-platform cursor-ai desktop-automation llm mcp mcp-server openclaw python ui-automation

Summary

AI summary

Added 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). Pass occurrence=2 to 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
    ActionFailedError instead of crashing.
  • select_text MCP 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 by tp.element_at()).
  • CDP click on zero-geometry elements. Some elements (custom CSS,
    hidden-but-clickable patterns) report an empty bounding box, which
    used to make tp.click() silently no-op. We now fall back to a
    JavaScript element.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

Track Touchpoint-Labs/touchpoint

Get notified when new releases ship.

Sign up free

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.

All releases →

Related context

Beta — feedback welcome: [email protected]