papersearch 0.7.3 → 0.8.0

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.
Files changed (170) hide show
  1. package/LICENSE-paper-search-mcp-nodejs +24 -0
  2. package/NOTICE +8 -37
  3. package/README.en.md +7 -3
  4. package/README.fr.md +268 -0
  5. package/README.ja.md +268 -0
  6. package/README.ko.md +268 -0
  7. package/README.md +7 -3
  8. package/README.zh-Hant.md +268 -0
  9. package/dist/capabilities/download/batch/batch.d.ts +16 -1
  10. package/dist/capabilities/download/batch/batch.d.ts.map +1 -1
  11. package/dist/capabilities/download/batch/batch.js +389 -56
  12. package/dist/capabilities/download/batch/batch.js.map +1 -1
  13. package/dist/capabilities/download/batch/batchFolder.d.ts.map +1 -1
  14. package/dist/capabilities/download/batch/batchFolder.js +3 -2
  15. package/dist/capabilities/download/batch/batchFolder.js.map +1 -1
  16. package/dist/capabilities/download/batch/networkLoss.d.ts +11 -2
  17. package/dist/capabilities/download/batch/networkLoss.d.ts.map +1 -1
  18. package/dist/capabilities/download/batch/networkLoss.js +24 -3
  19. package/dist/capabilities/download/batch/networkLoss.js.map +1 -1
  20. package/dist/capabilities/download/batch/resume.d.ts +7 -0
  21. package/dist/capabilities/download/batch/resume.d.ts.map +1 -1
  22. package/dist/capabilities/download/batch/resume.js +50 -9
  23. package/dist/capabilities/download/batch/resume.js.map +1 -1
  24. package/dist/capabilities/download/content/markdown/pro.d.ts +6 -0
  25. package/dist/capabilities/download/content/markdown/pro.d.ts.map +1 -1
  26. package/dist/capabilities/download/content/markdown/pro.js.map +1 -1
  27. package/dist/capabilities/download/content/markdown/shortfall.d.ts +8 -5
  28. package/dist/capabilities/download/content/markdown/shortfall.d.ts.map +1 -1
  29. package/dist/capabilities/download/content/markdown/shortfall.js +22 -10
  30. package/dist/capabilities/download/content/markdown/shortfall.js.map +1 -1
  31. package/dist/capabilities/download/content/markdown/step.d.ts +9 -0
  32. package/dist/capabilities/download/content/markdown/step.d.ts.map +1 -1
  33. package/dist/capabilities/download/content/markdown/step.js +42 -2
  34. package/dist/capabilities/download/content/markdown/step.js.map +1 -1
  35. package/dist/capabilities/download/content/markdown/types.d.ts +10 -1
  36. package/dist/capabilities/download/content/markdown/types.d.ts.map +1 -1
  37. package/dist/capabilities/download/handler.d.ts.map +1 -1
  38. package/dist/capabilities/download/handler.js +13 -5
  39. package/dist/capabilities/download/handler.js.map +1 -1
  40. package/dist/capabilities/download/outputLayout.d.ts.map +1 -1
  41. package/dist/capabilities/download/outputLayout.js +3 -1
  42. package/dist/capabilities/download/outputLayout.js.map +1 -1
  43. package/dist/capabilities/download/tools.js +2 -2
  44. package/dist/capabilities/download/tools.js.map +1 -1
  45. package/dist/capabilities/download/types.d.ts +9 -1
  46. package/dist/capabilities/download/types.d.ts.map +1 -1
  47. package/dist/cli.js +3 -1
  48. package/dist/cli.js.map +1 -1
  49. package/dist/infrastructure/runlog/RunLedger.d.ts +7 -0
  50. package/dist/infrastructure/runlog/RunLedger.d.ts.map +1 -1
  51. package/dist/infrastructure/runlog/RunLedger.js +13 -0
  52. package/dist/infrastructure/runlog/RunLedger.js.map +1 -1
  53. package/dist/infrastructure/runlog/failureClass.d.ts +2 -1
  54. package/dist/infrastructure/runlog/failureClass.d.ts.map +1 -1
  55. package/dist/infrastructure/runlog/failureClass.js +27 -4
  56. package/dist/infrastructure/runlog/failureClass.js.map +1 -1
  57. package/dist/infrastructure/school/SchoolAttempt.d.ts +11 -0
  58. package/dist/infrastructure/school/SchoolAttempt.d.ts.map +1 -1
  59. package/dist/infrastructure/school/SchoolAttempt.js +48 -5
  60. package/dist/infrastructure/school/SchoolAttempt.js.map +1 -1
  61. package/dist/infrastructure/school/SchoolMcpClient.d.ts +1 -0
  62. package/dist/infrastructure/school/SchoolMcpClient.d.ts.map +1 -1
  63. package/dist/infrastructure/school/SchoolMcpClient.js +18 -6
  64. package/dist/infrastructure/school/SchoolMcpClient.js.map +1 -1
  65. package/dist/infrastructure/school/SchoolProgress.d.ts +2 -0
  66. package/dist/infrastructure/school/SchoolProgress.d.ts.map +1 -1
  67. package/dist/infrastructure/school/SchoolProgress.js +2 -0
  68. package/dist/infrastructure/school/SchoolProgress.js.map +1 -1
  69. package/dist/infrastructure/school/SchoolReadiness.d.ts +2 -0
  70. package/dist/infrastructure/school/SchoolReadiness.d.ts.map +1 -1
  71. package/dist/infrastructure/school/SchoolReadiness.js +2 -0
  72. package/dist/infrastructure/school/SchoolReadiness.js.map +1 -1
  73. package/dist/infrastructure/school/SchoolResultNormalizer.d.ts.map +1 -1
  74. package/dist/infrastructure/school/SchoolResultNormalizer.js +4 -0
  75. package/dist/infrastructure/school/SchoolResultNormalizer.js.map +1 -1
  76. package/dist/infrastructure/school/index.d.ts +2 -2
  77. package/dist/infrastructure/school/index.d.ts.map +1 -1
  78. package/dist/infrastructure/school/index.js +1 -1
  79. package/dist/infrastructure/school/index.js.map +1 -1
  80. package/dist/infrastructure/school/types.d.ts +42 -0
  81. package/dist/infrastructure/school/types.d.ts.map +1 -1
  82. package/dist/infrastructure/school/types.js.map +1 -1
  83. package/dist/management/failures/index.d.ts +23 -0
  84. package/dist/management/failures/index.d.ts.map +1 -1
  85. package/dist/management/failures/index.js +63 -18
  86. package/dist/management/failures/index.js.map +1 -1
  87. package/package.json +7 -2
  88. package/school/NOTICE +3 -2
  89. package/school/paper_search_school/adapters/__init__.py +2 -0
  90. package/school/paper_search_school/adapters/aps/__init__.py +3 -6
  91. package/school/paper_search_school/adapters/base.py +16 -2
  92. package/school/paper_search_school/adapters/copernicus/__init__.py +2 -7
  93. package/school/paper_search_school/adapters/elsevier/__init__.py +50 -1
  94. package/school/paper_search_school/adapters/frontiers/__init__.py +41 -2
  95. package/school/paper_search_school/adapters/ieee/__init__.py +6 -4
  96. package/school/paper_search_school/adapters/iop/__init__.py +8 -0
  97. package/school/paper_search_school/adapters/jama/__init__.py +8 -0
  98. package/school/paper_search_school/adapters/lww/__init__.py +14 -6
  99. package/school/paper_search_school/adapters/mdpi/__init__.py +12 -7
  100. package/school/paper_search_school/adapters/neurology/__init__.py +5 -2
  101. package/school/paper_search_school/adapters/optica/__init__.py +2 -9
  102. package/school/paper_search_school/adapters/oup/__init__.py +7 -4
  103. package/school/paper_search_school/adapters/platforms/__init__.py +4 -1
  104. package/school/paper_search_school/adapters/platforms/atypon/__init__.py +8 -0
  105. package/school/paper_search_school/adapters/platforms/jstage/__init__.py +64 -0
  106. package/school/paper_search_school/adapters/taylor_francis/__init__.py +0 -3
  107. package/school/paper_search_school/adapters/thieme/__init__.py +2 -9
  108. package/school/paper_search_school/api_keys.py +63 -13
  109. package/school/paper_search_school/assets/api_keys.json +14 -0
  110. package/school/paper_search_school/assets/capsule.html +156 -116
  111. package/school/paper_search_school/assets/capsule_en.json +69 -46
  112. package/school/paper_search_school/assets/capsule_fr.json +70 -47
  113. package/school/paper_search_school/assets/capsule_ja.json +69 -46
  114. package/school/paper_search_school/assets/capsule_ko.json +69 -46
  115. package/school/paper_search_school/assets/capsule_zh-Hant.json +68 -45
  116. package/school/paper_search_school/browser/batch_session.py +1 -1
  117. package/school/paper_search_school/browser/challenge/__init__.py +12 -9
  118. package/school/paper_search_school/browser/challenge/continuation.py +65 -0
  119. package/school/paper_search_school/browser/challenge/handlers/__init__.py +1 -0
  120. package/school/paper_search_school/browser/challenge/handlers/aws_waf.py +260 -0
  121. package/school/paper_search_school/browser/challenge/handlers/recaptcha_hcaptcha.py +167 -0
  122. package/school/paper_search_school/browser/challenge/handlers/text_captcha.py +100 -0
  123. package/school/paper_search_school/browser/challenge/handlers/turnstile.py +174 -0
  124. package/school/paper_search_school/browser/challenge/kinds.py +203 -0
  125. package/school/paper_search_school/browser/challenge/local/__init__.py +1 -0
  126. package/school/paper_search_school/browser/challenge/{interaction.py → local/interaction.py} +94 -13
  127. package/school/paper_search_school/browser/challenge/{pointer.py → local/pointer.py} +2 -2
  128. package/school/paper_search_school/browser/challenge/local/prompt.py +283 -0
  129. package/school/paper_search_school/browser/challenge/local/submission.py +33 -0
  130. package/school/paper_search_school/browser/challenge/services/__init__.py +1 -0
  131. package/school/paper_search_school/browser/challenge/services/solver.py +272 -0
  132. package/school/paper_search_school/cli_config.py +10 -5
  133. package/school/paper_search_school/config.py +11 -10
  134. package/school/paper_search_school/download_diagnostics.py +7 -2
  135. package/school/paper_search_school/engine/access_rules.py +12 -3
  136. package/school/paper_search_school/engine/batch.py +43 -11
  137. package/school/paper_search_school/engine/batch_access.py +38 -12
  138. package/school/paper_search_school/engine/batch_capture.py +215 -18
  139. package/school/paper_search_school/engine/batch_common.py +3 -0
  140. package/school/paper_search_school/engine/batch_diagnostics.py +25 -5
  141. package/school/paper_search_school/engine/batch_institution.py +38 -3
  142. package/school/paper_search_school/engine/batch_login.py +223 -16
  143. package/school/paper_search_school/engine/batch_pdf_urls.py +38 -7
  144. package/school/paper_search_school/engine/batch_waits.py +179 -12
  145. package/school/paper_search_school/engine/bridge.py +28 -4
  146. package/school/paper_search_school/engine/fulltext_page.py +45 -7
  147. package/school/paper_search_school/engine/router.py +16 -1
  148. package/school/paper_search_school/entitlements.py +1 -1
  149. package/school/paper_search_school/pdf_utils.py +25 -16
  150. package/school/paper_search_school/progress_capsule.py +36 -6
  151. package/school/paper_search_school/progress_reporter.py +54 -5
  152. package/school/paper_search_school/progress_view.py +63 -43
  153. package/school/paper_search_school/publishers/builtin/iop.json +2 -1
  154. package/school/paper_search_school/publishers/builtin/neurology.json +4 -2
  155. package/school/paper_search_school/publishers/site.py +12 -4
  156. package/school/paper_search_school/school_test.py +1 -1
  157. package/school/paper_search_school/server.py +17 -6
  158. package/school/paper_search_school/user_settings.py +13 -0
  159. package/school/pyproject.toml +1 -0
  160. package/skills/paper-search/SKILL.md +107 -107
  161. package/skills/paper-search/references/browser-download.md +102 -99
  162. package/skills/paper-search/references/capability-routing.md +89 -89
  163. package/skills/paper-search/references/cli-contract.md +78 -78
  164. package/skills/paper-search/references/federation-support.md +172 -172
  165. package/skills/paper-search/references/management-layer.md +78 -78
  166. package/skills/paper-search/references/publisher-support.md +38 -38
  167. package/skills/paper-search/references/school-setup.md +56 -55
  168. package/skills/paper-search/references/setup.md +20 -20
  169. package/skills/paper-search/references/troubleshooting.md +12 -12
  170. package/school/paper_search_school/browser/challenge/prompt.py +0 -154
