返回目录

dsh-plugin-mineru

编辑精选维护状态: 活跃

huanlinoto/dsh-plugin-mineru

向模型暴露 MinerU 文档解析工具,将 PDF/图片/DOCX/PPTX/XLSX 转为结构化 Markdown/JSON | Exposes MinerU document-parsing tools to the model, converting PDF/images/DOCX/PPTX/XLSX into structured Markdown/JSON

前往 GitHub
$ dsh plugin --profile web add @huanlin/dsh-plugin-mineru

47

星标

2

Fork

TypeScript

语言

NOASSERTION

许可证

2026-08-09

创建于

2026-09-24

最近推送

原生 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

安装步骤

  1. 01

    Install from npm (recommended): `dsh plugin --profile web add @huanlin/dsh-plugin-mineru`

    $ dsh plugin --profile web add @huanlin/dsh-plugin-mineru

  2. 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 适配与能力边界

DSH 适配原生运行时

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 file
  • mineru_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.
2026-08-092026-09-01作者未说明

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` 中配置。

是否经过安全审计?

该插件由维护者按原样提供,目前没有记录在案的独立安全审计。它是一个良性的文档解析集成,并非系统入侵工具。

08数据与来源

  • 作者声明github.com67abfedd5e3b…

    DSH 插件:向模型暴露 [MinerU](https://github.com/opendatalab/MinerU) 文档解析工具。MinerU 可将 PDF、图片、DOCX、PPTX、XLSX 等文件转换为结构化的 Markdown…

页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-09-01。发现错误?提交更正。

🏆

最佳 DeepSeek Harness 插件

从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。

DSH Plugins 是独立的 DeepSeek Harness 插件市场,与 DeepSeek 官方无关,也不代表官方背书。第三方插件未经安全审计,安装前请审查源码。

每周获取最新的 DeepSeek Harness 插件,绝不滥发。