Defines per-caller selector pipeline shape, mapping ambiguity contracts to structural stages like occlusion and off-screen checks.
// Source: https://github.com/callstack/agent-device | License: MIT | Copyright 2026 Callstack
// Provided via justclaw.it.com; keep this notice with the code.
import {
SELECTOR_RESOLUTION_POLICIES,
type SelectorResolutionPolicy,
} from '@agent-device/selectors';
/**
* The structural half of the per-caller selector policy (#1656), companion to
* the ambiguity matrix in `@agent-device/selectors` (#1630/#1649).
*
* A caller names ONE row here and gets its whole pipeline shape: which
* ambiguity contract resolves the selector (`resolution`, the matrix row), and
* which structural stages run around that resolution — occlusion, off-screen,
* hittable-ancestor promotion, and the poll budget. The runners below are the
* only door to each stage, so a row that skips one still says so a
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key