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 更新后不再为了补版本声明单独发布插件;按实际接口和功能验证、修复。策略及历史测试入口。
Links
More in this category
vectorize-io/hindsight#coding-agents★ 61388
Hindsight, agent memory that learns: long-term project memory with auto recall and retain, knowledge pages, deep reflection, and per-repo memory banks.
volcengine/OpenViking#examples/dsh-memory-plugin★ 42311
OpenViking memory and context bundle for DeepSeek Harness: pre-step auto-recall and profile injection, session capture, `viking://` URI guarding, and recall/write memory tools backed by an OpenViking server.
MemTensor/MemOS#memos-local-plugin★ 12417
Local-first memory plugin for DeepSeek Harness: layered L1/L2/L3 memory with automatic capture, manual memos_* retrieval tools, and a built-in memory viewer.
agentscope-ai/ReMe#dsh★ 3812
Connects DeepSeek Harness to ReMe's local-first, self-evolving personal knowledge base: automatically captures completed main-agent conversations as user-owned Markdown memory, searches conversations and source material through reme_search with BM25, optional embeddings, and wikilink expansion, and schedules daily memory consolidation.
zilliztech/memsearch#MemSearch★ 2889
Shared Markdown memory for DSH and other coding agents, with automatic capture, pre-step context injection, searchable recall, and memory-to-skill self-evolution through a review panel.
vshulcz/deja-vu#extensions/dsh★ 1578
Cross-session memory and context recovery across forty-five other coding agents (45+) on this machine, reading session files they already wrote before install (Claude Code, Codex, Cursor, Windsurf, Trae, Antigravity, VS Code Copilot Chat, opencode, OpenClaw, Hermes, Kimi, Qoder, Cline, Zed, Magpie and more): six tools (deja_recall, deja_session, deja_blame, deja_fix, deja_how, deja_remember), a /deja command, and optional automatic recall injected into runtime context. Local BM25 CLI/MCP index, no LLM, no embeddings, no network (dsh plugin --profile web add dsh-deja).
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.