-
perf: RDP event-driven frames + MCP terminal \r fix
All checks were successfulBuild & Sign Wraith / Build Windows + Sign (push) Successful in 4m28sreleased this
2026-03-26 20:44:53 +00:00 | 42 commits to main since this releaseRDP performance overhaul:
- Switched from polling (rAF loop calling rdp_get_frame every tick)
to event-driven rendering (backend emits rdp:frame:{id} when
frame buffer updates, frontend fetches on demand) - Eliminates thousands of empty IPC round-trips per second when
the screen is idle - Backend passes AppHandle into run_active_session for event emission
- Frontend uses listen() instead of requestAnimationFrame polling
MCP terminal fix:
- terminal_type and terminal_execute now send \r (carriage return)
instead of \n (newline) — PTY terminals expect CR to submit - Fixes commands not auto-sending, requiring manual Enter press
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
Downloads
- Switched from polling (rAF loop calling rdp_get_frame every tick)