Peekaboo/peekaboo-cli/Sources/peekaboo
Peter Steinberger dd680eb638 feat: Improve window title matching and error messages for URLs with ports
When users search for windows with URLs containing ports (e.g., 'http://example.com:8080'),
the system now provides much better debugging information when the window isn't found.

Key improvements:
- Enhanced window not found errors now list all available window titles
- Added specific guidance for URL-based searches (try without protocol)
- New CaptureError.windowTitleNotFound with detailed debugging info
- Comprehensive test coverage for colon parsing in app targets
- Better error messages help users understand why matching failed

Example improved error:
"Window with title containing 'http://example.com:8080' not found in Google Chrome.
Available windows: 'example.com:8080 - Google Chrome', 'New Tab - Google Chrome'.
Note: For URLs, try without the protocol (e.g., 'example.com:8080' instead of 'http://example.com:8080')."

This addresses the common issue where browsers display simplified URLs in window titles
without the protocol, making it easier for users to find the correct matching pattern.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-08 08:09:47 +01:00
..
ApplicationFinder.swift feat: Improve error propagation and debugging for system-level failures 2025-06-08 07:08:35 +01:00
ImageCommand.swift feat: Improve window title matching and error messages for URLs with ports 2025-06-08 08:09:47 +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: Improve window title matching and error messages for URLs with ports 2025-06-08 08:09:47 +01:00
OutputPathResolver.swift fix: Correct error handling for path traversal and file system errors 2025-06-08 08:05:03 +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 chore: Bump version to 1.0.0-beta.20 2025-06-08 07:27:43 +01:00
WindowManager.swift feat: Add fuzzy matching for application names 2025-06-08 05:22:58 +01:00