Skip to content

feat(screen-relay): add @midscene/screen-relay remote desktop package - #3434

Open
await-ovo wants to merge 8 commits into
mainfrom
feat/screen-relay
Open

await-ovo wants to merge 8 commits into
mainfrom
feat/screen-relay

Conversation

@await-ovo

Copy link
Copy Markdown
Collaborator

Summary

Add @midscene/screen-relay to automate remote desktops (Windows, macOS, Linux), Docker/CI containers, and local desktops via screen-relay over HTTP/WebSocket, without native input dependencies on the controller machine.

  • Package (packages/screen-relay): ScreenRelayDevice, ScreenRelayAgent, agentForScreenRelay(), ScreenRelayMidsceneTools, and midscene-screen-relay CLI with capability-based actionSpace() pruning, #token= parsing & CLI log redaction, /control WebSocket drag/swipe, and X11 non-Latin-1 clipboard fallback.
  • Tests & CI: Unit tests (tests/unit-test), live desktop + AI tests (tests/ai, test:ai), and .github/workflows/screen-relay.yml.
  • Docs: Bilingual setup & SDK docs (apps/site/docs/{en,zh}/{platforms,sdk}/screen-relay.mdx), sidebar navigation, and README updates.

Validation

  • pnpm --dir packages/screen-relay exec tsc --noEmit -p tsconfig.json
  • pnpm --filter @midscene/screen-relay build
  • pnpm --filter @midscene/screen-relay test (23 passed)
  • pnpm --dir apps/site exec rspress build
  • pnpm run lint
  • Live Docker X11 run of tests/ai/real-session.test.ts and tests/ai/ai-smoke.test.ts

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Deploying midscene with  Cloudflare Pages  Cloudflare Pages

Latest commit: bc42779
Status:🚫  Build failed.

View logs

@await-ovo
await-ovo marked this pull request as ready for review November 25, 2026 01:56
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