Peekaboo/peekaboo-cli/Sources/peekaboo
Peter Steinberger 40acc9669b Fix deadlock in ImageCommand by replacing semaphore with RunLoop
- Remove DispatchSemaphore usage that violated Swift concurrency rules
- Implement RunLoop-based async-to-sync bridging in runAsyncCapture()
- Convert all capture methods to async/await patterns
- Replace Thread.sleep with Task.sleep in async contexts
- Keep ParsableCommand for compatibility, avoid AsyncParsableCommand issues
- Add comprehensive tests and documentation
- Improve error handling and browser helper filtering

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-08 09:41:50 +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 Fix deadlock in ImageCommand by replacing semaphore with RunLoop 2025-06-08 09:41:50 +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 Fix deadlock in ImageCommand by replacing semaphore with RunLoop 2025-06-08 09:41:50 +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 Fix deadlock in ImageCommand by replacing semaphore with RunLoop 2025-06-08 09:41:50 +01: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