83079Vermont/dsh-mineru-parse-plugin ↗★ 0
mineru-parse-dsh-tool
Self-contained global DSH plugin registering the parse_docs model tool: read PDF/DOCX/PPTX/XLSX/TIFF/batch images via local MinerU as Markdown. Bundles its own parse.ps1; no skill package dependency
AI 분석
核心用途是让模型直接调用本地 MinerU 解析多格式文档。适合需要处理复杂文档解析且不希望依赖其他 Skill 包的 DSH 用户。
설치
검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗
For DSH users / 使用者
## Usage / 使用
Model-invocable tool. Parameters / 模型可直接调用的工具,参数如下:
| Param 参数 | Type 类型 | Description 说明 |
|---|---|---|
| `paths` | `string[]` | **required / 必填** — absolute file paths 绝对路径(可多个,合并为一次调用) |
| `backend` | `auto` \| `hybrid-engine` \| `pipeline` \| `vlm-engine` | default `auto`: /.mineru-output` 输出根目录 |
| `timeout_ms` | `number` | default `600000` |
| `sandbox_permissions` | `workspace-write` \| `danger-full-access` | only with `justification`; widens this one call 仅本次调用升级沙箱权限 |
| `justification` | `string` | one-sentence reason, required with `sandbox_permissions` 一句话理由,与前者成对 |
Example / 示例:
```js
parse_docs({
paths: ["C:\\docs\\report.pdf", "C:\\docs\\fig1.png"],
backend: "auto",
});
Configuration / 配置
| Env var 环境变量 | Purpose 说明 |
|---|---|
DSH_MINERU_PARSE_SCRIPT | absolute path to an alternative parse.ps1; overrides the bundled script 自定义解析脚本,覆盖自带脚本 |
MINERU_BAT | consumed by parse.ps1; absolute path to the MinerU executable 供 parse.ps1 定位 MinerU |