Files
deepseek-harness/apps/cli/tests/profiles/cua-mcp/fixture.patch.yml
T
Yichen Jiang 0c3c508ea8 feat(cua-mcp): mount the Windows provider on native Windows
The profile mounted only the macOS provider, so a Windows Host listed no cua_run_code. Add a second
provider row for @deepseek-ai/dsh-cua-windows, enabled on native Windows only, with the same fixed
screenshot target and PTC preset as the macOS row, and declare the package as an optional dependency
beside the macOS provider. The profile e2e fixture switches both native rows off. The no-provider
message names both platforms and points at the launcher's stderr.

README: Windows helper setup through the row's helperPath, with the fields a config override must
restate, and the Windows provider's limits that apply through MCP.

Not exercised on a Windows desktop. On macOS the row was forced on through a profile patch: the
Loader resolved the package, accepted the documented config, rejected an invalid one, and reached
the provider's own host check.
2026-11-11 14:02:22 +08:00

19 lines
569 B
YAML

# Replace both native providers with the recorded desktop fixture so the profile serves on every Host.
- id: cua-mcp-provider
disabled: true
- id: cua-mcp-provider-windows
disabled: true
- insert:
- id: cua-mcp-fixture-provider
name: '../../../../../snapshots/session/cua-run-code/provider.mjs'
config:
screenshotTarget:
longEdge: 1
maxBytes: 100000
allowedApps:
- id: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
name: Fixture
executablePath: /fixture/app