How dsh-fish-memory behaves
DeepSeek Harness enables the feature by default after installation. Each session has its own memory store. The plugin decides which conversational turns are worth retaining, subject to a daily quota, then recalls candidates only when the current message supplies enough evidence. Recall ranking combines:
- evidence from distinctive matched words;
- freshness, importance and emotion;
- the configured maximum number of injected entries and total text.
Fading lowers recall likelihood rather than deleting content. The settings page shows retained, recalled, skipped and deleted entries. A fact key such as 她.身高 can mark changing information so a newer entry replaces the older one; replaced data remains available for review and reversal.
Configuring dsh-fish-memory
The settings page, under 设置 → 鱼的记忆, exposes these documented defaults:
| Setting |
Default |
| Memory half-life |
30 days |
| Daily memories |
8 |
| Maximum injected entries |
6 |
| Injected text limit |
800 characters |
| Pronoun for the user |
ta |
The weighting controls divide scoring between freshness, importance and emotion, with four weights totalling 100%. The evidence threshold, injection limit and daily memory limit are adjustable. Memory can be disabled for an individual session or globally through the remember tool setting.
Commands and data
DeepSeek Harness exposes the plugin through the remember tool and the settings page; the README does not document a separate runtime command. The archive importer scans two directory levels for .md, .markdown, .txt, .text, .log, .rst and .org files. It reads selected files, presents candidates, and uses the existing model during “提炼” to rewrite them, add search terms, dates, importance and optional fact keys.
Memory files are plain-text JSON under %USERPROFILE%\.dsh\fish-memory\, one per session. Changes are backed up automatically. The 检查更新, 清洗补键 and restore actions are available from the settings page.
Requirements and limits
DeepSeek Harness with its Web interface and a usable configured model are required. Extraction and query expansion use that existing model and are not called unless those operations are started. The README’s tested pairing is plugin 1.3.1 with DeepSeek Harness 0.2.1-rc.3; it advises using the latest versions together. The plugin does not automatically delete memories or restore memories deleted by the user.
Written from the project's own documentation and kept in sync with it. Where the two disagree, the source is authoritative — read the README on GitHub