zmh2000829/dsh-memory-graph0

dsh-memory-graph

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

AI 분석

核心用途是为智能体构建结构化的长期记忆。适合需要智能体在跨会话中保持记忆连贯性,并能直观查看知识关联的用户。

패키지
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.