dsh-doc
本地文档智能与OCR处理服务 适合需要离线处理PDF、Office及图片OCR等文档智能任务的用户。
同名套件的其他儲存庫
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Sqhao-O/dsh-docs說明文件
閱讀完整 README ↗Configuration
| Field | Default | Meaning |
|---|---|---|
engine | auto | node, python, or auto; auto selects configured embedded Python, otherwise Node Xberg. |
runtimeDir | unset | Absolute embedded-runtime directory. |
pythonCommand | unset | Trusted Python executable for a managed runtime. |
pythonWorkerPath | shipped worker | Absolute Python worker override. |
tessdataPath | runtime ocr/tessdata | Absolute bundled Tesseract language-data directory. |
ocrBackend | auto | auto or tesseract; both select the pinned local Tesseract backend. |
ocrLanguages | every bundled pack | Ordered local OCR language packs. Unset uses every .traineddata pack in the configured runtime. |
timeoutMs | 120000 | Per-conversion deadline. |
maxFileBytes | 52428800 | Authorized input-size cap. |
allowedLocalRoots | [] | Extra absolute non-root directories the model may read, beyond the session workspace. |
allowWorkspaceFiles | true | Implicitly authorize the session workspace (session cwd) as a readable root; set false for allowlist-only lockdown. |
defaultOcr | false | OCR default for images and scans; enable it only with a configured local tessdata runtime. |
defaultTableMode | accurate | fast or accurate PDF table behavior. |
defaultOutputFormat | md | md, text, or json. |
maxOutputChars | 32000 | Maximum result returned to the model. |
debug | false | Logs safe engine metadata only. |
Older baseUrl, apiKey, enableRemoteUrls, and allowPrivateUrls profile
fields are accepted only for migration; they do not enable a remote engine.