Commit Graph

3 Commits

Author SHA1 Message Date
Miguel 59c1c0cd3e Refactor code structure for improved readability and maintainability 2025-09-08 22:10:19 +02:00
Miguel 4ef265705c feat: Enhance base64 generation logic in ScreenshotManager with conditions and skip reasons 2025-09-08 21:43:03 +02:00
Miguel 3153f38068 Implement ScreenshotManager for enhanced screenshot functionality
- Added ScreenshotManager class to centralize screenshot capturing logic.
- Implemented methods to capture specific objects, areas, and full canvas.
- Updated MCPServer to utilize ScreenshotManager for taking screenshots.
- Introduced new API method to take screenshots of specific objects by their IDs.
- Enhanced error handling and result reporting for screenshot operations.
- Refactored TakeScreenshot and added TakeObjectScreenshot methods in MCPServer.
- Updated analyze_screenshots.py to use a relative path for screenshots directory.
- Removed outdated test script for Python execution.
2025-09-08 21:32:04 +02:00