dsh-tui-ecosystem/dsh-code-memory
dsh-tui-ecosystem★ 0TypeScriptLast synced: 2026-08-16
—
README excerpt
dsh-code-memory dsh(deepseek-harness)的跨会话记忆插件,兼容 dsh-TUI(DeepSeek Harness 的终端前端,npm 包 @deepseek-harness-tui/dsh-tui )。Markdown 文件是唯一事实源,小索引常驻注入 + 工具按需取详情,零外部服务依赖。 设计与调研依据见 docs/research-and-plan.md 。 能力 - 三级记忆 :global( /.dsh/memory/ )/ project( /.dsh/memory/ ,可入 git)/ session(不落盘) - 三类记忆 : facts/ (事实)、 episodes/ (经历)、 procedures/ (可复用流程);架构决策约定为 fact + tag decision - 代码锚点 :记忆可带 paths / symbols (写入时模型显式给出,或从正文自动抽取文件路径);锚点命中按 tag 级权重参与检索,引用的路径全部从磁盘消失时记忆被降权并标注「⚠ 引用路径已失效」(重构腐烂检测) - 自动召回 :会话启动注入 MEMORY.md 索引;每次提问经 agent/pre-step waterfall 注入相关记忆(关键词评分 × 时间衰减 + 重要度);工具报错时用错误文本检索并注入命中的记忆( via: on-error ,限流) - 标识符分词 :camelCase / snake case / 路径分段拆分,中文 query 能命中英文标识符 - 模型自记 : memory write / memory search / memory get 三个工具 + system prompt 使用纪律;冲突走 supersede(失效不删除,历史可查); memory get 命中即刷新 lastConfirmed (读取=确认,阻断单调衰减) - 门控捕获 :用户纠正/指令、报错解决时轻提示模型考虑记录(不自动写库);压缩前抢救提示 - /memory 命令 : list / add / show / rm / search / stats / compact / on / off / rebuild (stats=库健康统计,compact=巩固报告:近重复对/失效锚点/长期未确认) - 防投毒 : source 信任分层(user agent-inferred tool-output),召回注入带来源与日期标注,工具输出原文永不直接入库 .dsh/memory 入 git 时建议把 MEMORY.md 加进 .gitignore ——它是每次写入后重建的派生物,纳入版本控制只会制造合并冲突;记忆文件本体( facts/ 等)才值得共享。 安装 按 dsh 官方插件安装方式( dsh plug…
View full README on GitHub →Category
🎨 Best DeepSeek Harness Design Plugin. The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards, slides, images & video — real files, HTML/PDF/PPTX/MP4 export. 🤖 Claude Code / Codex / Cursor / DeepSeek Harness / OpenCode & 20+ CLIs via BYOK.
★ 87,519
volcengine/OpenVikingSelf-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
★ 28,670
titanwings/colleague-skill将冰冷的离别化为温暖的 Skill,欢迎加入数字生命1.0!Transforming cold farewells into warm skills? It's giving rebirth era. Welcome to Digital Life 1.0. 🫶
★ 22,818