baaai123/dsh-memory-protocol ↗★ 0
dsh-memory-protocol
Memory protocol enforcement plugin for DeepSeek Harness — forces memory_weave before tool calls, auto-ingests session turns, injects memory context into agent steps. Bridges the opencode-memory MCP server with a hard protocol gate.
AI 분석
核心用途是通过硬性协议网关强制智能体在调用工具前同步和注入记忆。适合需要构建长期记忆、确保多轮对话信息不丢失的复杂任务。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:baaai123/dsh-memory-protocol配置
memory-protocol 的配置项(cordis.patch.yml 中可调):
config:
enforceWeave: true # 工具调用前强制 weave(未 weave 拒绝)
injectWeave: true # 自动注入记忆上下文
autoIngest: true # 每轮自动存档
allowlist: [] # 豁免工具名(除 memory_* 外)