linkingoscar/dsh-attachment-formats

linkingoscar★ 3JavaScript最后同步: 2026-08-15

在 GitHub 打开

Codex-style attachment formats for the DeepSeek Harness Web GUI: PDF text-layer extraction, Office text extraction, scanned-PDF OCR, long-document spill + index cards, image-to-PNG.

README 摘要

dsh-attachment-formats — Attachment Format Expansion (Codex-style) English 中文 A DeepSeek Harness web plugin that makes the composer accept many more attachment formats, Codex-style. Zero core-package changes: a pure plugin that reuses the harness-native image draft rail, upload limits, history rendering and model request pipeline. Supported formats File Handling Destination PNG / JPEG / WebP / GIF native pipeline (plugin not involved) image draft rail (native) PDF (with text layer) text-layer extraction (≤40 pages via the pymupdf4llm high-fidelity engine; larger/unavailable falls back to pdfjs) full text on a document card (merged on send); over-limit → workspace spill + index card PDF (scanned / no text layer) tesseract.js OCR (accepted only at confidence ≥45), falls back to page images OCR success → text channel; failure → image draft rail (vision models only) Word (.docx) / Excel (.xlsx) / PPT (.pptx) text extraction — docx via mammoth HTML → turndown, tables kept as Markdown pipe tables document card (merged on send); over-limit → spill + index card Legacy .doc / .xls / .ppt LibreOffice headless → docx/xlsx/pptx → standard Office pipeline (needs soffice ; clear error when absen…

在 GitHub 查看完整 README →
内容/媒体attachmentdeepseek-harnessdshdsh-plugindsh-plugin-marketdsh-plugin-verifydsh-pluginsocr

分类