Computer use CLI for AI agents
Rust accessibilityaccessibility-apiai-agentsautomationclicomputer-usecomputer-use-agentcomputer-use-agentsdesktop-automationmacosmcprust
{
"probe": "06-input-synthesis",
"question": "do SendInput absolute moves land where asked, and do click, wheel and drag register as real input on the target",
"stack": "win32-SendInput",
"scope": "system",
"coordinateModel": "MOUSEEVENTF_ABSOLUTE normalises against GetSystemMetrics(SM_CXSCREEN/SM_CYSCREEN), i.e. the PRIMARY monitor only. This box has one display; a multi-monitor adapter must use MOUSEEVENTF_VIRTUALDESK instead, and the single-display limit here is why that is a DEFERRED row rather than a measured one.",
"interference": null,
"click": {
"targetControl": "btnAction (control id 1005)",
"targetRect": "340,235,104,26",
"requestedPoint": "392,248",
"cursorLandedPoint": "392,248",
"absoluteMoveExact": true,
"absoluteMoveNote": "the landing point is read back with GetCursorPos. The 0..65535 normalisation is lossy at odd screen widths, so an off-by-one landing is expected and is recorded rather than asserted away.",
"statusBefore": "status:ready",
"statusAfter": "action:1",
"registered": true,
"reReadMethod": "WM_GETTEXT on lblStatus (control id 1020), a different control than the one clicked"
},
"wheel": {
"targetControl": "pnlScroll (control id 1011)",
"targetRect": "124,363,340,180",
"ticks": 3,
"deltaPerTick": -120,
"sinkBefore": "scroll:0",
"sinkAfter": "scroll:140",
"scrollPixelsBefore": 0,
"scrollPixelsAfter": 140,
"deltaScrollPixels": 140,
"registered": true,
"patternCounterpart": "the pattern-scroll arm is in captures/05-interactions/interactions.json. It could NOT be run on this control: the managed client cannot acquire ScrollPattern on pnlScroll in either fixture mode even though the UIA3 COM census records Scroll on that exact provider. The wheel path drives the control the pattern path could not, and both are observed through the same lblScrollPos sink.",
"measuredFactNaming": "the observed delta is named deltaScrollPixels, not \"y\" or \"height\", so the KTD9 normalizer - which buckets any key named x/y/left/top/right/bottom/width/height to 8 px - cannot canonicalize the measurement away."
},
"drag": {
"targetControl": "tbSlider (control id 1008), Minimum 0 Maximum 100",
"targetRect": "124,307,320,45",
"method": "mouse-down on the thumb at the left end, six absolute moves rightwards, mouse-up; the fixture label lblSliderValue is read after every step",
"sliderValueBefore": 0,
"sliderValueAfter": 90,
"samples": [
{
"step": 1,
"sliderValue": 15
},
{
"step": 2,
"sliderValue": 30
},
{
"step": 3,
"sliderValue": 45
},
{
"step": 4,
"sliderValue": 60
},
{
"step": 5,
"sliderValue": 75
},
{
"step": 6,
"sliderValue": 90
}
],
"monotonicNonDecreasing": true,
"increased": true,
"verdict": "ok - monotonic increase under drag"
}
}