Skip to content

Visible agent cursor on Linux (opt-in overlay at the agent's target point) #225

Open

Description

@SSFSKIM

Problem & intent

When cua's Linux engine drives a window in the background on a shared desktop, a person watching sees nothing that shows where the agent is acting. OpenAI's newest Linux helper (26.1023.51421) added a visible "virtual cursor" for this; the build cua pins (26.928.40906) has none, and #171 left it out of scope.

Intent: an opt-in on-screen cursor that shows the agent's target point and motion, so a person sharing the desktop can follow what the agent does, without the cursor ever interfering with the agent's or the person's input.

What the vendor's newest build does (behaviour facts, #171 research F §8)

  • Subsystem virtual_cursor::{overlay, motion, render}, enabled by the environment variable SKY_LINUX_WINDOW_CURSOR; off by default.
  • An alpha overlay window with motion paths, rendering with blur, sampling of the window backdrop, tracking of the target window's geometry, and restacking above it.
  • Requires a 32-bit ARGB visual, X Render, an X Shape input region (so the overlay takes no clicks) and a running X11 compositor.
  • On the research VM (Openbox, no compositor) an opt-in move succeeded without error, but no overlay was visually verified, so its look on a composited desktop is unknown.

Constraints

  • The overlay never receives input (empty Shape input region) and never changes the driven window's focus or stacking.
  • Window screenshots are of the window's own drawable and so never include it; whether desktop screenshots include it is a design decision.
  • It adds no latency to input: drawing must not sit on the request path.
  • Without a compositor an ARGB overlay cannot blend; define what happens (refuse, draw opaque, or report it in capabilities).
  • No vendor code; the crate rule of Independence 4b: cua's own Linux native engine (replace sky_linux), after #117's macOS engine #171 applies (tiny-skia, which the newest vendor build links, counts as vetted).

Success criteria

Open questions

  1. Where the opt-in lives: per device (beside desktop: shared|dedicated) or per session.
  2. Desktop screenshots: include the cursor, omit it, or let the caller choose.
  3. Does cua's macOS engine (Independence 4: cua's own native accessibility engine (replace sky) measured against a native baseline #117) want the same, so both platforms share one contract?

Decision log

Activity

  1. added
    enhancement
    status:ready-for-architect
    priority:P3
    on Oct 28, 2026
  2. SSFSKIM commented on Oct 28, 2026

    @SSFSKIM
    OwnerAuthor

    [board] ready-for-architect: Backlog from #171 scope call; owner ranked below Wayland

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:P3status:ready-for-architect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions