Skip to content

v2.3.0

Choose a tag to compare

@github-actions github-actions released this 17 Oct 14:39
· 450 commits to main since this release

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 covers type_text's typing, a drag (from the press to the drop) and run_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.
  • warn: the operation finishes, and its result has a warning saying you used the keyboard or mouse meanwhile. drag and run_steps results now have a warning field.

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_status reports 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_windows and get_window_info (standard, full) now mark a hidden window that is on another virtual desktop with isOnOtherDesktop: true.
  • Refusals: when focus_window or the capture tools refuse such a window with Cloaked, 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. includeCloaked still 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.