linkingoscar/dsh-attachment-formats

Codex-style attachment formats for the DeepSeek Harness Web GUI: PDF text-layer extraction, Office text extrac

Attachment expansion for the DSH Web composer, Codex-style: makes it accept PDF, Office (docx/xlsx/pptx), TIFF, epub/odt/rtf, long-document text, and scanned-PDF OCR. PDFs with a text layer are extracted (pymupdf4llm high-fidelity ≤40 pages, pdfjs fallback) onto a document card merged on send; scanned PDFs go through tesseract.js OCR at confidence ≥45 with page-image fallback; epub/odt use in-process jszip + turndown; rtf reports a clear install hint. Over-limit documents spill to the workspace with an index card — never silently truncated.

Web UI Enhancements ★ 3 updated 2026-09-20 ✅ runtime-tested
View on GitHub ↗

Install

dsh plugin --profile web add github:linkingoscar/dsh-attachment-formats

GitHub install per README (English edition): dsh plugin --profile web add github:linkingoscar/dsh-attachment-formats. README also cites the npm alias dsh plugin --profile web add dsh-attachment-formats but npm returned 404 at 2026-08-26 verification — GitHub is reliable. Apache-2.0. Version 0.11.0 badge.

Compatibility

DeepSeek Harness web profile (dsh 0.1.1-rc.2 verified). Reuses the harness-native image draft rail, upload limits, history rendering, and model request pipeline — zero core-package changes.

Details

Recent updates

v0.11.0: PDF text + OCR; Office/TIFF/epub/odt/rtf; document cards; workspace spill + index card; Codex-style pipeline.

FAQ

Which formats are added?
PDF (text-layer and scanned/OCR), docx/xlsx/pptx, TIFF, epub/odt/rtf, and long-document text; images already use the native rail.
Are large documents truncated?
No — over-limit documents spill to the workspace with an index card instead of being silently truncated.
Does it touch the core package?
No — it is a pure plugin reusing the harness-native draft rail, upload limits, history, and model request pipeline.

Alternatives

Johnny-xuan/dsh-paste-to-path · joejojoking-cloud/dsh-file-explorer · dhicoc/dsh-reverse-skill

More plugins in Web UI Enhancements

Browse more in Web UI Enhancements

Guides for Web UI Enhancements plugins