Commit Graph

7 Commits

Author SHA1 Message Date
codegen-sh[bot]
62ca378c4f Complete Rust implementation for Linux compatibility
- Built comprehensive Rust binary with CLI structure matching Swift version
- Implemented all command interfaces: image, list (apps/windows/server_status)
- Added platform-specific implementations for Linux, macOS, and Windows
- Fixed ApplicationData model to include path field for compatibility
- Updated error handling with proper error types and constructors
- Built both debug and release versions of the binary
- MCP server already has platform detection to use appropriate binary:
  - macOS: Uses Swift binary at 'peekaboo'
  - Linux: Uses Rust binary at 'peekaboo-native/target/release/peekaboo'
  - Windows: Uses Rust binary at 'peekaboo-native/target/release/peekaboo.exe'
- Tests show platform detection working correctly (using Rust binary on Linux)
- Fixed tsx dependency version conflict

The Rust implementation provides a solid foundation with working CLI structure.
Core functionality implementations (screen capture, window management) are
placeholder implementations that need to be completed for full feature parity.
2025-06-08 06:56:21 +00:00
codegen-sh[bot]
4c1f20a7ac Add comprehensive multi-platform CI and Windows support
- Add Windows support to Rust binary with platform-specific dependencies
- Update MCP server to detect and use appropriate binary for each platform
- Create comprehensive CI workflow for macOS, Linux, and Windows
- Add cross-platform build scripts and test commands to package.json
- Update README to reflect multi-platform support
- Add platform-specific badges and documentation

Features:
 macOS: Swift binary with ScreenCaptureKit
 Linux: Rust binary with X11/Wayland support
 Windows: Rust binary with Windows APIs
 Multi-platform CI with matrix builds
 Cross-platform test coverage
 Platform-specific build and lint commands
2025-06-08 06:29:54 +00:00
Peter Steinberger
94e966fa98 feat: Add fuzzy matching for application names
- Implement Levenshtein distance algorithm for fuzzy app name matching
- Handle common typos like "Chromee" → "Google Chrome"
- Add window-specific labels in analysis results
- Improve error messages with app name suggestions
- Fix TypeScript JSON parsing for error responses
- Update tests for new error message formats

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-08 05:22:58 +01:00
Peter Steinberger
db02bc2c08 Fix TypeScript integration tests by building Swift CLI first on CI 2025-06-08 00:36:30 +01:00
Peter Steinberger
b1ddf6f1b6 Enhance Swift testing framework and test coverage
- Update CI configuration to use macOS-15 runner with Xcode 16.3
- Expand test coverage with comprehensive new test suites:
  * JSONOutputTests.swift - JSON encoding/decoding and MCP compliance
  * LoggerTests.swift - Thread-safe logging functionality
  * ImageCaptureLogicTests.swift - Image capture command logic
  * TestTags.swift - Centralized test tagging system
- Improve existing tests with Swift Testing patterns and async support
- Make Logger thread-safe with concurrent dispatch queue
- Add performance, concurrency, and edge case testing
- Fix compilation issues and optimize test performance

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-07 23:57:26 +01:00
Peter Steinberger
5c3958d305 Run mocked tests 2025-05-25 01:43:35 +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