rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:fexas/dsh-paper-desk
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A Zotero-shaped paper desk for DeepSeek Harness. It adds a Papers entry to the DSH sidebar, a three-pane PDF reader and a per-project mind map: the normal DSH sidebar on the left, the document or canvas in the middle, and a DeepSeek chat / Markdown notebook on the right.
本项目也适合中文用户:界面、AI 精读笔记和共读对话默认使用中文。
Author et al. - Year - Title). Title, authors and year are read from the
PDF metadata and first page.paper.pdf, notes.md
and any appendix or supplementary files. Extra files are stored verbatim and
never parsed.$...$, $$...$$, \(...\) and \[...\] render
in notes and chat using KaTeX's HTML layout with embedded KaTeX fonts.
Code spans and currency are left alone.paper-desk/
projects/
scaling-inference-for-sbi/
project.json
mindmap.json # research or learning map
mindmap-chat.json # project-level AI conversation
papers/
kuhmichel-et-al-2026-high-dimensional-simulation-based-inference/
paper.pdf
paper.txt # extracted text (AI context)
notes.md # Markdown notebook
annotations.json # highlights + paragraph notes
chat.json # co-reading conversation
attachments/ # appendix, supplementary material, ...
Paper Desk uses the active DSH profile's provider/model. It does not ask for a separate API key. When provider/model are not configured explicitly it selects the first DeepSeek Flash/Chat route available in the profile.
In DSH, open Settings → Plugins, install the bundle from GitHub
(fexas/dsh-paper-desk), and enable it. Restart DSH if the host asks for a
restart after installing a new package.
If your DSH version exposes the plugin command directly, the equivalent local checkout flow is:
git clone https://github.com/fexas/dsh-paper-desk.git
cd dsh-paper-desk
npm ci
npm run build
Then add this directory as a file: dependency of the active DSH profile and
select dsh-paper-desk in that profile's bundle list (see the
DSH plugin documentation).
The host half has no build step; client.js is the pre-built browser half.
The default data directory depends on how the plugin is installed:
| Install | Default projects/ location |
|---|---|
| Linked local checkout | <plugin-root>/projects/ |
Managed plugin (under node_modules) |
$DSH_HOME/paper-desk/projects/ (usually ~/.dsh/paper-desk/projects/) |
Override it in the plugin row:
- id: dsh-paper-desk
name: dsh-paper-desk
config:
provider: deepseek-account
model: deepseek-flash
# dataDir: /absolute/path/to/paper-desk-projects
The data directory contains project.json plus one folder per paper. Deleting
a project or paper moves it to projects/.trash/ rather than destroying it.
PDFs, text, notes, annotations and chat history are local files; nothing is
sent anywhere except the model requests made by DeepSeek.
browser (client.js) host (host/service.js)
────────────────── ───────────────────────
React slot UI Typert Remote `paperDesk`
PDF.js viewer + KaTeX projects/, uploads, files
highlight / note state <──RPC──> annotations.json, notes.md
DeepSeek chat + note UI chat.json, paper.txt
DeepSeek call via ctx.llm
client.js is a single browser module built from client/ with esbuild.
PDF.js, KaTeX fonts and React Flow CSS are bundled, so no CDN or extra asset
route is needed.paperDesk Remote namespace. The browser never gets
direct filesystem access.Every project has a single mindmap.json. Open it from the 项目脑图 banner or
the header button in a project.
Templates are just seeded nodes. Every title, Markdown body and edge is editable, and 整理布局 runs a dagre layout for the current graph.
Open 论文库, then click or drag a paper onto the canvas. A paper node keeps
a stable paperId; any node can also reference papers from the node inspector.
The inspector shows incoming backlinks for the selected node, and clicking a
paper chip opens its reader. This gives a lightweight Zettelkasten-style graph:
papers, concepts, questions and experiments live in one canvas and connect in
both directions.
The right pane switches between 对话 and 节点:
The reader shell opens as soon as the paper record arrives. PDF bytes are read in eight parallel range requests, page 1 renders before the remaining page boxes and text layer are resolved, and recently opened PDFs stay in a small in-memory LRU cache. PDF.js runs its worker bundle on the page thread, which avoids a Chromium/Electron worker handshake failure that can otherwise hang the viewer. AI note generation runs alongside PDF loading; a compact progress card shows the live stage and disappears when the note is written.
npm ci
npm run build # rebuild client.js
npm run check # syntax-check host and built client
Source layout:
host/service.js — projects, chunked uploads, annotations, notes, LLM callsclient/App.jsx — project library, paper rows, reader shell, chat and notesclient/PdfViewer.jsx — PDF.js canvas/text/highlight viewerclient/MindMapPage.jsx — React Flow canvas, paper tray, node inspector and map chatclient/markdown.js — Markdown + KaTeX formula renderingclient/styles.css — DSH-token-based UI styleshost/mindmap.js — research/learning templates and graph normalisationbuild.mjs — esbuild bundle, PDF.js worker embedding, inline KaTeX fonts and React Flow CSSPull requests are welcome. Please keep the UI on DSH theme tokens
(--dsw-alias-*) and do not add a separate app shell, CDN dependency or a
second filesystem root.
MIT. See LICENSE and THIRD_PARTY_NOTICES.md. Bundled third-party code includes PDF.js (Apache-2.0), KaTeX (MIT), React Flow, dagre, marked, DOMPurify and lucide.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。