dsh-plugin-verified-search
f0909172434
Verified current-source search workflow for DeepSeek Harness
PROJECT TOPICS
PROJECT README
A paper-review panel for the DeepSeek Harness: upload a PDF paper and read it as structured, selectable text beside the conversation, with figures and display equations rendered visually.
pdftoppm crops +
pdfimages raster extraction), with equation text kept as hidden spans so it
stays searchable.details column), auto sidebar-collapse to make room, floating fallback for
narrow windows, slim tab when collapsed.paper.pdf,
paper.md, paper.html, figures, README with title/abstract) into a
Paper workspace, opens a session there, and asks the agent to load the
paper — each project keeps its own paper, so multiple papers coexist.pdftotext, pdftoppm, pdfimages.brew install popplersudo apt-get install poppler-utilsdsh plugin --profile readPaper add @deepseek-ai/dsh-web-app paper-review
# then start the harness:
dsh --profile readPaper
dsh plugin installs the packages, then reconciles dsh.profile.bundles —
packages that declare dsh.bundle join the profile's layer stack
automatically.
Why
@deepseek-ai/dsh-web-appis included: a profile created on a machine that has never used it before is seeded with only@deepseek-ai/dsh-base(the web surface bundle is not a default for unknown profile names). Adding@deepseek-ai/dsh-web-appexplicitly is what gives the profile the browser GUI this plugin's panel renders into. On a machine where areadPaperprofile already exists with the web app, plaindsh plugin --profile readPaper add paper-reviewis enough.
pdftotext, pdftoppm, pdfimages) —
see Requirements.dsh plugin command (it forwards to pnpm). If pnpm is
missing: corepack enable pnpm or npm i -g pnpm.~/.dsh/profiles/readPaper/packages/paper-review.mkdir -p ~/.dsh/profiles/readPaper/node_modules
ln -s ../packages/paper-review ~/.dsh/profiles/readPaper/node_modules/paper-review
"paper-review" to dsh.profile.bundles in
~/.dsh/profiles/readPaper/package.json.dsh --profile readPaperPaper workspace and opens a
session with the paper loaded as context.~/.dsh/paper-review/ and survive
restarts.lib/index.js (host half): HTTP routes (/paper-review/…) for upload,
conversion, documents, figures, projects, and per-session stores. The
converter extracts word geometry with pdftotext -bbox, rebuilds columns
and lines, classifies blocks (headings, tables, ToC, math), and rasterizes
figure/equation regions with pdftoppm.lib/client.js (client half): the panel, tab, ask dialog, and project
flow. Ships as a hand-written __ModuleLoader__ CJS bundle — no build step.cordis.patch.yml: the bundle patch that inserts the plugin row.npm run check — syntax checks.npm run eval — downloads 10 recent astro-ph papers with their arXiv HTML
versions, converts them, and scores text coverage against the references
(PAPERS=2 npm run eval for a quick run). The corpus lands in eval/run/
(gitignored).CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。