imemory: DSH Self-Evolving Long-Term Memory Plugin
imemory is an MIT-licensed plugin for DSH designed to address the issue of long-term information loss caused by insufficient context in multi-session scenarios. It automatically extracts and scores information worth retaining after each turn, and recalls relevant memories to inject into the context before each step via keyword pre-screening and LLM semantic re-ranking. Core features include injecting user profiles at the start of new sessions, performing conflict merging and decay eviction every 6 hours, consolidating reusable processes into `learned-*` skills, and providing 6 memory management tools and a `/imemory/` web management panel. This plugin has zero dependencies and is compatible with any profile type. Installation requires DSH version 0.1.0-rc.6 and Node >= 20. It supports manual mounting (copying files and modifying `cordis.patch.yml`) or using bun.
Read More