Skip to content

feat: describe each display's visible frame, pixel size and rotation - #73

Merged
iamnbutler merged 1 commit into
mainfrom
feat/display-info
Oct 17, 2026
Merged

iamnbutler merged 1 commit into
mainfrom
feat/display-info

Conversation

@iamnbutler

@iamnbutler iamnbutler commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

desktop_spaces and desktop_screen display rows gain name, is_main (spaces), visible_bounds (NSScreen.visibleFrame flipped to top-left global points, i.e. bounds less menu bar and Dock), pixel_width/pixel_height (CGDisplayMode), rotation. No new tool.

Live check (signed dev app, spaces):

  • Studio Display: main, bounds 0,0 2560x1440, visible 0,30 2560x1410, 5120x2880 px, scale 2
  • Built-in Retina: bounds 553,1440 1512x982, visible 553,1472 1512x950 (notch menu bar 32), 3024x1964 px, scale 2

desktop_screen shares activeDisplays(); its capture path wasn't live-checked (pending: screen locked).

Co-Authored-By: Claude noreply@anthropic.com

desktop_spaces and desktop_screen display rows now carry name, main flag,
visible_bounds (bounds less the menu bar and Dock, top-left global points),
pixel_width, pixel_height and rotation, so agents can reason about
coordinates without a capture.

Co-Authored-By: Claude <noreply@anthropic.com>
@iamnbutler
iamnbutler merged commit acae444 into main Oct 17, 2026
2 checks passed
@iamnbutler
iamnbutler deleted the feat/display-info branch October 17, 2026 05:23
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