跳到主要内容
Plugin

dsh-doc-reader

reg4916/dsh-doc-reader

把 PDF、DOCX、XLSX、PPTX 和文本文件读取为智能体工具,并用 tesseract.js 在本地对扫描版 PDF 或图片做 OCR。提供 doc_read、pdf_read、xlsx_read、doc_meta、doc_ocr 五个工具。

形态
Plugin 插件
安装
npm 包安装
需要密钥
否
近月下载
1,013
最近推送
10 天前更新

项目说明

From README

dsh-doc-reader Read PDF, DOCX, XLSX, PPTX and text documents as agent tools for DeepSeek Harness (dsh) .The built-in read tool returns file text, and web fetch rejects application/pdf — so a PDF, a spreadsheet or a slide deck currently ends up as curl + pip install pypdf inside the session.

This plugin closes that gap with five typed tools that return page-, sheet- and slide-aware text, including local OCR for scans and screenshots.

Screenshots doc read — page-aware PDF text and spreadsheet rows: doc ocr — local OCR for scans and images, with per-page confidence: Tools Tool What it does Key parameters --- --- --- doc read Universal reader: PDF, DOCX, XLSX, PPTX, TXT/MD/CSV/HTML; auto-detects format by magic bytes path \ url , format , pages , sheet , maxRows , maxChars pdf read PDF page by page with --- page N/M --- markers, title/author metadata path \ url , pages (e.

g."1-3,7" ), maxC

Original description

Read PDF/DOCX/XLSX/PPTX documents and OCR scans as agent tools for DeepSeek Harness (dsh).

安装方式

npm 包安装 · 安装无需配置

README 解析
shell
npx pnpm add dsh-doc-reader
shell
npm install
shell
npm test # node --test, runs against test/fixtures

安全能力

静态扫描源码得到的权限画像 —— 回答的是「它要动什么」,而不是「它好不好」

  • 读取文件
  • 访问网络
  • 读取环境变量

未发现已知红线(明文传输、安装期执行代码、凭据外传等)。

能力与红线来自 awesome-dsh-plugin 的静态扫描结果(CC0 公有领域),本站未逐行复核源码; 它只覆盖能被静态识别的模式,不等于安全审计结论。

为什么是这个分数

近 11 天内有提交;README 给出了可直接复制的安装命令;装完即可用,无需额外配置;近月 npm 下载 1013 次,star 不多但真在被使用。

维护活跃
86
实用度
82
生态热度
60
上手便捷
100
信号质量
100
数据置信度
85%
评分怎么算