Dantwz7/dsh-doc-router ↗★ 0

dsh-doc-router

DeepSeek Harness document-routing tools: sniff a file's real format and a PDF's page layout, then extract with the right pipeline — layout-aware Markdown for multi-column papers, MarkItDown for everything else, images for scans. 适合需要根据文件格式和PDF排版自动选择最佳Markdown提取管线的用户。

パッケージ
dsh-doc-router
互換性
未検証
Harness ピア範囲
>=0.2.0-rc.1 <0.3.0-0 || >=0.2.1-rc.1 <0.3.0-0
Cordis ピア範囲
^4.0.2
バージョン
0.6.2
ライセンス
MIT
最終更新
2026/10/26

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Dantwz7/dsh-doc-router

ドキュメント

README 全文を読む ↗

Configuration

Every field is optional.

FieldDefaultEffect
pythonPath(unset)Interpreter to spawn, taken verbatim — highest priority
timeoutMs120000Probe timeout, milliseconds
maxChars120000Inline Markdown cap; beyond it pdf_markdown truncates and says so
noteLanguageenLanguage of every human- or model-facing string — advisory notes, the pdf_markdown refusal, and the skill body: en or zh

This is the config block of the doc-router entry inserted by cordis.patch.yml:

- insert:
    - id: doc-router
      name: dsh-doc-router
      config:
        pythonPath: C:\path\to\python.exe   # optional; highest-priority interpreter
        timeoutMs: 120000                    # optional; probe timeout, ms
        maxChars: 120000                     # optional; inline Markdown cap
        noteLanguage: en                     # optional; 'en' (default) or 'zh'

noteLanguage changes only human-facing text. The verdict, recommend, and probe fields are language-neutral, and routing is identical in either language.