Lee-Hilex/dsh-mineru1

dsh-mineru

基于 MinerU 的多模态全格式文档解析至结构化 Markdown 插件。

AI 分析

核心用途是将 PDF、Word、PPT 等多种格式文档精准解析为 Markdown。适合需要处理复杂排版文档、绕过大模型原生图片限制的 DSH 用户。

包名
dsh-mineru
版本
0.1.9
许可证
MIT
最近更新
2026年8月16日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Lee-Hilex/dsh-mineru

Configuration

Configuration resolves in three layers, later wins: schema defaults ← composition layer (the mineru row config in a profile patch) ← user settings (written through the Web Settings card).


## Usage tips

- **Drag-and-drop**: drop a file into the chat — it is saved to the session workspace and its **path is filled into the composer draft (never auto-sent)**; add your request and send. This bypasses the native image-attachment channel that text-only models reject;
- **URL caveat**: MinerU fetches the URL server-side — **it cannot reach blocked sites** (github.com, AWS, etc.). Download such documents locally first and pass a path;
- **Page ranges**: Precision uses `pageRanges` (`"2,4-6"`; `"2--2"` = 2nd from last); Agent uses `pageRange` (`"1-10"`);
- **Long documents**: prefer Precision + `pageRanges` in chunks; the `vlm` model handles formulas and complex layouts best;
- **Timeout recovery**: a timeout is not a failure — the task keeps running server-side; collect it later with `mineru_task` + `taskId`;
- **HTML documents**: Precision only, and the `MinerU-HTML` model is forced automatically;
- **HTML daily quota**: HTML submissions have a separate official cap (max 100/day).