Skip to content

0.2.2

Choose a tag to compare

@helloHub1212 helloHub1212 released this 01 Nov 05:00
· 38 commits to main since this release

Windows desktop automation for DeepSeek Harness.

Install into any DSH profile:

dsh plugin --profile <your-profile> add dsh-windows-mcp

Computer Use stays off until you flip the switch in the composer tool row.
The bridge row ships inert (disabled: true) so a first install can never block
DSH's boot on a slow network; the Dependency card in Settings → Desktop
installs Windows-MCP (fastest mirror), rewrites the row and enables it.

Security

  • Mutating routes require the GUI session cookie. /state, /prepare,
    /prepare/cancel, /bridge, /update and /settings now refuse a POST
    that does not carry the signed cookie the DSH window gets from the
    launch-token exchange (401, "this change has to come from the DSH window").
    Until now anything that could reach the loopback port — including a model
    through its own shell — could flip the Computer Use switch for itself.
  • /state reports "gate": {"cookie": "enforced" | "unobservable"} so a
    composition without the connection service is visible instead of silent.
  • The compositor switch now re-reads the host flag every four seconds and on
    window focus, so it cannot sit on a stale value after the flag changed
    elsewhere.

Fixed

  • A fresh install can no longer hang DSH's startup. The bridge row used to
    start as uvx windows-mcp@0.8.8, which resolves the entire Python dependency
    tree from the package index on first launch. Behind a slow or blocked network
    that resolve sat inside the host's plugin boot for minutes — the window stayed
    on “Loading plugins…” and DSH logged a crash. The bundle patch now ships the
    bridge row with disabled: true, so boot never runs uvx or touches the
    network; the dependency is installed from Settings → Desktop, which
    rewrites the row with disabled: false and an absolute command: and asks for
    one restart.

  • The machine-written profile block now restates disabled: false. Without it
    the block would override config while the bundle layer's disabled: true
    stayed in effect, leaving a profile with no Windows tools at all.

  • windows_mcp_doctor and the startup audit now explain this sequence, and the
    boot warnings no longer claim uv/uvx is needed to start the bridge (it is
    only needed to install the dependency).

  • The Computer Use switch no longer freezes at its first render. The pill
    used to read /state once on mount, so a flag changed elsewhere (the
    settings page, an installer run, another window) left the switch showing a
    position the host no longer had. It now re-reads the host every 4 seconds and
    whenever the window regains focus, and stays quiet while its own write is in
    flight.

Changed

  • The dependency UI moved into the settings page. Install / reinstall /
    update / roll back / “Point the bridge at it”, the live installer log and the
    patch target now live in the Dependency card of Settings → Desktop,
    next to the bridge knobs they affect. The plugin's own card keeps a one-line
    status that points there; the activation prompt shown after enabling the
    bundle still offers the install button.

Added

  • README (EN/zh): “boot is never blocked by the dependency”, how the two-step
    install works, and a uv.toml mirror snippet for restricted networks.

This release is also on npm: https://www.npmjs.com/package/dsh-windows-mcp