@a9i5k4/dsh-literature 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -32,12 +32,13 @@ dsh plugin --profile web add @a9i5k4/dsh-literature
32
32
  - **自动识别** —— 从模型回复或粘贴文本解析 `DOI` / `arXiv` / `PMID` / `ISBN` / 标题,自动去重
33
33
  - **元数据抓取** —— Crossref / arXiv / OpenAlex,自动补全标题、作者、期刊、年份、摘要
34
34
  - **全文下载** —— OA 多源(arXiv → OpenAlex OA → Unpaywall → DOI → 出版商链接),失败明确分类并支持重试;可配置自定义下载源
35
- - **引用生成器** —— Scribbr 风格:参考文献 / 文内引用 / 直接引用(带页码)× APA 7 / GB/T 7714 / MLA 9 / Chicago 17,一键复制
36
- - **库管理** —— 扫描导入文件夹(文件名自动识别 DOI/arXiv/标题)、从本地文献库批量导入、自动监控新 PDF、条目增删
37
- - **侧窗阅读** —— 内置 PDF 阅读器:缩放、翻页、目录跳转、全文搜索、多色高亮与笔记
35
+ - **引用生成器** —— Scribbr 风格:参考文献 / 文内引用 / 直接引用(带页码)× APA 7 / GB/T 7714 / MLA 9 / Chicago 17 / **BibTeX**,一键复制;卡片**右键**直达引用菜单
36
+ - **库管理** —— 扫描导入文件夹(文件名自动识别 DOI/arXiv/标题)、从本地文献库批量导入、自动监控新 PDF、条目增删;**标签**与**状态过滤**、**排序**(添加时间/标题/年份);**多选批量导出** RIS / BibTeX / CSL-JSON
37
+ - **侧窗阅读** —— 内置 PDF 阅读器:缩放、翻页、目录跳转、全文搜索、多色高亮与笔记(**支持简单 Markdown**:加粗/斜体/行内代码);**阅读位置记忆**、**键盘快捷键**(←/→ 翻页、+/- 缩放、/ 搜索、Esc 关闭)、**夜读模式**(跟随暗色主题或手动开关)、**页面缩略图侧栏**(≤50 页)、**一键导出全部高亮与笔记为 Markdown**
38
38
  - **AI 助手联动** —— ChatPDF / SciSpace 式划词操作:选中文字即可**翻译 / 解释 / 总结**;工具栏可**对全文提问**(基于 PDF 文本回答)或一键**总结全文**;结果直接发送到当前 DeepSeek Harness 对话,可继续追问
39
39
  - **全网入口** —— 每条文献直达 Google Scholar / 百度学术 / 知网 / 来源页
40
40
  - **冲突预览** —— 库中已有相似条目时,先展示字段级差异再决定保留 / 覆盖 / 合并
41
+ - **中英文双语界面** —— 界面语言可切换:**跟随宿主** / **简体中文** / **English**,选择后立即生效无需重启;服务端返回的提示与错误信息同样按当前语言呈现,英文界面下不会出现中文提示
41
42
  - **完全本地** —— 所有请求经本机回环接口转发,无遥测、无云端中转、无账号依赖
42
43
 
43
44
  ## 🚀 快速开始
@@ -65,7 +66,7 @@ dsh plugin --profile web add @a9i5k4/dsh-literature
65
66
  | 重试次数 / 下载超时 | 网络重试与超时控制 | 3 次 / 30s |
66
67
  | 重复条目策略 | 询问 / 保留库中 / 覆盖为新版本 | 询问 |
67
68
  | 入口位置 | 自动(优先右侧栏 tab)/ 固定左侧栏 / 隐藏 | 自动 |
68
- | 面板宽度 / 阅读器默认缩放 | 浮窗尺寸与阅读初始视图 | 380px / 适应宽度 |
69
+ | 面板宽度 / 阅读器默认缩放 / 夜读模式 | 浮窗尺寸与阅读初始视图 / 跟随暗色主题或强制开关 | 380px / 适应宽度 / 自动 |
69
70
  | 导入文件夹 / 自动扫描 | 本机 PDF 入库(手动或每 30s 自动) | 空 / 关 |
70
71
  | 自定义下载源 | 自建镜像 / 机构代理 / 专属端点(含请求头) | 空 |
71
72
 
@@ -82,6 +83,7 @@ dsh plugin --profile web add @a9i5k4/dsh-literature
82
83
  | 参考文献 | APA 7 / GB/T 7714-2015 / MLA 9 / Chicago 17 完整条目 |
