jiaoqsh/dsh-document

jiaoqsh★ 0TypeScript最后同步: 2026-08-15

在 GitHub 打开

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

README 摘要

dsh-document A DeepSeek Harness plugin bundle ( @jiaoqsh/dsh-document ) that gives the model a read document tool: Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV, and PDF files are converted to line-numbered Markdown the model can page through with offset / limit . Conversion runs locally through @firecrawl/anydoc (Rust core, Node bindings, MIT): no API key, no network, no external binaries. Files are read through the harness ctx.fs seam, so whatever filesystem provider and sandbox policy a deployment mounts applies unchanged. Install Into an existing profile ( web , headless , or your own): pnpm ≥ 10 refuses to run a git dependency's prepare script until you allow it; the first add fails and prints the exact key to copy into the profile's pnpm-workspace.yaml ( $DSH HOME/profiles/ /pnpm-workspace.yaml ). The key names the resolved tarball, so a bare package name does not match: Re-run the add . Allowing the build means executing this package's prepare (a tsdown transpile of src/ ) on your machine at install time; pin a commit so a later push cannot change what runs. A packed tarball ( pnpm pack → dsh plugin add ./jiaoqsh-dsh-document- .tgz ) needs no allowance. dsh plugin pr…

在 GitHub 查看完整 README →
工具/开发deepseek-harnessdocxdsh-pluginmarkdownpdf

分类