vuvanmai936-dot/dsh-ocr-bridge0

dsh-ocr-bridge

Paste images into DeepSeek Harness chat and have them read by a free local backend (macOS Vision / Tesseract) before the text-only DeepSeek model answers

包名
dsh-ocr-bridge
版本
0.1.1
许可证
NOASSERTION
最近更新
2026年8月19日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:vuvanmai936-dot/dsh-ocr-bridge

Configuration

All settings are optional. They live in the llm-deepseek settings section (the official DeepSeek section this plugin takes over), so your existing DeepSeek settings keep working.

settings.yaml (or the GUI settings surface):

llm-deepseek:
  visionTimeoutMs: 180000   # per-backend recognition timeout (ms), default 180000
  maxImages: 8              # images recognized per request, 1..32, default 8
  # …all official DeepSeek settings keep working: baseURL, apiKeyEnv, thinking, …

Notes:

  • Over the limit, the request fails with VISION_IMAGE_LIMIT instead of silently dropping images.
  • Recognized observations are cached per (image set + latest user text), up to 64 entries, so re-sending the same screenshot in one conversation does not re-run OCR.
  • DEEPSEEK_API_KEY resolution is fully preserved: ctx.credentials first, then the launch environment, exactly like the official adapter.
  • png / jpeg / webp / gif are all supported (whatever the harness attachment admission accepts).