83
84
  | 文内引用 | `(Vaswani et al., 2017)` / `(Vaswani等,2017)` |
84
85
  | 直接引用 | 输入页码后生成 `(Vaswani et al., 2017, p. 7)` 等 |
86
+ | BibTeX | `@article{...}` 完整条目,可直接粘贴 JabRef / Overleaf |
85
87
 
86
88
  ## 🔌 自定义下载源
87
89
 
package/README_EN.md CHANGED
@@ -35,12 +35,13 @@ dsh plugin --profile web add @a9i5k4/dsh-literature
35
35
  - **Auto-detection** — parse `DOI` / `arXiv` / `PMID` / `ISBN` / titles from replies or pasted text, deduped
36
36
  - **Metadata** — Crossref / arXiv / OpenAlex fill in title, authors, journal, year, abstract
37
37
  - **Full-text download** — OA multi-source chain (arXiv → OpenAlex OA → Unpaywall → DOI → publisher link), classified failures with retry; user-configured custom sources
38
- - **Citation generator** — Scribbr-style: reference list / in-text / direct quote (with page) × APA 7 / GB/T 7714 / MLA 9 / Chicago 17, one-click copy
39
- - **Library management** — scan an import folder (DOI/arXiv/title inferred from file names), batch-import from a Zotero-ecosystem library, optional folder watch, add/remove entries
40
- - **Side-panel reader** — built-in PDF viewer: zoom, pages, outline, full-text search, multi-colour highlights and notes
38
+ - **Citation generator** — Scribbr-style: reference list / in-text / direct quote (with page) × APA 7 / GB/T 7714 / MLA 9 / Chicago 17 / **BibTeX**, one-click copy; **right-click** any card for the citation menu
39
+ - **Library management** — scan an import folder (DOI/arXiv/title inferred from file names), batch-import from a Zotero-ecosystem library, optional folder watch, add/remove entries; **tags** and **status filters**, **sorting** (added time / title / year); **multi-select batch export** of RIS / BibTeX / CSL-JSON
40
+ - **Side-panel reader** — built-in PDF viewer: zoom, pages, outline, full-text search, multi-colour highlights and notes (simple **Markdown notes**: bold / italic / inline code); **reading-position memory**, **keyboard shortcuts** (←/→ page, +/- zoom, / search, Esc dismiss), **night reading mode** (follows the dark theme or forced), **thumbnail sidebar** (≤50 pages), **one-click Markdown export** of all highlights & notes
41
41
  - **AI assistant** — ChatPDF / SciSpace-style selection actions: **translate / explain / summarize** the selected passage, **ask questions about the full text**, or generate a **paper summary** — answers are steered into your current DeepSeek Harness chat, so you can keep asking follow-ups
42
42
  - **Search portals** — every item links to Google Scholar / Baidu Xueshu / CNKI / source page
43
43
  - **Conflict preview** — field-level diff against existing entries before saving
44
+ - **Bilingual UI** — switch the interface language between **Follow host** / **简体中文** / **English**; the choice applies immediately with no restart, and server-side notices and error messages follow the active language, so no Chinese text leaks into the English UI
44
45
  - **Fully local** — loopback-only routes, no telemetry, no cloud relay, no account
45
46
 
46
47
  ## 🚀 Quick Start
@@ -62,7 +63,7 @@ Gear icon in the panel header (sections: Saving & export / Detection & download
62
63
  | Retries / timeout | network retry & timeout control | 3 / 30s |
63
64
  | Duplicate strategy | ask / keep / replace | ask |
64
65
  | Entry placement | auto (right-sidebar tab first) / footer / hidden | auto |
65
- | Panel width / reader fit | floating size & initial reader view | 380px / fit-width |
66
+ | Panel width / reader fit / night mode | floating size & initial reader view / follow dark theme or force | 380px / fit-width / auto |
66
67
  | Import folder / watch | bring local PDFs into the library (manual or every 30s) | empty / off |
67
68
  | Custom download sources | your mirrors / proxies / endpoints (with headers) | empty |
68
69
 
@@ -79,6 +80,7 @@ The 「Cite」 menu on every card:
79
80
  | Reference list | APA 7 / GB/T 7714-2015 / MLA 9 / Chicago 17 entries |
80
81
  | In-text | `(Vaswani et al., 2017)` |
81
82
  | Direct quote | page prompt → `(Vaswani et al., 2017, p. 7)` |
83
+ | BibTeX | full `@article{...}` entry, ready for JabRef / Overleaf |
82
84
 
83
85
  ## 🔌 Custom download sources
84
86