Full example
What happens
1
create_session
The gateway checks ownership and consent, then the host starts a desktop
session and shows the on-screen “API session active” indicator.
2
observe
One round-trip: JPEG plus UIA targets (names, roles, bounds).
3
click_target
Native Win32 click at the named control’s center — not a guessed pixel.
4
end_session
The host runs
safety_restore and tears the session down. Always end
sessions — they meter usage.