D
dsh-pdf
v0.1.0 · 4 天前发布
PDF toolbox for DeepSeek Harness: extract text, metadata, and page ranges from PDF files (local parsing, no API key).
README
dsh-pdf
English | 中文
DeepSeek Harness PDF 工具箱:从 PDF 文件中提取文本、元数据与页码范围。本地解析(基于 PDF.js / pdfjs-dist)——无需 API key、无需网络。
功能特性
pdf_read 工具:逐页提取文本,带页码标记。"1-3,5" 或 "all"——大文档可分块读取。ctx.fs)读取,部署的权限与沙箱策略自动生效。安装
从 GitHub 安装
sh
dsh plugin --profile web add "github:sunshine-lang/dsh-pdf"
然后重启 dsh --profile web。lib/ 已预构建并提交,安装无需构建权限。
从 npm 安装(发布后可用)
sh
dsh plugin --profile web add dsh-pdf
从本地源码安装(开发)
sh
dsh plugin --profile web add ./dsh-pdf
注意:pnpm 对 link: 方式的本地依赖不会自动安装其依赖,需要手动添加到 profile(通过 registry 或 GitHub 安装则会自动处理):>
```sh
>
版本兼容矩阵
| 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
- MIT
- npm
- dsh-pdf
- Repo
- git+https://github.com/sunshine-lang/dsh-pdf.git
- Engines
{"node":">=22.19"}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"}}