DosterBool/dsh-ocr-seam-guard ↗★ 0
dsh-ocr-seam-guard
Self-healing guard for the dsh-ocr plugin: re-applies the llm-deepseek adapter OCR seam (and the dsh-ocr package fixes) after a dsh upgrade wipes them. Fail-safe: verifies the patched module loads, rolls back on failure.
AI Analysis
核心用途是保障 OCR 插件在系统升级后的可用性。适合已安装 dsh-ocr 插件且经常升级 DSH 的用户。仅支持 npm 全局安装的 DSH 环境。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DosterBool/dsh-ocr-seam-guardREADME
Read the full README ↗Configuration
| Env var | Default | Purpose |
|---|---|---|
DSH_OCR_ADAPTER_FILE | auto-detect (npm global root) | override the adapter file path |
The adapter is located via npm root -g with a fallback to the platform npm global directory;
only npm-global dsh installs are supported out of the box.