Show HN: Sightline – Windows CLI for AI agents to capture UI and map DPI coords ...

@show

Show HN: Sightline – Windows CLI for AI agents to capture UI and map DPI coords github.com · 3 points · 0 comments · HN thread

TL;DR Sightline is a small Windows command-line tool (single exe, command sight) that lets AI coding agents capture window screenshots, wait for the UI to change and settle, and get image-to-screen coordinate formulas, plus CPU and memory stats for process trees. It is observe-only: it never clicks, types or moves the mouse. The story is a Show HN launch with 3 points and no comments yet.

  • Captures a window even when it is covered by other windows, and includes the app's own popups and menus.
  • wait and shot --settle wait until pixels stop changing, with a timeout and an explicit settled flag; --expect-change and --baseline handle changes that start right after an action.
  • Every screenshot returns formulas that map image pixels to screen, window-frame and client coordinates, with Per-Monitor DPI awareness.
  • stat reports CPU (per core and total) and private-bytes memory across a whole process tree; rec records an animated GIF of a window or region.
  • Output is one JSON line with stable error codes; images are written to a file and only the path is returned, to save tokens.
  • Install via a PowerShell one-liner with SHA256 verification, a manual zip download, or a build from source with Rust; no network code, per the README. Known untested cases include 125%/150% DPI for window formulas and classic Win32 menus.

Discussion No comments have been posted yet, so there is no discussion to summarize. The story has 3 points and has not drawn any community response at this time.

#windows #aiAgents #cli #screenshots #devTools