Vncntvx/dsh-zotero 预览 preview

Vncntvx/dsh-zotero

Plugin插件 Native原生 ⭐ 28 MIT Memory & Knowledge记忆与知识库

将你的Zotero文献库转化为智能体的证据库。

Project Overview项目介绍

dsh-zotero is a purpose-built plugin for DeepSeek Harness (DSH) that connects DSH AI agents to a user’s local Zotero literature library. It can be installed directly via the DSH CLI using the command dsh plugin --profile <profile-name> add dsh-zotero, or installed from source via GitHub or a packed local tarball. After installation completes, users must restart DSH and create a new session for the plugin to activate, and it adds a dedicated Zotero configuration page to DSH’s left sidebar navigation. Users can adjust API address, concurrency limits, full-text search toggles and other parameters directly on this page, and changes take effect immediately after saving.

This plugin is designed for academic research workflows that combine AI agents with Zotero literature management, and it targets researchers who use Zotero to organize their papers and want AI assistance to sift through their library. It provides 8 distinct tools to handle core tasks including searching literature by title/author/year, browsing library structure, retrieving metadata and notes, extracting relevant evidence passages, and exporting citations in multiple standard formats. Agents can call these tools step-by-step based on user requests, pulling evidence directly from the user’s existing library to ground research outputs in the user’s own sources.

To use dsh-zotero, users need Zotero 7 or newer with the local API enabled, a Node.js version of at least 22.19, and DSH version 0.1.5-rc.2 or newer. All plugin operations are read-only, so it never modifies existing Zotero library data, and all network requests are limited to the local loopback address 127.0.0.1:23119. Full-text evidence extraction relies on Zotero’s internal PDF indexing, so unindexed files cannot have full-text passages retrieved by the plugin. The project is released under the permissive MIT license, which allows free use, modification, and redistribution without additional cost or restriction.

dsh-zotero 是专为 DeepSeek Harness (DSH) 开发的原生插件,用于连接本地 Zotero 文献库,让 DSH 中的 AI Agent 可以直接检索用户的文献条目、读取元数据和笔记、提取问题相关的证据段落,打开 PDF 原文并生成规范引用格式。它一共提供 8 个专用工具,覆盖文献搜索、浏览导航、内容读取、证据提取、格式导出等全流程操作。

这款插件面向需要处理学术文献的 Agent 研究工作流,适合用 Zotero 管理文献的科研人员借助 AI 梳理研究资料。安装完成并正确配置 Zotero 本地 API 后,Agent 就能根据用户需求逐步调用工具,从个人文献库中定位匹配内容,提取相关证据,最终输出整理好的引用格式和参考文献列表。

使用本插件需要 Zotero 7 及以上桌面版开启本地 API 功能,要求 Node.js 版本不低于 22.19,DSH 版本不低于 0.1.5-rc.2。插件所有操作仅只读访问本机文献库,不会修改原有 Zotero 数据,项目遵循 MIT 许可证,允许自由使用、修改和分发。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 28 stars - an early-stage project星标 28,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add dsh-zotero

把 Vncntvx/dsh-zotero 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-zotero

dsh-zotero

npm version npm downloads license dsh 版本 Awesome DSH Plugin

English · 中文

dsh-zotero 是面向 Agent 研究工作流的 Zotero 插件。Agent 可以直接检索文献库、读取元数据与笔记、提取相关证据段落、定位原文 PDF,并生成学术引用与参考文献。

dsh-zotero 界面:来源面板、证据提取、导出视图

安装

从 npm 安装(推荐):

dsh plugin --profile <name> add dsh-zotero

从 GitHub 预构建分支安装:

dsh plugin --profile <name> add github:Vncntvx/dsh-zotero#release

从 main 源码分支安装说明:直接从 github:Vncntvx/dsh-zotero(默认 main 分支)安装需在本地执行构建脚本。pnpm 默认拦截依赖构建,需在 profile 的 pnpm-workspace.yaml 中配置 allowBuilds。推荐直接使用 #release 分支安装预构建版本。

从本地 tarball 安装:

cd dsh-zotero && npm pack
dsh plugin --profile <name> add ./dsh-zotero-*.tgz

安装后新建会话即可使用 Zotero 工具。

插件在 设置 → Zotero 中提供配置页,支持调整 API 地址、并发限制、全文检索等参数,保存即生效。详见 配置参考。

快速入门 →

工具

工具 用途
zotero_search 按标题、作者、年份或全文索引搜索,支持库、合集、保存搜索与出版物作用域
zotero_browse 浏览库结构:库列表、合集层级树、保存搜索、标签分面、条目类型与字段
zotero_get 读取单篇文献的结构化元数据,可选加载笔记、批注与附件列表
zotero_children 探索条目子对象图:直接笔记、附件及挂在 PDF 下的批注
zotero_retrieve 基于 BM25 按查询词提取最相关的证据段落,支持多附件检索
zotero_changes 基于本地事务版本感知增量变更与删除记录
zotero_attachment 将文献或附件 ref 解析为验证后的本地文件路径或链接 URL
zotero_export 生成格式化引用、参考文献表,以及 BibTeX、BibLaTeX、RIS、CSL JSON 导出

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-server-login 下一个 Next dsh-gitbash-shell →