dsh-plugin
DayuanJiang/next-ai-draw-iodsh 的 draw.io 绘图插件:通过 next-ai-drawio MCP 服务器作图,点回复里的链接在右侧栏打开实时预览,可以手动修改图,AI 的每次修改都是可以恢复的版本。需 Node.js 18+,首次使用由 npx 下载 MCP 服务器。
DSH 内置文献库(可选导出到 Zotero):通过 Unpaywall/arXiv/自定义 URL 模板获取全文 PDF,Crossref 候选式宽松搜索,APA/GB-T 7714/MLA/Chicago 引用生成,侧窗 PDF 阅读器(高亮与笔记),以及注入当前对话的 AI 问答/翻译。
· 中文 · 💬 QQ group
Detect, download, read and archive academic papers from the DeepSeek Harness side panel. DOIs / arXiv IDs / titles from the conversation drop straight into your local library with full text at hand.
Feedback & chat: join the community QQ group — Join the dsh-literature group — bug reports, usage tips, and quick responses faster than GitHub issues.
npm package: @a9i5k4/dsh-literature
dsh plugin --profile web add @a9i5k4/dsh-literature
dsh plugin --profile web add D:/path/to/dsh-literature (link: protocol)dsh web after installing; a 「Papers」 entry appears in the sidebar
(or merges into the right-sidebar workbench tab when present).DOI / arXiv / PMID / ISBN / titles from replies or pasted text, dedupedzotero_lookup, or paste text containing DOIs / arXiv IDsGear icon in the panel header (sections: Saving & export / Detection & download / Behaviour & UI / Import / Custom sources / Advanced):
| Setting | Description | Default |
|---|---|---|
| Save target | Built-in library (no external app) / Local library (app required) / Folder | Built-in library |
| Export dir / Naming / Sidecars | folder target, name template, CSL-JSON/RIS choice | {author}_{year}_{title} |
| Default tags | comma separated, attached on save | empty |
| Auto-resolve / quoted titles / scan replies | detection & false-positive control | on / on / off |
| Retries / timeout | network retry & timeout control | 3 / 30s |
| Duplicate strategy | ask / keep / replace | ask |
| Entry placement | auto (right-sidebar tab first) / footer / hidden | auto |
| Panel width / reader fit / night mode | floating size & initial reader view / follow dark theme or force | 380px / fit-width / auto |
| Import folder / watch | bring local PDFs into the library (manual or every 30s) | empty / off |
| Custom download sources | your mirrors / proxies / endpoints (with headers) | empty |
When dsh-better-sidebar is installed, the plugin registers a right-sidebar tab via ctx.get('betterSidebar').registerTab and stops using the sidebar footer; otherwise it falls back to the footer entry + floating panel, probing continuously and migrating automatically.
The 「Cite」 menu on every card:
| Mode | Description |
|---|---|
| Reference list | APA 7 / GB/T 7714-2015 / MLA 9 / Chicago 17 entries |
| In-text | (Vaswani et al., 2017) |
| Direct quote | page prompt → (Vaswani et al., 2017, p. 7) |
| BibTeX | full @article{...} entry, ready for JabRef / Overleaf |
Within compliance bounds, add mirrors / institutional proxies / private endpoints you trust in Settings:
{doi} {arxiv} {isbn} {title} {url}Name: Value per line) for token/cookie-gated endpointsCompliance: these sources are your own configuration and your responsibility; the plugin ships no pirated or infringing source.
Only public open-access sources are fetched automatically. For login-gated papers:
Browser panel ── fetch / SSE ──▶ DSH host ──▶ local library (optional) / custom sources
127.0.0.1); non-loopback requests get 403| Component | Version |
|---|---|
| DeepSeek Harness | ≥ 0.1.1-rc.2 (Cordis v4) |
| Local library (optional) | 8.x (Zotero ecosystem, Local API v3 / Connector API) |
| Node | ≥ 20 |
Independent open-source implementation, not affiliated with any library vendor.
Nothing appears after saving? Check the save target; built-in mode is fully offline and needs no app running.
Paywalled paper won't download? Marked 「Login required / paywall」: sign in via 「Open login page」, download, then 「Import local PDF」; or configure custom sources.
Settings not applied? Settings persist instantly; changing the port requires restarting the library app.
npm install
npm run build # outputs lib/
npm run smoke # logic smoke tests
npm run check:client # client bundle shape + apply matrix
npm run test # host end-to-end
src/
├── node/ # host: routes / detection / metadata / download / cite / import / shadow store
│ ├── zotero/ # local-library interaction (read-only queries + Connector writes)
│ ├── metadata/ # Crossref · arXiv · OpenAlex
│ └── fetch/ # OA chain / custom sources / retry
└── client/ # browser: panel UI / cite menus / pdf.js reader (self-bundled)
Trademark notice: not affiliated with Zotero; "Zotero" is a trademark of its owner, used here only to describe compatibility.