Skip to content

feat(snapshot): add configurable image capture limits#43

Open
aikins01 wants to merge 2 commits into
iFurySt:mainfrom
aikins01:feat/image-capture-env-controls
Open

feat(snapshot): add configurable image capture limits#43
aikins01 wants to merge 2 commits into
iFurySt:mainfrom
aikins01:feat/image-capture-env-controls

Conversation

@aikins01

@aikins01 aikins01 commented Jul 2, 2026

Copy link
Copy Markdown

macOS screenshots can now be bounded per MCP host so get_app_state and action results fit tighter context budgets without changing the default behavior.

  • adds environment controls for ScreenCaptureKit timeout, returned PNG long-edge cap, encoded byte budget, and byte-budget retry scaling
  • keeps OPEN_COMPUTER_USE_IMAGE_MAX_DIMENSION as a hard returned-PNG cap while allowing byte-budget retries to shrink further within the configured scale floor
  • maps coordinate tools from the actual returned PNG dimensions so downsampled screenshots stay coordinate-safe
  • documents the controls in both READMEs, architecture notes, release notes, and history

aikins01 added 2 commits July 2, 2026 05:15
Add cross-platform get_app_state output controls, configurable image capture limits, app resolution ranking, and select_text parity while keeping Windows UIA text selection opt-in by default.

Update docs, skill metadata, history, and regression coverage for the shipped tool behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant