feat: implement ⌃⌥⌘V clipboard capture with built-in pattern detection#8
Merged
easyvibecoding merged 1 commit intomainfrom Mar 21, 2026
Merged
Conversation
Wire up the ⌃⌥⌘V hotkey to scan clipboard content for API keys and store them in the vault with confidence-based routing. Core changes: - AppState: wire onCaptureClipboard callback with 3-tier confidence routing (≥0.7 auto-store, 0.35~0.7 confirm dialog, <0.35 ignore) - ClipboardEngine: add 22 built-in capture patterns for common API key formats (OpenAI, Anthropic, GitHub, AWS, Google, Stripe, etc.) separate from vault pattern cache - ClipboardEngine: strip whitespace/newlines from clipboard content before matching to handle word-wrap and copy artifacts - NSAlert floating window: use alert.layout() + window.level = .floating to show alerts above all windows without dock icon in menu bar app Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
Test plan
swift buildcompiles successfullyswift test— 48 tests all pass🤖 Generated with Claude Code