d3ro-voice/apps/desktop/tests
Yun Chan 03cd8bf890 feat(desktop): screen text capture (OCR) overlay with selectable text
A rebindable screen-ocr action (default Ctrl+Alt+O) freezes the monitor under the cursor and
covers it with a focusable overlay. Text is selected by flow drag, rectangle drag, double/triple
click, Shift+click or Ctrl+A, then copied, saved as PNG or searchable PDF, translated,
summarized, read aloud, opened as a link or searched.

- Selection, text assembly and the PDF document are pure functions in @d3ro/core/screen-ocr,
  shared by the main process and the overlay.
- Recognition uses Windows.Media.Ocr through powershell.exe -EncodedCommand with 2x upscaling;
  the capture reaches disk only as a temp PNG that is removed right after recognition.
- Capture uses GDI BitBlt for the target monitor (39 ms) because desktopCapturer captured all
  three monitors and took 2.9 s when DXGI duplication timed out.
- The accelerator is reserved only where the feature is available, so macOS does not swallow
  the key for a feature it cannot run (fails closed with a message).

Map: CAP-17 [~], GAP-OCR-01 (live hotkey journey not yet driven in the running app),
GAP-OCR-02 (macOS engine, mixed-language accuracy).
2026-11-20 15:16:37 +09:00
..
e2e chore: land in-progress workspace changes before 1.16.2 2026-11-05 21:58:44 +09:00
eval feat(desktop): built-in Han/Eng layout auto-switching, terminal/Vim support, and Unicode input 2026-10-27 10:48:07 +09:00
helpers feat: ship Wave 5-6 multi-surface hygiene, optimization, and bug fixes 2026-11-14 11:51:41 +09:00
integration feat: 회의 파일 가져오기와 입력 엔진 배포 보완 2026-11-01 19:39:06 +09:00
main feat(desktop): screen text capture (OCR) overlay with selectable text 2026-11-20 15:16:37 +09:00
red feat: ship Wave 5-6 multi-surface hygiene, optimization, and bug fixes 2026-11-14 11:51:41 +09:00
renderer feat(desktop): built-in Han/Eng layout auto-switching, terminal/Vim support, and Unicode input 2026-10-27 10:48:07 +09:00
shared
unit feat: ship Wave 5-6 multi-surface hygiene, optimization, and bug fixes 2026-11-14 11:51:41 +09:00
setup.ts fix(keybinding): release held shortcuts and modifiers when the screen locks or the PC sleeps 2026-10-21 00:28:40 +09:00