返回目錄

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

53

星數

3

Fork

TypeScript

語言

NOASSERTION

授權條款

2026-08-09

建立於

2026-10-18

最近推送

原生 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 外掛,絕不濫發。