feat: screen viewing, Jarvis sees the whole screen, a monitor or a window for registered people

- screenView tool (screen_view.spec.md): whole screen, monitor by number, window by part of its
  title or program, or the list of monitors and windows; fast, normal or detailed pictures.
- The app captures with Windows Graphics Capture (app/src/screen.rs, admin.spec.md "Screen
  viewing"), decides for the asker (only people registered for PC control), never picks, lists
  or shows excluded programs (pcControl.screenExclude, password managers by default), refuses
  minimised windows and black pictures, and records screen.view in the activity log.
- Pictures ride on the tool message (ToolExecutionResult.images); llm.py sends them to
  OpenAI-compatible servers as image parts after the tool messages. They stay in that reply only:
  not in the tool carryover, logs or prompt dumps.
- The LLM reads pictures only when screen viewing is available (--vision gpu normally, cpu in a
  game), measured apart for the placement; otherwise screenView is a disabled tool.
- Worker: screen_action / screen_action_result, 4 MiB messages.
- Eval evals/test_screen_view_tool.py; Windows check tests/screen_windows.rs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
javis-bot
2026-11-15 17:02:59 +09:00
parent bd7b69d4f4
commit 53bccb620d
39 changed files with 1844 additions and 68 deletions

View File

@@ -26,7 +26,8 @@
- **사람별 지침**: "앞으로 나한테는 반말로 해", "날씨는 섭씨로만"처럼 말하면 그 사람의 지침으로 저장하고, 그 사람에게 답할 때만 따릅니다. 관리 앱 "사람별 지침" 화면에서 보고 고칠 수 있습니다.
- **대화 기억**: 본인이 말했던 기록, 등록한 채팅 채널, 같은 음성 채널에 함께 있던 다른 사람 말에서 이번 질문과 관련된 내용을 찾아 답할 때 참고합니다. 다른 사람 말 참고는 GUI에서 끌 수 있습니다.
- **화면 보기**:
- 전체 화면, 모니터별, 프로그램(창)별 화면을 자비스가 직접 봅니다.
- 전체 화면, 모니터별, 프로그램(창)별 화면을 자비스가 직접 봅니다. 관리 앱 "PC 제어" 화면에 등록한 사람만 시킬 수 있습니다.
- 비밀번호 관리자처럼 보면 안 되는 프로그램은 "화면 보기에서 뺄 프로그램"에 넣으면 그 창을 고르지 않고, 전체 화면에서도 검게 가립니다. 캡처한 그림은 그 답에만 쓰고 저장하지 않습니다.
- "2번 화면에 뭐 떠 있어?" 같은 질문도 1.5~2.5초 안에 답하는 것을 목표로 합니다.
- 다른 사람의 디스코드 화면공유는 자비스가 말로 공유 창 분리(팝아웃)를 부탁하고, 분리된 창만 캡처해서 봅니다.
- **게임 모드**: