DSH Plugins
返回列表
🤖

dsh-plugin

模型推理 更新于 2026.08.15

在终端中运行以下命令:

dsh plugin install qiuchunhuimax/dsh-plugin

将以下提示词粘贴到 DeepSeek Harness 对话框中:

在 DeepSeek Harness 中执行 dsh plugin install qiuchunhuimax/dsh-plugin 即可安装,源码地址为 https://github.com/qiuchunhuimax/dsh-plugin 。

插件介绍

Local OCR has long been a gap in the DeepSeek Harness Web profile: there is no off-the-shelf plugin that speaks both the DSH plugin API and PaddleOCR. dsh-plugin closes that gap by building on the official DSH bundle and tool-registry interfaces and calling the PaddleOCR 3.x Python API, so all recognition runs locally with zero cloud dependency and no reliance on any external DeepSeek-OCR model.

The plugin registers a paddle_ocr model tool that the DSH Agent can invoke within the current workspace, and also exposes an /ocr [ch|en] human command for quick manual runs. Accepted inputs are strictly confined to PDF, PNG, JPG, WEBP, BMP, and TIF/TIFF files inside the workspace; symbolic links are resolved and must not escape that boundary. Each run produces a unique Markdown file under artifacts/paddle-ocr/, never overwriting the source document. All you need is a Python 3 environment with paddleocr 3.x installed, or point PADDLEOCR_PYTHON to the relevant interpreter if OCR lives in a separate virtualenv.

It is built for individuals or small teams who regularly work with scans, invoices, contracts, and similar documents inside the Harness Web console. Just tell the Agent something like "recognize scans/invoice.pdf and tidy up the result," and you get a clean, structured Markdown text without the manual copy-paste and reformatting overhead.

使用场景

  • 识别工作区内的 PDF 发票或合同并输出结构化 Markdown
  • 批量处理 PNG、JPG、TIFF 等扫描件提取文字
  • 通过 Agent 对话直接调用 OCR 工具整理文档内容

适合人员

  • 经常处理扫描件与发票的开发者
  • 使用 DeepSeek Harness Web 构建文档工作流的团队
  • 希望本地运行 OCR 且不依赖云服务的用户