jiaoqsh/dsh-document0

@jiaoqsh/dsh-document

DeepSeek Harness bundle: the read_document tool reads Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV, and PDF files as Markdown for the model

AI 분석

核心用途是让 AI 模型能够阅读和解析各种办公及电子书文档。适合需要处理复杂非文本格式文件的用户。支持设置文件大小上限及 PDF 最大页数。

패키지
@jiaoqsh/dsh-document
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 8. 17.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jiaoqsh/dsh-document

Configuration

The bundle's layer inserts one row, document-tools, with schema defaults. Override it by id in your profile's cordis.patch.yml; a patch replaces the whole config, so restate every key you need:

- id: document-tools
  config:
    maxInputBytes: 104857600   # 100 MiB
    readLimit: 2000
    maxLineLength: 2000
    maxOutputBytes: 51200
    pdfMaxPages: 100
    pdfProfile: fidelity
KeyDefaultMeaning
maxInputBytes52428800 (50 MiB)Inclusive byte cap on the source file. Enforced by the filesystem provider before any bytes are buffered; larger files are refused.
readLimit2000Default and maximum number of Markdown lines returned by one call.
maxLineLength2000Maximum characters per returned line; overflow is cut with … [line truncated].
maxOutputBytes51200 (50 KiB)Maximum bytes of line text returned by one call; the window stops early and the footer says how to continue.
pdfMaxPages100Maximum distinct pages one pages selection may name.
pdfProfilefidelityPDF Markdown profile: fidelity keeps source structure, compact spends fewer tokens.

Every numeric value must be a positive integer and pdfProfile one of the two names; anything else fails the plugin load with a message naming the key.