feat: Windows virtual display confinement — isolate agent to Parsec VDD monitor [#29]#46
Open
richard-devbot wants to merge 4 commits intoCursorTouch:mainfrom
Open
Conversation
…ursorTouch#29] Adds VirtualDisplayManager (Windows-only) that creates a dedicated virtual monitor for the agent using the Parsec Virtual Display Driver, providing spatial isolation at the display level. All ctypes/Win32 calls are guarded so the module imports cleanly on macOS and Linux. 28 tests, all passing.
- test_control_center.py: update import from operator_use.agent.tools.builtin (deleted in main) to operator_use.tools.control_center; add side-effect import of operator_use.agent.tools to resolve circular import; update all patch paths. - test_computer_plugin.py: remove BEFORE_LLM_CALL assertions — 9f5d002 removed _state_hook registration from BEFORE_LLM_CALL by design (state captured inside computer_task loop, not on every main-agent LLM call). - test_browser_plugin.py: same BEFORE_LLM_CALL removal; register_hooks now only stores the hooks reference without registering any handler. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
23537e8 to
f2891e4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sub-component 5 of #29 (agent workspace isolation).
Adds
VirtualDisplayManager(Windows-only) that creates a dedicated virtual monitor for the agent using the Parsec Virtual Display Driver, providing spatial isolation at the display level — agent windows live on a separate monitor the user never sees.SetWindowPos+EnumDisplayMonitorsRequires: Parsec Virtual Display Driver (optional Windows-only dependency)
Related: #29