@cooberped/dsh-evidence
Independent community DeepSeek Harness plugin for secure multi-file upload, native images, local document retrieval, and coordinate-aware text/PDF/DOCX/XLSX/PPTX reading.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Cooberped/dsh-evidence说明文档
阅读完整 README ↗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
| Setting | Default | Meaning |
|---|---|---|
maxFileBytes | 24 MiB | Maximum bytes for one document read |
uploadMaxBytes | 24 MiB | Maximum bytes for one upload body |
maxUploadBytesPerSession | 512 MiB | Session upload quota; 0 explicitly disables it |
readLimit | 2,000 in the bundled patch; schema fallback 800 | Maximum lines returned by one read_document call |
maxOutputChars | 24,000 | Base character window; narrative formats get smaller format-specific windows |
maxConcurrentUploads | 4 | Admitted upload bodies |
uploadTtlMs | 7 days | Uploaded-file retention |
retrievalEnabled | true | Enables search_documents; read_document remains available when false |
retrievalMaxFiles / retrievalMaxResults | 12 / 12 | Files per search call / evidence blocks returned |
retrievalQueryLogEnabled | false | Persist 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.