dsh-context-graph
William20100221/dsh-context-graph
每 4 轮把工作区里的每个对话索引成小型主题图谱(一次模型调用,原文保存在 .context-graph/),在每条消息末尾附上其他对话中最多 5 个匹配主题,提到“昨天”等时间时先搜那一天,并提供 recall 工具按主题、对话、日期或轮次取回原文。默认开启并共享;/context-graph off 与 unshare 可让某个对话退出,stats、build、map、find 用于查看。
- 形态
- Plugin 插件
- 安装
- npm 包安装
- 需要密钥
- 否
- 近月下载
- 1,442
- 最近推送
- 3 天前更新
项目说明
From README
Context Graph for DeepSeek Harness Memory for your chats, on from the moment you install it.Later chats get a few lines that point at what was decided; the model fetches the exact text only when it needs it.--- The problem.
Every message you send re-sends the whole conversation, and a new chat knows nothing about the last one.You re-explain, the model re-reads, and you pay input tokens for both.What this does.
In every chat (memory is on by default), the plugin indexes what was decided into a small graph of topics, each stored together with the original messages.
Other chats in the same workspace get, at most, a few lines like this appended to your message: The model calls recall("c3n12") when a gist is not precise enough and gets the original turns, word for word.Nothing is summarised away, and nothing is sent that you did not ask for.
First principle: save input tokens without los
Original description
DeepSeek Harness plugin: remembers past conversations as a small graph
安装方式
npm 包安装 · 安装无需配置
dsh plugin --profile desktop add dsh-context-graphdsh 0.2.1 desktop builds have no update check for third-party plugins, so the plugin checks npm安全能力
静态扫描源码得到的权限画像 —— 回答的是「它要动什么」,而不是「它好不好」
- 写入文件
- 读取文件
- 读取环境变量
未发现已知红线(明文传输、安装期执行代码、凭据外传等)。
能力与红线来自 awesome-dsh-plugin 的静态扫描结果(CC0 公有领域),本站未逐行复核源码; 它只覆盖能被静态识别的模式,不等于安全审计结论。
为什么是这个分数
近 3 天仍在推送;README 给出了可直接复制的安装命令;装完即可用,无需额外配置;近月 npm 下载 1442 次,star 不多但真在被使用。
- 维护活跃
- 96
- 实用度
- 54
- 生态热度
- 63
- 上手便捷
- 100
- 信号质量
- 100
- 数据置信度
- 100%