Repository navigation
v3.1.0
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_keysandsend_keyssay how the keys went out (#9, #10).sentAsCharacterslists what was sent as a character without its key, with the warningSentAsCharacter;KeyboardLayoutUnknownsays the window's layout could not be read.press_keys'resolvedChordsshows a chord as pressed on the active layout (ctrl+=isctrl+shift+0on a Norwegian keyboard), andSystemHotkeywarns 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_1tooem_8,oem_102,abnt_c1andabnt_c2press the key at that place on any layout (#8). scrolltakesmodifiers(#8), asmouse_clickdoes: Ctrl+wheel to zoom, Shift+wheel to scroll sideways.list_layoutslists layout files it cannot read, with the file and the reason (InvalidPresetFile), instead of leaving them out without a word.
Safety fixes
run_stepsstays 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_keysis limited to 5,000 keys and 10 seconds of waits, and goes in rechecked batches;type_textrefuses text whose keys would press the user's pause hotkey; key-ups carry their scan codes. - Processes:
kill_processprotects ApplicationFrameHost;launch_applicationrefuses 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:
zoomis 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_dialoganswers 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
boundsandexpectWindow), and a missing coordinate is refused instead of taken as 0. launch_browser_with_debug'surlis held to whatbrowser_navigateopens: nofile:,data:or schemeless addresses.get_monitorsleaves outdpiandscaleFactorwhen Windows cannot report them, andprimaryIndexwhen 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
- If a script sends
argumentsinstead ofargsin a run_steps step, or other members a nested object does not take, fix the name: such a call is now refused. - If you launch a debug browser on a
file:ordata:page, serve the page fromhttp://127.0.0.1instead. - If you read
get_monitors'dpi,scaleFactororprimaryIndex, allow them to be absent.
See Changes for existing clients for the full list.