jackyytche/dsh-hindsight-memory ↗★ 0
dsh-hindsight-memory
Hindsight long-term memory for DeepSeek Harness: auto-recall context injection before each agent step (agent/pre-step) and auto-retain of each finished turn (session/event).
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jackyytche/dsh-hindsight-memory说明文档
阅读完整 README ↗配置(全部可省略)
- insert:
- id: hindsight-memory
name: dsh-hindsight-memory
config:
apiUrl: http://127.0.0.1:28888 # Hindsight API
apiKey: "" # 可选 Bearer token
bankId: dsh # 记忆 bank
autoRecall: true
autoRetain: true
recallBudget: low # low / mid / high
recallTypes: [observation] # 只注入蒸馏后的观察层
maxQueryChars: 800
recallTimeoutMs: 8000 # 服务端冷启动首个 recall 可能偏慢
maxMemories: 8
maxBlockChars: 4000
retainContext: conversation between the DSH agent and the user
retainTags: [source:dsh]
includeSubagents: true
retainEveryNTurns: 1
verbose: false
bundle 自带的 cordis.patch.yml 已写入 apiUrl / bankId 默认值;在 profile 的
cordis.patch.yml 里再插一条同 id 的 insert 即可覆盖任意键。