原生 dsh 插件,将 MinerU 文档解析接入 DeepSeek Harness:提交本地文件,即可通过模型可调用的工具获得结构化 Markdown / JSON。
DSH 适配
原生运行时
作者声明
安全审计
未审计
最后核验
2026-09-01
许可证
NOASSERTION
01它能帮你完成什么?
Let the model parse PDF, images, DOCX, PPTX and XLSX into structured Markdown / JSON inside DeepSeek Harness
Structured Markdown or JSON extracted from the submitted document, returned inline to the model
DeepSeek Harness (dsh) users who need document parsing and knowledge extraction without leaving the agent
02如何接入 DeepSeek Harness?
前置条件
- A running MinerU API host reachable from DSH (baseURL is required, e.g. http://your-mineru-host:18000)
- Official dsh CLI available; for git installs with pnpm >=10 the build must be allowed in pnpm-workspace.yaml
安装步骤
- 01
Install from npm (recommended): `dsh plugin --profile web add @huanlin/dsh-plugin-mineru`
$ dsh plugin --profile web add @huanlin/dsh-plugin-mineru
- 02
Or link a local checkout for development: `dsh plugin --profile web add link:<path-to-dsh-mineru>`
$ dsh plugin --profile web add link:<path-to-dsh-mineru>
验证接入成功
- Run `dsh plugin --profile web list` and confirm @huanlin/dsh-plugin-mineru appears among installed plugins
回滚
- Uninstall with `dsh plugin --profile web remove @huanlin/dsh-plugin-mineru`
03DSH 适配与能力边界
Native dsh plugin installed via `dsh plugin --profile web add @huanlin/dsh-plugin-mineru`; exposes MinerU document-parsing tools to the model
mineru_parse_document
local document file (PDF / image / DOCX / PPTX / XLSX)→extracted markdown text returned to the model
when output exceeds maxMdOutputChars (default 200000) the full content is written to a temp filemineru_submit_parse_job
local document file for asynchronous parsing→task_id returned immediately
mineru_get_parse_status
task_id of a submitted parse job→status: pending / processing / completed / failed
mineru_get_parse_result
task_id of a completed parse job→extracted markdown / JSON result of the parse job
04适合谁?何时不该用?
适合
- DeepSeek Harness (dsh) users who need document parsing and knowledge extraction without leaving the agent
不适合
- baseURL is required and must point to a reachable MinerU API host (e.g. http://your-mineru-host:18000). A test instance may run without authentication, but the endpoint must be configured before use.
05兼容性、维护与安全提示
- baseURL is required and must point to a reachable MinerU API host (e.g. http://your-mineru-host:18000). A test instance may run without authentication, but the endpoint must be configured before use.
- When installing from git with pnpm >=10 you must allow the build in your profile's pnpm-workspace.yaml (`allowBuilds: '@huanlin/dsh-plugin-mineru': true`), otherwise the install will not build.
- Inline markdown returned to the model is capped at maxMdOutputChars (default 200000); content beyond the limit is stored in a temp file instead of being returned inline.
NOASSERTION license · single maintainer (huanlinoto) · no tagged release recorded (latest_release is null)
06常见问题
如何安装 dsh-plugin-mineru?
使用官方 dsh CLI 安装:`dsh plugin --profile web add @huanlin/dsh-plugin-mineru`。本地开发可用 `dsh plugin --profile web add link:<路径>` 链接 checkout。若用 pnpm ≥10 从 git 安装,需在 profile 的 `pnpm-workspace.yaml` 中允许构建。
它有什么作用?
它向模型暴露 MinerU 文档解析工具,可将 PDF、图片、DOCX、PPTX、XLSX 文件转为结构化 Markdown / JSON。推荐的 mineru_parse_document 工具会自动完成提交文件、轮询至完成并返回 markdown。
需要哪些配置?
必须设置 `baseURL` 指向你的 MinerU API 地址(如 `http://your-mineru-host:18000`)。其余如 `apiKeyEnv`、`defaultBackend`、`defaultParseMethod`、`defaultLang`、轮询间隔与输出上限可在 DSH GUI 设置页或 `cordis.patch.yml` 中配置。
是否经过安全审计?
该插件由维护者按原样提供,目前没有记录在案的独立安全审计。它是一个良性的文档解析集成,并非系统入侵工具。
07相关的 DSH 工作流
weknora
作者 tencent
开源的 LLM 知识库平台:把原始文档转化为可检索的 RAG 知识库、自主推理智能体和自动维护的 Wiki 系统,支持多租户部署。
honcho
作者 plastic-labs
用于构建有状态 AI 智能体的记忆库,支持跨会话连续学习与上下文工程。
webnovel-writer
作者 lingfengqaq
基于 Claude Code 的长篇网文辅助创作系统,解决 AI 写作中的「遗忘」和「幻觉」问题,支持 200 万字量级 连载创作。
mirage
作者 strukto-ai
全球首个面向 AI 智能体的统一虚拟文件系统。
08数据与来源
DSH 插件:向模型暴露 [MinerU](https://github.com/opendatalab/MinerU) 文档解析工具。MinerU 可将 PDF、图片、DOCX、PPTX、XLSX 等文件转换为结构化的 Markdown…
页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-09-01。发现错误?提交更正。
最佳 DeepSeek Harness 插件
从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。
