baaai123/dsh-memory-protocol ↗★ 2

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. 适合需要为Agent引入长期记忆能力,并在调用工具前强制进行记忆关联的复杂任务。

패키지
dsh-memory-protocol
호환성
미검증
Harness peer 범위
*
Cordis peer 범위
*
버전
0.3.2
최근 업데이트
2026. 9. 5.

설치

$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_* 外)