Skip to content

[FEATURE] Capture the screen promptly while a person holds it, so take over is responsive #1787

Description

@edenreich

Summary

Driving a computer after Take over is slow because the screen a person sees is at most as fresh as the worker's capture timer. The screenshot server (internal/computer/infrastructure/screenshot_server.go) captures on a ticker of computer_use.screenshot.capture_interval seconds - 3 by default, a whole number of seconds, so never below 1 - and read_frame only ever answers the latest buffered frame. A client can poll as fast as it likes (the Desktop app polls every 300 ms while a person drives) and still sees the result of a click up to 3 seconds later.

Requested: while a person holds the screen, capture promptly so the view follows their input.

  • Capture a fresh frame right after each screen_input lands, so the next read_frame shows its effect.
  • While the screen is held, capture at a sub-second interval instead of capture_interval. Outside a hold the interval stays as configured, so an idle computer does no more work than today.

Related costs on the same path, worth looking at in the same change or as follow-ups:

Longer term a pushed stream would replace polling altogether. The GNOME backend already opens a org.gnome.Mutter.RemoteDesktop session for input, and its screen-cast side can deliver video.

Observed on v0.252.0 with ghcr.io/inference-gateway/computer:0.252.0 and the default capture_interval: 3.

Acceptance Criteria

  • After a screen_input, the next read_frame returns a frame captured after that input was applied
  • While a screen is held, frames are captured at a sub-second interval, and the configured capture_interval applies again after hand_back
  • A computer whose screen nobody holds captures no more often than today
  • docs/computer-use.md and docs/browser-extension-protocol.md describe the capture behaviour during a hold

Activity

  1. added
    enhancement
    on Nov 9, 2026
  2. added theissue type on Nov 9, 2026
  3. moved this from Todo to In progress in 2026on Nov 9, 2026
  4. moved this from In progress to QA in 2026on Nov 10, 2026
  5. moved this from QA to Done in 2026on Nov 10, 2026
  6. inference-gateway-releaser commented on Nov 10, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.253.0 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

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

    enhancementreleased

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions