Files
Ignacy Łątka 06bab6c357 fix(native-find-views): require at least one filter at runtime, matching the docstring
The tool's docstring promises "At least one of className, identifier, label, tag,
or nativeID must be provided" but every filter was `.optional()` in zod with no
runtime guard. Empty calls slipped through to ViewHierarchy.findViews which
returned an empty matches array, leading agents to misread "no matches" as "view
does not exist". Add a runtime check at the top of execute and a vitest
contract suite covering the rejection, the no-RPC short-circuit, and the
single-filter happy path.
2026-05-04 22:01:00 +02:00
..
2026-05-04 21:45:19 +02:00
2026-05-04 15:41:18 +02:00
2026-05-04 21:57:44 +02:00