Skip to content

feat: make virtual displays opt-in and hide disabled parameters - #133

Merged
iFurySt merged 2 commits into
mainfrom
feat/virtual-display-opt-in
Oct 30, 2026
Merged

iFurySt merged 2 commits into
mainfrom
feat/virtual-display-opt-in

Conversation

@iFurySt

@iFurySt iFurySt commented Oct 30, 2026

Copy link
Copy Markdown
Owner

Virtual displays add a system monitor and can alter an existing display arrangement. Add virtualDisplay.enabled, default false, with OPEN_COMPUTER_USE_VIRTUAL_DISPLAY_ENABLED as an explicit environment override.

When disabled, native MCP omits window_placement, JS guidance omits windowPlacement, and covered-window hints stop recommending parking. Stale calls are rejected before app lookup and at the display-creation boundary. Existing restoration and turn/connection cleanup remain available. Windows/Linux omit the unsupported parameter. Standalone plugin installs include the new JS configuration dependency.

Enable with ocu config set virtualDisplay.enabled true; reconnect MCP clients to refresh cached tool schemas. Invalid environment values disable creation.

Validation:

  • 381 native tests passed (7 opt-in tests skipped).
  • 48 Node REPL/config/CLI and 4 repository Node tests passed, including staged plugin import.
  • Native MCP subprocess smoke verified default/false/true schema visibility and rejection of disabled calls without creating displays.
  • Windows Go suite and affected Linux schema tests passed; the complete Linux suite fails on macOS identically on unmodified main because its bridge requires Linux.
  • make check-docs and git diff --check passed. make check-repo reports governance files already missing from main; no unrelated files or gates were changed.

@iFurySt
iFurySt merged commit a7fdec1 into main Oct 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant