zhiwuli0228/dsh-memory-hub ↗★ 0
dsh-memory-hub
Local-first, file-native long-term memory hub for DeepSeek Harness (DSH): preflight, compact context injection, citations, proposals, human-approved commits, manual consolidation, and a read-only Web panel.
같은 패키지 이름의 다른 저장소
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhiwuli0228/dsh-memory-hub配置
Hub 根目录默认是 $DSH_HOME/memory-hub,也可以在插件行的 config.root 里覆盖。策略与工作区放在 /config.yaml:
version: 1
workspaces:
- id: backend
root: 'D:/projects/backend'
domains: [backend]
admin: true # 允许运行汇总
enabled: true
policy:
preflight:
mode: per-turn # per-turn | off
pack_tokens: 600
max_hits: 6
inject: compact
gate:
mode: enforce # enforce | off
on_preflight_error: allow # allow | deny
unknown_tools: allow
mutating_tools: [bash, pwsh, write, edit, str_replace_editor]
- 只有工作目录落在某个
workspace.root内的会话才获得project:作用域;其他会话只看到 global/domain。 config.yaml修改会被 watcher 热加载,不需要重启。- 目录与文件格式见 docs/KNOWLEDGE-FORMAT.md。