[autofix] xiaohongshu/search: COMMAND_EXEC
Author: teresac-specCreated Sep 25, 2026Updated Sep 25, 2026
Summary
OpenCLI autofix repaired this adapter locally, and the retry passed.
Adapter
- Site:
xiaohongshu - Command:
search - OpenCLI version:
1.8.8
Original failure
- Error code:
COMMAND_EXEC
Xiaohongshu search filter layout did not match the expected visible panel (ambiguous_option).Local fix summary
The extension now injects near-invisible click-proxy elements for each filter tag (opacity: 1e-05, aria-hidden="true", button-hp-installed="1", positioned absolutely over the real tag). These proxies also match the adapter's `.tag-container > .tags` selector, so every filter option's text is duplicated and `findOption` throws `ambiguous_option` even when applying default filters. Fixed by excluding `aria-hidden="true"` elements in the `visible()` helper used throughout `buildApplySearchFiltersJs` (clis/xiaohongshu/search.js). Verified with two live searches after the patch — both succeeded.Issue filed by OpenCLI autofix after a verified local repair.
Source: jackwener/OpenCLI