Repository navigation
feat(cua): add self-window input driver and session safety - #560
Draft
sjungwon03 wants to merge 72 commits into
Draft
sjungwon03 wants to merge 72 commits into
sjungwon03 wants to merge 72 commits into
Conversation
…-approved-self-window-cua
…-approved-self-window-cua
…a' into feat/558-app-window-cua-driver
…into feat/559-approved-self-window-cua
…a' into feat/558-app-window-cua-driver
…a' into feat/558-app-window-cua-driver
…-approved-self-window-cua
…-approved-self-window-cua
…-approved-self-window-cua
…ointer timeline drag
…proval summary UI
…us revision invariant
…-approved-self-window-cua
…-app-window-cua-driver
…-approved-self-window-cua
…-app-window-cua-driver
…-approved-self-window-cua
…-app-window-cua-driver
…-app-window-cua-driver
…-approved-self-window-cua
…-app-window-cua-driver
…-app-window-cua-driver
…-app-window-cua-driver
This branch has not been deployed
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.
Closes #558
Adds an Electron driver restricted to the supplied OpenScene BrowserWindow/webContents, with capture, CSS/bitmap/zoom conversion, click, bounded drag, restricted keys and held-input release. Main-only one-use permits bind the exact window/session/run/frame/revision/action; own-top-frame IPC exposes safety reporting, state, Stop and rollback acknowledgement. Operating-system input, external-window control and public debugging ports are absent.
Main wiring integrates the coordinated LLM approval runtime from #561. Renderer overlay and Pointer Events work remains separately owned; this PR is Draft until that implementation is integrated and the actual editor scenario is demonstrated. MCP clip creation/state inspection reuse existing registered tools; CUA actions run only through the main approval dispatch.
At
2a7edd741993ab2f59cc15a137e546a1851fe3f2, root typecheck, 219 test files / 1,395 tests, build, and mobile typecheck passed. An earlier full run had one unrelated assetLibraryConcurrency timing failure; its isolated suite and subsequent full runs passed. Exact-HEAD CI is still pending and there is no independent approval yet.Actual Electron probes show HTML5 drag starts but never drops with sendInputEvent, while Pointer Capture delivers down/move/up. Zoom 2 requires CSS coordinates multiplied by zoomFactor for Electron DIP input. Even an explicitly authorized initial-only focus request on a separate test profile left both focus flags false on this host; production guards remain intact. The complete MCP clip → CUA move → MCP inspection → UI Undo and mid-drag Stop/rollback evidence is not yet available. See docs/cua-driver-validation.md for local evidence paths and limits.
This driver is desktop-specific because mobile has no Electron BrowserWindow; shared contracts still compile against mobile. Do not mark ready or merge before the exact final HEAD has passing required CI, independent specification/code-quality approval, no unresolved review threads and the required real-app evidence.