feat(window): add window and app lifecycle endpoints #11

Closed
opened 2026-05-01 15:39:00 +02:00 by luna · 0 comments
Collaborator

Why

Agents currently fall back to /exec too often for simple app lifecycle tasks like launching, focusing, restoring, and closing windows.

Scope

Add structured endpoints for window/app lifecycle operations, for example:

  • list visible windows
  • focus window by title/process
  • restore/minimize/maximize window
  • close focused or matched window
  • launch known executables/apps in a structured way

Notes

The design should prefer explicit, inspectable operations over arbitrary shell commands.

Done when

  • common app lifecycle flows no longer require raw /exec
  • agents can discover and focus windows without guessing purely from screenshots
## Why Agents currently fall back to `/exec` too often for simple app lifecycle tasks like launching, focusing, restoring, and closing windows. ## Scope Add structured endpoints for window/app lifecycle operations, for example: - list visible windows - focus window by title/process - restore/minimize/maximize window - close focused or matched window - launch known executables/apps in a structured way ## Notes The design should prefer explicit, inspectable operations over arbitrary shell commands. ## Done when - common app lifecycle flows no longer require raw `/exec` - agents can discover and focus windows without guessing purely from screenshots
luna closed this issue 2026-05-01 15:52:41 +02:00
This repo is archived. You cannot comment on issues.
No Label
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: space/clickthrough#11