DeepSeek Harness Plugin

lemoncat7/dsh-knowledge

Stars ★ 25 Downloads (30d) 8,326 Category Memory Added 2026-08-18 npm @lemoncat7/dsh-knowledge

Provides local and remote knowledge bases with project- and session-scoped recall, controlled write-back, and an embedded Web management console.

Install

# from npm (prebuilt)

dsh plugin --profile web add @lemoncat7/dsh-knowledge

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:lemoncat7/dsh-knowledge

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

This plugin publishes its README in Chinese only.

面向 DeepSeek Harness 的知识库、笔记与工作日报插件。支持本地使用和远程中央知识库,不修改 DSH Agent Loop。

功能

  • 知识库与文档分组、全文检索、项目和会话挂载,按权限召回与回写。
  • 会话只暴露一个 knowledge 工具入口,按需发现、查看参数和执行 19 项知识库/笔记操作;不改变挂载和确认权限。见统一工具入口。
  • 回答完成后在后台独立提取知识,提供审核、版本历史、冲突保护、任务重试与文档封存。
  • 独立笔记文档与目录:编辑、预览、分享、历史恢复;输入框 @ 可搜索并引用笔记文档。
  • 内置工作日报:按本机工作目录选择采集范围,可显式包含子目录;支持补记、整理与导出,默认开启每天 23:30 的保底整理,可独立关闭,补充当天新增素材(按日报时区)。
  • 本地 SQLite 或认证的中央知识服务,多个客户端可连接同一服务。

安装

需要 Node.js >=24.9.0。不按 DSH 版本号限制安装或加载;兼容性测试作为历史记录保留,见宿主兼容策略。

dsh plugin --profile web add @lemoncat7/dsh-knowledge@latest

安装或升级后重启对应的 DSH Profile;web 请按实际使用的 Profile 调整。

打开侧栏「知识库」创建知识库,在「项目与会话挂载」选择使用范围和写入模式。笔记不需要先挂载知识库;工作日报在「工作记录」中单独开启采集。

使用边界

未挂载知识库不召回、不回写。笔记默认不参与知识自动回写,引用笔记不授予修改或删除权限;修改按工具确认流程执行。日报采集默认关闭,不补采历史会话。远程模式不做隐式双向同步;公开访问应配置认证,升级前备份数据。

文档

2.17.2

新建笔记/目录及批量创建免确认;修改与删除已有内容仍需确认。详见 版本说明。

2.18.0 笔记离线副本与本地文件

笔记工作区增加远程补同步和可供 Obsidian 打开的 Markdown 目录。支持范围、冲突规则和 schema 升级注意事项见 说明。

宿主兼容策略

DSH 更新后不再为了补版本声明单独发布插件;按实际接口和功能验证、修复。策略及历史测试入口。

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.