插件目录 / Knowledge / dsh-plugin-meta-memory
dsh-plugin-meta-memory
已验证 · 实测可装 YYTbit
功能简介
DeepSeek Harness 的结构化长期记忆系统,基于单元的 brief/full 配对并自动注入。
可用 — 实测通过,早期项目
DeepSeek Harness 的结构化长期记忆系统,基于单元的 brief/full 配对并自动注入。 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-plugin-meta-memory
Structured long-term memory system for DeepSeek Harness.
What it does
Teaches the agent how to organize memories using a structured system:
- Units: Work categories named
verb-modifier-noun.unit - Records: Each memory has a brief (quick scan) and full (detailed) version
- Index: Self-maintained global storyline
- Auto-injection: Relevant briefs are injected into context automatically
Install
dsh plugin --profile your-profile add dsh-plugin-meta-memory
How it works
Memory structure
.meta-memory/
├── index.md
└── units/
├── debug-auth-module.unit/
│ ├── 0.token-refresh-fail.brief.md
│ └── 0.token-refresh-fail.full.md
└── read-deeplearning-paper.unit/
├── 0.transformer-attention.brief.md
└── 0.transformer-attention.full.md
Brief format (injected into context)
# token-refresh-fail
JWT token refresh returns 401 due to timestamp offset calculation error.
Full format (loaded on demand)
# token-refresh-fail
## Context
Auth module was failing on token refresh after 1 hour.
## Finding
expiresAt calculated using milliseconds instead of seconds.
## Evidence
src/auth/refresh.ts:42 - Math.floor(Date.now() / 1000) fixes it.
## Relevance
Any JWT/token related debugging in the future.
CLI tool
mm init # Initialize memory directory
mm list # List all units and records
mm read <unit> # Read all briefs in a unit
mm search <query> # Search briefs by keyword
mm index # Show the index
Configuration
- id: meta-memory
name: dsh-plugin-meta-memory
config:
memoryPath: '~/.dsh/meta-memory'
enableInjection: true
enableSkill: true
maxBriefBytes: 4096
License
MIT -- YYTbit
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-plugin-meta-memory」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
Web profile:
dsh plugin --profile web add dsh-plugin-meta-memory Headless(CLI)profile:
dsh plugin --profile headless add dsh-plugin-meta-memory 包信息
npm:dsh-plugin-meta-memory · 版本 0.1.0 · 实测环境 dsh 0.1.0-rc.6
实测报告
端到端验证通过:dsh 0.1.0-rc.6 上 L1 安装 + L2 加载 + L3 运行问答。
使用场景
给 agent 一套记忆、知识库或检索层,让它不再跨会话丢上下文。
适合谁
跑长项目、想让 agent 记住决策、文档和偏好而不用每次重讲的人。
二次开发建议
记忆/检索后端是缝——插新存储、调蒸馏策略,或加引用与审计轨迹。