DSH Plugins Marketplace

DSH Plugins

Plugins

/

Memory & Context

/

dsh-mnemo

d

dsh-mnemo

Manifest valid

Cross-session long-term memory for DeepSeek Harness: pinned rules injected every turn, the rest recalled by IDF-weighted keyword evidence, fact-key dedup, plain JSON storage, and a settings page to ed

UI (client)hasBundlePatch

dsh-mnemo

给 DeepSeek Harness 的跨会话长期记忆。规则和坑每轮注入,其余按「词证据」召回;数据是明文 JSON,人能看、能改、能备份。

装

dsh plugin --profile <你的 profile> add dsh-mnemo

或在 设置 → 插件 → 插件市场 里搜索安装,然后重启宿主。

装好后在 设置 → 鲸忆 里管理。

它记住什么

层内容生命周期
全局 global硬规则、坑、偏好、环境事实永久;规则每轮注入
项目 project:<目录名>某个工作区的固定事实跨会话
会话 session:<id>只属于当前会话的结论随会话
  • 规则钉住:rule / pitfall 或 pinned 的条目每轮注入,永不衰减
  • 其余会淡忘:fact 365 天、task 120 天、event 60 天的半衰期,但显式检索仍查得到
  • 事实键:对象.方面 同键只留最新,旧的标「已被取代」而不是删除

三个工具

工具用途
memory_save记一条:kind、pinned、factKey、supersedes、scope
memory_recall按关键词查;不给 query 就按重要度列最近的
memory_forget软删除(文件里仍保留)

数据

路径内容
~/.dsh/mnemo/memory.json真源,明文 JSON
~/.dsh/mnemo/MEMORY.md人读镜像(只读)
~/.dsh/mnemo/mnemo.log加载/错误日志

设计取舍

  • 注入走 systemPrompt.context(追加在对话末尾),不动系统提示词,不破坏 prompt 缓存
  • 召回用 IDF 加权覆盖率:专有词权重高、口水词权重低,宁可漏也不被常见词骗进来
  • 只依赖 Node 内置模块:不 import @deepseek-ai/*,不会因为 peer 依赖缺失整条插件不激活

许可

MIT

Comments

Loading…

Similar plugins

dsh-plugin-memory

by menotbobbybrown

Persistent long-term memory for DeepSeek Harness: a JSON store of typed entries (fact, preference, entity, rule, episodic) exposed as the memory_remember and memory_recall agent tools, with recall ran

Memory & ContextManifest valid

★ 0

MIT

TypeScript

Sep 8, 2026

dsh plugin --profile web add @modelnorth/dsh-plugin-memory

by guntur-d

Persistent cross-session memory plugin for DeepSeek Harness: workspace-scoped durable facts with memory_write/list/search/forget tools and bounded prompt injection

Manifest valid

★ 0

TypeScript

Aug 14, 2026

dsh plugin --profile web add @guntur-d/dsh-memory

by guyuefangyuanl

Cross-session persistent memory for the DeepSeek Harness: a model-facing memory tool, an always-on index section, and a bundled maintenance skill.

Manifest valid

★ 3

↓ 370/wk

MIT

JavaScript

Aug 21, 2026

dsh plugin --profile web add dsh-memory

by Amengclass

A persistent, model-editable memory/notes store for DeepSeek Harness. Adds memory_set / memory_get / memory_delete / memory_search tools backed by the built-in storage domain (ctx.storageDomain) so facts survive across sessions.

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Aug 14, 2026

dsh plugin --profile web add dsh-memory

Cross-session memory for DeepSeek Harness: list earlier sessions and load one on demand, so a new session can see what was already done without polluting the current context.

Tools & CapabilitiesMemory & ContextManifest valid

★ 0

dsh plugin --profile web add dsh-recall

by CuteSamurai24

Small file memory for DeepSeek Harness. The model writes markdown, the host injects it.

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Aug 18, 2026

dsh plugin --profile web add dsh-md-memory