Skip to content

v2.6.0

Choose a tag to compare

@github-actions github-actions released this 17 Oct 17:42
· 434 commits to main since this release

Windows App Manager MCP 2.6.0 adds workspaces. A workspace is a saved window layout that also remembers what your File Explorer and browser windows showed, so "restore my morning workspace" reopens the folders and pages too, not just the window positions. This completes the M7 milestone.

The release still needs the .NET 10 Desktop Runtime (x64), as 2.5.0 does.

New

Workspaces (toolset workspaces, off by default)

Turn the toolset on with WAM_TOOLSETS (for example +workspaces). The default tool list is unchanged.

save_workspace saves the open windows as save_layout does, with the same filters. It also saves:

  • File Explorer windows: each window's folder.
  • Browser windows: each window's pages. That is every tab of the window when the browser has a debug port, otherwise only the page it shows (counted in partialBrowsers).
  • What is kept:
    • Only http and https pages are kept.
    • User names, passwords and query values that look like secrets are removed, in the query, the fragment and a hash route's query. These are names containing token, secret, password, session, credential, apikey, signature, csrf, oauth and the like, plus code, key, auth, sig, state and ticket.
    • Private windows (InPrivate, Incognito, Private Browsing) keep no pages.
    • Apps your target policy denies keep no content.
    • Program arguments are never kept.

restore_workspace brings a workspace back, best effort:

  1. It opens each folder and browser window that isn't open already. Folders open in File Explorer, and pages open in a new window of the same browser (Chrome, Edge, Brave, Vivaldi, Opera, Chromium or Firefox).
  2. It then arranges the windows as apply_layout with launchMissing does, starting programs that are missing.

opened reports what each window needed, and dryRun reports both steps and changes nothing. Restoring twice opens no second window, because a browser window that shows one of the saved pages counts as open.

A workspace is a layout preset with an extra content per window. list_layouts, get_layout and apply_layout work on it, and older servers read it as a plain layout.

Safety

  • Presets written by an agent: restore_workspace refuses them with LaunchNotConfirmed; apply_layout asks the user before it starts anything for them.
  • What a restore opens: only folders (by their full path, in File Explorer) and web pages (in the browser the window was). Pages read from the file are cleaned again before they open.
  • When File Explorer doesn't answer: saving keeps no folders and says so; a restore opens none rather than risk duplicates.
  • Gate and audit: a restore takes the input gate, stops while input is paused, and is recorded in the audit log with what it opened.

Best effort

Some things can't come back exactly:

  • apps that keep a single window;
  • a browser without a debug port (only its shown page);
  • pages that need a sign-in;
  • a secret that sits in the page's path itself.

Checks

  • Automated: all unit and contract tests pass, about 10,670. They cover saving, restoring, the refusals and the URL cleaning.
  • On a real desktop: the File Explorer folder read was tested. A test opened its own temporary folder, the server reported that window and folder, and the test closed only that window.
  • Not yet run: a full restore on a real desktop.