dsh-auto-memory: A DSH plugin providing three-layer auto memory for DeepSeek Harness
aik358/dsh-auto-memory
Auto-memory plugin for DeepSeek Harness: three-layer memory with auto injection, retrieval, daily reflections, and cross-tool memory inheritance.
dsh-auto-memory automatically injects and retrieves user-level memory, project notes, and daily logs for the DeepSeek Harness Web GUI, solving broken context in AI conversations.
dsh plugin --profile web add github:aik358/dsh-auto-memory- Category
- Memory & Context
- Platform
- DSH-Plugin
- Author
- aik358
- Distribution
- Plugin
dsh-auto-memory Key Features
dsh-auto-memory Repository

dsh-auto-memory Repo Summary
dsh-auto-memory is an auto-memory plugin (DSH plugin) for DeepSeek Harness, designed for the DSH Web GUI to solve the problem of missing memory and broken context in AI conversations. It provides a three-layer memory system—user-level memory, project notes, and daily logs—automatically injected at the end of the system prompt, with auto-consolidation after every turn. It also supports daily reflections, AI period greetings, smart search, a calendar view, a settings page, and inheritance of memories from other AI tools. Maintained by Aik358, licensed under BSD-3-Clause, and last updated in August 2026.
What core features does the dsh-auto-memory DSH plugin support?
The plugin implements three-layer memory with automatic injection and retrieval: user-level memory (~/.dsh/memory/MEMORY.md) stores cross-project rules and preferences, project notes (~/.dsh/memory/workspaces/{workspace}/MEMORY.md) record project conventions and decisions, daily logs (YYYY-MM-DD.md) are append-only work logs, and reflection files (reflections/YYYY-MM-DD.md) store structured daily reflections. All workspace memories are stored centrally under ~/.dsh/memory/workspaces/, readable by any model in any session via injection and cross-workspace memory_recall. Additionally, the plugin offers smart search, a calendar view, a settings page, and automatic consolidation after each turn.
How to install dsh-auto-memory?
Before installation, install DeepSeek Harness and start dsh web at least once. Then, in the profile directory (~/.dsh/profiles/web), run the following command:
cd ~/.dsh/profiles/web
pnpm add @a9i5k4/dsh-auto-memory
If you prefer npm, run npm install @a9i5k4/dsh-auto-memory. After that, edit package.json in that directory and append "@a9i5k4/dsh-auto-memory" to the dsh.profile.bundles array, then restart dsh web to activate (the "Memory" entry appears in the sidebar). Note: pnpm v11 blocks packages published less than 1 day ago; for same-day releases, set minimumReleaseAge: 0 or use an explicit version.
How to update and upgrade dsh-auto-memory?
As a regular npm package, updating is one command in the same profile directory: pnpm up @a9i5k4/dsh-auto-memory or npm install @a9i5k4/dsh-auto-memory@latest, then restart dsh web. The Settings → Auto Memory page has a "Check for updates" button that compares your installed version with the latest on the npm registry and shows the update command when a newer version exists.
Which DeepSeek Harness versions and platforms are compatible with dsh-auto-memory?
The plugin targets the DeepSeek Harness Web GUI, requires a Node.js environment, and supports both pnpm and npm package managers. It registers via the official dsh.bundle manifest, ensuring compatibility with the DSH framework. Legacy per-workspace .dsh-memory/ folders are auto-migrated to centralized storage on first run after upgrade, with original copies kept.