Peekaboo/peekaboo-cli/Sources/peekaboo
Peter Steinberger 5bdb2092ca feat: Add browser helper filtering for improved Chrome/Safari matching
Addresses the issue where searching for 'Chrome' or 'Safari' would incorrectly
match helper processes (like 'Google Chrome Helper (Renderer)') instead of the
main browser application, leading to confusing 'no capturable windows' errors.

Key improvements:
- Added filterBrowserHelpers() method that filters out helper processes for browser searches
- Supports common browsers: chrome, safari, firefox, edge, brave, arc, opera
- Filters out processes containing: helper, renderer, utility, plugin, service, crashpad, gpu, background
- Provides browser-specific error messages when main browser isn't running
- Only applies filtering to browser identifiers, preserves normal matching for other apps
- Comprehensive test coverage for browser filtering scenarios

Example: Searching for 'chrome' now finds 'Google Chrome' instead of
'Google Chrome Helper (Renderer)' which has no capturable windows.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-08 08:47:09 +01:00
..
ApplicationFinder.swift feat: Add browser helper filtering for improved Chrome/Safari matching 2025-06-08 08:47:09 +01:00
FileNameGenerator.swift fix: Prevent security vulnerability from malformed app targets 2025-06-08 08:16:39 +01:00
ImageCommand.swift feat: Implement proper frontmost window capture 2025-06-08 08:42:43 +01:00
ImageErrorHandler.swift feat: Implement proper frontmost window capture 2025-06-08 08:42:43 +01:00
ImageSaver.swift fix: Prevent security vulnerability from malformed app targets 2025-06-08 08:16:39 +01:00
JSONOutput.swift Enhance error handling with specific exit codes and user-friendly messages 2025-06-07 22:44:07 +01:00
ListCommand.swift style: Apply SwiftFormat formatting 2025-06-08 07:29:37 +01:00
Logger.swift Apply SwiftFormat and fix all SwiftLint violations 2025-06-08 00:18:23 +01:00
main.swift Prepare release 2025-05-27 00:21:29 +02:00
Models.swift feat: Implement proper frontmost window capture 2025-06-08 08:42:43 +01:00
OutputPathResolver.swift feat: Implement proper frontmost window capture 2025-06-08 08:42:43 +01:00
PermissionErrorDetector.swift fix: Prevent security vulnerability from malformed app targets 2025-06-08 08:16:39 +01:00
PermissionsChecker.swift style: Apply SwiftFormat formatting 2025-06-08 07:29:37 +01:00
ScreenCapture.swift fix: Correct error handling for path traversal and file system errors 2025-06-08 08:05:03 +01:00
Version.swift feat: Implement proper frontmost window capture 2025-06-08 08:42:43 +01:00
WindowManager.swift feat: Add fuzzy matching for application names 2025-06-08 05:22:58 +01:00