← 返回列表
未验证
DeepSeek Harnessdsh的持久化知识图谱与长期记忆插件
尚未跑自动兼容性验证,可查看页面内的依赖与入口分析。 · 最近上游提交 2026/9/9 · 已提供中文文档
为 DeepSeek Harness (dsh) 打造的持久化知识图谱与长期记忆插件——一切皆插件 # Persistent Knowledge Graph & Long-Term Memory Plugin for DeepSeek Harness (dsh) # 为 DeepSeek Harness (dsh) 打造的持久化知识图谱与长期记忆插件 ## Everything is a Plugin ## 一切皆插件 [](https://github.com/exam
综合分
29.8
GitHub 分
29.8
用户评分
—
★ Stars
1
周下载量
—
安装插件(需先安装 dsh CLI 引擎:npm install -g @deepseek-ai/dsh)
dsh plugin --profile web add menotbobbybrown/dsh-plugin-memory该插件未发布到 npm,走 GitHub 源安装(pnpm 若拦截 prepare 脚本,按其提示在 pnpm-workspace.yaml 的 allowBuilds 中放行后重跑)
数据截至 2026/9/18(元数据每日更新 · 实装验证按队列轮转,单条结论的验证时间见上方)
用户评分
还没有人投票,来当第一个
订阅周报,不错过优质插件更新
每周一封 · 高评分插件 + 新用户活动
README
dsh-plugin-memory
DeepSeek Harness(dsh)的持久化知识图谱与长期记忆插件
License: MIT
DeepSeek Harness
dsh-plugin-memory 为 DeepSeek Harness 智能体提供跨多个对话会话和工作区生命周期的持久化长期记忆、情景回忆和用户偏好追踪能力。
功能特性
- 🧠 长期事实与偏好存储:记住用户的编码偏好、架构决策和项目约定。
- 🔍 语义与关键词召回:通过相关性排序匹配,为提示词检索出恰当的上下文。
- 💻 CLI 管理(dsh-memory):直接在终端中列出、搜索、添加和遗忘记忆。
- 🧩 Cordis 原生支持:自动向智能体暴露 memory_remember 和 memory_recall 工具。
安装
Add from GitHub
dsh plugin --profile web add "github:menotbobbybrown/dsh-plugin-memory"
CLI 用法
List all remembered items
npx dsh-memory list
Remember a new preference or fact
npx dsh-memory add "User prefers TypeScript and strict ESLint rules" --type preference --tags coding,style
Search and recall
npx dsh-memory search "coding style"
Delete a memory
npx dsh-memory forget
编程式用法(Cordis API)
import { Context } from 'cordis';
import * as MemoryPlugin from 'dsh-plugin-memory';
const ctx = new Context();
ctx.plugin(MemoryPlugin);
// Save to memory
ctx.memory.remember('Target database is PostgreSQL 16');
// Recall from memory
const results = ctx.memory.recall('database version');
许可证
MIT © DeepSeek Harness Community
🤝 贡献
热烈欢迎各种贡献!无论你是报告问题、提议适配器、优化性能,还是修复 bug,都请查看我们的贡献指南。
1. Fork 本项目
2. 创建你的功能分支(git checkout -b feat/AmazingFeature)
3. 提交你的更改(git commit -m 'feat: add some AmazingFeature')
4. 推送到该分支(git push origin feat/AmazingFeature)
5. 发起一个 Pull Request
📄 许可证与社区
基于 MIT 许可证分发。更多信息请参见 LICENSE。
用 💙 为 DeepSeek Harness 社区打造。同作者(menotbobbybrown)的其他插件
扫码进群