rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:NIRVANA-APOC/dsh-litnotes
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Put the AI in the margin, not in another window.
A local-first AI literature desk that plugs into the DeepSeek Harness Web UI: a paper library, bilingual reading, annotations and AI conversation that sit on the page, and a knowledge graph grown out of your papers.

Every screenshot was captured from the plugin running for real; the sample paper is Attention Is All You Need, parsed by the local engine with no upload.
Most AI reading tools put the conversation in a floating window: ask a question, switch back to the text, hunt for the quote — attention split in two. dsh-litnotes answers differently: AI belongs in the margin, just as annotations always have.
[n] citations: hover to preview the quoted sentence, click to jump back to it. Quotes are validated verbatim, then checked again for whether they actually support the claim; unverified citations never become annotations.Library — parse status, progress, filters and full-text search![]() |
Import and parse — drop, pick a file or paste a link; three parse engines![]() |
Reading desk — four aspect inks, margin notes, click a highlight for its annotation card![]() |
Bilingual reading — original and translation, paragraph by paragraph![]() |
Select to act — highlight, annotate, ask AI, translate, copy![]() |
AI in the margin — citations jump to the source, follow-ups, export![]() |
Per-paper knowledge graph — the concepts, methods and findings inside one paper![]() |
Library graph — every paper aggregated into topics![]() |
AI 精读 — whole-paper close reading with a page-anchored report![]() |
Annotated by close reading — interpretive notes across the paper, not title/author metadata![]() |
Dark mode · reading![]() |
Dark mode · graph![]() |
原文 p.N).ai.deepRead* keys (call cap, source cap, annotation cap, per-call
output budget, synthesis digest, coverage pass, adjudication).dsh-litnotes is a DSH plugin, and it gives the same library to agents: eight tools, one coordinate system, plus a static system-prompt section that tells the agent when to use them.
| tool | purpose |
|---|---|
library_search |
search passages across the library or one paper; returns documentId/blockKey/page/snippet |
library_read |
metadata and outline, bounded markdown slices, exact block text, or a whole page |
library_ask |
grounded answer with citation coordinates (and auto-created AI annotations) |
library_deepread |
read the persisted close-reading report, or run the whole-paper close reading (slow, costs tokens) |
library_annotate |
list / create / update / delete highlights and margin notes |
library_translate |
translate arbitrary text, or up to 10 cited blocks |
library_graph |
read/search/build/update a paper graph; read/rebuild the library graph |
library_manage |
list/status/URL import/parse/page repair/cancel/rename/delete |
From npm (recommended):
dsh plugin --profile web add dsh-litnotes
Pin a version with dsh plugin --profile web add dsh-litnotes@1.1.0-alpha.2.
From GitHub:
dsh plugin --profile web add https://github.com/NIRVANA-APOC/dsh-litnotes
Or install the prebuilt release tarball (no local build):
dsh plugin --profile web add https://github.com/NIRVANA-APOC/dsh-litnotes/releases/download/v1.1.0-alpha.2/dsh-litnotes-1.1.0-alpha.2.tgz
For local development, point link: at a source checkout:
dsh plugin --profile web add link:/path/to/dsh-litnotes
# or via the plugin manager: plugin_manager install_bundle link:/path/to/dsh-litnotes
Reload the Web UI afterwards. Prerequisites: a DSH Web profile that mounts webServer and connection. Optional services light up the matching features: llm (AI), credentials (persistent MinerU token), translator (translation), officeToPdf (local Office conversion), tokenMeter (context budgeting), systemPrompt (agent hint) and tools (agent tools).
auto engine uses precise parsing when a MinerU token is configured; otherwise it prefers the local engine (the file is never uploaded) and falls back to the token-free lightweight cloud parser for formats local parsing cannot handle.~/.dsh/litnotes/ (or $DSH_HOME/litnotes)
documents/<id>/source.<ext> original file
documents/<id>/parsed/ full.md, content_list.json, images
documents/<id>/annotations.json highlights and margin notes (with AI provenance)
documents/<id>/translations.json paragraph translation cache
documents/<id>/chat.json grounded conversation history
documents/<id>/graph.json per-paper knowledge graph
library-graph.json library-wide knowledge graph
preferences.json reading and AI preferences
strict, noUncheckedIndexedAccess, verbatimModuleSyntax, no any); the host and client halves speak one typed wire contract.pnpm install # dev dependencies only
node scripts/build.ts # build Host index.js and Client lib/client.js
pnpm typecheck # strict type-check
pnpm test # vitest (790 tests)
node scripts/check.ts # 17-check release gate
node scripts/check.ts --final # release gate (warnings are failures)
Requires Node ≥ 20.16. Source lives in src/shared/** (both halves), src/host/** and src/client/**; index.js and lib/client.js are build artifacts.
CI runs the same gate on Node 22 and 24, verifies the npm tarball and the committed build artifacts, and publishes to npm when a GitHub Release is published — see docs/RELEASING.md.
| document | contents |
|---|---|
docs/ARCH.md |
architecture, data formats, HTTP wire contract, build and gate |
docs/PARSING.md |
parse engines, page-scoped repair, annotation re-anchoring |
docs/AGENT.md |
the eight agent tools with a worked flow |
docs/AI-SPEC.md |
grounded chat, citation validation, entailment, knowledge graphs, AI 精读 (close reading) |
docs/UI-SPEC.md |
reading-desk design system and interaction contract |
docs/RELEASING.md |
release checklist, GitHub Actions and npm publishing |
CHANGELOG.md |
release history |
Built as a DeepSeek Harness plugin.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。