Cooberped/dsh-evidence0

@cooberped/dsh-evidence

独立的社区 DeepSeek Harness 插件:支持安全的多文件上传、原生图像、本地文档检索以及感知坐标的文本/PDF/DOCX/XLSX/PPTX 读取。

AI 分析

核心用途是提供安全的多格式本地文档读取与检索。适合需要处理复杂办公文档(如 PDF、Excel、PPT 等)并进行本地知识检索的用户。需要 Node.js >=22.13.0 和 pnpm 环境。

套件
@cooberped/dsh-evidence
版本
0.6.0-beta.1
授權
MIT
最近更新
2026年8月28日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Cooberped/dsh-evidence

Configuration

The bundle ships conservative defaults in cordis.patch.yml. Harness applies user profile overlays after bundle layers, so inspect the composed result before boot:

dsh --profile web --dump-config
SettingDefaultMeaning
maxFileBytes24 MiBMaximum bytes for one document read
uploadMaxBytes24 MiBMaximum bytes for one upload body
maxUploadBytesPerSession512 MiBSession upload quota; 0 explicitly disables it
readLimit2,000 in the bundled patch; schema fallback 800Maximum lines returned by one read_document call
maxOutputChars24,000Base character window; narrative formats get smaller format-specific windows
maxConcurrentUploads4Admitted upload bodies
uploadTtlMs7 daysUploaded-file retention
retrievalEnabledtrueEnables search_documents; read_document remains available when false
retrievalMaxFiles / retrievalMaxResults12 / 12Files per search call / evidence blocks returned
retrievalQueryLogEnabledfalsePersist normalized model queries for local tuning
trustedHosts[]Additional reverse-proxy authorities; empty means loopback only

Less common settings and their authoritative defaults live in src/index.ts. An explicit retrievalIndexDir must be an absolute private path; ~ is not expanded.

Runtime backend. The package requires Node.js >=22.13.0 — the floor pdfjs-dist sets, and Node 20 reached end of life on 2026-04-30. A persistent retrieval index additionally needs the runtime to provide node:sqlite with FTS5 compiled in; when the startup probe finds either missing, the complete but process-local JS backend takes over. Tool output reports the selected backend — the fallback is a supported mode, not a silent partial success.