development_user_session_remote_view #8

Merged
peter merged 2 commits from development_user_session_remote_view into development 2026-03-04 09:25:01 +00:00
Member

full multi-user session support, a real-time screenshot streaming endpoint (SSE), session visibility APIs, and skill compliance improvements required for hero ecosystem integration.
The implementation has been fully tested (unit + integration + live multi-user validation on Ubuntu 24.04).

full multi-user session support, a real-time screenshot streaming endpoint (SSE), session visibility APIs, and skill compliance improvements required for hero ecosystem integration. The implementation has been fully tested (unit + integration + live multi-user validation on Ubuntu 24.04).
- Add GET /health endpoint (hero_sockets skill requirement)
   - Add CORS via tower-http CorsLayer::permissive() (web_embed skill requirement)
   - Add GET /api/sessions/{browser_id}/pages/{page_id}/stream SSE endpoint
     - query param fps (default 2, max 10)
     - streams base64-encoded PNG frames as text/event-stream
     - auto-stops when browser/page is gone or client disconnects
   - Detect missing DISPLAY/WAYLAND_DISPLAY on Linux and fall back to
     headless mode with a tracing::warn instead of crashing
   - Update admin UI with Stream button per page and stream-modal viewer
Add multi-user session test to rhaiexamples
All checks were successful
Test / test (pull_request) Successful in 1m20s
Build and Test / build (pull_request) Successful in 3m2s
dd92f2150e
- New rhaiexamples/multi_user_session_test.rhai: 20 checks across 8 phases
  testing multi-user session support (browser isolation, cross-session
  protection, user independence, concurrent screenshots)
- Update rhaiexamples/README.md with documentation and expected output

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
peter merged commit c3d26725e7 into development 2026-03-04 09:25:01 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_browser_mcp!8
No description provided.