D
@huanlin/dsh-plugin-mineru
v0.2.2 · 4 天前发布
DSH plugin exposing MinerU document parsing tools to the model, with a web UI settings page for the API base URL.
README
dsh-mineru
DSH 插件:向模型暴露 MinerU 文档解析工具。MinerU 可将 PDF、图片、DOCX、PPTX、XLSX 等文件转换为结构化的 Markdown / JSON。
安装
sh
从 git 安装(推荐):
dsh plugin --profile <profile> add github:huanlinoto/dsh-plugin-mineru
从本地 checkout 开发安装:
dsh plugin --profile <profile> add link:D:\Projects\deepseek-harness\dsh-mineru
pnpm ≥10 从 git 安装时,需在 profile 的
pnpm-workspace.yaml 中允许构建:
yaml
allowBuilds:
'@huanlin/dsh-plugin-mineru': true
配置
在 DSH GUI 设置页或
cordis.patch.yml 中配置:
| 字段 | 类型 | 默认值 | 说明 |
|------|------|--------|------|
|
baseURL | string | (必填) | MinerU API 地址,如 http://your-mineru-host:18000 |
|
apiKeyEnv | credential-ref | MINERU_API_KEY | API key 的环境变量名 / 凭据引用。测试实例无需鉴权。 |
|
defaultBackend | enum版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- AGPL-3.0
- npm
- @huanlin/dsh-plugin-mineru
- Repo
- —
- Engines
{"node":">=18.0.0"}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-ui-slots","@deepseek-ai/dsh-client-ui-primitives"],"platform":"web"}}