zmh2000829/dsh-memory-graph ↗★ 0
dsh-memory-graph
Non-invasive SQLite hybrid memory and knowledge-graph plugin for DeepSeek Harness
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zmh2000829/dsh-memory-graph说明文档
阅读完整 README ↗Configuration
cordis.patch.yml contains a production-ready local profile. Change the plugin entry in your profile and restart DSH for updates to take effect.
- id: memory-graph
name: dsh-memory-graph
config:
enabled: true
path: !!js dshHomePath('memory-graph.sqlite')
backupDirectory: !!js dshHomePath('memory-graph-backups')
autoRecall: true
autoRecallLimit: 4
autoRecallMinScore: 0.18
autoSummarize: true
summarizeEveryTurns: 1
visualizationEnabled: true
visualizationAutoOpen: true
visualizationRefreshMs: 5000
The major switches are independent:
| Option | Default patch | Purpose |
|---|---|---|
enabled | true | Master switch for the entire plugin |
autoRecall | true | Recall relevant memory before the first step of each turn |
autoSummarize | true | Extract structured memory after successful turns |
visualizationEnabled | true | Register the sidebar panel, tool views, and read-only snapshot route |
visualizationAutoOpen | true | Expand the sidebar graph when DSH Web starts |
summaryProvider and summaryModel may be configured together to route extraction to a lower-cost or local model. When omitted, summarization uses the current session route. Ranking weights, graph depth, limits, decay, timeouts, and summary thresholds are all configurable in cordis.patch.yml.
For non-loopback Web deployments, add the exact host or host:port values to visualizationTrustedHosts. Remote access is denied by default.