Peter Steinberger
c6abc9d168
Fix test failures after refactoring
...
- Fix buildSwiftCliArgs import in image tests
- Update buildSwiftCliArgs to match expected behavior (capture-focus default, warning messages)
- Fix image summary builder logic to properly generate summaries
- Update server status test to match new implementation that doesn't use executeSwiftCli
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-27 00:42:46 +02:00
Peter Steinberger
72819798ff
feat: Simplify image tool API and add screen index support\n\n- MCP image tool API simplified with app_target, new format:data behavior, and automatic AI provider selection.\n- Swift CLI image command now supports --screen-index for specific display capture.\n- Updated image.ts, relevant documentation, and tests accordingly.\n- Version bumped to 1.0.0-beta.4.
2025-05-25 18:31:50 +02:00
Peter Steinberger
53ec5ef9a4
Add Swift linting and enhance image capture features
...
- Add SwiftLint and SwiftFormat configuration with npm scripts
- Refactor Swift code to comply with linting rules:
- Fix identifier naming (x/y → xCoordinate/yCoordinate)
- Extract long functions into smaller methods
- Fix code style violations
- Enhance image capture tool:
- Add blur detection parameter
- Support custom image formats and quality
- Add flexible naming patterns for saved files
- Add comprehensive integration tests for image tool
- Update documentation with new linting commands
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-25 18:02:39 +02:00
Peter Steinberger
f41e70e23e
Add proper tool description and work around a bug in Gemini’s parser
2025-05-25 18:02:05 +02:00
Peter Steinberger
6396e299be
Prepare for v1.0.0-beta.3 release
2025-05-25 14:07:21 +02:00
Peter Steinberger
ed59bb58dc
Combine image + analyze
2025-05-25 13:32:39 +02:00
Peter Steinberger
bda349ea29
Improve error messages
2025-05-25 02:27:19 +02:00
Peter Steinberger
857ce73b94
rename swift-cli to peekaboo-cli
2025-05-25 01:28:06 +02:00
Peter Steinberger
670e1c485a
Add GitHub Actions CI workflow for Node.js builds
...
- Configure CI to run on macOS-latest
- Test with Node.js 20.x and 22.x
- Run npm build and tests on push/PR
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-25 01:25:35 +02:00
Peter Steinberger
a7970d8de7
Add tests
2025-05-23 05:40:31 +02:00