Skip to content

v3.1.0

Choose a tag to compare

@github-actions github-actions released this 18 Oct 15:34
· 212 commits to main since this release

Windows App Manager MCP 3.1.0 fixes what a full code review of 3.0.0 found, and GitHub issues #8 to #11. Most of the fixes close a way around one of the server's safety rules, so a few calls that 3.0.0 accepted are now refused; each one is listed in Changes for existing clients. A client that followed the documented contract keeps working.

The release still needs the .NET 10 Desktop Runtime (x64).

New

  • press_keys and send_keys say how the keys went out (#9, #10). sentAsCharacters lists what was sent as a character without its key, with the warning SentAsCharacter; KeyboardLayoutUnknown says the window's layout could not be read. press_keys' resolvedChords shows a chord as pressed on the active layout (ctrl+= is ctrl+shift+0 on a Norwegian keyboard), and SystemHotkey warns when Windows' input-method or language-switch hotkeys take that chord before any app sees it.
  • Physical key names for press_keys: oem_plus, oem_minus, oem_comma, oem_period, oem_1 to oem_8, oem_102, abnt_c1 and abnt_c2 press the key at that place on any layout (#8).
  • scroll takes modifiers (#8), as mouse_click does: Ctrl+wheel to zoom, Shift+wheel to scroll sideways.
  • list_layouts lists layout files it cannot read, with the file and the reason (InvalidPresetFile), instead of leaving them out without a word.

Safety fixes

  • run_steps stays in its window when a step's handle is written as a string ("windowHandle": "123"), and the audit log records the target of such calls.
  • The tab a browser window shows is told by its page's visibility, read where the page cannot change it, never by the longest title, so a background tab titled like the window cannot take the place of the shown one. Every DevTools connection is checked again against the browser's process.
  • Keys: a spelled-out left Ctrl and right Alt count as Ctrl+Alt in every chord check; send_keys is limited to 5,000 keys and 10 seconds of waits, and goes in rechecked batches; type_text refuses text whose keys would press the user's pause hotkey; key-ups carry their scan codes.
  • Processes: kill_process protects ApplicationFrameHost; launch_application refuses Chromium, Electron and VS Code switches that run a command, load code or open remote control (UnsafeChromiumSwitch); an unreadable process tree is reported (ProcessTreeUnreadable) instead of being taken as "not the host".
  • Captures: zoom is held to the 64-megapixel budget; denied windows are left out of a window that refuses PrintWindow.
  • UI Automation: an element of a denied app embedded in an allowed window (a WebView2, a preview pane) is refused or left out of every read and search.
  • Dialogs: a press through an app window goes only to the modal dialog that disables it; file_dialog answers a replace prompt only when it names the file in full.
  • The pause: a server that cannot read the pause it shares with the other servers pauses itself, and every message says so instead of claiming the user pressed the hotkey.

Changed

  • Objects inside the arguments refuse members they do not take (run_steps' steps, batch items, a launch's bounds and expectWindow), and a missing coordinate is refused instead of taken as 0.
  • launch_browser_with_debug's url is held to what browser_navigate opens: no file:, data: or schemeless addresses.
  • get_monitors leaves out dpi and scaleFactor when Windows cannot report them, and primaryIndex when no monitor is primary.
  • Argument errors name their place in the arguments, never a .NET type, and end "Nothing was done."

Skill

The plugin's skill is split (#11): SKILL.md is a 22 KB core (it was 102 KB) with the safety rules, the loop and the codes that mean stop, and it points to reference files (browser, dialogs, input, layouts and monitors, lists, screens and OCR, errors, workflows, tools) that the agent reads when a task needs them.

Upgrading

  1. If a script sends arguments instead of args in a run_steps step, or other members a nested object does not take, fix the name: such a call is now refused.
  2. If you launch a debug browser on a file: or data: page, serve the page from http://127.0.0.1 instead.
  3. If you read get_monitors' dpi, scaleFactor or primaryIndex, allow them to be absent.

See Changes for existing clients for the full list.