
DeepSeek Harness PluginPublished by 2128627267 →
DSH Qknowledge Base
☆ 1A community-built DeepSeek Harness plugin indexed from its public source repository.
Get this plugin
Review the source, then continue to the publisher.
About this plugin
Source snapshot 8/15/2026dsh-qknowledge-base 知识库
为 DeepSeek Harness 增加本地知识库:
- 文档增删改查(标题、内容、标签)
- 关键词评分检索(模型通过
kb_search工具自动查阅;UI 中也可手动搜索) - 数据默认存于工作区
.dsh-features/knowledge-base.json(可通过config.json的kbPath配置其他位置)
Host RPC(HTTP JSON)
| 方法 | 入参 | 说明 |
|---|---|---|
POST /dsh-qknowledge-base/list | — | 全部库与文档 |
POST /dsh-qknowledge-base/library/save | { library } | 新增/更新库 |
POST /dsh-qknowledge-base/library/delete | { id } | 删除库 |
POST /dsh-qknowledge-base/doc/save | { libraryId, doc } | 新增/更新文档 |
POST /dsh-qknowledge-base/doc/delete | { libraryId, id } | 删除文档 |
POST /dsh-qknowledge-base/search | { query, limit? } | 关键词检索,返回文本片段列表 |
模型工具
kb_search:在知识库中检索文档片段
安装(原生 bundle,与 dshmarket 同类)
本插件是标准 DSH bundle:安装后作为普通插件运行,不产生 Cordis 动态插件、无需批准、无需任何手动激活。
dsh plugin --profile web add dsh-qknowledge-base
重启 dsh web 后:
- 设置页“知识库”直接挂载;
kb_search直接注册为普通模型工具;- 不出现
qkbsr-*,也没有run-*消息。
仓库
- GitHub:https://github.com/2128627267/dsh-qknowledge-base
- Topic:
dsh-plugin(发布时请在仓库设置里添加该 topic)