Skills Plugins MCP Prompt Model 导航 博客 资讯 我的中心
工具与能力 #arxiv#deepseek-harness#dsh-plugin#pdf

read-paper

DeepSeek Harness 论文阅读面板:把 PDF 转成结构化可选文本(双栏、标题、表格、上下标、目录),渲染图表与公式,支持选中即问。

louwenbo580 @louwenbo580 ⬇ 1 ★ 0 main

安装

dsh plugin --profile web add github:louwenbo580/read-paper
下载安装清单

需要可复现安装时,可在仓库后追加 #commit 固定提交。

DeepSeek Harness 论文阅读面板:把 PDF 转成结构化可选文本(双栏、标题、表格、上下标、目录),渲染图表与公式,支持选中即问。

该插件未提供要点说明,请参考仓库 README。

arxivdeepseek-harnessdsh-pluginpdf
  1. 安装并启动 DeepSeek Harness:npx @deepseek-ai/dsh web
  2. 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
  3. 用 dsh plugins list 确认已安装,必要时重启 Harness 生效

插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。

代码仓库github.com/louwenbo580/read-paper
许可证MIT
主要语言main
下载量1
GitHub 星标0
最近推送2026-08-17
收录日期2026-09-19
分类工具与能力

事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。

以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。

# paper-review

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.

## Features

- **PDF → structured text** (runs on the Harness host, via poppler):
  - two-column layout reconstruction (gutter detection + full-width line reassembly)
  - headings (size + all-caps normalization) and run-in heading splitting
  - tables (geometric column detection, wrapped-cell continuation)
  - sub/superscripts, dot-leader table of contents
  - scanned-PDF fallback to page images
- **Figures and display equations rendered as images** (`pdftoppm` crops +
  `pdfimages` raster extraction), with equation text kept as hidden spans so it
  stays searchable.
- **Right-side reader panel**: real third column when space allows (the harness
  `details` column), auto sidebar-collapse to make room, floating fallback for
  narrow windows, slim tab when collapsed.
- **Ask dialog**: select text → a small dialog appears → type a question
  ("explain this", "how does this relate to…") → the question plus the
  selection, its surrounding context, and the abstract are sent to the model.
- **Projects**: *Create project* materializes the paper (`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.

## Requirements

- DeepSeek Harness (dsh) installed.
- **poppler CLI tools** on PATH: `pdftotext`, `pdftoppm`, `pdfimages`.
  - macOS: `brew install poppler`
  - Debian/Ubuntu: `sudo apt-get install poppler-utils`

## Install

### From npm (recommended)

```bash
dsh 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-app` is 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-app` explicitly is what
> gives the profile the browser GUI this plugin's panel renders into. On a
> machine where a `readPaper` profile already exists with the web app, plain
> `dsh plugin --profile readPaper add paper-review` is enough.

### Prerequisites

- **poppler CLI tools** on PATH (`pdftotext`, `pdftoppm`, `pdfimages`) —
  see [Requirements](#requirements).
- **pnpm** for the `dsh plugin` command (it forwards to pnpm). If pnpm is
  missing: `corepack enable pnpm` or `npm i -g pnpm`.

### Manual install (no npm)

1. Copy this directory into `~/.dsh/profiles/readPaper/packages/paper-review`.
2. Make it resolvable (no pnpm needed):
   ```bash
   mkdir -p ~/.dsh/profiles/readPaper/node_modules
   ln -s ../packages/paper-review ~/.dsh/profiles/readPaper/node_modules/paper-review
   ```
3. Add `"paper-review"` to `dsh.profile.bundles` in
   `~/.dsh/profiles/readPaper/package.json`.
4. `dsh --profile readPaper`

## Usage

- **Paper** tab on the right edge opens the reader column.
- **Load PDF…** uploads (drag-and-drop onto the reader also works).
- Select text → the **ask dialog** appears → type a question, press Enter.
- **Create project** writes the paper into the `Paper` workspace and opens a
  session with the paper loaded as context.
- The converted documents are stored under `~/.dsh/paper-review/` and survive
  restarts.

## How it works

- `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.

## Development

- `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).

## Limitations

- Conversion fidelity depends on the PDF's text layer (scanned papers render
  as page images).
- Display equations are images (their text is preserved as hidden spans);
  inline math is reconstructed as sub/superscript text.
- Content that exists only as PDF annotations (e.g., giant author lists in
  some journals) cannot be extracted.
- The plugin's HTTP routes follow the harness's localhost trust model.

数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。