Repository navigation
v2.3.0
Windows App Manager MCP 2.3.0 adds two features from the M7 milestone:
- Virtual desktops: listings mark windows that are on another virtual desktop.
- Takeover detection: an opt-in safeguard stops long typing, dragging and step runs when you take the keyboard or mouse.
Nothing changes for existing clients unless you turn takeover detection on.
The release still needs the .NET 10 Desktop Runtime (x64), as 2.2.x does.
New
Takeover detection (opt-in)
Set the environment variable WAM_TAKEOVER_DETECTION in the server's configuration. It is off by default.
stop: if you use the keyboard or mouse while the agent is busy, the operation stops. This coverstype_text's typing, adrag(from the press to the drop) andrun_steps.- The result has the new error code
UserInterrupted(run_steps:stoppedBy: "userInterrupted") and says how far it got. - Held keys and buttons are released.
- A drag goes back to its start point and releases there, so nothing is dropped under your pointer.
- The agent is told not to retry and to ask you first.
- The result has the new error code
warn: the operation finishes, and its result has awarningsaying you used the keyboard or mouse meanwhile.dragandrun_stepsresults now have awarningfield.
How it works:
- What it watches: low-level keyboard and mouse hooks are installed only while one of these operations runs, and removed afterwards.
- What counts: a key, button or wheel going down, or a deliberate mouse movement (4 moves within 300 ms). Releasing a key does not count, so letting go of the Enter that sent your prompt does not stop the agent. Input injected by any program never counts, including the server's own typing.
- What is kept: only whether you did something, never which key or where the pointer was.
- Status:
get_control_statusreports the mode and whether the hooks work (takeover).
The pause hotkey (Ctrl+Alt+Shift+Pause) is still the main way to stop the agent. If you press it while a watched operation runs, the result is PausedByUser, not UserInterrupted.
Windows on other virtual desktops
- Listings:
find_windowsandget_window_info(standard,full) now mark a hidden window that is on another virtual desktop withisOnOtherDesktop: true. - Refusals: when
focus_windowor the capture tools refuse such a window withCloaked, the message now says which case it is: another virtual desktop, a suspended Store app's frame, or unknown. Activating a window on another desktop would switch your desktop, which the server never does. - No new tools or parameters.
includeCloakedstill widens a listing beyond the current desktop. The server only reads which desktop a window is on: it never switches desktops or moves windows between them.
Checks
- Automated: all unit and contract tests pass, about 10,500 in all, 48 of them new.
- Not yet run on a real desktop:
- the new desktop test for takeover detection (it checks that the real hooks install and that the server's own typing never counts);
- isOnOtherDesktop with a second virtual desktop.