Computer use CLI for AI agents
Rust accessibilityaccessibility-apiai-agentsautomationclicomputer-usecomputer-use-agentcomputer-use-agentsdesktop-automationmacosmcprust
{
"Probe": "01-tree-dump",
"CapturedAtUtc": "2026-07-27T03:47:15Z",
"Target": "SystemSettings.exe (UWP), hosted by ApplicationFrameHost.exe",
"TargetKind": "ms-settings: home page",
"Stack": "managed",
"Scope": "app/provider",
"Preexisting": false,
"ResolutionPath": "enumerate top-level ApplicationFrameWindow elements; for each, FindFirst(Descendants, ClassName = Windows.UI.Core.CoreWindow); select the frame whose CoreWindow ProcessId is a SystemSettings.exe pid",
"LocaleSafety": "no window/element Name is compared anywhere in this script; selection is by ClassName and ProcessId only. InstalledUICulture on this box is es-ES while CurrentCulture is en-US and the observed Settings chrome renders English, so a title match would have been both forbidden and silently environment-dependent.",
"PlacementRect": {
"Left": 0,
"Top": 0,
"Width": 1620,
"Height": 700
},
"PlacementReason": "placed at a large fixed rect rather than the launch-maximized size: the XAML content is scroll-virtualized, so both the node count and whether a VerticalScrollBar exists at all depend on window size. A fixed rect makes the capture reproducible independently of the VM framebuffer size.",
"FrameHostSplit": {
"FrameWindow": {
"ClassName": "ApplicationFrameWindow",
"ProcessName": "ApplicationFrameHost",
"ProcessId": 8712
},
"CoreWindow": {
"ClassName": "Windows.UI.Core.CoreWindow",
"ProcessName": "SystemSettings",
"ProcessId": 6200
},
"Verdict": "NEW-EDGE",
"Consequence": "the top-level window a UWP app presents does not belong to the app pid. Windows app targeting in 2.4 cannot resolve a UWP target by matching the top-level window ProcessId; it must descend to the CoreWindow."
},
"Dump": {
"Label": "settings-frame-window",
"Stack": "managed",
"View": "ControlView (System.Windows.Automation.TreeWalker.ControlViewWalker)",
"NodeCount": 49,
"DeepestDepth": 5,
"MaxDepth": 12,
"NodeBudget": 3000,
"NodeBudgetExhausted": false,
"DepthTruncatedNodeCount": 0,
"NodesWithNonEmptyBounds": 47,
"PctNonEmptyBounds": 95.92,
"BoundsMetricNote": "PctNonEmptyBounds counts nodes whose BoundingRectangle is not Rect.Empty — the exact degeneracy a minimized window produces. PctPositiveAreaBounds additionally excludes zero-width/zero-height rects, which are collapsed-but-present controls (a hidden scrollbar), not missing geometry.",
"NodesWithPositiveArea": 47,
"PctPositiveAreaBounds": 95.92,
"NodesAtOffscreenOrigin": 0,
"NodesWithControlType": 49,
"NodesWithAutomationId": 20,
"RefableNodeCount": 46,
"RefableDefinition": "node advertising at least one managed control pattern; the managed stack cannot see the six UIA3-only patterns (KTD1), so this is a floor not a total",
"NameRedactionRule": "R11: Name is reduced to \u003credacted:N chars\u003e on document/content control types (Document, Edit, Text, ListItem, DataItem, TreeItem, Hyperlink, Image), on a document-titled root when the target carries user content, on any node whose Name is a \u003e=4 character substring of that root Name — Electron and Win32 chrome panes echo the document title onto themselves — and, on a target declared to carry user content, on any node whose Name contains the \u003e=4 character Name of a descendant this rule already reduced, because a container carrying no label of its own takes its accessible name from the content beneath it and so lands a document title on a Group or Button no content-control-type test can see. ControlType, AutomationId, ClassName, FrameworkId, bounds, patterns and states stay verbatim, and application-chrome names (button and tab labels) are deliberately kept: an explicit label owes nothing to the subtree beneath it, so no clause reaches it.",
"SerializedNodeLimit": 120,
"SerializedNodeCount": 49,
"NodeRecordFormat": "one node per line, space separated key=value fields in fixed order: i=\u003cindex\u003e d=\u003cdepth\u003e parent=\u003cparent index, -1 at root\u003e ct=\u003cControlType.ProgrammaticName\u003e cls=\u003cClassName\u003e fw=\u003cFrameworkId\u003e aid=\u003cAutomationId\u003e pid=\u003cProcessId\u003e bounds=\u003cok|empty\u003e left=\u003cpx\u003e top=\u003cpx\u003e width=\u003cpx\u003e height=\u003cpx\u003e en=\u003c0|1 IsEnabled\u003e off=\u003c0|1 IsOffscreen\u003e kbf=\u003c0|1 IsKeyboardFocusable\u003e pats=\u003ccomma separated pattern short names, the ProgrammaticName with its PatternIdentifiers.Pattern suffix removed; \"-\" when none\u003e children=\u003cchild count, present only on a node truncated at MaxDepth\u003e name=\u003cName, or \u003credacted:N chars\u003e on any node NameRedactionRule reduces\u003e. left/top/width/height are omitted when bounds=empty. name= is always the last field so a Name containing spaces needs no quoting. Empty string values render as \"-\".",
"TruncationNote": "statistics above cover every walked node; Nodes[] below is truncated to SerializedNodeLimit in document order so the PR stays reviewable (KTD6), and secondary passes of the same target carry statistics only. Re-run this probe locally for the full record.",
"Nodes": [
"i=0 d=0 parent=-1 ct=ControlType.Window cls=ApplicationFrameWindow fw=Win32 aid=- pid=8712 bounds=ok left=0 top=0 width=1620 height=700 en=1 off=0 kbf=0 pats=Transform,Window name=Settings",
"i=1 d=1 parent=0 ct=ControlType.Window cls=ApplicationFrameTitleBarWindow fw=Win32 aid=TitleBar pid=8712 bounds=ok left=1424 top=1 width=188 height=32 en=1 off=0 kbf=0 pats=Value name=Settings",
"i=2 d=2 parent=1 ct=ControlType.MenuBar cls=- fw=- aid=SystemMenuBar pid=8712 bounds=empty en=1 off=0 kbf=1 pats=- name=System",
"i=3 d=3 parent=2 ct=ControlType.MenuItem cls=- fw=- aid=- pid=8712 bounds=empty en=1 off=0 kbf=1 pats=ExpandCollapse name=System",
"i=4 d=2 parent=1 ct=ControlType.Button cls=- fw=- aid=Minimize pid=8712 bounds=ok left=1474 top=1 width=46 height=32 en=1 off=0 kbf=0 pats=Invoke name=Minimize Settings",
"i=5 d=2 parent=1 ct=ControlType.Button cls=- fw=- aid=Maximize pid=8712 bounds=ok left=1520 top=1 width=46 height=32 en=1 off=0 kbf=0 pats=Invoke name=Maximize Settings",
"i=6 d=2 parent=1 ct=ControlType.Button cls=- fw=- aid=Close pid=8712 bounds=ok left=1566 top=1 width=46 height=32 en=1 off=0 kbf=0 pats=Invoke name=Close Settings",
"i=7 d=1 parent=0 ct=ControlType.Window cls=Windows.UI.Core.CoreWindow fw=XAML aid=- pid=6200 bounds=ok left=8 top=1 width=1604 height=691 en=1 off=0 kbf=0 pats=- name=Settings",
"i=8 d=2 parent=7 ct=ControlType.Text cls=TextBlock fw=XAML aid=SettingsLabel pid=6200 bounds=ok left=22 top=9 width=1402 height=24 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:8 chars\u003e",
"i=9 d=2 parent=7 ct=ControlType.Text cls=TextBlock fw=XAML aid=SettingsAppTitle pid=6200 bounds=ok left=722 top=56 width=176 height=32 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:16 chars\u003e",
"i=10 d=2 parent=7 ct=ControlType.Edit cls=TextBox fw=XAML aid=TextBox pid=6200 bounds=ok left=642 top=123 width=338 height=32 en=1 off=0 kbf=1 pats=ScrollItem,Text,Value name=\u003credacted:26 chars\u003e",
"i=11 d=3 parent=10 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=654 top=128 width=84 height=19 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:14 chars\u003e",
"i=12 d=2 parent=7 ct=ControlType.Hyperlink cls=Hyperlink fw=XAML aid=- pid=6200 bounds=ok left=662 top=648 width=296 height=32 en=1 off=0 kbf=1 pats=Invoke,ScrollItem name=\u003credacted:46 chars\u003e",
"i=13 d=2 parent=7 ct=ControlType.Pane cls=ScrollViewer fw=XAML aid=- pid=6200 bounds=ok left=8 top=167 width=1604 height=469 en=1 off=0 kbf=0 pats=Scroll,ScrollItem name=-",
"i=14 d=3 parent=13 ct=ControlType.List cls=GridView fw=XAML aid=PageGroupsListView pid=6200 bounds=ok left=8 top=195 width=1604 height=441 en=1 off=0 kbf=0 pats=ItemContainer,Scroll,ScrollItem name=-",
"i=15 d=4 parent=14 ct=ControlType.ListItem cls=GridViewItem fw=XAML aid=SettingsPageGroupPCSystem pid=6200 bounds=ok left=145 top=205 width=250 height=85 en=1 off=0 kbf=1 pats=Invoke,ScrollItem,VirtualizedItem name=\u003credacted:6 chars\u003e",
"i=16 d=5 parent=15 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=210 top=220 width=151 height=19 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:6 chars\u003e",
"i=17 d=5 parent=15 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=210 top=241 width=151 height=32 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:36 chars\u003e",
"i=18 d=4 parent=14 ct=ControlType.ListItem cls=GridViewItem fw=XAML aid=SettingsPageGroupDevices pid=6200 bounds=ok left=415 top=205 width=250 height=85 en=1 off=0 kbf=1 pats=Invoke,ScrollItem,VirtualizedItem name=\u003credacted:7 chars\u003e",
"i=19 d=5 parent=18 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=480 top=220 width=140 height=19 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:7 chars\u003e",
"i=20 d=5 parent=18 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=480 top=241 width=140 height=16 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:26 chars\u003e",
"i=21 d=4 parent=14 ct=ControlType.ListItem cls=GridViewItem fw=XAML aid=SettingsPageGroupNetwork pid=6200 bounds=ok left=685 top=205 width=250 height=85 en=1 off=0 kbf=1 pats=Invoke,ScrollItem,VirtualizedItem name=\u003credacted:18 chars\u003e",
"i=22 d=5 parent=21 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=750 top=220 width=139 height=19 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:18 chars\u003e",
"i=23 d=5 parent=21 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=750 top=241 width=139 height=16 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:25 chars\u003e",
"i=24 d=4 parent=14 ct=ControlType.ListItem cls=GridViewItem fw=XAML aid=SettingsPageGroupPersonalization pid=6200 bounds=ok left=955 top=205 width=250 height=85 en=1 off=0 kbf=1 pats=Invoke,ScrollItem,VirtualizedItem name=\u003credacted:15 chars\u003e",
"i=25 d=5 parent=24 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=1020 top=220 width=166 height=19 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:15 chars\u003e",
"i=26 d=5 parent=24 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=1020 top=241 width=166 height=16 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:31 chars\u003e",
"i=27 d=4 parent=14 ct=ControlType.ListItem cls=GridViewItem fw=XAML aid=SettingsPageGroupApps pid=6200 bounds=ok left=1225 top=205 width=250 height=85 en=1 off=0 kbf=1 pats=Invoke,ScrollItem,VirtualizedItem name=\u003credacted:4 chars\u003e",
"i=28 d=5 parent=27 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=1290 top=220 width=144 height=19 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:4 chars\u003e",
"i=29 d=5 parent=27 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=1290 top=241 width=144 height=32 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:38 chars\u003e",
"i=30 d=4 parent=14 ct=ControlType.ListItem cls=GridViewItem fw=XAML aid=SettingsPageGroupAccounts pid=6200 bounds=ok left=145 top=310 width=250 height=85 en=1 off=0 kbf=1 pats=Invoke,ScrollItem,VirtualizedItem name=\u003credacted:8 chars\u003e",
"i=31 d=5 parent=30 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=210 top=325 width=140 height=19 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:8 chars\u003e",
"i=32 d=5 parent=30 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=210 top=346 width=140 height=32 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:46 chars\u003e",
"i=33 d=4 parent=14 ct=ControlType.ListItem cls=GridViewItem fw=XAML aid=SettingsPageGroupTimeRegion pid=6200 bounds=ok left=415 top=310 width=250 height=85 en=1 off=0 kbf=1 pats=Invoke,ScrollItem,VirtualizedItem name=\u003credacted:15 chars\u003e",
"i=34 d=5 parent=33 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=480 top=325 width=109 height=19 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:15 chars\u003e",
"i=35 d=5 parent=33 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=480 top=346 width=108 height=16 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:20 chars\u003e",
"i=36 d=4 parent=14 ct=ControlType.ListItem cls=GridViewItem fw=XAML aid=SettingsPageGroupEaseOfAccess pid=6200 bounds=ok left=685 top=310 width=250 height=85 en=1 off=0 kbf=1 pats=Invoke,ScrollItem,VirtualizedItem name=\u003credacted:14 chars\u003e",
"i=37 d=5 parent=36 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=750 top=325 width=131 height=19 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:14 chars\u003e",
"i=38 d=5 parent=36 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=750 top=346 width=131 height=32 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:34 chars\u003e",
"i=39 d=4 parent=14 ct=ControlType.ListItem cls=GridViewItem fw=XAML aid=SettingsPageGroupPrivacy pid=6200 bounds=ok left=955 top=310 width=250 height=85 en=1 off=0 kbf=1 pats=Invoke,ScrollItem,VirtualizedItem name=\u003credacted:7 chars\u003e",
"i=40 d=5 parent=39 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=1020 top=325 width=90 height=19 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:7 chars\u003e",
"i=41 d=5 parent=39 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=1020 top=346 width=90 height=16 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:16 chars\u003e",
"i=42 d=4 parent=14 ct=ControlType.ListItem cls=GridViewItem fw=XAML aid=SettingsPageGroupRestore pid=6200 bounds=ok left=1225 top=310 width=250 height=85 en=1 off=0 kbf=1 pats=Invoke,ScrollItem,VirtualizedItem name=\u003credacted:17 chars\u003e",
"i=43 d=5 parent=42 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=1290 top=325 width=145 height=19 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:17 chars\u003e",
"i=44 d=5 parent=42 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=1290 top=346 width=145 height=32 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:32 chars\u003e",
"i=45 d=4 parent=14 ct=ControlType.ListItem cls=GridViewItem fw=XAML aid=SettingsPageGroupSearch pid=6200 bounds=ok left=145 top=415 width=250 height=85 en=1 off=0 kbf=1 pats=Invoke,ScrollItem,VirtualizedItem name=\u003credacted:6 chars\u003e",
"i=46 d=5 parent=45 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=210 top=430 width=163 height=19 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:6 chars\u003e",
"i=47 d=5 parent=45 ct=ControlType.Text cls=TextBlock fw=XAML aid=- pid=6200 bounds=ok left=210 top=451 width=163 height=16 en=1 off=0 kbf=0 pats=ScrollItem,Text name=\u003credacted:30 chars\u003e",
"i=48 d=1 parent=0 ct=ControlType.Pane cls=ApplicationFrameInputSinkWindow fw=Win32 aid=- pid=8712 bounds=ok left=8 top=33 width=1604 height=659 en=1 off=0 kbf=0 pats=- name=-"
],
"FocusBefore": {
"Resolved": true,
"ControlType": "ControlType.Window",
"ClassName": "org.wezfurlong.wezterm",
"ProcessId": 980,
"NativeWindowHandle": 3408798
},
"FocusAfter": {
"Resolved": true,
"ControlType": "ControlType.Window",
"ClassName": "org.wezfurlong.wezterm",
"ProcessId": 980,
"NativeWindowHandle": 3408798
},
"FocusUnchanged": true,
"FocusIdentityNote": "focus identity is asserted on ControlType/ClassName/ProcessId/NativeWindowHandle; the focused element is usually the operator console, whose Name mutates independently of focus and would produce false interference",
"Foreground": {
"ProcessId": 980
}
}
}