fix(cua-driver): unify native action scheduling - #3391
Open
injaneity wants to merge 16 commits into
Open
Conversation
This was referenced Aug 26, 2026
injaneity
force-pushed
the
rfc/3390-state-scoped-observations
branch
from
August 26, 2026 07:54
554f6de to
ed13b3e
Compare
injaneity
force-pushed
the
rfc/3390-state-scoped-observations
branch
from
August 26, 2026 08:10
ed13b3e to
d7bd829
Compare
injaneity
force-pushed
the
rfc/3390-state-scoped-observations
branch
2 times, most recently
from
August 26, 2026 09:49
34fa6f5 to
fec066f
Compare
injaneity
marked this pull request as ready for review
August 26, 2026 09:54
injaneity
marked this pull request as draft
August 26, 2026 09:56
injaneity
force-pushed
the
rfc/3390-state-scoped-observations
branch
3 times, most recently
from
August 26, 2026 10:23
821ac0f to
5f1eda2
Compare
injaneity
force-pushed
the
rfc/3390-state-scoped-observations
branch
from
August 26, 2026 15:41
5f1eda2 to
fc1f5c4
Compare
injaneity
marked this pull request as ready for review
August 26, 2026 15:55
Keep modality and focus as internal resolver facts. Publish only the window identity needed for logical rebinding, and ignore unrelated foreground changes. Co-authored-by: Francesco Bonacci <195596869+f-trycua@users.noreply.github.com>
Adapt pi-computer-use’s cheap signal and authoritative AX diff while retaining Cua Driver ownership proof, focus suppression, and typed action accounting.
injaneity
force-pushed
the
rfc/3390-state-scoped-observations
branch
from
August 27, 2026 01:25
fc1f5c4 to
4e7bc5b
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.
What changed
Cua Driver used separate code to coordinate desktop actions and text entry. It also kept its own list of tools for each path, so a new tool could miss the right checks.
This pull request replaces that code with one small scheduler. It now:
type_textandtype_text_chars; andIt also removes the old desktop lock, text-process set, custom cleanup guard, and duplicate tool list.
There are no browser or public API changes.
Refs #3373
Checks
Candidate
4e7bc5b20f567217034b4d0a50d542d67bd65eb0:This branch needs to be rebased onto the latest #3373 before merge.