luxe 0.1.6: macOS window capture, and Windows paste and screenshot fixes
On macOS, screenshot's window mode captures one window, even one on another desktop. The window list comes from CoreGraphics through osascript, and the chosen id goes to `screencapture -l`, so nothing needs installing. A title matches a window's title first and its app's name second. On Windows, a paste no longer submits at its first line break: the console types a paste out as key presses, so a burst of text keys is folded back into one paste. Screenshots on a scaled display capture the whole screen, because the capture script now asks to be DPI-aware first. On a Mac with fontconfig, the font probe ignores .LastResort, so the OpenAI and Claude marks fall back to the robot and cloud when no font has them.
This commit is contained in:
@@ -256,8 +256,9 @@ needed, such as a passwordless `sudo` rule for one program:
|
||||
|
||||
The `screenshot` tool's `url` mode renders a web page and captures only that. Its `fullscreen`,
|
||||
`region` and `window` modes capture whatever is on your screen, and the image goes to your model
|
||||
provider, so each **asks** first, and runs with nobody watching refuse them. To turn screen capture
|
||||
off entirely:
|
||||
provider, so each **asks** first, and runs with nobody watching refuse them. On macOS, `window` can
|
||||
also capture a window on another desktop, and when no window matches it tells the model the titles
|
||||
of the windows it saw. To turn screen capture off entirely:
|
||||
|
||||
```json title="~/.config/luxe/permissions.json"
|
||||
{ "permission": { "screenshot": { "fullscreen": "deny", "region": "deny", "window": "deny" } } }
|
||||
|
||||
Reference in New Issue
Block a user