Peekaboo/peekaboo-cli
Peter Steinberger 4afd15279c feat: Capture all windows from multiple exact app matches instead of erroring
When multiple applications have exact matches (e.g., "claude" and "Claude"), the system now:
- Captures all windows from all matching applications instead of throwing an ambiguous match error
- Maintains sequential window indices across all matched applications
- Preserves original application names in saved file metadata
- Only returns errors for truly ambiguous fuzzy matches

This provides more useful behavior for common scenarios where users have multiple apps with
similar names (different case, etc.) and want to capture windows from all of them.

Updates:
- Added `captureWindowsFromMultipleApps` method to handle multi-app capture logic
- Modified error handling in both single window and multi-window capture modes
- Updated documentation (spec.md, CHANGELOG.md) to reflect new behavior
- Comprehensive test suite covering various multiple match scenarios

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-08 08:00:44 +01:00
..
Sources/peekaboo feat: Capture all windows from multiple exact app matches instead of erroring 2025-06-08 08:00:44 +01:00
TestHost Prepare for beta.14 release: comprehensive test improvements and code cleanup 2025-06-08 02:00:44 +01:00
Tests style: Apply SwiftFormat formatting 2025-06-08 07:29:37 +01:00
.swiftformat Add Swift 6.0 version to SwiftFormat config and apply formatting 2025-05-25 18:45:20 +02:00
.swiftlint.yml Add Swift linting and enhance image capture features 2025-05-25 18:02:39 +02:00
Package.swift Update Swift tools version to 5.9 for macOS v14 support 2025-05-26 23:47:16 +02:00
run-local-tests.sh chore: bump version to 1.0.0-beta.13 2025-06-08 01:28:12 +01:00