Skip to content

Feature/remote control - #1

Merged
LBatsoft merged 10 commits into
masterfrom
feature/remote-control
Dec 18, 2025
Merged

LBatsoft merged 10 commits into
masterfrom
feature/remote-control

Conversation

@LBatsoft

Copy link
Copy Markdown
Owner

No description provided.

liubo235 added 10 commits December 16, 2025 15:20
- Replace Playwright mouse/keyboard APIs with CDP Input.dispatchMouseEvent
- Replace Playwright keyboard APIs with CDP Input.dispatchKeyEvent
- Add issue tracking document (docs/remote_control_issues.md)
- Improve frontend coordinate calculation with debug mode
- Add mousemove throttling and boundary checks
- Architecture:
  - Add Gateway service (gateway.py) for unified entry and load balancing
  - Add NodeRegistry (core/registry.py) for Redis-based service discovery
  - Update http_server.py to support worker registration and heartbeat
  - Add Dockerfile and docker-compose.yml for containerization

- Remote Control & UI:
  - Add multi-tab support in frontend (static/remote.html) and backend (cdp_client.py)
  - Implement tab switching logic via WebSocket
  - Add scroll event throttling (100ms) to reduce latency
  - Optimize screencast resolution (max 1280x720)
  - Fix coordinate mapping issues with adaptive image scaling

- Configuration:
  - Update config.py to support environment variables
  - Add daily summary doc
- Robustness:
  - Implement retry mechanism in Gateway for session creation and proxy requests
  - Improve WebSocket proxy error handling and cleanup logic
  - Fix gateway.py logging configuration bug

- Security:
  - Add API Key authentication (X-API-Key) for client access
  - Add Cluster Secret authentication (X-Cluster-Secret) for internal service communication
  - Enforce cluster secret validation in Worker nodes (http_server.py)

- Testing & Docs:
  - Add local integration test script (scripts/test_local_cluster.py)
  - Update docker-compose.yml with auth environment variables
  - Add daily summary for 2025-12-18
@LBatsoft
LBatsoft merged commit 71c508b into master Dec 18, 2025
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant