Wayland capture through desktop portals (#35) #94

Merged
lost-rob0t merged 2 commits from agent/issue-35-wayland-portal-capture into main 2026-08-30 08:26:14 +00:00
lost-rob0t commented 2026-08-30 07:53:30 +00:00 (Migrated from github.com)

Implements #35.

RED commit on this PR: be55a4d — new behavioral tests + docstring-only scaffolds.

  • 6 new test files fail at collection (ImportError on missing capture APIs)
  • pyright fails exactly on the unknown import symbols
  • baseline 930 tests unaffected

GREEN will implement:

  • capture/png.py bounded in-memory PNG codec
  • capture/portal.py portal authorization boundary (permission state, revocation, status)
  • capture/wayland.py WaylandPortalCaptureBackend behind the existing capture strategy interface
  • capture/bus_portal.py busctl-backed session-bus portal gateway (screenshot flow)
  • session resolver wayland-portal probe + status limitations surface
Implements #35. RED commit on this PR: be55a4d — new behavioral tests + docstring-only scaffolds. - 6 new test files fail at collection (ImportError on missing capture APIs) - pyright fails exactly on the unknown import symbols - baseline 930 tests unaffected GREEN will implement: - `capture/png.py` bounded in-memory PNG codec - `capture/portal.py` portal authorization boundary (permission state, revocation, status) - `capture/wayland.py` WaylandPortalCaptureBackend behind the existing capture strategy interface - `capture/bus_portal.py` busctl-backed session-bus portal gateway (screenshot flow) - session resolver `wayland-portal` probe + status limitations surface
Sign in to join this conversation.
No description provided.