MoonlitDropOfBlood/dsh-memory-manager0

@duke-dsh-plugins/dsh-memory-manager

Persistent project memory for DeepSeek Harness, ported from ZCode: ZCode-style markdown memory store (per project + global) with a full memory-management page in Settings, index-first prompt injection, agent memory tools (memory_save / memory_get / memory_list), plus one-click import from an existing ZCode memory directory.

AI 分析

提供项目级与全局记忆管理,通过“仅注入索引+按需读取”节省上下文。适合需要 Agent 长期记住项目约定、用户偏好和反馈的复杂任务。

パッケージ
@duke-dsh-plugins/dsh-memory-manager
バージョン
1.3.0
ライセンス
MIT
最終更新
2026/08/22

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MoonlitDropOfBlood/dsh-memory-manager

ドキュメント

README 全文を読む ↗

使用

  1. 打开 设置,侧栏出现 记忆管理 页。
  2. 列表按项目分组、最新优先;顶部可搜索(名称/描述)、按项目类型筛选;卡片展示类型徽章与更新时间。
  3. 自动加载记忆到对话上下文:默认开启。每次模型调用,DSH 会把当前会话工作区项目的记忆 + 全局记忆的索引(名称 + 描述,不含正文)作为系统提示注入给智能体,agent 对某条感兴趣时自行用 memory_get 工具读取全文——比全量注入省一个量级的上下文。需要旧行为(每条附带 400 字正文截断)可在记忆管理页打开「注入记忆正文」。
  4. Agent 回写记忆:agent 在对话中发现值得长期保留的用户偏好、纠正/反馈、项目约定时,会自己调用 memory_save 写入记忆(origin: agent),之后每轮索引自动带上它。也可在记忆管理页看到、编辑或删除这些记忆。
  5. 新建记忆:填写名称(建议短横线 slug,可含中文)、类型、项目(global = 全局,或某个项目名,可参考工作区建议)、描述与 Markdown 正文。
  6. 编辑 / 查看 / 删除:每行右侧操作;删除需二次确认(永久,不可恢复)。
  7. 从 ZCode 导入:一键导入 ~/.zcode/cli/memories 下各项目的记忆,同名自动跳过,结束后展示每个项目的导入/跳过统计。