DeepSeek Harness Plugin

miaojinQWQ/dsh-docmate

Category Docs & Rendering Added 2026-11-10

Immersive reading desk: md / docx / pdf render in the centre pane, and the right column is one ordinary Harness session per document that has already been fed the whole text, the research memory and the existing highlights. Select a sentence to ask about it; scanned PDFs and images have no text layer, so a marquee drag captures that region and sends it to a vision model under a turn-scoped runtime brake (max 2 steps, per-step output cap, every tool call denied before dispatch, 45 s cancel). Highlights are anchored as character offsets and painted with the CSS Custom Highlight API, so they survive reloads. Also KaTeX math, outline, in-document search and a draggable three-column layout. Zero runtime dependencies: pdf.js and KaTeX are vendored.

Install

# from a prebuilt release tarball

dsh plugin --profile web add "https://github.com/miaojinQWQ/dsh-docmate/releases/download/v1.0.0/dsh-docmate-1.0.0.tgz"

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:miaojinQWQ/dsh-docmate

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.