AndyYang12345/dsh-butler-memory

AndyYang12345★ 0TypeScriptLast synced: 2026-08-16

Open on GitHub

A dsh plugin that uses the butler memory mcp server to achieve better and organized memory for dsh. Long term and short term memories seperated.

README excerpt

dsh-butler-memory DeepSeek Harness 的长期记忆:agent 能用,你也能看见。 一个组合包同时打通 两条通道:模型获得 mcp butler memory 工具;Web 会话头部出现"记忆"按钮, 面板可查看记忆、敏感度徽章、修订历史与待决候选——写入依然绑定 owner/revision/ audit,绝不静默入库。 DSH 组合包:把 butler-memory-mcp 的记忆能力接进 DeepSeek Harness 的两条通道—— 1. 给 agent :声明一个 dsh-mcp-client 实例,spawn ai-butler-memory-mcp , 模型获得 mcp butler memory 工具; 2. 给用户 :一个 Web 端"记忆"面板(会话头部按钮 + 对话框),可查看长期 记忆、敏感度/类别徽章、修订时间线、推断候选并接受/拒绝——语义移植自 ai-butler-framework 的 web/index.html 记忆面板。 零手动运行 :两条通道都由 DSH/插件自动 spawn 子进程(崩溃后自动重启), 不需要你手动启动任何服务。 前置条件 1. 已安装 butler-memory-mcp ( pip install butler-memory-mcp ,确保 ai-butler-memory-mcp 在 PATH 上); 2. 已按 butler-memory-mcp README 配置 /.config/butler-memory-mcp/.env (数据库与桥设备凭据); 3. Node 22+; dsh CLI 已安装。 可选环境变量 变量 默认 作用 AI BUTLER MEMORY MCP COMMAND ai-butler-memory-mcp 面板桥的启动命令(PATH 上找不到时给绝对路径) BUTLER MEMORY PANEL URL 未设置(stdio 模式) 设置后回退到旧式 HTTP 面板模式,指向自管的 --transport http 实例 安装 从 npm(发布后推荐) 插件 激活时自动 把 butler-memory skill 复制到 $DSH HOME/skills/butler-memory/ (幂等,崩溃不影响),DSH 的文件系统 skill 提供方会在所有 profile 中发现它;也可手动执行 npm run install-skill 重装。 本地开发(源码 checkout) 发布形态: package.json 同时声明 dsh.bundle (贡献 cordis.patch.yml 层)与 dsh.client ( platform: web ,浏览器 bundle 经 /plugins/ /client.js 注入)。 层顺序与…

View full README on GitHub →
Tools / Devdeepseek-harnessdeepseek-harness-plugindeepseek-harness-pluginsdshdsh-plugindsh-pluginsmcpmemory

Category