DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Page Evidence — DeepSeek Harness 插件(DSH Plugin)
← Plugins
P

dsh-page-evidence

Page Evidence

面向 DeepSeek Harness 的页面感知 PDF 证据:显示未阅读页面,运行可选的本地 OCR,并保留精确的引文位置。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:XUYE23/dsh-page-evidence#a7ba913b762e6e0be4fb37fbd2b79b978e30ca5d
README兼容性版本

兼容性与来源证明

Page Evidence 以 dsh-page-evidence 发布,当前版本为 0.1.0-alpha.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/10/3

版本

0.1.0-alpha.1prerelease
2026/10/3

相关插件

正在加载相关插件…

最新版
0.1.0-alpha.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/3
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 vision-media 分类下经过校验的插件。

Modlens@liustack/modlens面向仅支持文本的 LLM 的插件视觉能力,由免费的 Antigravity CLI 提供支持Tool Describe Image@linxin666/dsh-tool-describe-image面向模型的 describe_image 工具,用于 dsh Web GUI:通过在兼容 OpenAI 的端点调用视觉语言模型,为文本模型提供图像理解能力,以描述一张图像(本地路径、http(s) URL 或附件引用)。可热插拔 —Vision Routerdsh-vision-router为仅支持文本的 DeepSeek Harness agents 提供视觉能力:内置免费视觉链路和像素级工具。除非配置为严格仅限本地使用,否则远程视觉提供商(包括默认的免费回退服务)会接收图像内容。Vision Toolkit@anionex/dsh-vision-toolkit面向 Harness 原生集成的 DeepSeek 与 agent-vision-toolkit:图像问答、OCR、定位、UI 还原、像素差异、Artifacts 和 Web UI。

README

DSH Page Evidence

Read mixed text/scanned PDFs with visible coverage warnings, local CPU OCR, and quotes tied to physical page numbers.

Experimental alpha. The initial corpus contains two synthetic PDFs. Tested with Node 24 on Windows and the published DSH 0.2.0-rc.2 tool runtime. Full DSH Web installation and real-user document evaluation remain pending. This is an independent community project.

Live demo · Download alpha · 中文 · Demand and alternatives · Validation

Why this exists

Users have reported a scanned-document reading workflow breaking at the image capability gate. Existing DSH document plugins cover upload, OCR, and knowledge bases. This project focuses on page-level evidence integrity.

In a local reproduction of dsh-docintel at commit 7574023, a mixed three-page PDF silently omitted scanned page 2. Its chunker merged page 3 text into a chunk labelled page 1. Page Evidence reports the empty text layer, optionally OCRs that page, and keeps each quote on its physical source page. The fixture and comparison script are included; this finding is specific to the tested version and fixture.

Try locally

Requires Node 24+. Clone the repository and run:

git clone https://github.com/XUYE23/dsh-page-evidence.git
cd dsh-page-evidence
npm ci --ignore-scripts
npm run demo
node src/cli.mjs test/fixtures/mixed-pages.pdf --ocr --query NEBULA
node src/cli.mjs test/fixtures/chinese-scan.pdf --ocr --language chi_sim --query 现金流

Open outputs/demo.html for an interactive comparison built from the actual extraction output. outputs/demo.json contains the underlying results. All PDF processing runs locally. OCR uses packaged English/Simplified Chinese language data; extraction makes no network or model API request. Installation downloads npm dependencies.

DSH plugin

Download dsh-page-evidence-0.1.0-alpha.1.tgz from the alpha release, then run:

dsh plugin --profile web add ./dsh-page-evidence-0.1.0-alpha.1.tgz

Restart DSH. The bundle mounts pdf_page_evidence. Set the plugin row's config.workspaceRoot to the local directory whose PDFs it may read; the default is the host process working directory. An operator patch uses:

- id: page-evidence
  config:
    workspaceRoot: /absolute/path/to/documents

Use the configuration editing mechanism supported by your DSH version. This local-host adapter opens files with Node; SSH/container filesystem providers and DSH filesystem-policy integration are outside the current alpha.

Example tool arguments:

{"path":"report.pdf","pages":[2,3],"ocr":true,"language":"eng+chi_sim","query":"cash flow"}

Returned fields include:

  • File SHA-256 and inspected/uninspected page counts.
  • Per-page text, extraction method, native-text character count, OCR confidence, review and truncation flags.
  • Exact quote offsets with a physical page number and source hash.
  • Warnings for low text coverage, capped text, and pages outside the inspected window.

Literal search requires every query term on the same page. Han-character matching tolerates OCR-inserted spaces and preserves offsets into the original extracted text. This is a bounded evidence reader; semantic retrieval and answer generation are separate consumers.

Integration API

import { inspectPdf } from 'dsh-page-evidence/core';
import { chunkPages } from 'dsh-page-evidence/chunker';
const report = await inspectPdf(pdfBytes, { ocr: true, pages: [1, 2] }, signal);
const chunks = chunkPages(report.pages, 1200);

Every chunk stays inside one physical page. Other RAG/indexing plugins can consume these records. No automatic replacement of another plugin's parser or stored index is performed.

Limits

  • Maximum 32 MiB input, 20 inspected pages per request, 12 megapixels per OCR rendering, and a 120-second default deadline. Each page returns up to 8,000 UTF-16 units by default, with explicit truncation.
  • A page with fewer than 30 non-whitespace native-text characters is flagged. This heuristic can flag valid short pages and blank pages. Image regions inside text-rich pages require separate detection.
  • OCR confidence is an engine score. Source hashes establish file identity. Neither measure proves transcription or semantic correctness.
  • Physical page numbers may differ from printed document labels. Tables, equations, handwriting, multi-column ordering, encrypted PDFs, and damaged files need further evaluation.
  • Text returned through DSH can reach the model provider configured by the user. Treat document content as untrusted evidence.
  • Parsing/OCR uses an isolated worker. Cancellation and deadlines terminate and await that worker. Concurrent requests each own a worker; operators should bound tool concurrency.
  • The current implementation is CPU based; no GPU or cloud model is needed. Optional OCR dependencies must be installed to use ocr: true.

Verification

npm test
npm run test:ocr
npm run test:host
node scripts/compare-upstream.mjs /path/to/reviewed/dsh-docintel

The upstream comparison executes the specified checkout; review it and install its dependencies first. See validation for measured results and remaining gaps.

MIT. See third-party dependencies.