Repository navigation
Conversation
Capture trusted main-frame Copy/Cut events synchronously and validate successful Clipboard API notifications with awaited native or permission-gated isolated read-back. Preserve theme/timing IPC and invalidate pending reads on lifecycle or sequence changes. Add compiled-source preload, bridge, and daemon regression tests.
|
@ibrmora is attempting to deploy a commit to the zenbu-labs Team on Vercel. A member of the Team first needs to authorize it. |
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.
Fixes #50.
Motivation
I use tode with code-server inside Herdr on Linux. Editor-menu Copy/Cut and Explorer path copying did not reliably become available when I pasted into another terminal pane. These application-owned operations need a separate route from keyboard selection copying.
Changes
Verification
npm test: 167 passed, including 39 new compiled-source clipboard tests.npm run typecheck: passed.Implementation and tests were AI-assisted. I live-tested and confirmed the equivalent installed workaround; this newer source build has not been launched as a replacement. The source tests use mocked Electron/terminal endpoints and do not establish cross-platform native behavior.
Scope
The Pixel 0.0.23 pin is unchanged. Complete keyboard coverage needs the separate Pixel fix in zenbu-labs/terminal-browser#245 and zenbu-labs/terminal-browser#246, a Pixel release, and a terminal-code dependency update. This PR does not claim to close macOS/cmux #24.
Main-frame nonempty plain text only; no image, rich-text or iframe support, and no global clipboard-ordering guarantee. The main-world Clipboard API wrapper is observable by page scripts.