feat(screenshot): add native capture and editing plugin - #412
Open
idev19 wants to merge 1 commit into
Open
Conversation
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.
Adds Screenshot as a native MacTools plugin, adapted from Snap. It provides region/window capture, quick copy, annotations, local OCR and QR recognition, pinned images, scrolling screenshots, and silent region recording on macOS 15 or later. Other features support macOS 14.
The plugin uses MacTools' permission cards, declarative settings, action discovery, and optional shortcuts. It exposes
captureandquick-captureas foreground interactive actions. Preferences use plugin-scoped storage; disabling or unloading the plugin closes its windows and cancels pending work. Recording and scrolling exclude only their own controls, so MacTools windows remain capturable. Exported files are preserved on uninstall.Validation:
make script-tests, with SDK/cache paths set for the local Command Line Tools installation).git diff --checkpassed.Still to verify with a full Xcode installation: the host build and native XCTest run, including
PluginRuntimeActionSnapshotTests. Manual checks of real capture/recording, mixed-scale displays, and system permission prompts are also pending; the checklist is in the Screenshot guide.