Repository navigation
Read bounded clipboard file references - #139
Merged
Merged
Conversation
This was referenced Oct 13, 2026
iamnbutler
marked this pull request as ready for review
October 5, 2026 23:21
This was referenced Oct 5, 2026
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.
Add
desktop_clipboard_read({format: "files"})for githubnext/desktop-tools#3 and githubnext/ace2#8. It returns up to 32 ordered, explicitly advertised local file URLs and decoded paths in a complete 24 KB JSON result. The GUI uses existing silent clipboard permission and stable-generation checks. Ordinary alternate representations are allowed; visible promises, legacy-only lists, mixed file/non-file items, invalid/nonlocal URLs, and unreadable or oversized data refuse without a partial result.No referenced file is opened or inspected, no path is canonicalized, and no clipboard mutation, reservation admission, backup, or new store is added. macOS may filter references before exposing them to Ace, so
present: falsedoes not establish what the originating app published or whether files exist.Validation:
ecaef60implementation.6936419fa80344d5c464143753ef12eb3a514ae3; GitHub CI is green.gpt-6-solchannel read the known public list once. Closing/reopening its store preserved the exact result, usage, and tool counts without another execution or clipboard change.Built in Ace
Real native checks ran through the signed Ace GUI/host, and the model/replay check used a real Ace channel. Codex used external source, Git, build, and temporary validation tooling under the user's temporary exception for githubnext/ace2#8. Ace cannot yet host this Codex harness (#9) and lacks a File tab for direct source editing (#22).