feat(cua-driver)!: simplify permissions and add session identity - #2616
Merged
Conversation
added 10 commits
July 27, 2026 17:19
5 tasks
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
standardthe promptless practical default for ordinary automationboundeda deny-by-default, launch-approved resource manifest with terminal revocationunrestrictedas the explicit bypass modeWhy
The previous permission model interrupted normal autonomous workflows and coupled authorization to a daemon-owned UI. This change keeps Cua Driver practical and host-neutral while preserving an explicit boundary around attaching to a logged-in Chromium profile.
User impact
This is an intentional breaking contract change:
standardsessions no longer prompt for routine actions--grant existing-profileDriverAuthorizationHostValidation
cargo test -p cua-driversuite passed0ce7c7f1a6e1497309fd309f6bfdfd915b661d4f: 143 delivered, 8 expected refusals, 0 failed, 0 skippedCursor recordings
macOS
macos-cursor-showcase.mp4
Windows
windows-cursor-showcase.mp4
Linux Wayland
linux-wayland-cursor-showcase.mp4
Linux X11
linux-x11-cursor-showcase.mp4
Release
This PR intentionally does not create or publish a release. Release automation may prepare metadata for a future Cua Driver release after merge.