shadowRjh/dsh-neuron-memory ↗★ 1

dsh-neuron-memory

Neuron memory for DSH: hippocampus -> nightly patrol -> pools -> relevance-filtered injection (Ebbinghaus decay + spaced repetition), a minimal handoff view injected every turn (auto-compacted), hard caps, original-session search, emotion layer (mood events, mood-aware recall, emotional anchoring), ecosystem bridges to dsh-feiyu-mood and dsh-fish-memory, plus one 3D neuron star-ring panel.

Package
dsh-neuron-memory
Compatibility
Unverified
Harness peer range
>=0.2.0-rc.2 <0.3.0-0
Version
2.3.1
License
MIT
Last updated
Oct 31, 2026

Other repositories with this package name

Install

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

配置

~/.dsh/memories/.neuron/config.json(改完下一轮生效):

{
  "capture":   { "enabled": true, "includeAssistant": true, "maxHippocampus": 400, "maxChars": 1200 },
  "injection": { "budgetChars": 900, "maxItems": 6, "minWeight": 0.08 },
  "patrol":    { "hour": 3, "minute": 10, "autoArchive": true, "maxArchivePerRun": 24 },
  "limits":    { "maxEntryChars": 2000, "maxPerPool": 200, "handoffMaxChars": 4000 },
  "handoff":   { "enabled": true },
  "pools": {
    "core":    { "label": "核心", "halfLifeDays": 60, "graceDays": 20, "archiveDays": 180 },
    "fact":    { "label": "事实", "halfLifeDays": 45, "graceDays": 10, "archiveDays": 120 },
    "skill":   { "label": "技能", "halfLifeDays": 90, "graceDays": 20, "archiveDays": 365 },
    "daily":   { "label": "日常", "halfLifeDays": 20, "graceDays": 5,  "archiveDays": 90  },
    "emotion": { "label": "情绪", "halfLifeDays": 3,  "graceDays": 1,  "archiveDays": 14  }
  }
}