- Inicio
- Plugins
- Herramientas y funciones
- dsh-screen-qa
dsh-screen-qa
qiancheng19494/dsh-screen-qa
Screen Q&A for DeepSeek Harness: capture the screen, read the question with Apple Vision OCR, and answer it with DeepSeek multi-sample voting.
Instalar
dsh plugin --profile web add github:qiancheng19494/dsh-screen-qaREADME
dsh-screen-qa
Screen Q&A plugin (bundle) for DeepSeek Harness on macOS.
Capture the screen → read the question with Apple Vision OCR (on-device, no network) → answer it with DeepSeek
multi-sample voting, deepseek-reasoner review and local verification. The answering engine is the vendored
pure-stdlib core of screen-qa (MIT).
Install
In a DeepSeek Harness session (Desktop or Web):
plugin_manager install_bundle target=/absolute/path/to/dsh-screen-qa
Or publish it to npm and install by package name. After install, enable the bundle in Plugins, then refresh the Web UI if needed. The plugin registers:
- tools
screen_qa_ocr,screen_qa_answer,screen_qa_solve_screen; - the
screen-qaskill (workflow guidance for the agent); - plugin settings:
apiKey,model,baseUrl,useDshModel,llmProvider,llmModel,samples,temperature,verify,adaptive,reasoner,pythonPath,timeoutSec,screenshotDir,keepScreenshots,bridgePort.
Answer bridge (for companion apps)
While the plugin is enabled it also serves a tiny HTTP answer bridge on 127.0.0.1 (default port 53410,
bridgePort: 0 disables it). It lets a native app reuse the already-logged-in DeepSeek Harness model account
without asking for an API key:
GET /health → {"ok":true,"name":"dsh-screen-qa","version":"0.2.0"}
POST /answer {"question":"…", "samples":3, "fast":false} → the solver result JSON
Only loopback requests are served; the bridge is meant for local tools such as the Screen Q&A menu bar app.
Requirements
- macOS 13+ with the system Swift toolchain (
/usr/bin/swiftc); the OCR helper is compiled fromocr/ocr.swifton first use and cached inbin/. - Python 3 (
/usr/bin/python3); the vendored solver uses only the standard library. - Either a DeepSeek API key in the plugin settings /
DEEPSEEK_API_KEY, or simply be logged into DeepSeek Harness: withuseDshModelenabled (the default) the plugin serves the solver through the host's own model account via a loopback OpenAI-compatible proxy — no separate key needed. - Screen Recording permission for DeepSeek Harness for automatic screen capture.
Layout
index.js Cordis plugin: tools + skill registration, config schema
lib/bridge.js loopback answer bridge (GET /health, POST /answer)
cordis.patch.yml bundle patch inserted into the profile
python/ vendored screen-qa engine (solver, verify, prompts, DeepSeek client)
python/solve_text.py stdin JSON → stdout JSON bridge used by the tools
ocr/ocr.swift Apple Vision OCR helper
bin/screen-qa-ocr prebuilt OCR helper (recompiled when ocr.swift is newer)
docs/SKILL.md bundled skill instructions
docs/DETAIL*.md plugin detail page
locale/ plugin title/description
Privacy
OCR happens locally. Only the recognized question text is sent to the configured DeepSeek API endpoint. Temporary
screenshots are deleted after use unless keepScreenshots is enabled.
License
MIT. The vendored answering engine is MIT by its original author — see NOTICE and python/LICENSE.screen-qa.
Plugins relacionados
archify (deepseek-harness)
tt-a1i/archify
WeKnora (dsh-weknora)
tencent/weknora
next-ai-draw-io (dsh-plugin)
dayuanjiang/next-ai-draw-io
AiToEarn (dsh-plugin-aitoearn)
yikart/aitoearn