@@ -1,18 +1,18 @@
1
- # 管理层:安装、检查、更新、Skill 同步
1
+ # Management layer: install, check, update, Skill sync
2
2
 
3
- 用这一篇判断 `paper-search` 是否已安装、已配置、运行正常,以及已安装的 Skill 是否与包内的一致。这些命令只帮助判断能不能用,本身不做文献任务。
3
+ Use this file to judge whether `paper-search` is installed, configured and working, and whether the installed Skill matches the bundled one. These commands only help judge whether things work; they do no literature task themselves.
4
4
 
5
- ## 只装了 Skill 时
5
+ ## When only the Skill is installed
6
6
 
7
- 用户先装了这个 Skill(例如用 `npx skills add`),`command -v paper-search` 却找不到命令时,直接按下面做。不要到别的目录翻找命令,也不要读 `~/.npmrc`、shell 配置这类文件:里面可能有令牌,会出现在输出里。
7
+ When the user installed this Skill first (for example with `npx skills add`) but `command -v paper-search` finds no command, do the following directly. Do not search other directories for the command, and do not read `~/.npmrc` or shell configuration files: they may hold tokens, which would show up in the output.
8
8
 
9
- 1. 运行 `node --version`。没有 Node.js 或版本低于 22 时,请用户先装 Node.js 的 LTS 版(https://nodejs.org),装好后新开终端再继续;不替用户装 Node.js。
10
- 2. 先问用户,同意后才装:说明要用 npm 全局安装 PaperSearch 的命令行程序(npm 包 `papersearch`,提供 `paper-search` 命令),命令是 `npm install -g papersearch@latest`。
11
- 3. 用户同意后运行它,再运行 `paper-search --version` 确认。报权限错误(`EACCES`)时不加 `sudo`,把命令交给用户在自己的终端运行。Windows 的 PowerShell 拦住 `npm`、`paper-search`(脚本执行策略)时,改用 `npm.cmd`、`paper-search.cmd`,不改执行策略。
12
- 4. 不运行 `paper-search skills update`:Skill 已经装好,就是你正在读的这份,再装会多出一份同名 Skill。以后升级 PaperSearch 时,这份 Skill 会自动更新。
13
- 5. 运行 `paper-search doctor --format text`,用一句话告诉用户现在能用哪些功能,然后接着做用户原来的请求:是“请开始配置”就按 `setup.md` 往下走;是文献请求就先提一句需要配置时说“请开始配置”,再去做。
9
+ 1. Run `node --version`. Without Node.js, or below version 22, ask the user to install the Node.js LTS first (https://nodejs.org) and to continue in a new terminal once it is installed; do not install Node.js for the user.
10
+ 2. Ask the user first, and install only after they agree: explain that this installs the PaperSearch command-line program globally with npm (the npm package `papersearch`, which provides the `paper-search` command), with the command `npm install -g papersearch@latest`.
11
+ 3. After the user agrees, run it, then run `paper-search --version` to confirm. On a permission error (`EACCES`), do not add `sudo`; give the command to the user to run in their own terminal. When Windows PowerShell blocks `npm` or `paper-search` (script execution policy), use `npm.cmd` and `paper-search.cmd` instead; do not change the execution policy.
12
+ 4. Do not run `paper-search skills update`: the Skill is already installed (it is the one you are reading), and installing it again would add a second Skill of the same name. When PaperSearch is upgraded later, this Skill updates automatically.
13
+ 5. Run `paper-search doctor --format text`, tell the user in one sentence what they can use now, then carry on with the user's original request: for "start setup", go on with `setup.md`; for a literature request, first mention that they can say "start setup" when they need setup, then do it.
14
14
 
15
- ## 管理命令
15
+ ## Management commands
16
16
 
17
17
  ```bash
18
18
  paper-search doctor --pretty
@@ -26,73 +26,73 @@ paper-search tools --pretty
26
26
  paper-search config list --pretty
27
27
  ```
28
28
 
29
- | 命令 | 作用 | 何时用 |
29
+ | Command | What it does | When to use |
30
30
  |---|---|---|
31
- | `paper-search doctor --pretty` | 完整健康报告:脱敏后的配置、能力概况、各来源状态和缺少的项目 | 第一次使用、环境不确定,或用户问现在能用哪些功能 |
32
- | `paper-search doctor --format text` | 给人看的健康报告 | 需要向用户概括健康状况 |
33
- | `paper-search smoke --mock --pretty` | 离线检查命令接线、能力概况的判断和 Skill 同步状态的判断 | 改过代码或安装之后,或没有网络时 |
34
- | `paper-search smoke --live --pretty` | 小规模真实检查:免费元数据来源、已配置 key 的功能、Sci-Hub 镜像是否可用 | 用户要求本机实测,或怀疑来源、网络有问题 |
35
- | `paper-search skills status --pretty` | 显示已安装的 Skill 是否与包内 Skill 一致 | 安装、更新检查,或排查 agent 读到旧 Skill |
36
- | `paper-search skills diff --format text` | 预览包内 Skill 与已安装 Skill 的差异 | 更新 Skill 之前 |
37
- | `paper-search skills update --pretty` | 把包管理的 Skill 文件同步到用户的 Skill 目录,旧版留下、新版不再用的文件移到备份文件夹,保留用户自己加的文件 | 用户确认更新 Skill 之后 |
38
- | `paper-search tools --pretty` | 列出 `paper-search run` 的工具名和参数结构 | 不确定工具名或参数时 |
39
- | `paper-search config list --pretty` | 显示脱敏后的配置状态 | 确认 key、email、开关是否已配置 |
31
+ | `paper-search doctor --pretty` | Full health report: the masked configuration, the capability summary, each source's status and what is missing | First use, an unclear environment, or when the user asks what they can use now |
32
+ | `paper-search doctor --format text` | Health report for people to read | When you need to summarize the health for the user |
33
+ | `paper-search smoke --mock --pretty` | Offline check of the command wiring, of the capability summary's judgments and of the Skill sync status judgments | After code changes or installation, or with no network |
34
+ | `paper-search smoke --live --pretty` | Small real check: free metadata sources, capabilities with configured keys, whether Sci-Hub mirrors are reachable | When the user wants a real test on this computer, or a source or the network seems wrong |
35
+ | `paper-search skills status --pretty` | Shows whether the installed Skill matches the bundled Skill | Installation, update checks, or an agent reading an old Skill |
36
+ | `paper-search skills diff --format text` | Previews the differences between the bundled Skill and the installed Skill | Before updating the Skill |
37
+ | `paper-search skills update --pretty` | Syncs the package-managed Skill files into the user's Skill directory; files left by the old version that the new version no longer uses move to a backup folder; the user's own files are kept | After the user confirms updating the Skill |
38
+ | `paper-search tools --pretty` | Lists the tool names and parameter schemas of `paper-search run` | When unsure of a tool name or parameter |
39
+ | `paper-search config list --pretty` | Shows the masked configuration status | To confirm whether keys, emails and switches are configured |
40
40
 
41
- ## 卸载
41
+ ## Uninstall
42
42
 
43
- 用户要卸载 PaperSearch 时:
43
+ When the user wants to uninstall PaperSearch:
44
44
 
45
- 1. 运行 `paper-search uninstall --dry-run --format text`,把要删和保留的内容告诉用户(学校订阅下载和登录状态、运行记录、配置和 API key、各 AI 工具里的 Skill;下载的论文保留)。
46
- 2. 用户同意后运行 `paper-search uninstall --yes --format text`。有文件没删掉时,按输出提示请用户关掉进度窗口和下载用的 Chrome,再运行一次。
47
- 3. 最后运行 `npm uninstall -g papersearch`(Windows PowerShell 用 `npm.cmd`)。
45
+ 1. Run `paper-search uninstall --dry-run --format text`, and tell the user what will be deleted and what kept (school subscription downloads and the sign-in state, run logs, configuration and API keys, the Skill in each AI tool; downloaded papers are kept).
46
+ 2. After the user agrees, run `paper-search uninstall --yes --format text`. When some files were not deleted, ask the user, as the output says, to close the progress window and the Chrome used for downloads, then run it again.
47
+ 3. Last, run `npm uninstall -g papersearch` (in Windows PowerShell use `npm.cmd`).
48
48
 
49
- 只删学校订阅下载用 `paper-search school uninstall`(见 `school-setup.md`)。
49
+ To remove only school subscription downloads, use `paper-search school uninstall` (see `school-setup.md`).
50
50
 
51
- ## 健康检查(doctor)
51
+ ## Health check (doctor)
52
52
 
53
- `paper-search doctor` 是主要的健康报告,包含脱敏后的配置、能力概况和各来源状态。
53
+ `paper-search doctor` is the main health report, with the masked configuration, the capability summary and each source's status.
54
54
 
55
- 能力概况里的每一项是一种独立的能力:
55
+ Each item in the capability summary is an independent capability:
56
56
 
57
- - `metadata_search`:经已配置或免费的文献来源检索元数据。Sci-Hub 不算检索来源。
58
- - `citation_expansion`:查已知论文的施引文献(OpenAlex)和参考文献(出版商在 Crossref 的清单或 OpenAlex),不需要 key。`OPENALEX_API_KEY` 可选:不配时施引文献最多列出最新的 1 万条,配了能全部列出。
59
- - `body_snippet_search`:Semantic Scholar 开放获取正文片段检索,需要 `SEMANTIC_SCHOLAR_API_KEY`。
60
- - `journal_metrics`:EasyScholar 期刊指标,需要 `EASYSCHOLAR_KEY`。
61
- - `pdf_discovery`:PDF 获取与下载,经来源自带的下载、元数据里的 PDF 地址、开放获取来源、机构库、Unpaywall,以及默认开启的 Sci-Hub 兜底。
62
- - `entitled_access`:可选的机构下载后端(学校订阅下载)。机构下载后端(学校订阅下载)是唯一可选的授权下载后端,默认关闭。`doctor`、交互式 `setup` 和真实冒烟测试会给出它的运行状态:`disabled`(未启用)、`absent`(找不到后端)、`incompatible`(后端版本不兼容)或 `available`(能连上);离线的能力概况不启动后端,显示 `not_evaluated`。
57
+ - `metadata_search`: metadata search through configured or free literature sources. Sci-Hub is not a search source.
58
+ - `citation_expansion`: the citing papers (OpenAlex) and the references (the publisher's list in Crossref, or OpenAlex) of a known paper; no key needed. `OPENALEX_API_KEY` is optional: without it, at most the newest 10,000 citing papers are listed; with it, all.
59
+ - `body_snippet_search`: Semantic Scholar open-access body snippet search; needs `SEMANTIC_SCHOLAR_API_KEY`.
60
+ - `journal_metrics`: EasyScholar journal metrics; needs `EASYSCHOLAR_KEY`.
61
+ - `pdf_discovery`: PDF retrieval and download, through the source's own download, the PDF address in the metadata, open-access sources, institutional repositories, Unpaywall, and the Sci-Hub fallback that is on by default.
62
+ - `entitled_access`: the optional school download backend (school subscription downloads). The school download backend (school subscription downloads) is the only optional authorized download backend, off by default. `doctor`, the interactive `setup` and the live smoke test give its running state: `disabled` (not enabled), `absent` (backend not found), `incompatible` (backend version incompatible) or `available` (reachable); the offline capability summary does not start the backend and shows `not_evaluated`.
63
63
 
64
- 出版社或数据库的 key(记为 `metadata_entitled`)与 `entitled_access` 无关:它们只开放元数据或开放获取接口,不能当作本机的授权 PDF 后端。除机构下载后端外,没有浏览器、WebVPN 或 EZProxy 兜底。
64
+ Publisher or database keys (recorded as `metadata_entitled`) have nothing to do with `entitled_access`: they open only metadata or open-access APIs, and cannot serve as a local authorized PDF backend. Apart from the school download backend, there is no browser, WebVPN or EZProxy fallback.
65
65
 
66
- `PAPER_SEARCH_SCHOOL_ENABLED` 不是密钥,只有值恰好是 `true` 时才启用机构下载后端。单次请求的 `useEntitledAccess` 默认是 `true`,但只能关掉这一层,不能绕过全局关闭。一次下载失败只影响那一次,不改写全局的可用状态。
66
+ `PAPER_SEARCH_SCHOOL_ENABLED` is not a secret; the school download backend is enabled only when its value is exactly `true`. The per-request `useEntitledAccess` defaults to `true`, but can only turn off this layer, never bypass the global switch. One failed download affects only that download and does not rewrite the global availability.
67
67
 
68
- agent 做判断时读 JSON 输出;只有用户需要可读报告时才用 `--format text`。
68
+ Agents read the JSON output for decisions; use `--format text` only when the user needs a readable report.
69
69
 
70
- ## 冒烟测试(smoke)
70
+ ## Smoke test (smoke)
71
71
 
72
- `paper-search smoke --mock` 完全离线,没有任何 key 也应通过。它不启动机构下载后端,离线快照里显示 `not_evaluated`。
72
+ `paper-search smoke --mock` is fully offline and should pass without any key. It does not start the school download backend; the offline snapshot shows `not_evaluated`.
73
73
 
74
- `paper-search smoke --live` 做小规模的真实检查:
74
+ `paper-search smoke --live` makes a small real check:
75
75
 
76
- - 免费元数据来源总是检查;
77
- - 默认检查 Sci-Hub 镜像是否可用,不下载 PDF;
78
- - 已配置 key 的功能做轻量检查,未配置的标为 `skipped`;
79
- - 已启用的机构下载后端只做接口兼容检查(`initialize + tools/list`),不清缓存、不登录、不下载 PDF。
76
+ - Free metadata sources are always checked;
77
+ - By default it checks whether Sci-Hub mirrors are reachable, without downloading PDFs;
78
+ - Capabilities with configured keys get a light check; those without are marked `skipped`;
79
+ - An enabled school download backend gets only an interface compatibility check (`initialize + tools/list`): no cache clearing, no sign-in, no PDF download.
80
80
 
81
- 真实冒烟测试的严重程度:
81
+ Severity in the live smoke test:
82
82
 
83
- - `critical`:命令判为失败。
84
- - `degraded`:已配置或默认开启的功能没按预期工作,必须带修复建议,但不等于整个工具不可用。
85
- - `warning`、`skipped`:仅供参考。
83
+ - `critical`: the command is judged failed.
84
+ - `degraded`: a configured or default-on capability did not work as expected; it must come with a fix suggestion, but does not mean the whole tool is unusable.
85
+ - `warning`, `skipped`: for information only.
86
86
 
87
- 报告结果时,把 `degraded` 项的 `message` 和 `remediation` 一起告诉用户。
87
+ When reporting the results, tell the user both the `message` and the `remediation` of `degraded` items.
88
88
 
89
- ## Skill 同步
89
+ ## Skill sync
90
90
 
91
- npm 包在 `skills/paper-search` 下自带一份 Skill(包内 Skill)。安装或更新用户可见的 Skill 文件需要明确执行命令。
91
+ The npm package carries a Skill under `skills/paper-search` (the bundled Skill). Installing or updating the Skill files the user sees takes an explicit command.
92
92
 
93
- 支持的目标:`agents`、`codex`、`claude`、`cursor`、`gemini`、`antigravity`。不写 `--targets` 时只针对已经装了 Skill 的位置(链接到同一个文件夹的算一处),不会在别处多装一份;一个都没装时,装到 `~/.agents/skills`,没有这个文件夹时装到 codex、claude、cursor。
93
+ Supported targets: `agents`, `codex`, `claude`, `cursor`, `gemini`, `antigravity`. Without `--targets`, only places where the Skill is already installed are targeted (places linked to the same folder count as one), and no extra copy is installed elsewhere; when none is installed, it goes to `~/.agents/skills`, and when that folder does not exist, to codex, claude and cursor.
94
94
 
95
- 包更新后的例行同步:
95
+ Routine sync after a package update:
96
96
 
97
97
  ```bash
98
98
  paper-search skills status --pretty
@@ -100,19 +100,19 @@ paper-search skills diff --format text
100
100
  paper-search skills update --pretty
101
101
  ```
102
102
 
103
- `skills update` 覆盖包管理的文件;旧版装进来、新版已不再有的文件(`retiredFiles`)移到 `skill-backups/<时间>-update/` 备份文件夹;保留用户自己加的文件。每份 Skill 里的 `.paper-search-files.json` 记着上次装进去的文件,据此分辨旧文件和用户自己加的文件,不要删改它。`skills diff` 只显示包管理文件的差异,用户自己加的文件只列文件名。
103
+ `skills update` overwrites the package-managed files; files installed by the old version that the new version no longer has (`retiredFiles`) move to the `skill-backups/<time>-update/` backup folder; the user's own files are kept. `.paper-search-files.json` in each Skill records the files installed last time, used to tell old files from the user's own; do not delete or edit it. `skills diff` shows differences only for package-managed files; the user's own files are listed by name only.
104
104
 
105
- 升级后自动同步:升级 PaperSearch 后第一次运行 `paper-search`(`skills`、`setup` 除外)时,它把用户已经装过的 Skill 更新到包内版本:只更新原来装过的位置,保留用户自己加的文件,替换下来的旧文件和旧版留下、新版不再用的文件备份在 `${XDG_DATA_HOME:-~/.local/share}/paper-search-cli/skill-backups/`,并在 stderr 写一行说明;一个都没装时只提示一次怎么装。`paper-search config set PAPER_SEARCH_SKILL_AUTO_UPDATE false` 关闭,之后用 `skills update` 手动同步。`doctor` 的 `skills` 一项列出各位置是否最新。看到 stderr 里的更新说明时,告诉用户新开的 AI 会话才会读到新版本。
105
+ Automatic sync after an upgrade: the first time `paper-search` runs after PaperSearch is upgraded (except `skills` and `setup`), it updates the Skills the user installed to the bundled version: only the places installed before are updated, and the user's own files are kept; replaced old files, and files left by the old version that the new version no longer uses, are backed up in `${XDG_DATA_HOME:-~/.local/share}/paper-search-cli/skill-backups/`, and one line on stderr says so; when none is installed, it only says once how to install it. `paper-search config set PAPER_SEARCH_SKILL_AUTO_UPDATE false` turns this off; then sync by hand with `skills update`. The `skills` item of `doctor` lists whether each place is up to date. When you see the update note on stderr, tell the user that only a new AI session reads the new version.
106
106
 
107
- 已装的 Skill 比命令行程序新时(Skill 开头的 `metadata.version` 更大),自动同步不会用旧的包内 Skill 覆盖它,stderr 每天最多提示一次“PaperSearch 有新版本……本机版本为……”,`doctor` 里这一处也这样写。这时要更新的是命令行程序:告诉用户,问要不要运行 `npm install -g papersearch@latest`,不要运行 `skills update`(会换回旧 Skill)。
107
+ When the installed Skill is newer than the command-line program (the `metadata.version` at the top of the Skill is larger), automatic sync does not overwrite it with the older bundled Skill; stderr notes "PaperSearch 有新版本……本机版本为……" (PaperSearch has a new version …; this computer has …) at most once a day, and `doctor` says the same there. What needs updating then is the command-line program: tell the user and ask whether to run `npm install -g papersearch@latest`; do not run `skills update` (it would put the old Skill back).
108
108
 
109
- ## 包更新与功能配置
109
+ ## Package update and capability setup
110
110
 
111
- `skills update` 只把包内 Skill 同步到选定的 Skill 目录,不更新 npm 包、GitHub 检出、编译后的命令文件或数据源配置。
111
+ `skills update` only syncs the bundled Skill into the chosen Skill directories; it does not update the npm package, a GitHub checkout, compiled command files or data source configuration.
112
112
 
113
- `paper-search setup` 只为当前已安装的命令配置 key、email 和 Skill 安装位置,不更新包本体。
113
+ `paper-search setup` only configures keys, emails and Skill install locations for the currently installed command; it does not update the package itself.
114
114
 
115
- 普通用户的更新步骤(从旧包 `paper-search-cli` 升级时,先运行 `npm uninstall -g paper-search-cli`,两个包提供同一个 `paper-search` 命令,不能同时装;配置和 Skill 都保留):
115
+ Update steps for ordinary users (when upgrading from the old package `paper-search-cli`, first run `npm uninstall -g paper-search-cli`: the two packages provide the same `paper-search` command and cannot be installed together; configuration and the Skill are kept):
116
116
 
117
117
  ```bash
118
118
  npm install -g papersearch@latest
@@ -122,9 +122,9 @@ paper-search setup
122
122
  paper-search smoke --mock --pretty
123
123
  ```
124
124
 
125
- 配 key 时,请用户在自己的终端运行 `paper-search setup <KEY>`(输入时不显示),或在设置窗口里填,再用 `paper-search config test <KEY>` 确认。`setup` 前后都可以用 `doctor` 看能力概况。缺少、不可用或降级的能力会写明用户需要配置哪个 key、email、来源或环境项。第一次配置还要问用户下载的论文默认放到哪个文件夹,设到 `DEFAULT_DOWNLOAD_PATH`,见 SKILL.md 的“默认下载文件夹”。
125
+ For keys, ask the user to run `paper-search setup <KEY>` in their own terminal (the input is hidden), or to fill them in in the settings window, then confirm with `paper-search config test <KEY>`. Before and after `setup`, `doctor` shows the capability summary. Missing, unavailable or degraded capabilities state which key, email, source or environment item the user needs to configure. The first setup also asks the user which folder downloaded papers go to by default, set as `DEFAULT_DOWNLOAD_PATH`; see "Default download folder" in SKILL.md.
126
126
 
127
- 维护者或本地开发版的更新步骤:
127
+ Update steps for maintainers or local development builds:
128
128
 
129
129
  ```bash
130
130
  git pull
@@ -137,9 +137,9 @@ paper-search setup
137
137
  paper-search smoke --mock --pretty
138
138
  ```
139
139
 
140
- `npm install -g .` 把全局命令链接到这个仓库目录,之后仓库重新编译,全局命令随之变化。要装一个固定的版本,先运行 `npm pack`,再 `npm install -g <生成的 .tgz>`。发布前或在本机全局安装本地构建前,用这条路径验证仓库。
140
+ `npm install -g .` links the global command to this repository directory; after the repository is rebuilt, the global command changes with it. To install a fixed version, first run `npm pack`, then `npm install -g <the generated .tgz>`. Before a release, or before installing a local build globally on this computer, verify the repository this way.
141
141
 
142
- 学校订阅下载后端与 PaperSearch 本体分开更新,只在用户要求时安装:
142
+ The school subscription downloads backend is updated separately from PaperSearch itself, and installed only when the user asks:
143
143
 
144
144
  ```bash
145
145
  paper-search school status --format text
@@ -147,18 +147,18 @@ paper-search school install
147
147
  paper-search doctor --pretty
148
148
  ```
149
149
 
150
- `install` 先检查本机有 Google Chrome,列出要下载的内容和位置,再准备它自己的 Python、安装后端,并启用它(`PAPER_SEARCH_SCHOOL_ENABLED=true`、`PAPER_SEARCH_SCHOOL_EXECUTABLE`)。PaperSearch 升级后,第一次用到学校订阅下载时,CLI 先自动更新扩展再下载(stderr 一行说明;另一个下载正在用扩展、或更新没成功时,这次用旧版本继续);用户关掉自动更新(`PAPER_SEARCH_SCHOOL_AUTO_UPDATE=false`)时,`status` 会提示何时运行 `paper-search school update`。用户在别处维护的后端用 `paper-search config set PAPER_SEARCH_SCHOOL_EXECUTABLE <路径>` 指定。学校、浏览器(Google Chrome 或 ego)和账号见 `school-setup.md`;账号密码只在用户自己的浏览器里输入,不进聊天、配置、命令参数或日志。`doctor` 显示 `available` 只证明后端接口能用,不代表已登录学校或对某篇有权限。日常下载仍用 `paper-search download`、`paper-search run download_with_fallback` 或 `download_batch`,见 `browser-download.md`。
150
+ `install` first checks that this computer has Google Chrome, lists what it will download and where, then prepares its own Python, installs the backend and enables it (`PAPER_SEARCH_SCHOOL_ENABLED=true`, `PAPER_SEARCH_SCHOOL_EXECUTABLE`). After PaperSearch is upgraded, on the first use of school subscription downloads the CLI first updates the extension automatically and then downloads (one line on stderr; when another download is using the extension, or the update failed, this download goes on with the old version); when the user turned off automatic updates (`PAPER_SEARCH_SCHOOL_AUTO_UPDATE=false`), `status` says when to run `paper-search school update`. A backend the user maintains elsewhere is set with `paper-search config set PAPER_SEARCH_SCHOOL_EXECUTABLE <path>`. For the school, the browser (Google Chrome or ego) and accounts, see `school-setup.md`; the account and password are entered only in the user's own browser, never in the chat, configuration, command arguments or logs. `available` in `doctor` only proves the backend interface works; it does not mean signed in to the school, or access to any paper. Everyday downloads still use `paper-search download`, `paper-search run download_with_fallback` or `download_batch`; see `browser-download.md`.
151
151
 
152
- ## 配置检查
152
+ ## Configuration check
153
153
 
154
- 配置来源按优先级:
154
+ Configuration sources, by priority:
155
155
 
156
- 1. Shell 环境变量
157
- 2. 当前目录的 `.env`
158
- 3. 用户配置文件 `~/.config/paper-search-cli/config.json`
159
- 4. 免费来源的内置默认值
156
+ 1. Shell environment variables
157
+ 2. `.env` in the current directory
158
+ 3. The user configuration file `~/.config/paper-search-cli/config.json`
159
+ 4. Built-in defaults for free sources
160
160
 
161
- 常用命令:
161
+ Common commands:
162
162
 
163
163
  ```bash
164
164
  paper-search setup
@@ -168,12 +168,12 @@ paper-search config get EASYSCHOLAR_KEY --pretty
168
168
  paper-search doctor --pretty
169
169
  ```
170
170
 
171
- `doctor` 和 `config` 的输出会把已配置的密钥脱敏。
171
+ The output of `doctor` and `config` masks configured keys.
172
172
 
173
- ## CLI 新版提醒
173
+ ## CLI new-version notice
174
174
 
175
- 日常在线任务可异步检查 npm `papersearch` 的稳定新版,成功结果缓存 24 小时,失败或未完成请求退避 1 小时。发现新版后,每次日常调用提示一次当前/最新版本和匹配安装渠道的升级命令;提醒在 stderr,stdout JSON 和原任务结果不变。离线管理命令不联网,CI、help/version/config/setup/update 不自动提醒。
175
+ Everyday online tasks may check asynchronously for a new stable release of the npm package `papersearch`; successful results are cached for 24 hours, and failed or unfinished requests back off for 1 hour. Once a new version is found, each everyday call notes the current/latest version and the upgrade command for the matching install channel, once; the notice is on stderr, and the stdout JSON and the original task's result do not change. Offline management commands do not go online; CI and help/version/config/setup/update do not notify automatically.
176
176
 
177
- `paper-search config set PAPER_SEARCH_UPDATE_NOTIFY false` 关闭自动检查和提醒;`true` 重新开启。此设置与胶囊/系统通知独立。`paper-search update check --format text` 可主动检查,关闭自动提醒后也可用;网络不可用时如实报告无法查询,不猜测最新版本。旧安装缺少该命令时只报告其版本,不伪造检查成功。
177
+ `paper-search config set PAPER_SEARCH_UPDATE_NOTIFY false` turns off the automatic check and notice; `true` turns it back on. This setting is separate from the capsule and the system notifications. `paper-search update check --format text` checks on demand, and works with automatic notices off too; when the network is unavailable, it reports truthfully that it could not check, and does not guess the latest version. An old install without this command reports only its version, and does not fake a successful check.
178
178
 
179
- 看到提醒可以向用户说明有新版;未经授权,不执行提示中的升级命令。更新 CLI 包本体、已安装 Skill 同步、更新扩展(升级后第一次用到时自动进行,或 `paper-search school update`)是三个不同步骤。
179
+ When you see the notice, you may tell the user there is a new version; without permission, do not run the upgrade command in the notice. Updating the CLI package itself, syncing the installed Skill, and updating the extension (automatic on first use after an upgrade, or `paper-search school update`) are three different steps.
@@ -1,33 +1,33 @@
1
- # 机构下载:各出版社支持情况
1
+ # School download: publisher support
2
2
 
3
- 本表的“正文”“补充材料”两列只适用于机构下载(学校订阅下载),说明它在哪些出版社网站上能走通(截至 2026-11-08)。“能走通”是说:用户学校订阅了这篇文章、出版社有这所学校的登录路线时,程序能自己取到本文的 PDF。学校有没有订阅,看实际的下载结果。开放获取的文章通常先由开放下载拿到,用不到这张表。
3
+ The "Full text" and "Supplementary files" columns of this table apply only to the school download (school subscription downloads): they say on which publisher sites it works (as of 2026-11-08). "Works" means: when the user's school subscribes to the article and the publisher has a login route for this school, the program can get this article's PDF by itself. Whether the school subscribes is shown by the actual download result. Open-access articles are usually got first by open download and do not need this table.
4
4
 
5
- - 支持按网站算,不按期刊算:同一网站上的期刊共享规则,实际结果以目标文章为准。
6
- - 程序按 DOI 实际跳转到的网站判断属于哪一行。DOI 前缀只是线索,期刊换了出版社时前缀不变(例如 ARD 的 `10.1136` 文章现在在 Elsevier)。
7
- - 用户问“某本期刊能不能下”:先按这张表说明程序能不能走通,再说明学校订阅要以实际下载为准;不要凭这张表断定学校有或没有权限。
5
+ - Support is per site, not per journal: journals on one site share its rules; the actual result depends on the target article.
6
+ - The program decides the row by the site the DOI actually redirects to. A DOI prefix is only a clue: when a journal changes publisher, its prefix stays the same (for example, ARD's `10.1136` articles are now on Elsevier).
7
+ - When the user asks "can journal X be downloaded": first say from this table whether the program can work through it, then say that the school's subscription is decided by the actual download; do not conclude from this table that the school has or lacks access.
8
8
 
9
- 符号:✓ 实测取得;✓OA 只实测过开放获取文章;○ 已有规则,尚无文件下载成功记录;— 没有补充材料专门规则:按通用规则取文章页补充材料区块里地址带本文 DOI 的文件,取不到时返回 `supplements_not_supported`,正文不受影响。
9
+ Symbols: ✓ tested and got; ✓OA tested only with open-access articles; ○ has rules, but no successful file download on record yet; — no dedicated supplementary-file rules: the general rules fetch the files in the article page's supplementary section whose addresses contain this article's DOI; when none are got, it returns `supplements_not_supported`, and the full text is not affected.
10
10
 
11
- ## 有专门规则的出版社
11
+ ## Publishers with dedicated rules
12
12
 
13
- | 出版社 | 网站 | 常见 DOI 前缀 | 正文 | 补充材料 |
13
+ | Publisher | Site | Common DOI prefixes | Full text | Supplementary files |
14
14
  | --- | --- | --- | --- | --- |
15
- | Elsevier | ScienceDirect(期刊文章、书籍章节) | `10.1016` | ✓ | ✓ |
16
- | Elsevier | 期刊自有网站(cell.com、thelancet.com、ard.eular.org、oarsijournal.com、gastrojournal.org、jacc.org 等) | `10.1016`、`10.1053` | ✓ | ✓ |
17
- | ASH(Blood、Blood Advances 等) | ScienceDirect、ashpublications.org | `10.1182`(`10.1182/blood.`、`10.1182/bloodadvances.` 经 Elsevier) | ✓OA | ✓ |
18
- | Wiley | onlinelibrary.wiley.com 及学会子域名(agupubs、acsjournals、physoc 等) | `10.1002`、`10.1111` | ✓ | ✓ |
19
- | Springer Nature | SpringerLink、nature.com、BMC、SpringerOpen | `10.1007`、`10.1038`、`10.1186` | ✓ | ✓ |
20
- | Oxford Academic(OUP) | academic.oup.com | `10.1093` | ✓ | ✓ |
21
- | Wolters Kluwer(LWW) | Ovid、journals.lww.com | `10.1097`、`10.2106` | ✓ | ✓ |
15
+ | Elsevier | ScienceDirect (journal articles, book chapters) | `10.1016` | ✓ | ✓ |
16
+ | Elsevier | Journals' own sites (cell.com, thelancet.com, ard.eular.org, oarsijournal.com, gastrojournal.org, jacc.org, etc.) | `10.1016`, `10.1053` | ✓ | ✓ |
17
+ | ASH (Blood, Blood Advances, etc.) | ScienceDirect, ashpublications.org | `10.1182` (`10.1182/blood.`, `10.1182/bloodadvances.` via Elsevier) | ✓OA | ✓ |
18
+ | Wiley | onlinelibrary.wiley.com and society subdomains (agupubs, acsjournals, physoc, etc.) | `10.1002`, `10.1111` | ✓ | ✓ |
19
+ | Springer Nature | SpringerLink, nature.com, BMC, SpringerOpen | `10.1007`, `10.1038`, `10.1186` | ✓ | ✓ |
20
+ | Oxford Academic (OUP) | academic.oup.com | `10.1093` | ✓ | ✓ |
21
+ | Wolters Kluwer (LWW) | Ovid, journals.lww.com | `10.1097`, `10.2106` | ✓ | ✓ |
22
22
  | Taylor & Francis | tandfonline.com | `10.1080` | ✓ | ✓ |
23
23
  | Sage | journals.sagepub.com | `10.1177` | ✓ | ✓ |
24
- | NEJM | nejm.org 及 evidence、ai、catalyst 子域名 | `10.1056` | ✓ | ✓ |
24
+ | NEJM | nejm.org and its evidence, ai and catalyst subdomains | `10.1056` | ✓ | ✓ |
25
25
  | ASCE | ascelibrary.org | `10.1061` | ✓ | ✓ |
26
26
  | ACS | pubs.acs.org | `10.1021` | ✓ | ✓ |
27
27
  | JAMA Network | jamanetwork.com | `10.1001` | ✓OA | ✓ |
28
- | Neurology(AAN) | neurology.org | `10.1212` | ✓OA | ✓ |
28
+ | Neurology (AAN) | neurology.org | `10.1212` | ✓OA | ✓ |
29
29
  | AHA journals | ahajournals.org | `10.1161` | ✓OA | ✓ |
30
- | Science | science.org(Science、Science Advances 等) | `10.1126` | ✓OA | ✓ |
30
+ | Science | science.org (Science, Science Advances, etc.) | `10.1126` | ✓OA | ✓ |
31
31
  | PNAS | pnas.org | `10.1073` | ✓ | ✓ |
32
32
  | ACM Digital Library | dl.acm.org | `10.1145` | ✓ | ✓ |
33
33
  | World Scientific | worldscientific.com | `10.1142` | ✓ | ✓ |
@@ -35,10 +35,10 @@
35
35
  | RSC | pubs.rsc.org | `10.1039` | ✓OA | ✓ |
36
36
  | IEEE | ieeexplore.ieee.org | `10.1109` | ✓ | ✓ |
37
37
  | Thieme | thieme-connect.com / .de | `10.1055` | ✓ | ✓ |
38
- | BMJ | bmj.com 及各子刊网站 | `10.1136` | ✓ | ✓ |
38
+ | BMJ | bmj.com and the specialty journals' sites | `10.1136` | ✓ | ✓ |
39
39
  | AIP Publishing | pubs.aip.org | `10.1063` | ✓OA | ✓ |
40
40
  | Royal Society | royalsocietypublishing.org | `10.1098` | ✓OA | ✓ |
41
- | APS(Physical Review) | journals.aps.org | `10.1103` | ✓OA | ✓ |
41
+ | APS (Physical Review) | journals.aps.org | `10.1103` | ✓OA | ✓ |
42
42
  | IOP Publishing | iopscience.iop.org | `10.1088` | ✓ | ✓ |
43
43
  | Optica | opg.optica.org | `10.1364` | ✓OA | ✓ |
44
44
  | Annual Reviews | annualreviews.org | `10.1146` | ✓OA | ✓ |
@@ -46,32 +46,32 @@
46
46
  | Dove Medical Press | dovepress.com | `10.2147` | ✓ | ✓ |
47
47
  | MDPI | mdpi.com | `10.3390` | ✓OA | ✓ |
48
48
  | Frontiers | frontiersin.org | `10.3389` | ✓OA | ✓ |
49
- | PLOS、Copernicus | 各自网站 | `10.1371`、`10.5194` | ✓ | ✓ |
49
+ | PLOS, Copernicus | their own sites | `10.1371`, `10.5194` | ✓ | ✓ |
50
50
 
51
- AIP、Optica、Royal Society 的补充材料在 Figshare 上,程序按文章页上的 Figshare 链接取文件。页面没有 Figshare 链接时:AIP 页面标明没有补充材料的,返回空清单;Optica 返回 `supplements_not_supported`,不说明这篇有没有附件。Figshare 上的资源既没有标明属于这篇、文章页上的链接也不是“补充材料”字样时(只在数据可用性声明里提到的数据集),不下载,也不算补充材料失败。
51
+ AIP, Optica and Royal Society keep supplementary files on Figshare; the program fetches the files through the Figshare links on the article page. When the page has no Figshare link: for AIP pages that state there are no supplementary files, an empty list is returned; Optica returns `supplements_not_supported`, which does not say whether this article has attachments. Figshare resources that are neither marked as belonging to this article nor linked from the article page with "supplementary" wording (datasets mentioned only in the data availability statement) are not downloaded, and do not count as supplementary-file failures.
52
52
 
53
- ## 没有专门规则的网站
53
+ ## Sites without dedicated rules
54
54
 
55
- DOI 跳转到表外的网站时,程序按通用规则尝试:找机构登录入口、选学校所属的联盟和学校、取页面声明的 PDF,保存前同样核对身份。没有补充材料规则。
55
+ When a DOI redirects to a site outside the table, the program tries the general rules: find the institutional login entry, choose the school's federation and the school, and fetch the PDF the page declares, checking identity before saving as usual. There are no supplementary-file rules.
56
56
 
57
- | 结果 | 网站 |
57
+ | Result | Sites |
58
58
  |---|---|
59
- | 正文实测取得 | Cambridge University Press(cambridge.org)、American Physiological Society(journals.physiology.org)、ASM(journals.asm.org)、De Gruyter Brill(degruyterbrill.com)、ADA(diabetesjournals.org)、RSNA(pubs.rsna.org) |
60
- | 机构列表里没有 CARSI | AACR(aacrjournals.org) |
61
- | 找不到机构登录入口(`generic_institution_entry_missing`) | Emerald(emerald.com) |
59
+ | Full text tested and got | Cambridge University Press (cambridge.org), American Physiological Society (journals.physiology.org), ASM (journals.asm.org), De Gruyter Brill (degruyterbrill.com), ADA (diabetesjournals.org), RSNA (pubs.rsna.org) |
60
+ | No CARSI in the institution list | AACR (aacrjournals.org) |
61
+ | No institutional login entry found (`generic_institution_entry_missing`) | Emerald (emerald.com) |
62
62
 
63
- `generic_institution_entry_missing` 归“暂不支持”(说法“网站暂未适配”):告诉用户这类网站还没有规则,可以把这篇报告给维护者补规则,或在校园网下下载。
63
+ `generic_institution_entry_missing` belongs to "待适配" (Pending support), with the reason "网站暂未适配" (Site not adapted yet): tell the user this kind of site has no rules yet; they can report this paper to the maintainers so rules get added, or download it on the campus network.
64
64
 
65
- ## 不支持的平台
65
+ ## Unsupported platforms
66
66
 
67
- 返回 `unsupported_platform` 或 `unsupported_publisher`,不打开浏览器或很快结束:只在 ClinicalKey 上的内容(包括 ScienceDirect 上写明经 ClinicalKey 访问、没有 PDF 的文章);知网、万方、维普;DOI 无法解析、直接指向 PDF 文件或落到 Crossref 多重解析页。告诉用户这类来源不支持,不说成没有权限。
67
+ These return `unsupported_platform` or `unsupported_publisher`, without opening the browser, or end quickly: content only on ClinicalKey or EM-Consulte (including ScienceDirect articles stating access via ClinicalKey, with no PDF); CNKI (知网), Wanfang (万方), VIP (维普); DOIs that cannot be resolved, point directly at a PDF file, or land on a Crossref multiple-resolution page. Tell the user this kind of source is not supported; do not call it no access.
68
68
 
69
- ## 和学校有关的常见结果
69
+ ## Common school-related results
70
70
 
71
- 这些结果说明的是“用户学校在这家出版社的情况”,不是程序故障:
71
+ These results describe "the user's school at this publisher", not a program fault:
72
72
 
73
- - `institution_federation_unavailable`:出版社的机构列表里找不到用户学校所属的联盟或这所学校,即这家出版社没开通本校路线。AMS(journals.ametsoc.org)只有会员登录、机构靠学校网络地址访问,也按这条结束。程序立即结束;建议在校园网或学校 VPN 下下载。
74
- - `institution_not_registered`:学校的这个登录入口和这家出版社之间没有开通(出版社或学校的登录系统这样说),经这个入口没有权限,归入“没权限”;学校的其他入口、校园网或 VPN 可能仍可访问,不把它当作学校没有论文订阅。
75
- - `idp_no_return_to_publisher`:学校登录后停在学校自己的网站,没回到出版社,通常也是学校没开通。
76
- - `entitlement_missing`:出版社认出了学校,判定本篇不在订阅内。只说本篇、当前学校没有权限,不推断整个出版社。
77
- - `no_entitlement`:用 `paper-search-school entitlements set` 标过本刊或本出版社无权限,之后同刊或同出版社直接跳过;查看或撤销用 `paper-search-school entitlements`(`list` / `clear <key>`)。
73
+ - `institution_federation_unavailable`: the publisher's institution list lacks the federation of the user's school, or this school, meaning this publisher has not enabled a route for the school. AMS (journals.ametsoc.org) has only member login, with institutions accessing by the school's network address; it also ends this way. The program ends at once; suggest downloading on the campus network or school VPN.
74
+ - `institution_not_registered`: this login entry of the school and this publisher are not connected (as the publisher's or the school's login system says); there is no access through this entry, and it goes under "没权限" (No access); the school's other entries, the campus network or VPN may still work; do not treat it as the school having no subscription to the paper.
75
+ - `idp_no_return_to_publisher`: after school sign-in it stays on the school's own site and never returns to the publisher; usually also a school that has not been enabled.
76
+ - `entitlement_missing`: the publisher recognized the school and decided this article is not in the subscription. Say only that this article has no access with the current school; do not infer anything about the whole publisher.
77
+ - `no_entitlement`: marked with `paper-search-school entitlements set` as no access for this journal or publisher; afterwards the same journal or publisher is skipped directly; view or undo it with `paper-search-school entitlements` (`list` / `clear <key>`).