Skip to content

[FEATURE] Let a client skip unchanged frames in read_frame #1794

Description

@edenreich

Summary

Every read_frame answers with the whole screen as base64, even when the screen has not changed since the client's last read. A client that follows a screen polls several times a second - the Desktop app every 300 ms while a person drives, the web terminal every 250 ms - and each poll moves a frame of roughly 100-200 KB through the worker, the daemon relay and the client, mostly to redraw the same picture.

Requested: let a client say which frame it already has and get a short "unchanged" answer instead of the image.

  • The frame already carries an id and a timestamp (agentdomain.Frame). read_frame could take the last id the client saw, and the worker answers without data when the latest frame is still that one.
  • The worker can also skip storing a capture that is identical to the previous one, so an idle screen yields no new frame at all.
  • The web terminal's GET /screen/?id= poll would benefit from the same check, for example with ETag and If-None-Match.

Follow-up of #1787.

Acceptance Criteria

  • read_frame accepts the id of the frame the client already has and answers without image data when nothing newer exists
  • A client that sends no id gets the full frame as today
  • The web terminal's screen poll does not re-download an unchanged frame
  • docs/browser-extension-protocol.md documents the request field and the unchanged answer

Activity

  1. added
    enhancement
    on Nov 10, 2026
  2. moved this from Todo to In progress in 2026on Nov 10, 2026
  3. moved this from In progress to QA in 2026on Nov 10, 2026
  4. 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 📦🚀

  5. moved this from QA to Done in 2026on Nov 10, 2026
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