zmh2000829/dsh-memory-graph0

dsh-memory-graph

Non-invasive SQLite hybrid memory and knowledge-graph plugin for DeepSeek Harness

包名
dsh-memory-graph
版本
0.4.0
许可证
MIT
最近更新
2026年8月18日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zmh2000829/dsh-memory-graph

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:

OptionDefault patchPurpose
enabledtrueMaster switch for the entire plugin
autoRecalltrueRecall relevant memory before the first step of each turn
autoSummarizetrueExtract structured memory after successful turns
visualizationEnabledtrueRegister the sidebar panel, tool views, and read-only snapshot route
visualizationAutoOpentrueExpand 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.