dsh-remember
Manifest valid★ 2Cross-session long-term memory plugin for DeepSeek Harness
dsh-remember
Cross-session long-term memory for the DeepSeek Harness(dsh).
While you're away, it looks back at your recent sessions and distills the useful experience into a set of plain Markdown files. Every conversation after that starts with a summary of those memories, and the model greps the originals when it needs details.
No vector database, no external service — memories are just files under ~/.dsh-memory/ that you can open, search, and manage with git.
Features
- Automatic extraction — idle sessions are scanned, redacted, and distilled in the background
- Automatic consolidation — new experience is merged incrementally; stale, never-cited entries are pruned
- Automatic recall — every prompt carries a memory summary (configurable token cap); the model searches on demand
- Readable and controllable — a sidebar status panel, a memory viewer, and a settings page; pause anytime
- Translatable — one-click translation of the memory files with incremental caching
- Portable — gzip bundle export/import with content-hash dedup
Screenshots
The memory entry at the bottom of the sidebar opens the status panel.
The memory viewer: overview (stats, most-cited, records), summary, and registry.
Install
From npm:
dsh plugin --profile <name> add dsh-remember
From source:
git clone https://github.com/Arborsm/dsh-remember.git
cd dsh-remember
pnpm install && pnpm build
dsh plugin --profile <name> add .
Restart dsh web after installing. During development you can skip installation and load straight from the workspace (run from the dsh checkout root):
pnpm dsh web --patch <path/to>/dsh-remember/cordis.dev.yml
Note: --patch must come before --port, otherwise commander fails with unknown option '--patch'.
Configuration
Every field has a default; the plugin works out of the box. Override via cordis.yml or the config: block of a dev overlay. Field definitions live in src/config.ts.
Commonly tuned:
| Field | Default | Description |
|---|---|---|
enabled | true | Master switch |
generateMemories | true | Run extraction and consolidation |
useMemories | true | Inject the memory summary into prompts |
extractModel / consolidationModel | '' | provider/model; empty = deployment default |
workspaceDir / dbPath | '' | Empty = under ~/.dsh-memory/ |
summaryTokenLimit | 2500 | Token cap for the injected summary |
scanIntervalMinutes | 15 | Background scan interval |
minRolloutIdleHours | 1 | Idle time before a session becomes extractable |
maxUnusedDays | 30 | Retention for never-cited memories |
There are 23 fields in total (scheduling, retries, concurrency, consolidator tool deny-list, …) — see src/config.ts. All of them are editable on the settings page.
Memory files
~/.dsh-memory/
├── memories/ # git workspace
│ ├── MEMORY.md # index of all memories
│ ├── memory_summary.md # the summary injected into prompts
│ ├── rollout_summaries/ # source evidence for each memory
│ ├── skills/ # distilled skills
│ └── … # translations, ad-hoc notes, …
└── memories.sqlite # extraction queue and job state
Development
pnpm build # build (tsdown, host + browser bundles)
pnpm typecheck # tsc --noEmit
pnpm test # node --test
pnpm shots # regenerate the screenshots above (fixtures + headless Chrome)
Repository layout, conventions, and debugging notes: AGENT.md.
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
| 0.2.0 | — | — |
Comments
Loading…
From the same category
by ranxianglei
基本稳定可用 100K tokens is enough. Universal context-compression proxy for ALL AI coding agents,10w上下文足矣
★ 5.9k
↓ 848.2k/wk
MIT
TypeScript
Nov 10, 2026
dsh plugin --profile web add billion-contextA DeepSeek coding agent harness: persistent shell, Ultra subagents, auto approval, Chrome MCP and session telemetry
★ 1k
MIT
JavaScript
by Yuuyuko-uu
DSH 鱼的记忆:给会话一份会淡忘的长期记忆,每条都带时间
★ 508
MIT
JavaScript
Nov 9, 2026
dsh plugin --profile web add dsh-fish-memoryby Han-1413141
DeepSeek Harness session cost meter plugin: session/daily cost, budget, history, OpenCode Go quota, official & custom-provider balance, Codex-like token heatmap, peak/off-peak pricing with pre-switch
★ 186
↓ 26k/wk
MIT
JavaScript
Aug 25, 2026
dsh plugin --profile web add dsh-cost-meterby jadezane6634-ops
DSH 破甲插件:1,597 tok 薄内核 + 请求体级 prefill/many-shot + 拒答修补与换线 + 反撤回镜像 + 回滚。零宿主补丁,宿主升级不失效。151 项测试 / 56 条探针 / 12 类。
★ 179
MIT
JavaScript
Oct 26, 2026
by WestFox-AwA
许愿特化器 · Wish Specializer — DSH 插件:让模型更出色地,不误解你的意思地,完成你的“愿望”。在短提示词+自带的Wish预设(PTC也可以)+重度的情况下,可以起到巨大的表现增益
★ 147
BSD-3-Clause
JavaScript
Nov 7, 2026
dsh plugin --profile web add @dsh-external/dsh-arbiter-wf