83079Vermont/dsh-mineru-parse-plugin0

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 用户。

パッケージ
mineru-parse-dsh-tool
バージョン
0.2.0
ライセンス
MIT
最終更新
2026/08/14

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

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_SCRIPTabsolute path to an alternative parse.ps1; overrides the bundled script 自定义解析脚本,覆盖自带脚本
MINERU_BATconsumed by parse.ps1; absolute path to the MinerU executable 供 parse.ps1 定位 MinerU