Files
Ignacy Łątka 66ef490eb7 revert(describe): drop text formatting + tree filter, keep DescribeNode contract
The previous fix(describe) commit changed the describe contract from
DescribeNode to a pretty-printed string and added a cross-platform
filter/format step. That solved the Android-only readability problem
(uiautomator dumps every LinearLayout the agent has to scroll past) but
also rewrote iOS's output, which this branch is not supposed to touch —
iOS already filters at the AX-service layer and was fine.

Roll the contract back to `tree: DescribeNode`, revert iOS's describe
handler to its main-branch shape, and have Android return the parser
output directly. The clickable-layout-to-Button promotion and
descendant-text hoisting from the parser-level commit (4f8bd4b) stay in
place — those are pure parser improvements that produce a useful
DescribeNode without crossing into iOS territory. format.ts is removed
since neither platform calls it anymore.

Tests: describe-tool.test.ts goes back to asserting on DescribeNode
shape; all 620 tool-server tests pass.
2026-05-05 15:32:32 +02:00
..
2026-04-29 15:54:21 +02:00