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提取管线的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Dantwz7/dsh-doc-routerドキュメント
README 全文を読む ↗Configuration
Every field is optional.
| Field | Default | Effect |
|---|---|---|
pythonPath | (unset) | Interpreter to spawn, taken verbatim — highest priority |
timeoutMs | 120000 | Probe timeout, milliseconds |
maxChars | 120000 | Inline Markdown cap; beyond it pdf_markdown truncates and says so |
noteLanguage | en | Language 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.