ralfsqual/dsh-pdf-reader0

dsh-pdf-reader

DSH PDF 读取插件:注册 read_pdf 工具,用 pdfjs-dist 提取 PDF 文本(路径限定工作区内,纯本地解析)。

AI 분석

核心用途是让 Agent 具备本地读取和解析 PDF 文件的能力。适合需要对工作区内的 PDF 文档进行摘要、问答和分析的用户。

패키지
dsh-pdf-reader
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 8. 15.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ralfsqual/dsh-pdf-reader

Usage / 使用

Tell the agent to read a PDF, or combine it with an @ file mention (e.g. via dsh-at-file):

Read @docs/spec.pdf and summarize the requirements.
读取 @docs/report.pdf 并总结要点。

Tool parameters

ParameterTypeDescription
pathstringPDF path, relative to the current working directory or an absolute path inside the workspace. / 相对当前工作目录或工作区内绝对路径
maxPagesnumberMax pages to extract, default 500; 0 = no limit. / 最多提取页数
maxCharsnumberMax characters to return, default 120000. / 最多返回字符数