jiaoqsh/dsh-document0

@jiaoqsh/dsh-document

DeepSeek Harness 插件包:提供 read_document 工具,可将 Word、PPT、Excel、PDF 等多种格式文件转换为 Markdown 供模型阅读。

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.