Image courtesy dev.to
| System ID: | jl-bb75d1128c447ace2a022d9279c995f7 |
|---|---|
| Title: | The accessibility tree gave 162 refs before any screenshot |
| Link: | Original article on dev.to |
| Region: | global |
| Topics: | refs; system; 162; path; snapshot; read; screenshot; agentdesktop; tree; automation; accessibility; gave; app; finder; settings |
| Datetime: | |
| Summary: | Every one of those states stayed exactly as it was while the tree read ran anyway, no new permission needed for it. Direct snapshot worked either way, agent-desktop snapshot --app Finder -i returned ok=true, error=null, ref_count=162 interactive elements, complete=false, window title Finder. A partial tree, 162 numbered handles to real UI objects, obtained without a screenshot, without granting anything new, without touching coordinates. The screenshot verb also has argument shape worth noting: agent-desktop screenshot --app Finder <path> takes a positional path, passing --out returns INVALID_ARGS marked safe-to-retry. Treat headless zeros as contract questions before breakage, list-apps returned nothing while snapshot --app answered 162, check the documented calling convention before debugging either endpoint.... |